type-dexie
Version:
class oriented schema building tool for dexie.js
17 lines (16 loc) • 578 B
TypeScript
import { Cls, Key } from '../types';
declare class EntityCompiler {
private readonly target;
private readonly parent?;
private readonly propertyKey?;
constructor(target: Cls, parent?: Cls, propertyKey?: Key);
static compile(target: Cls, parent?: Cls, propertyKey?: Key): string;
compile(): string;
private primaryKeyDefinition;
private columnDefinitions;
private compoundDefinitions;
private childrenDefinition;
private parentDefinition;
}
export declare const compileEntity: typeof EntityCompiler.compile;
export {};