26 lines
983 B
JavaScript
26 lines
983 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.actionDefDict = exports.UserActionDef = exports.IdActionDef = exports.actions = void 0;
|
|
exports.actions = ["count", "stat", "download", "select", "aggregate", "create", "remove", "update", "grant", "revoke", "enable", "disable", "activate", "mergeTo", "mergeFrom", "verify", "accept", "reject"];
|
|
exports.IdActionDef = {
|
|
stm: {
|
|
verify: ['unverified', 'verifying'],
|
|
accept: [['unverified', 'verifying'], 'verified'],
|
|
reject: [['verifying', 'verified'], 'unverified'],
|
|
},
|
|
is: 'unverified',
|
|
};
|
|
exports.UserActionDef = {
|
|
stm: {
|
|
activate: ['shadow', 'normal'],
|
|
disable: [['normal', 'shadow'], 'disabled'],
|
|
enable: ['disabled', 'normal'],
|
|
mergeTo: [['normal', 'shadow'], 'merged'],
|
|
mergeFrom: ['normal', 'normal'],
|
|
},
|
|
};
|
|
exports.actionDefDict = {
|
|
idState: exports.IdActionDef,
|
|
userState: exports.UserActionDef
|
|
};
|