28 lines
767 B
JavaScript
28 lines
767 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: {
|
|
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: action_1.genericActions
|
|
};
|