34 lines
679 B
JavaScript
34 lines
679 B
JavaScript
import { actions } from "./Action";
|
|
export const desc = {
|
|
attributes: {
|
|
entity: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 32
|
|
}
|
|
},
|
|
entityId: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 64
|
|
}
|
|
},
|
|
expiresAt: {
|
|
notNull: true,
|
|
type: "datetime"
|
|
},
|
|
expired: {
|
|
notNull: true,
|
|
type: "boolean"
|
|
},
|
|
redirectTo: {
|
|
notNull: true,
|
|
type: "object"
|
|
}
|
|
},
|
|
actionType: "crud",
|
|
actions
|
|
};
|