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

25 lines
663 B
JavaScript

import { genericActions as actions } from "oak-domain/lib/actions/action";
export const desc = {
attributes: {
systemId: {
notNull: true,
type: "ref",
ref: "system"
},
type: {
notNull: true,
type: "enum",
enumeration: ["password", "sms", "email", "wechatWeb", "wechatMp", "wechatPublic", "wechatPublicForWeb", "wechatMpForWeb", "wechatNative", "loginName", "oauth"]
},
config: {
type: "object"
},
enabled: {
notNull: true,
type: "boolean"
}
},
actionType: "crud",
actions
};