17 lines
585 B
TypeScript
17 lines
585 B
TypeScript
import { String, Text, Datetime } from 'oak-domain/lib/types/DataType';
|
|
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
import { Schema as System } from './System';
|
|
import { EntityDesc } from 'oak-domain/lib/types/EntityDesc';
|
|
export type Origin = 'ali' | 'tencent' | 'ctyun' | 'qiniu';
|
|
export interface Schema extends EntityShape {
|
|
system: System;
|
|
origin: Origin;
|
|
templateName: Text;
|
|
templateCode: String<64>;
|
|
templateContent: Text;
|
|
syncAt: Datetime;
|
|
}
|
|
export declare const entityDesc: EntityDesc<Schema, '', '', {
|
|
origin: Schema['origin'];
|
|
}>;
|