contentful-migration-tool
Version:
Run Contentful migrations easier.
7 lines (6 loc) • 535 B
TypeScript
import { Environment, Space } from 'contentful-management/dist/typings/export-types';
export declare const getSpace: () => Promise<Space>;
export declare const resolveWhenEnvironmentIsReady: (environment: Environment) => Promise<Environment>;
export declare const getEnvironment: (environmentId: string) => Promise<Environment | undefined>;
export declare const hasContentType: (environment: Environment, contentTypeId: string) => Promise<boolean>;
export declare const getDefaultLocale: (environment: Environment) => Promise<string>;