@junkawasaki/kawadb-orm
Version:
TypeScript ORM for KawaDB with KSQL support - works in Web and Electron environments
19 lines (18 loc) • 526 B
TypeScript
/**
* エンティティデコレータ
*/
import { EntityMetadata } from '../types/EntityTypes';
/**
* エンティティデコレータ
*/
export declare function Entity(name?: string): <T extends {
new (...args: any[]): {};
}>(constructor: T) => T;
/**
* エンティティメタデータを取得
*/
export declare function getEntityMetadata(target: Function): EntityMetadata | undefined;
/**
* 全エンティティメタデータを取得
*/
export declare function getAllEntityMetadata(): EntityMetadata[];