alinea
Version:
Headless git-based CMS
19 lines (18 loc) • 511 B
TypeScript
import type { CMS } from 'alinea/core/CMS';
import { DevDB } from './generate/DevDB.js';
export interface GenerateOptions {
cmd: 'dev' | 'build';
cwd?: string;
staticDir?: string;
configFile?: string;
watch?: boolean;
fix?: boolean;
wasmCache?: boolean;
quiet?: boolean;
onAfterGenerate?: (buildMessage: string) => void;
dashboardUrl?: Promise<string>;
}
export declare function generate(options: GenerateOptions): AsyncGenerator<{
cms: CMS;
db: DevDB;
}, void>;