- Introduced intelligent synchronization for nodes and edges in ProcessFlowCanvas, preventing unnecessary re-renders and improving performance. - Added state management flags to prevent recursive updates during node and edge changes. - Implemented explicit sync method for manual canvas updates, enhancing control over the rendering process. - Updated ProcessSettingsModal to change the label for JSON export to "Source" for better clarity. - Enhanced VariableManager with improved styling and default value handling, including validation for JSON objects. - Updated navigation to remove unused icons and improve overall UI consistency. - Added support for restoring deleted processes in the API, allowing for better data management and recovery options. - Enhanced process management with new filters and improved loading states in the manage process view.
378 lines
7.3 KiB
JSON
378 lines
7.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"user": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userID": {
|
|
"type": "integer"
|
|
},
|
|
"userSecretKey": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userUsername": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userPassword": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userFullName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userEmail": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userPhone": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userStatus": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"userCreatedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"userModifiedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"forms": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/form"
|
|
}
|
|
},
|
|
"processes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/process"
|
|
}
|
|
},
|
|
"userrole": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/userrole"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"role": {
|
|
"type": "object",
|
|
"properties": {
|
|
"roleID": {
|
|
"type": "integer"
|
|
},
|
|
"roleName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"roleDescription": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"roleStatus": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"roleCreatedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"roleModifiedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"userrole": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/userrole"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"userrole": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userRoleID": {
|
|
"type": "integer"
|
|
},
|
|
"userRoleCreatedDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"role": {
|
|
"$ref": "#/definitions/role"
|
|
},
|
|
"user": {
|
|
"$ref": "#/definitions/user"
|
|
}
|
|
}
|
|
},
|
|
"form": {
|
|
"type": "object",
|
|
"properties": {
|
|
"formID": {
|
|
"type": "integer"
|
|
},
|
|
"formUUID": {
|
|
"type": "string"
|
|
},
|
|
"formName": {
|
|
"type": "string"
|
|
},
|
|
"formDescription": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"formComponents": {
|
|
"type": [
|
|
"number",
|
|
"string",
|
|
"boolean",
|
|
"object",
|
|
"array",
|
|
"null"
|
|
]
|
|
},
|
|
"formStatus": {
|
|
"type": "string",
|
|
"default": "active"
|
|
},
|
|
"formCreatedDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"formModifiedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"customCSS": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"customScript": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"formEvents": {
|
|
"type": [
|
|
"number",
|
|
"string",
|
|
"boolean",
|
|
"object",
|
|
"array",
|
|
"null"
|
|
]
|
|
},
|
|
"scriptMode": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"default": "safe"
|
|
},
|
|
"creator": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/user"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"process": {
|
|
"type": "object",
|
|
"properties": {
|
|
"processID": {
|
|
"type": "integer"
|
|
},
|
|
"processUUID": {
|
|
"type": "string"
|
|
},
|
|
"processName": {
|
|
"type": "string"
|
|
},
|
|
"processDescription": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"processDefinition": {
|
|
"type": [
|
|
"number",
|
|
"string",
|
|
"boolean",
|
|
"object",
|
|
"array",
|
|
"null"
|
|
]
|
|
},
|
|
"processVersion": {
|
|
"type": "integer",
|
|
"default": 1
|
|
},
|
|
"processStatus": {
|
|
"type": "string",
|
|
"default": "draft"
|
|
},
|
|
"processCreatedDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"processModifiedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"isTemplate": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"processCategory": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"processOwner": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"processPermissions": {
|
|
"type": [
|
|
"number",
|
|
"string",
|
|
"boolean",
|
|
"object",
|
|
"array",
|
|
"null"
|
|
]
|
|
},
|
|
"processPriority": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"default": "normal"
|
|
},
|
|
"processSettings": {
|
|
"type": [
|
|
"number",
|
|
"string",
|
|
"boolean",
|
|
"object",
|
|
"array",
|
|
"null"
|
|
]
|
|
},
|
|
"processVariables": {
|
|
"type": [
|
|
"number",
|
|
"string",
|
|
"boolean",
|
|
"object",
|
|
"array",
|
|
"null"
|
|
]
|
|
},
|
|
"templateCategory": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"processDeletedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"creator": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/user"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": "object",
|
|
"properties": {
|
|
"user": {
|
|
"$ref": "#/definitions/user"
|
|
},
|
|
"role": {
|
|
"$ref": "#/definitions/role"
|
|
},
|
|
"userrole": {
|
|
"$ref": "#/definitions/userrole"
|
|
},
|
|
"form": {
|
|
"$ref": "#/definitions/form"
|
|
},
|
|
"process": {
|
|
"$ref": "#/definitions/process"
|
|
}
|
|
}
|
|
} |