fix: Adjust null flag for step model fields

This commit is contained in:
Faruk AYDIN
2022-02-27 15:26:43 +03:00
committed by Ömer Faruk Aydın
parent 70bb79ab6c
commit 003213d223
3 changed files with 6 additions and 5 deletions

View File

@@ -27,13 +27,13 @@ class Step extends Base {
properties: {
id: { type: 'integer' },
flowId: { type: 'string' },
key: { type: ['string', null] },
appKey: { type: ['string', null], minLength: 1, maxLength: 255 },
key: { type: ['string', 'null'] },
appKey: { type: ['string', 'null'], minLength: 1, maxLength: 255 },
type: { type: 'string', enum: ['action', 'trigger'] },
connectionId: { type: ['string', null] },
connectionId: { type: ['string', 'null'] },
status: { type: 'string', enum: ['incomplete', 'completed'] },
position: { type: 'integer' },
parameters: { type: ['object', null] },
parameters: { type: 'object' },
},
};