oak-general-business/es/oak-app-domain/System/Storage.js

50 lines
1010 B
JavaScript

import { genericActions as actions } from "oak-domain/lib/actions/action";
export const desc = {
attributes: {
name: {
notNull: true,
type: "varchar",
params: {
length: 32
}
},
description: {
type: "text"
},
config: {
notNull: true,
type: "object"
},
platformId: {
type: "ref",
ref: "platform"
},
folder: {
type: "varchar",
params: {
length: 16
}
},
super: {
type: "boolean"
},
style: {
type: "object"
},
entity: {
type: "varchar",
params: {
length: 32
}
},
entityId: {
type: "varchar",
params: {
length: 64
}
}
},
actionType: "crud",
actions
};