32 lines
676 B
JavaScript
32 lines
676 B
JavaScript
import { actions } from "./Action";
|
|
export const desc = {
|
|
attributes: {
|
|
entity: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 32
|
|
},
|
|
ref: ["apAccount", "offlineAccount", "wpAccount"]
|
|
},
|
|
entityId: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 64
|
|
}
|
|
},
|
|
enabled: {
|
|
notNull: true,
|
|
type: "boolean"
|
|
},
|
|
systemId: {
|
|
notNull: true,
|
|
type: "ref",
|
|
ref: "system"
|
|
}
|
|
},
|
|
actionType: "crud",
|
|
actions
|
|
};
|