@vulcan-sql/build
Version:
VulcanSQL package for building projects
14 lines (13 loc) • 431 B
TypeScript
import { ExtensionBase } from '@vulcan-sql/core';
export declare enum SchemaFormat {
YAML = "YAML"
}
export interface SchemaData {
/** The identifier of this schema, we might use this name to mapping SQL sources. */
sourceName: string;
content: string;
type: SchemaFormat;
}
export declare abstract class SchemaReader<C = any> extends ExtensionBase<C> {
abstract readSchema(): AsyncGenerator<SchemaData>;
}