diff --git a/src/mastodon/entities/index.ts b/src/mastodon/entities/index.ts index dda2a037..264489d7 100644 --- a/src/mastodon/entities/index.ts +++ b/src/mastodon/entities/index.ts @@ -1,2 +1,2 @@ -export * as v1 from "./v1"; -export * as v2 from "./v2"; +export type * as v1 from "./v1"; +export type * as v2 from "./v2"; diff --git a/src/mastodon/entities/v1/admin/index.ts b/src/mastodon/entities/v1/admin/index.ts index d297e010..cf394099 100644 --- a/src/mastodon/entities/v1/admin/index.ts +++ b/src/mastodon/entities/v1/admin/index.ts @@ -1,12 +1,12 @@ -export * from "./account"; -export * from "./canonical-email-block"; -export * from "./cohort"; -export * from "./dimension"; -export * from "./domain-allow"; -export * from "./domain-block"; -export * from "./email-domain-block"; -export * from "./ip-block"; -export * from "./ip"; -export * from "./measure"; -export * from "./report"; -export * from "./tag"; +export type * from "./account"; +export type * from "./canonical-email-block"; +export type * from "./cohort"; +export type * from "./dimension"; +export type * from "./domain-allow"; +export type * from "./domain-block"; +export type * from "./email-domain-block"; +export type * from "./ip-block"; +export type * from "./ip"; +export type * from "./measure"; +export type * from "./report"; +export type * from "./tag"; diff --git a/src/mastodon/entities/v1/index.ts b/src/mastodon/entities/v1/index.ts index 1a600336..0ea9292d 100644 --- a/src/mastodon/entities/v1/index.ts +++ b/src/mastodon/entities/v1/index.ts @@ -1,43 +1,43 @@ -export * from "./account"; -export * as Admin from "./admin"; -export * from "./activity"; -export * from "./announcement"; -export * from "./application"; -export * from "./context"; -export * from "./conversation"; -export * from "./custom-emoji"; -export * from "./extended-description"; -export * from "./domain-block"; -export * from "./familiar-followers"; -export * from "./featured-tags"; -export * from "./filter"; -export * from "./filter-keyword"; -export * from "./filter-result"; -export * from "./filter-status"; -export * from "./grouped-notifications"; -export * from "./identity-proof"; -export * from "./instance"; -export * from "./list"; -export * from "./marker"; -export * from "./media-attachment"; -export * from "./notification"; -export * from "./notification-request"; -export * from "./poll"; -export * from "./preference"; -export * from "./preview-card"; -export * from "./reaction"; -export * from "./relationship"; -export * from "./relationship-severance-event"; -export * from "./report"; -export * from "./role"; -export * from "./rule"; -export * from "./scheduled-status"; -export * from "./search"; -export * from "./status"; -export * from "./status-edit"; -export * from "./status-source"; -export * from "./suggestion"; -export * from "./tag"; -export * from "./token"; -export * from "./translation"; -export * from "./web-push-subscription"; +export type * from "./account"; +export type * as Admin from "./admin"; +export type * from "./activity"; +export type * from "./announcement"; +export type * from "./application"; +export type * from "./context"; +export type * from "./conversation"; +export type * from "./custom-emoji"; +export type * from "./extended-description"; +export type * from "./domain-block"; +export type * from "./familiar-followers"; +export type * from "./featured-tags"; +export type * from "./filter"; +export type * from "./filter-keyword"; +export type * from "./filter-result"; +export type * from "./filter-status"; +export type * from "./grouped-notifications"; +export type * from "./identity-proof"; +export type * from "./instance"; +export type * from "./list"; +export type * from "./marker"; +export type * from "./media-attachment"; +export type * from "./notification"; +export type * from "./notification-request"; +export type * from "./poll"; +export type * from "./preference"; +export type * from "./preview-card"; +export type * from "./reaction"; +export type * from "./relationship"; +export type * from "./relationship-severance-event"; +export type * from "./report"; +export type * from "./role"; +export type * from "./rule"; +export type * from "./scheduled-status"; +export type * from "./search"; +export type * from "./status"; +export type * from "./status-edit"; +export type * from "./status-source"; +export type * from "./suggestion"; +export type * from "./tag"; +export type * from "./token"; +export type * from "./translation"; +export type * from "./web-push-subscription"; diff --git a/src/mastodon/entities/v2/index.ts b/src/mastodon/entities/v2/index.ts index feacfb56..7b925aeb 100644 --- a/src/mastodon/entities/v2/index.ts +++ b/src/mastodon/entities/v2/index.ts @@ -1,4 +1,4 @@ -export * from "./filter"; -export * from "./instance"; -export * from "./notification-policy"; -export * from "./search"; +export type * from "./filter"; +export type * from "./instance"; +export type * from "./notification-policy"; +export type * from "./search"; diff --git a/src/mastodon/index.ts b/src/mastodon/index.ts index c50eb618..5d39f5ee 100644 --- a/src/mastodon/index.ts +++ b/src/mastodon/index.ts @@ -1 +1 @@ -export * as mastodon from "./mastodon"; +export type * as mastodon from "./mastodon"; diff --git a/src/mastodon/mastodon.ts b/src/mastodon/mastodon.ts index dbcfa260..68e0c7cd 100644 --- a/src/mastodon/mastodon.ts +++ b/src/mastodon/mastodon.ts @@ -1,6 +1,6 @@ -export * from "./entities"; -export * as rest from "./rest"; -export * as streaming from "./streaming"; -export * as oauth from "./oauth"; -export * from "./paginator"; -export * from "./repository"; +export type * from "./entities"; +export type * as rest from "./rest"; +export type * as streaming from "./streaming"; +export type * as oauth from "./oauth"; +export type * from "./paginator"; +export type * from "./repository"; diff --git a/src/mastodon/oauth/index.ts b/src/mastodon/oauth/index.ts index c0c29d75..00607d17 100644 --- a/src/mastodon/oauth/index.ts +++ b/src/mastodon/oauth/index.ts @@ -1,2 +1,2 @@ -export * from "./client"; -export * from "./token-repository"; +export type * from "./client"; +export type * from "./token-repository"; diff --git a/src/mastodon/rest/index.ts b/src/mastodon/rest/index.ts index 2d414fd8..c8ab7e96 100644 --- a/src/mastodon/rest/index.ts +++ b/src/mastodon/rest/index.ts @@ -1,3 +1,3 @@ -export * from "./client"; -export * as v1 from "./v1"; -export * as v2 from "./v2"; +export type * from "./client"; +export type * as v1 from "./v1"; +export type * as v2 from "./v2"; diff --git a/src/mastodon/rest/v1/index.ts b/src/mastodon/rest/v1/index.ts index 9d678295..b55cda39 100644 --- a/src/mastodon/rest/v1/index.ts +++ b/src/mastodon/rest/v1/index.ts @@ -1,35 +1,35 @@ -export * from "./account-repository"; -export * from "./admin"; -export * from "./announcement-repository"; -export * from "./app-repository"; -export * from "./block-repository"; -export * from "./bookmark-repository"; -export * from "./conversation-repository"; -export * from "./custom-emoji-repository"; -export * from "./directory-repository"; -export * from "./domain-block-repository"; -export * from "./email-repository"; -export * from "./endorsement-repository"; -export * from "./favourite-repository"; -export * from "./featured-tag-repository"; -export * from "./filter-repository"; -export * from "./follow-request-repository"; -export * from "./followed-tag-repository"; -export * from "./instance-repository"; -export * from "./list-repository"; -export * from "./marker-repository"; -export * from "./media-attachment-repository"; -export * from "./mute-repository"; -export * from "./notification-repository"; -export * from "./poll-repository"; -export * from "./preferences-repository"; -export * from "./push"; -export * from "./report-repository"; -export * from "./scheduled-status-repository"; -export * from "./search-repository"; -export * from "./status-repository"; -export * from "./suggestion-repository"; -export * from "./tag-repository"; -export * from "./timeline-repository"; -export * from "./trend-repository"; -export * from "./profile-repository"; +export type * from "./account-repository"; +export type * from "./admin"; +export type * from "./announcement-repository"; +export type * from "./app-repository"; +export type * from "./block-repository"; +export type * from "./bookmark-repository"; +export type * from "./conversation-repository"; +export type * from "./custom-emoji-repository"; +export type * from "./directory-repository"; +export type * from "./domain-block-repository"; +export type * from "./email-repository"; +export type * from "./endorsement-repository"; +export type * from "./favourite-repository"; +export type * from "./featured-tag-repository"; +export type * from "./filter-repository"; +export type * from "./follow-request-repository"; +export type * from "./followed-tag-repository"; +export type * from "./instance-repository"; +export type * from "./list-repository"; +export type * from "./marker-repository"; +export type * from "./media-attachment-repository"; +export type * from "./mute-repository"; +export type * from "./notification-repository"; +export type * from "./poll-repository"; +export type * from "./preferences-repository"; +export type * from "./push"; +export type * from "./report-repository"; +export type * from "./scheduled-status-repository"; +export type * from "./search-repository"; +export type * from "./status-repository"; +export type * from "./suggestion-repository"; +export type * from "./tag-repository"; +export type * from "./timeline-repository"; +export type * from "./trend-repository"; +export type * from "./profile-repository"; diff --git a/src/mastodon/rest/v2/index.ts b/src/mastodon/rest/v2/index.ts index f1f6d82f..ce930db6 100644 --- a/src/mastodon/rest/v2/index.ts +++ b/src/mastodon/rest/v2/index.ts @@ -1,6 +1,6 @@ -export * from "./filter-repository"; -export * from "./instance-repository"; -export * from "./media-attachment-repository"; -export * from "./notification-repository"; -export * from "./search-repository"; -export * from "./suggestion-repository"; +export type * from "./filter-repository"; +export type * from "./instance-repository"; +export type * from "./media-attachment-repository"; +export type * from "./notification-repository"; +export type * from "./search-repository"; +export type * from "./suggestion-repository"; diff --git a/src/mastodon/streaming/index.ts b/src/mastodon/streaming/index.ts index 27d28b1c..cea52c5a 100644 --- a/src/mastodon/streaming/index.ts +++ b/src/mastodon/streaming/index.ts @@ -1,2 +1,2 @@ -export * from "./client"; -export * from "./event"; +export type * from "./client"; +export type * from "./event";