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

28 lines
642 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: {
applicationId: {
notNull: true,
type: "ref",
ref: "application"
},
passportId: {
notNull: true,
type: "ref",
ref: "passport"
},
isDefault: {
notNull: true,
type: "boolean"
},
allowPwd: {
type: "boolean"
}
},
actionType: "crud",
actions: action_1.genericActions
};