22 lines
479 B
JavaScript
22 lines
479 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"
|
|
}
|
|
},
|
|
actionType: "crud",
|
|
actions
|
|
};
|