UNPKG

longcelot-sheet-db

Version:

Google Sheets-backed staging database adapter for Node.js with schema-first design

22 lines 747 B
import { TableSchema } from '../../schema/types'; export interface LoadedSchema { schema: TableSchema; filePath: string; actor: string; } interface SchemaLoaderConfig { actors: Array<{ name?: string; role?: string; } | string>; schemasDir?: string; } /** * Like the ad-hoc `loadSchemas`/`loadSchemasForActor` helpers duplicated across sync.ts, * export.ts, export-data.ts, status.ts, and validate.ts — but also keeps each schema's * originating file path, needed by drop-table/drop-column/rename-column to edit or delete * the file the schema came from. */ export declare function loadSchemasWithPaths(config: SchemaLoaderConfig): LoadedSchema[]; export {}; //# sourceMappingURL=schemaLoader.d.ts.map