33 lines
716 B
JavaScript
33 lines
716 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.desc = void 0;
|
|
const Action_1 = require("./Action");
|
|
exports.desc = {
|
|
attributes: {
|
|
when: {
|
|
type: "datetime"
|
|
},
|
|
orderId: {
|
|
notNull: true,
|
|
type: "ref",
|
|
ref: "order"
|
|
},
|
|
price: {
|
|
notNull: true,
|
|
type: "money"
|
|
},
|
|
settledAt: {
|
|
type: "datetime"
|
|
},
|
|
closedAt: {
|
|
type: "datetime"
|
|
},
|
|
iState: {
|
|
type: "enum",
|
|
enumeration: ["unsettled", "settled", "closed"]
|
|
}
|
|
},
|
|
actionType: "crud",
|
|
actions: Action_1.actions
|
|
};
|