UNPKG

@aradox/multi-orm

Version:

Type-safe ORM with multi-datasource support, row-level security, and Prisma-like API for PostgreSQL, SQL Server, and HTTP APIs

34 lines 900 B
import { IR } from '../types/ir'; export declare class DSLParser { private lines; private lineNumbers; private currentLine; private filePath; private schemaModels; private schemaDatasources; private schemaEnums; parse(schema: string, filePath?: string): IR; /** * Run schema validation and throw on errors */ private validateSchema; private parseEnum; private parseConfig; private parseLimits; private parseDatasource; private parseOAuthConfig; private parseModel; private parseField; private parseMapValue; private parseDefaultValue; private parseRelation; private parseComputed; private parseEndpoint; private parseLimitsAttribute; private parseObject; private extractValue; private cleanValue; private getDefaultLimits; private validate; } //# sourceMappingURL=index.d.ts.map