21 lines
450 B
TypeScript
21 lines
450 B
TypeScript
import {
|
|
String,
|
|
} from 'oak-domain/lib/types/DataType';
|
|
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
import { EntityDesc } from 'oak-domain/lib/types/EntityDesc';
|
|
|
|
export interface Schema extends EntityShape {
|
|
type: String<64>;
|
|
};
|
|
|
|
const entityDesc: EntityDesc<Schema> = {
|
|
locales: {
|
|
zh_CN: {
|
|
name: '消息类型',
|
|
attr: {
|
|
type: '类型',
|
|
},
|
|
},
|
|
},
|
|
};
|