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

35 lines
778 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
const Action_1 = require("./Action");
exports.desc = {
attributes: {
entity: {
notNull: true,
type: "varchar",
params: {
length: 32
},
ref: ["offlineAccount", "wpAccount"]
},
entityId: {
notNull: true,
type: "varchar",
params: {
length: 64
}
},
enabled: {
notNull: true,
type: "boolean"
},
systemId: {
notNull: true,
type: "ref",
ref: "system"
}
},
actionType: "crud",
actions: Action_1.actions
};