-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1258 from neet/use-export-type
fix: Use `export type` statement for mastodon namespace to reduce bun…
- Loading branch information
Showing
11 changed files
with
116 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * as mastodon from "./mastodon"; | ||
export type * as mastodon from "./mastodon"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from "./client"; | ||
export * from "./token-repository"; | ||
export type * from "./client"; | ||
export type * from "./token-repository"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from "./client"; | ||
export * from "./event"; | ||
export type * from "./client"; | ||
export type * from "./event"; |