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

36 lines
822 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
const Action_1 = require("./Action");
exports.desc = {
attributes: {
menuId: {
type: "int",
params: {
width: 4,
signed: true
}
},
menuConfig: {
notNull: true,
type: "object"
},
applicationId: {
notNull: true,
type: "ref",
ref: "application"
},
wechatPublicTagId: {
type: "ref",
ref: "wechatPublicTag"
},
iState: {
notNull: true,
type: "enum",
enumeration: ["wait", "success", "fail"]
}
},
actionType: "crud",
actions: Action_1.actions
};