oak-general-business/es/oak-app-domain/ApplicationPassport/Storage.js

25 lines
538 B
JavaScript

import { genericActions as actions } from "oak-domain/lib/actions/action";
export const 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
};