oak-general-business/lib/oak-app-domain/OperEntity/Storage.js

31 lines
886 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
const action_1 = require("oak-domain/lib/actions/action");
exports.desc = {
attributes: {
operId: {
notNull: true,
type: "ref",
ref: "oper"
},
entity: {
notNull: true,
type: "varchar",
params: {
length: 32
},
ref: ["user", "userEntityGrant", "userSystem", "userWechatPublicTag", "wechatLogin", "wechatMenu", "wechatPublicAutoReply", "wechatPublicTag", "wechatPublicTemplate", "wechatQrCode", "wechatUser"]
},
entityId: {
notNull: true,
type: "varchar",
params: {
length: 64
}
}
},
actionType: "appendOnly",
actions: action_1.appendOnlyActions
};