2020-07-13 09:58:31 +00:00
|
|
|
{
|
|
|
|
"name": "ItemImageQueue",
|
|
|
|
"description": "Image download queue",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "itemImageQueue"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"itemFk": {
|
2021-01-28 11:23:18 +00:00
|
|
|
"type": "number",
|
2020-07-13 09:58:31 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"url": {
|
2021-01-28 11:23:18 +00:00
|
|
|
"type": "string",
|
2020-07-13 09:58:31 +00:00
|
|
|
"required": true
|
2020-08-13 10:16:25 +00:00
|
|
|
},
|
|
|
|
"error": {
|
2021-02-03 09:16:46 +00:00
|
|
|
"type": "string"
|
2021-01-28 11:23:18 +00:00
|
|
|
},
|
|
|
|
"attempts": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"updated": {
|
|
|
|
"type": "date"
|
2020-07-13 09:58:31 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"item": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Item",
|
|
|
|
"foreignKey": "itemFk"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "employee",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|