oak-domain/lib/base-app-domain/User/Storage.js

37 lines
814 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
var Action_1 = require("./Action");
var action_1 = require("../../actions/action");
exports.desc = {
attributes: {
name: {
type: "varchar",
params: {
length: 16
}
},
nickname: {
type: "varchar",
params: {
length: 64
}
},
password: {
type: "text"
},
refId: {
type: "ref",
ref: "user"
},
userState: {
type: "varchar",
params: {
length: 24
}
}
},
actionType: "crud",
actions: Action_1.actions.concat(action_1.relationActions)
};