UNPKG

@stackbit/sdk

Version:
13 lines 569 B
import { GetFileBrowserOptions } from './file-browser'; import { SSGMatchResult } from './ssg-matcher'; import { Model } from '../config/config-types'; export type SchemaGeneratorOptions = { ssgMatchResult: SSGMatchResult | null; } & GetFileBrowserOptions; export interface SchemaGeneratorResult { models: Model[]; pagesDir?: string | null; dataDir?: string | null; } export declare function generateSchema({ ssgMatchResult, ...fileBrowserOptions }: SchemaGeneratorOptions): Promise<SchemaGeneratorResult>; //# sourceMappingURL=schema-generator.d.ts.map