Cloesce - v0.1.5
    Preparing search index...

    Interface CloesceConfig

    interface CloesceConfig {
        astModifiers?: ((ast: CloesceAst) => void)[];
        migrationsPath?: string;
        outPath?: string;
        projectName?: string;
        srcPaths: string[];
        truncateSourcePaths?: boolean;
        workersUrl?: string;
        wranglerConfigFormat?: WranglerConfigFormat;
        model<T extends object>(
            model: new () => T,
            callback: (builder: ModelBuilder<T>) => void,
        ): CloesceConfig;
        rawAst(callback: (ast: CloesceAst) => void): CloesceConfig;
    }

    Hierarchy (View Summary)

    Index

    Properties

    astModifiers?: ((ast: CloesceAst) => void)[]
    migrationsPath?: string

    Path to migrations directory (default: ./migrations)

    outPath?: string

    Output directory for generated files (default: .generated)

    projectName?: string

    Project name (optional, defaults to package.json name)

    srcPaths: string[]

    Source paths containing .cloesce.ts files

    truncateSourcePaths?: boolean

    Whether to truncate source paths to just the filename

    workersUrl?: string

    Workers URL for API endpoints

    wranglerConfigFormat?: WranglerConfigFormat

    Wrangler config format used by compile/migrate (default: toml)

    Methods