oak-pay-business/lib/oak-app-domain/Application/Storage.js

42 lines
949 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: {
name: {
notNull: true,
type: "varchar",
params: {
length: 32
}
},
description: {
type: "text"
},
type: {
notNull: true,
type: "enum",
enumeration: ["web", "wechatMp", "wechatPublic", "native"]
},
systemId: {
notNull: true,
type: "ref",
ref: "system"
},
config: {
notNull: true,
type: "object"
},
style: {
type: "object"
},
domainId: {
type: "ref",
ref: "domain"
}
},
actionType: "crud",
actions: action_1.genericActions
};