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

46 lines
1004 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
const Action_1 = require("./Action");
exports.desc = {
attributes: {
channel: {
notNull: true,
type: "varchar",
params: {
length: 32
}
},
applicationId: {
type: "ref",
ref: "application"
},
data: {
type: "object"
},
messageSystemId: {
notNull: true,
type: "ref",
ref: "messageSystem"
},
data1: {
type: "object"
},
data2: {
type: "object"
},
templateId: {
type: "varchar",
params: {
length: 128
}
},
iState: {
type: "enum",
enumeration: ["sending", "success", "failure"]
}
},
actionType: "crud",
actions: Action_1.actions
};