61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"fields": {
|
|
"name": {
|
|
"type": "varchar",
|
|
"required": true
|
|
},
|
|
"version": {
|
|
"type": "varchar",
|
|
"required": true,
|
|
"maxLength": 50
|
|
},
|
|
"fileList": {
|
|
"type": "jsonArray"
|
|
},
|
|
"licenseStatus": {
|
|
"type": "enum",
|
|
"options": [
|
|
"",
|
|
"Valid",
|
|
"Invalid",
|
|
"Expired",
|
|
"Soft-Expired"
|
|
],
|
|
"index": true,
|
|
"maxLength": 36
|
|
},
|
|
"licenseStatusMessage": {
|
|
"type": "varchar"
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"isInstalled": {
|
|
"type": "bool",
|
|
"default": false
|
|
},
|
|
"checkVersionUrl": {
|
|
"type": "url"
|
|
},
|
|
"createdAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"createdBy": {
|
|
"type": "link",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"links": {
|
|
"createdBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
}
|
|
},
|
|
"collection": {
|
|
"orderBy": "createdAt",
|
|
"order": "desc"
|
|
},
|
|
"hooksDisabled": true
|
|
}
|