@themost/jspa
Version:
MOST Web Framework Persistence API
15 lines (14 loc) • 594 B
TypeScript
import { ColumnAnnotation } from './Column';
import { EntityAnnotation } from './Entity';
declare interface EmbeddedEntityAnnotation extends ColumnAnnotation {
embedded?: boolean;
}
declare interface EmbeddableEntityAnnotation extends EntityAnnotation {
embeddable?: boolean;
}
declare interface EmbeddableEntityTypeAnnotation {
Entity?: EmbeddableEntityAnnotation;
}
declare function Embedded(): PropertyDecorator;
declare function Embeddable(): ClassDecorator;
export { EmbeddedEntityAnnotation, EmbeddableEntityAnnotation, EmbeddableEntityTypeAnnotation, Embedded, Embeddable };