-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56960ee
commit c908176
Showing
8 changed files
with
45 additions
and
17 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
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
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
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,40 +1,40 @@ | ||
export const commands = { | ||
export const commands: Record<string, string> = { | ||
LOGIN: 'login', | ||
} | ||
|
||
export const regions = { | ||
export const regions: Record<string, string> = { | ||
EU: 'eu', | ||
US: 'us', | ||
CN: 'cn', | ||
CA: 'ca', | ||
AP: 'ap', | ||
} | ||
|
||
export const regionsDomain = { | ||
export const regionsDomain: Record<string, string> = { | ||
eu: 'api.storyblok.com', | ||
us: 'api-us.storyblok.com', | ||
cn: 'app.storyblokchina.cn', | ||
ca: 'api-ca.storyblok.com', | ||
ap: 'api-ap.storyblok.com', | ||
} | ||
|
||
export const managementApiRegions = { | ||
export const managementApiRegions: Record<string, string> = { | ||
eu: 'mapi.storyblok.com', | ||
us: 'mapi-us.storyblok.com', | ||
cn: 'mapi.storyblokchina.cn', | ||
ca: 'mapi-ca.storyblok.com', | ||
ap: 'mapi-ap.storyblok.com', | ||
} | ||
|
||
export const regionNames = { | ||
export const regionNames: Record<string, string> = { | ||
eu: 'Europe', | ||
us: 'United States', | ||
cn: 'China', | ||
ca: 'Canada', | ||
ap: 'Australia', | ||
} | ||
|
||
export const DEFAULT_AGENT = { | ||
export const DEFAULT_AGENT: Record<string, string> = { | ||
SB_Agent: 'SB-CLI', | ||
SB_Agent_Version: process.env.npm_package_version || '4.x', | ||
} |
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
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
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
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