oak-domain/src/entities/ModiEntity.ts

26 lines
613 B
TypeScript

import { String } from '../types/DataType';
import { EntityShape, Configuration } from '../types/Entity';
import { LocaleDef } from '../types/Locale';
import { Schema as Modi } from './Modi';
export interface Schema extends EntityShape {
modi: Modi,
entity: String<32>;
entityId: String<64>;
};
const config: Configuration = {
actionType: 'appendOnly',
};
const locale: LocaleDef<Schema, '', '', {}> = {
zh_CN: {
name: '更新对象连接',
attr: {
modi: '更新',
entity: '关联对象',
entityId: '关联对象id',
},
},
};