@botonic/plugin-contentful
Version:
## What Does This Plugin Do?
12 lines (11 loc) • 425 B
TypeScript
export declare class SpaceManager {
readonly spaceId: string;
readonly environment: string;
readonly accessToken: string;
constructor(spaceId: string, environment: string, accessToken: string);
/**
* Creates a locale. Useful for locales which don't exist in contentful.com
* (eg en_CH)
*/
createLocale(longName: string, code: string, fallbackCode: string | undefined): Promise<void>;
}