UNPKG

mp-holistic

Version:

si prefigge l'umile compito di aiutare nella creazione di : - un server API REST mediante express - un semplice ORM per Postgres Questo tramite decoratori o classi particolari.

21 lines (20 loc) 468 B
export interface ICheck { check?: string; nome?: string; } export interface IUnique { unique?: any; nome?: string; } export interface IConstraints { check?: ICheck; notNull?: boolean; unique?: IUnique; } export declare class Constraint implements IConstraints { check?: ICheck; notNull?: boolean; unique?: IUnique; constructor(item: IConstraints); CostruisciConstraint(nomeClasse: string): string; }