@storyblok/create-demo
Version:
A CLI tool for quickly starting a Storyblok project
16 lines (15 loc) • 504 B
TypeScript
export type Region = {
/** The code of the region EU, US, CN */
name: string;
/** The AWS region code eu-central-1, us-east-1, useful for composing the right APP UI URL */
value: string;
/** The endpoint for the API, because the hostname differs by the region */
apiEndpoint: string;
/** The URL of the Stroyblok UI, for the China is different */
urlUi: string;
};
type RegionMap = {
[key: string]: Region;
};
declare const regions: RegionMap;
export default regions;