@syrtis-ai/syrtis-javascript-client 10.0.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/Common/MessageCollection.ts +30 -14
- package/src/Entity/Message.ts +2 -1
- package/src/data/entity/document.json +0 -24
- package/src/data/entity/environment.json +0 -24
- package/src/data/entity/job.json +0 -24
- package/src/data/entity/message.json +0 -24
- package/src/data/entity/message_stamp.json +0 -24
- package/src/data/entity/node.json +0 -24
- package/src/data/entity/request.json +0 -73
- package/src/data/entity/scenario.json +121 -116
- package/src/data/entity/session.json +0 -24
- package/src/data/entity/slot.json +36 -24
- package/src/data/entity/step.json +0 -24
- package/src/data/entity/template.json +0 -24
- package/src/data/entity/user.json +0 -24
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -281,8 +281,16 @@ export default class MessageCollection {
|
|
|
281
281
|
return typeof value === 'number' ? value : null;
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
+
// What a message is known by: its uuid, the one id the api gives since
|
|
285
|
+
// secure ids left it; a legacy payload's `secureId` otherwise.
|
|
284
286
|
private static getSecureId(message: Message): string | null {
|
|
285
|
-
const
|
|
287
|
+
const record = MessageCollection.getRecord(message);
|
|
288
|
+
return (
|
|
289
|
+
MessageCollection.readString(record?.id) ?? MessageCollection.readString(record?.secureId)
|
|
290
|
+
);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
private static readString(value: unknown): string | null {
|
|
286
294
|
return typeof value === 'string' && value.length > 0 ? value : null;
|
|
287
295
|
}
|
|
288
296
|
|
|
@@ -292,26 +300,34 @@ export default class MessageCollection {
|
|
|
292
300
|
return null;
|
|
293
301
|
}
|
|
294
302
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
// The request's uuid, however the payload carries it: the 2025 fields, the
|
|
304
|
+
// 2026 relation (an id, or a record of one).
|
|
305
|
+
const requestRelation = messageRecord.request;
|
|
306
|
+
const relationRecord = MessageCollection.getRecord(requestRelation);
|
|
307
|
+
|
|
308
|
+
return (
|
|
309
|
+
MessageCollection.readString(messageRecord.requestSecureId) ??
|
|
310
|
+
MessageCollection.readString(messageRecord.requestId) ??
|
|
311
|
+
MessageCollection.readString(requestRelation) ??
|
|
312
|
+
MessageCollection.readString(relationRecord?.id) ??
|
|
313
|
+
MessageCollection.readString(relationRecord?.secureId)
|
|
314
|
+
);
|
|
305
315
|
}
|
|
306
316
|
|
|
307
317
|
private static getPreviousRequestSecureId(message: Message): string | null {
|
|
308
|
-
const
|
|
309
|
-
|
|
318
|
+
const record = MessageCollection.getRecord(message);
|
|
319
|
+
const metadata = MessageCollection.getRecord(record?.metadata);
|
|
320
|
+
|
|
321
|
+
return (
|
|
322
|
+
MessageCollection.readString(record?._previousRequestSecureId) ??
|
|
323
|
+
MessageCollection.readString(metadata?.previousRequestSecureId)
|
|
324
|
+
);
|
|
310
325
|
}
|
|
311
326
|
|
|
312
327
|
private static getNextRequestSecureIds(message: Message): string[] {
|
|
313
328
|
const record = MessageCollection.getRecord(message);
|
|
314
|
-
const rawValue =
|
|
329
|
+
const rawValue =
|
|
330
|
+
record?._nextRequests ?? MessageCollection.getRecord(record?.metadata)?.nextRequests;
|
|
315
331
|
if (Array.isArray(rawValue)) {
|
|
316
332
|
if (rawValue.every((item) => typeof item === 'string' && item.length > 0)) {
|
|
317
333
|
return rawValue as string[];
|
package/src/Entity/Message.ts
CHANGED
|
@@ -19,10 +19,12 @@ export default class Message extends AbstractApiEntity {
|
|
|
19
19
|
static readonly ORIGIN_USER = 'user';
|
|
20
20
|
|
|
21
21
|
static readonly CONTENT_TYPE_ACTIONS = 'conversation/actions';
|
|
22
|
+
static readonly CONTENT_TYPE_ARTIFACT = 'core/artifact';
|
|
22
23
|
static readonly CONTENT_TYPE_CONVERSATION_MESSAGE = 'conversation/message';
|
|
23
24
|
static readonly CONTENT_TYPE_DEBUG = 'core/debug';
|
|
24
25
|
static readonly CONTENT_TYPE_DOWNLOAD = 'core/download';
|
|
25
26
|
static readonly CONTENT_TYPE_ERROR = 'core/error';
|
|
27
|
+
static readonly CONTENT_TYPE_FILE = 'core/file';
|
|
26
28
|
static readonly CONTENT_TYPE_FORM = 'core/form';
|
|
27
29
|
static readonly CONTENT_TYPE_HTTP_RESPONSE = 'core/http_response';
|
|
28
30
|
static readonly CONTENT_TYPE_IMAGE = 'core/image';
|
|
@@ -37,7 +39,6 @@ export default class Message extends AbstractApiEntity {
|
|
|
37
39
|
static readonly CONTENT_TYPE_SUCCESS = 'web/success';
|
|
38
40
|
static readonly CONTENT_TYPE_THOUGHT = 'conversation/thought';
|
|
39
41
|
static readonly CONTENT_TYPE_TOOL_CALL = 'core/tool_call';
|
|
40
|
-
static readonly CONTENT_TYPE_UPLOAD = 'core/upload';
|
|
41
42
|
static readonly CONTENT_TYPE_URL = 'core/url';
|
|
42
43
|
static readonly CONTENT_TYPE_VIDEO = 'core/video';
|
|
43
44
|
static readonly CONTENT_TYPE_WARNING = 'core/warning';
|
|
@@ -60,20 +60,6 @@
|
|
|
60
60
|
},
|
|
61
61
|
"target": "user"
|
|
62
62
|
},
|
|
63
|
-
{
|
|
64
|
-
"name": "secureId",
|
|
65
|
-
"type": "string",
|
|
66
|
-
"orm": {
|
|
67
|
-
"kind": "field",
|
|
68
|
-
"column": "secure_id",
|
|
69
|
-
"type": "string",
|
|
70
|
-
"nullable": false,
|
|
71
|
-
"unique": false,
|
|
72
|
-
"id": false,
|
|
73
|
-
"generated": false,
|
|
74
|
-
"length": 255
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
63
|
{
|
|
78
64
|
"name": "mimeType",
|
|
79
65
|
"type": "string",
|
|
@@ -219,16 +205,6 @@
|
|
|
219
205
|
"generated": false,
|
|
220
206
|
"length": 255
|
|
221
207
|
},
|
|
222
|
-
"secureId": {
|
|
223
|
-
"kind": "field",
|
|
224
|
-
"column": "secure_id",
|
|
225
|
-
"type": "string",
|
|
226
|
-
"nullable": false,
|
|
227
|
-
"unique": false,
|
|
228
|
-
"id": false,
|
|
229
|
-
"generated": false,
|
|
230
|
-
"length": 255
|
|
231
|
-
},
|
|
232
208
|
"mimeType": {
|
|
233
209
|
"kind": "field",
|
|
234
210
|
"column": "mime_type",
|
|
@@ -17,20 +17,6 @@
|
|
|
17
17
|
"length": 255
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
{
|
|
21
|
-
"name": "secureId",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"orm": {
|
|
24
|
-
"kind": "field",
|
|
25
|
-
"column": "secure_id",
|
|
26
|
-
"type": "string",
|
|
27
|
-
"nullable": false,
|
|
28
|
-
"unique": false,
|
|
29
|
-
"id": false,
|
|
30
|
-
"generated": false,
|
|
31
|
-
"length": 255
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
20
|
{
|
|
35
21
|
"name": "id",
|
|
36
22
|
"type": "Symfony\\Component\\Uid\\Uuid",
|
|
@@ -73,16 +59,6 @@
|
|
|
73
59
|
"id": false,
|
|
74
60
|
"generated": false,
|
|
75
61
|
"length": 255
|
|
76
|
-
},
|
|
77
|
-
"secureId": {
|
|
78
|
-
"kind": "field",
|
|
79
|
-
"column": "secure_id",
|
|
80
|
-
"type": "string",
|
|
81
|
-
"nullable": false,
|
|
82
|
-
"unique": false,
|
|
83
|
-
"id": false,
|
|
84
|
-
"generated": false,
|
|
85
|
-
"length": 255
|
|
86
62
|
}
|
|
87
63
|
},
|
|
88
64
|
"associations": {}
|
package/src/data/entity/job.json
CHANGED
|
@@ -60,20 +60,6 @@
|
|
|
60
60
|
},
|
|
61
61
|
"target": "user"
|
|
62
62
|
},
|
|
63
|
-
{
|
|
64
|
-
"name": "secureId",
|
|
65
|
-
"type": "string",
|
|
66
|
-
"orm": {
|
|
67
|
-
"kind": "field",
|
|
68
|
-
"column": "secure_id",
|
|
69
|
-
"type": "string",
|
|
70
|
-
"nullable": false,
|
|
71
|
-
"unique": false,
|
|
72
|
-
"id": false,
|
|
73
|
-
"generated": false,
|
|
74
|
-
"length": 255
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
63
|
{
|
|
78
64
|
"name": "positionX",
|
|
79
65
|
"type": "int",
|
|
@@ -207,16 +193,6 @@
|
|
|
207
193
|
"id": false,
|
|
208
194
|
"generated": false
|
|
209
195
|
},
|
|
210
|
-
"secureId": {
|
|
211
|
-
"kind": "field",
|
|
212
|
-
"column": "secure_id",
|
|
213
|
-
"type": "string",
|
|
214
|
-
"nullable": false,
|
|
215
|
-
"unique": false,
|
|
216
|
-
"id": false,
|
|
217
|
-
"generated": false,
|
|
218
|
-
"length": 255
|
|
219
|
-
},
|
|
220
196
|
"positionX": {
|
|
221
197
|
"kind": "field",
|
|
222
198
|
"column": "position_x",
|
|
@@ -106,20 +106,6 @@
|
|
|
106
106
|
]
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
{
|
|
110
|
-
"name": "secureId",
|
|
111
|
-
"type": "string",
|
|
112
|
-
"orm": {
|
|
113
|
-
"kind": "field",
|
|
114
|
-
"column": "secure_id",
|
|
115
|
-
"type": "string",
|
|
116
|
-
"nullable": false,
|
|
117
|
-
"unique": false,
|
|
118
|
-
"id": false,
|
|
119
|
-
"generated": false,
|
|
120
|
-
"length": 255
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
109
|
{
|
|
124
110
|
"name": "versionMajor",
|
|
125
111
|
"type": "int",
|
|
@@ -387,16 +373,6 @@
|
|
|
387
373
|
"generated": false,
|
|
388
374
|
"length": 30
|
|
389
375
|
},
|
|
390
|
-
"secureId": {
|
|
391
|
-
"kind": "field",
|
|
392
|
-
"column": "secure_id",
|
|
393
|
-
"type": "string",
|
|
394
|
-
"nullable": false,
|
|
395
|
-
"unique": false,
|
|
396
|
-
"id": false,
|
|
397
|
-
"generated": false,
|
|
398
|
-
"length": 255
|
|
399
|
-
},
|
|
400
376
|
"versionMajor": {
|
|
401
377
|
"kind": "field",
|
|
402
378
|
"column": "version_major",
|
|
@@ -17,20 +17,6 @@
|
|
|
17
17
|
"length": 255
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
{
|
|
21
|
-
"name": "secureId",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"orm": {
|
|
24
|
-
"kind": "field",
|
|
25
|
-
"column": "secure_id",
|
|
26
|
-
"type": "string",
|
|
27
|
-
"nullable": false,
|
|
28
|
-
"unique": false,
|
|
29
|
-
"id": false,
|
|
30
|
-
"generated": false,
|
|
31
|
-
"length": 255
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
20
|
{
|
|
35
21
|
"name": "id",
|
|
36
22
|
"type": "Symfony\\Component\\Uid\\Uuid",
|
|
@@ -101,16 +87,6 @@
|
|
|
101
87
|
"id": false,
|
|
102
88
|
"generated": false,
|
|
103
89
|
"length": 255
|
|
104
|
-
},
|
|
105
|
-
"secureId": {
|
|
106
|
-
"kind": "field",
|
|
107
|
-
"column": "secure_id",
|
|
108
|
-
"type": "string",
|
|
109
|
-
"nullable": false,
|
|
110
|
-
"unique": false,
|
|
111
|
-
"id": false,
|
|
112
|
-
"generated": false,
|
|
113
|
-
"length": 255
|
|
114
90
|
}
|
|
115
91
|
},
|
|
116
92
|
"associations": {
|
|
@@ -17,20 +17,6 @@
|
|
|
17
17
|
"length": 120
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
{
|
|
21
|
-
"name": "secureId",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"orm": {
|
|
24
|
-
"kind": "field",
|
|
25
|
-
"column": "secure_id",
|
|
26
|
-
"type": "string",
|
|
27
|
-
"nullable": false,
|
|
28
|
-
"unique": false,
|
|
29
|
-
"id": false,
|
|
30
|
-
"generated": false,
|
|
31
|
-
"length": 255
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
20
|
{
|
|
35
21
|
"name": "id",
|
|
36
22
|
"type": "Symfony\\Component\\Uid\\Uuid",
|
|
@@ -73,16 +59,6 @@
|
|
|
73
59
|
"id": false,
|
|
74
60
|
"generated": false,
|
|
75
61
|
"length": 120
|
|
76
|
-
},
|
|
77
|
-
"secureId": {
|
|
78
|
-
"kind": "field",
|
|
79
|
-
"column": "secure_id",
|
|
80
|
-
"type": "string",
|
|
81
|
-
"nullable": false,
|
|
82
|
-
"unique": false,
|
|
83
|
-
"id": false,
|
|
84
|
-
"generated": false,
|
|
85
|
-
"length": 255
|
|
86
62
|
}
|
|
87
63
|
},
|
|
88
64
|
"associations": {}
|
|
@@ -73,20 +73,6 @@
|
|
|
73
73
|
"fetch": 2
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
-
{
|
|
77
|
-
"name": "secureId",
|
|
78
|
-
"type": "string",
|
|
79
|
-
"orm": {
|
|
80
|
-
"kind": "field",
|
|
81
|
-
"column": "secure_id",
|
|
82
|
-
"type": "string",
|
|
83
|
-
"nullable": false,
|
|
84
|
-
"unique": false,
|
|
85
|
-
"id": false,
|
|
86
|
-
"generated": false,
|
|
87
|
-
"length": 255
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
76
|
{
|
|
91
77
|
"name": "type",
|
|
92
78
|
"type": "string",
|
|
@@ -180,34 +166,6 @@
|
|
|
180
166
|
"fetch": 2
|
|
181
167
|
}
|
|
182
168
|
},
|
|
183
|
-
{
|
|
184
|
-
"name": "projection",
|
|
185
|
-
"type": "relation",
|
|
186
|
-
"nullable": true,
|
|
187
|
-
"default": null,
|
|
188
|
-
"target": "projection",
|
|
189
|
-
"orm": {
|
|
190
|
-
"kind": "association",
|
|
191
|
-
"association_type": "many_to_one",
|
|
192
|
-
"target_entity": "App\\Entity\\Projection",
|
|
193
|
-
"target": "projection",
|
|
194
|
-
"mapped_by": null,
|
|
195
|
-
"inversed_by": null,
|
|
196
|
-
"is_owning_side": true,
|
|
197
|
-
"orphan_removal": false,
|
|
198
|
-
"cascade": {},
|
|
199
|
-
"fetch": 2,
|
|
200
|
-
"join_columns": [
|
|
201
|
-
{
|
|
202
|
-
"name": "projection_id",
|
|
203
|
-
"referenced_column_name": "id",
|
|
204
|
-
"nullable": true,
|
|
205
|
-
"unique": false,
|
|
206
|
-
"on_delete": "CASCADE"
|
|
207
|
-
}
|
|
208
|
-
]
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
169
|
{
|
|
212
170
|
"name": "session",
|
|
213
171
|
"type": "relation",
|
|
@@ -328,16 +286,6 @@
|
|
|
328
286
|
"id": false,
|
|
329
287
|
"generated": false
|
|
330
288
|
},
|
|
331
|
-
"secureId": {
|
|
332
|
-
"kind": "field",
|
|
333
|
-
"column": "secure_id",
|
|
334
|
-
"type": "string",
|
|
335
|
-
"nullable": false,
|
|
336
|
-
"unique": false,
|
|
337
|
-
"id": false,
|
|
338
|
-
"generated": false,
|
|
339
|
-
"length": 255
|
|
340
|
-
},
|
|
341
289
|
"type": {
|
|
342
290
|
"kind": "field",
|
|
343
291
|
"column": "type",
|
|
@@ -373,27 +321,6 @@
|
|
|
373
321
|
],
|
|
374
322
|
"fetch": 2
|
|
375
323
|
},
|
|
376
|
-
"projection": {
|
|
377
|
-
"kind": "association",
|
|
378
|
-
"association_type": "many_to_one",
|
|
379
|
-
"target_entity": "App\\Entity\\Projection",
|
|
380
|
-
"target": "projection",
|
|
381
|
-
"mapped_by": null,
|
|
382
|
-
"inversed_by": null,
|
|
383
|
-
"is_owning_side": true,
|
|
384
|
-
"orphan_removal": false,
|
|
385
|
-
"cascade": {},
|
|
386
|
-
"fetch": 2,
|
|
387
|
-
"join_columns": [
|
|
388
|
-
{
|
|
389
|
-
"name": "projection_id",
|
|
390
|
-
"referenced_column_name": "id",
|
|
391
|
-
"nullable": true,
|
|
392
|
-
"unique": false,
|
|
393
|
-
"on_delete": "CASCADE"
|
|
394
|
-
}
|
|
395
|
-
]
|
|
396
|
-
},
|
|
397
324
|
"session": {
|
|
398
325
|
"kind": "association",
|
|
399
326
|
"association_type": "many_to_one",
|
|
@@ -101,20 +101,6 @@
|
|
|
101
101
|
"generated": false
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
|
-
{
|
|
105
|
-
"name": "secureId",
|
|
106
|
-
"type": "string",
|
|
107
|
-
"orm": {
|
|
108
|
-
"kind": "field",
|
|
109
|
-
"column": "secure_id",
|
|
110
|
-
"type": "string",
|
|
111
|
-
"nullable": false,
|
|
112
|
-
"unique": false,
|
|
113
|
-
"id": false,
|
|
114
|
-
"generated": false,
|
|
115
|
-
"length": 255
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
104
|
{
|
|
119
105
|
"name": "positionX",
|
|
120
106
|
"type": "int",
|
|
@@ -160,58 +146,9 @@
|
|
|
160
146
|
"generated": false
|
|
161
147
|
}
|
|
162
148
|
},
|
|
163
|
-
{
|
|
164
|
-
"name": "versionMajor",
|
|
165
|
-
"type": "int",
|
|
166
|
-
"default": 0,
|
|
167
|
-
"orm": {
|
|
168
|
-
"kind": "field",
|
|
169
|
-
"column": "version_major",
|
|
170
|
-
"type": "integer",
|
|
171
|
-
"nullable": false,
|
|
172
|
-
"unique": false,
|
|
173
|
-
"id": false,
|
|
174
|
-
"generated": false,
|
|
175
|
-
"options": {
|
|
176
|
-
"default": 0
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"name": "versionMinor",
|
|
182
|
-
"type": "int",
|
|
183
|
-
"default": 0,
|
|
184
|
-
"orm": {
|
|
185
|
-
"kind": "field",
|
|
186
|
-
"column": "version_minor",
|
|
187
|
-
"type": "integer",
|
|
188
|
-
"nullable": false,
|
|
189
|
-
"unique": false,
|
|
190
|
-
"id": false,
|
|
191
|
-
"generated": false,
|
|
192
|
-
"options": {
|
|
193
|
-
"default": 0
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"name": "id",
|
|
199
|
-
"type": "Symfony\\Component\\Uid\\Uuid",
|
|
200
|
-
"orm": {
|
|
201
|
-
"kind": "field",
|
|
202
|
-
"column": "id",
|
|
203
|
-
"type": "uuid",
|
|
204
|
-
"nullable": false,
|
|
205
|
-
"unique": true,
|
|
206
|
-
"id": true,
|
|
207
|
-
"generated": false
|
|
208
|
-
},
|
|
209
|
-
"default": null
|
|
210
|
-
},
|
|
211
149
|
{
|
|
212
150
|
"name": "lineage",
|
|
213
|
-
"type": "
|
|
214
|
-
"target": "uuid",
|
|
151
|
+
"type": "Symfony\\Component\\Uid\\Uuid",
|
|
215
152
|
"orm": {
|
|
216
153
|
"kind": "field",
|
|
217
154
|
"column": "lineage",
|
|
@@ -220,7 +157,8 @@
|
|
|
220
157
|
"unique": false,
|
|
221
158
|
"id": false,
|
|
222
159
|
"generated": false
|
|
223
|
-
}
|
|
160
|
+
},
|
|
161
|
+
"target": "uuid"
|
|
224
162
|
},
|
|
225
163
|
{
|
|
226
164
|
"name": "previousVersion",
|
|
@@ -282,6 +220,54 @@
|
|
|
282
220
|
}
|
|
283
221
|
}
|
|
284
222
|
},
|
|
223
|
+
{
|
|
224
|
+
"name": "versionMajor",
|
|
225
|
+
"type": "int",
|
|
226
|
+
"default": 0,
|
|
227
|
+
"orm": {
|
|
228
|
+
"kind": "field",
|
|
229
|
+
"column": "version_major",
|
|
230
|
+
"type": "integer",
|
|
231
|
+
"nullable": false,
|
|
232
|
+
"unique": false,
|
|
233
|
+
"id": false,
|
|
234
|
+
"generated": false,
|
|
235
|
+
"options": {
|
|
236
|
+
"default": 0
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "versionMinor",
|
|
242
|
+
"type": "int",
|
|
243
|
+
"default": 0,
|
|
244
|
+
"orm": {
|
|
245
|
+
"kind": "field",
|
|
246
|
+
"column": "version_minor",
|
|
247
|
+
"type": "integer",
|
|
248
|
+
"nullable": false,
|
|
249
|
+
"unique": false,
|
|
250
|
+
"id": false,
|
|
251
|
+
"generated": false,
|
|
252
|
+
"options": {
|
|
253
|
+
"default": 0
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "id",
|
|
259
|
+
"type": "Symfony\\Component\\Uid\\Uuid",
|
|
260
|
+
"orm": {
|
|
261
|
+
"kind": "field",
|
|
262
|
+
"column": "id",
|
|
263
|
+
"type": "uuid",
|
|
264
|
+
"nullable": false,
|
|
265
|
+
"unique": true,
|
|
266
|
+
"id": true,
|
|
267
|
+
"generated": false
|
|
268
|
+
},
|
|
269
|
+
"default": null
|
|
270
|
+
},
|
|
285
271
|
{
|
|
286
272
|
"name": "steps",
|
|
287
273
|
"type": "Collection",
|
|
@@ -361,6 +347,23 @@
|
|
|
361
347
|
}
|
|
362
348
|
]
|
|
363
349
|
}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "evaluator",
|
|
353
|
+
"type": "bool",
|
|
354
|
+
"default": false,
|
|
355
|
+
"orm": {
|
|
356
|
+
"kind": "field",
|
|
357
|
+
"column": "evaluator",
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"nullable": false,
|
|
360
|
+
"unique": false,
|
|
361
|
+
"id": false,
|
|
362
|
+
"generated": false,
|
|
363
|
+
"options": {
|
|
364
|
+
"default": false
|
|
365
|
+
}
|
|
366
|
+
}
|
|
364
367
|
}
|
|
365
368
|
],
|
|
366
369
|
"orm": {
|
|
@@ -387,27 +390,9 @@
|
|
|
387
390
|
"id": true,
|
|
388
391
|
"generated": false
|
|
389
392
|
},
|
|
390
|
-
"
|
|
393
|
+
"evaluator": {
|
|
391
394
|
"kind": "field",
|
|
392
|
-
"column": "
|
|
393
|
-
"type": "uuid",
|
|
394
|
-
"nullable": false,
|
|
395
|
-
"unique": false,
|
|
396
|
-
"id": false,
|
|
397
|
-
"generated": false
|
|
398
|
-
},
|
|
399
|
-
"datePublished": {
|
|
400
|
-
"kind": "field",
|
|
401
|
-
"column": "date_published",
|
|
402
|
-
"type": "datetime_immutable",
|
|
403
|
-
"nullable": true,
|
|
404
|
-
"unique": false,
|
|
405
|
-
"id": false,
|
|
406
|
-
"generated": false
|
|
407
|
-
},
|
|
408
|
-
"archived": {
|
|
409
|
-
"kind": "field",
|
|
410
|
-
"column": "archived",
|
|
395
|
+
"column": "evaluator",
|
|
411
396
|
"type": "boolean",
|
|
412
397
|
"nullable": false,
|
|
413
398
|
"unique": false,
|
|
@@ -445,16 +430,6 @@
|
|
|
445
430
|
"id": false,
|
|
446
431
|
"generated": false
|
|
447
432
|
},
|
|
448
|
-
"secureId": {
|
|
449
|
-
"kind": "field",
|
|
450
|
-
"column": "secure_id",
|
|
451
|
-
"type": "string",
|
|
452
|
-
"nullable": false,
|
|
453
|
-
"unique": false,
|
|
454
|
-
"id": false,
|
|
455
|
-
"generated": false,
|
|
456
|
-
"length": 255
|
|
457
|
-
},
|
|
458
433
|
"positionX": {
|
|
459
434
|
"kind": "field",
|
|
460
435
|
"column": "position_x",
|
|
@@ -482,6 +457,36 @@
|
|
|
482
457
|
"id": false,
|
|
483
458
|
"generated": false
|
|
484
459
|
},
|
|
460
|
+
"lineage": {
|
|
461
|
+
"kind": "field",
|
|
462
|
+
"column": "lineage",
|
|
463
|
+
"type": "uuid",
|
|
464
|
+
"nullable": false,
|
|
465
|
+
"unique": false,
|
|
466
|
+
"id": false,
|
|
467
|
+
"generated": false
|
|
468
|
+
},
|
|
469
|
+
"datePublished": {
|
|
470
|
+
"kind": "field",
|
|
471
|
+
"column": "date_published",
|
|
472
|
+
"type": "datetime_immutable",
|
|
473
|
+
"nullable": true,
|
|
474
|
+
"unique": false,
|
|
475
|
+
"id": false,
|
|
476
|
+
"generated": false
|
|
477
|
+
},
|
|
478
|
+
"archived": {
|
|
479
|
+
"kind": "field",
|
|
480
|
+
"column": "archived",
|
|
481
|
+
"type": "boolean",
|
|
482
|
+
"nullable": false,
|
|
483
|
+
"unique": false,
|
|
484
|
+
"id": false,
|
|
485
|
+
"generated": false,
|
|
486
|
+
"options": {
|
|
487
|
+
"default": false
|
|
488
|
+
}
|
|
489
|
+
},
|
|
485
490
|
"versionMajor": {
|
|
486
491
|
"kind": "field",
|
|
487
492
|
"column": "version_major",
|
|
@@ -508,27 +513,6 @@
|
|
|
508
513
|
}
|
|
509
514
|
},
|
|
510
515
|
"associations": {
|
|
511
|
-
"previousVersion": {
|
|
512
|
-
"kind": "association",
|
|
513
|
-
"association_type": "many_to_one",
|
|
514
|
-
"target_entity": "App\\Entity\\Scenario",
|
|
515
|
-
"target": "scenario",
|
|
516
|
-
"mapped_by": null,
|
|
517
|
-
"inversed_by": null,
|
|
518
|
-
"is_owning_side": true,
|
|
519
|
-
"orphan_removal": false,
|
|
520
|
-
"cascade": {},
|
|
521
|
-
"fetch": 2,
|
|
522
|
-
"join_columns": [
|
|
523
|
-
{
|
|
524
|
-
"name": "previous_version_id",
|
|
525
|
-
"referenced_column_name": "id",
|
|
526
|
-
"nullable": true,
|
|
527
|
-
"unique": false,
|
|
528
|
-
"on_delete": "SET NULL"
|
|
529
|
-
}
|
|
530
|
-
]
|
|
531
|
-
},
|
|
532
516
|
"steps": {
|
|
533
517
|
"kind": "association",
|
|
534
518
|
"association_type": "one_to_many",
|
|
@@ -609,6 +593,27 @@
|
|
|
609
593
|
}
|
|
610
594
|
]
|
|
611
595
|
},
|
|
596
|
+
"previousVersion": {
|
|
597
|
+
"kind": "association",
|
|
598
|
+
"association_type": "many_to_one",
|
|
599
|
+
"target_entity": "App\\Entity\\Scenario",
|
|
600
|
+
"target": "scenario",
|
|
601
|
+
"mapped_by": null,
|
|
602
|
+
"inversed_by": null,
|
|
603
|
+
"is_owning_side": true,
|
|
604
|
+
"orphan_removal": false,
|
|
605
|
+
"cascade": {},
|
|
606
|
+
"fetch": 2,
|
|
607
|
+
"join_columns": [
|
|
608
|
+
{
|
|
609
|
+
"name": "previous_version_id",
|
|
610
|
+
"referenced_column_name": "id",
|
|
611
|
+
"nullable": true,
|
|
612
|
+
"unique": false,
|
|
613
|
+
"on_delete": "SET NULL"
|
|
614
|
+
}
|
|
615
|
+
]
|
|
616
|
+
},
|
|
612
617
|
"user": {
|
|
613
618
|
"kind": "association",
|
|
614
619
|
"association_type": "many_to_one",
|
|
@@ -47,20 +47,6 @@
|
|
|
47
47
|
"length": 30
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
{
|
|
51
|
-
"name": "secureId",
|
|
52
|
-
"type": "string",
|
|
53
|
-
"orm": {
|
|
54
|
-
"kind": "field",
|
|
55
|
-
"column": "secure_id",
|
|
56
|
-
"type": "string",
|
|
57
|
-
"nullable": false,
|
|
58
|
-
"unique": false,
|
|
59
|
-
"id": false,
|
|
60
|
-
"generated": false,
|
|
61
|
-
"length": 255
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
50
|
{
|
|
65
51
|
"name": "status",
|
|
66
52
|
"type": "string",
|
|
@@ -391,16 +377,6 @@
|
|
|
391
377
|
"generated": false,
|
|
392
378
|
"length": 30
|
|
393
379
|
},
|
|
394
|
-
"secureId": {
|
|
395
|
-
"kind": "field",
|
|
396
|
-
"column": "secure_id",
|
|
397
|
-
"type": "string",
|
|
398
|
-
"nullable": false,
|
|
399
|
-
"unique": false,
|
|
400
|
-
"id": false,
|
|
401
|
-
"generated": false,
|
|
402
|
-
"length": 255
|
|
403
|
-
},
|
|
404
380
|
"status": {
|
|
405
381
|
"kind": "field",
|
|
406
382
|
"column": "status",
|
|
@@ -48,20 +48,6 @@
|
|
|
48
48
|
"generated": false
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
{
|
|
52
|
-
"name": "secureId",
|
|
53
|
-
"type": "string",
|
|
54
|
-
"orm": {
|
|
55
|
-
"kind": "field",
|
|
56
|
-
"column": "secure_id",
|
|
57
|
-
"type": "string",
|
|
58
|
-
"nullable": false,
|
|
59
|
-
"unique": false,
|
|
60
|
-
"id": false,
|
|
61
|
-
"generated": false,
|
|
62
|
-
"length": 255
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
51
|
{
|
|
66
52
|
"name": "id",
|
|
67
53
|
"type": "Symfony\\Component\\Uid\\Uuid",
|
|
@@ -324,6 +310,27 @@
|
|
|
324
310
|
],
|
|
325
311
|
"fetch": 2
|
|
326
312
|
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "slotFilters",
|
|
316
|
+
"type": "collection",
|
|
317
|
+
"description": "SlotFilter>",
|
|
318
|
+
"target": "slot_filter",
|
|
319
|
+
"orm": {
|
|
320
|
+
"kind": "association",
|
|
321
|
+
"association_type": "one_to_many",
|
|
322
|
+
"target_entity": "App\\Entity\\SlotFilter",
|
|
323
|
+
"target": "slot_filter",
|
|
324
|
+
"mapped_by": "slot",
|
|
325
|
+
"inversed_by": null,
|
|
326
|
+
"is_owning_side": false,
|
|
327
|
+
"orphan_removal": true,
|
|
328
|
+
"cascade": [
|
|
329
|
+
"remove",
|
|
330
|
+
"persist"
|
|
331
|
+
],
|
|
332
|
+
"fetch": 2
|
|
333
|
+
}
|
|
327
334
|
}
|
|
328
335
|
],
|
|
329
336
|
"orm": {
|
|
@@ -400,16 +407,6 @@
|
|
|
400
407
|
"unique": false,
|
|
401
408
|
"id": false,
|
|
402
409
|
"generated": false
|
|
403
|
-
},
|
|
404
|
-
"secureId": {
|
|
405
|
-
"kind": "field",
|
|
406
|
-
"column": "secure_id",
|
|
407
|
-
"type": "string",
|
|
408
|
-
"nullable": false,
|
|
409
|
-
"unique": false,
|
|
410
|
-
"id": false,
|
|
411
|
-
"generated": false,
|
|
412
|
-
"length": 255
|
|
413
410
|
}
|
|
414
411
|
},
|
|
415
412
|
"associations": {
|
|
@@ -559,6 +556,21 @@
|
|
|
559
556
|
"persist"
|
|
560
557
|
],
|
|
561
558
|
"fetch": 2
|
|
559
|
+
},
|
|
560
|
+
"slotFilters": {
|
|
561
|
+
"kind": "association",
|
|
562
|
+
"association_type": "one_to_many",
|
|
563
|
+
"target_entity": "App\\Entity\\SlotFilter",
|
|
564
|
+
"target": "slot_filter",
|
|
565
|
+
"mapped_by": "slot",
|
|
566
|
+
"inversed_by": null,
|
|
567
|
+
"is_owning_side": false,
|
|
568
|
+
"orphan_removal": true,
|
|
569
|
+
"cascade": [
|
|
570
|
+
"remove",
|
|
571
|
+
"persist"
|
|
572
|
+
],
|
|
573
|
+
"fetch": 2
|
|
562
574
|
}
|
|
563
575
|
}
|
|
564
576
|
}
|
|
@@ -33,20 +33,6 @@
|
|
|
33
33
|
"generated": false
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
{
|
|
37
|
-
"name": "secureId",
|
|
38
|
-
"type": "string",
|
|
39
|
-
"orm": {
|
|
40
|
-
"kind": "field",
|
|
41
|
-
"column": "secure_id",
|
|
42
|
-
"type": "string",
|
|
43
|
-
"nullable": false,
|
|
44
|
-
"unique": false,
|
|
45
|
-
"id": false,
|
|
46
|
-
"generated": false,
|
|
47
|
-
"length": 255
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
36
|
{
|
|
51
37
|
"name": "user",
|
|
52
38
|
"type": "Wexample\\SymfonyHelpers\\Entity\\Interfaces\\UserEntityInterface",
|
|
@@ -218,16 +204,6 @@
|
|
|
218
204
|
"unique": false,
|
|
219
205
|
"id": false,
|
|
220
206
|
"generated": false
|
|
221
|
-
},
|
|
222
|
-
"secureId": {
|
|
223
|
-
"kind": "field",
|
|
224
|
-
"column": "secure_id",
|
|
225
|
-
"type": "string",
|
|
226
|
-
"nullable": false,
|
|
227
|
-
"unique": false,
|
|
228
|
-
"id": false,
|
|
229
|
-
"generated": false,
|
|
230
|
-
"length": 255
|
|
231
207
|
}
|
|
232
208
|
},
|
|
233
209
|
"associations": {
|
|
@@ -47,20 +47,6 @@
|
|
|
47
47
|
"generated": false
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
{
|
|
51
|
-
"name": "secureId",
|
|
52
|
-
"type": "string",
|
|
53
|
-
"orm": {
|
|
54
|
-
"kind": "field",
|
|
55
|
-
"column": "secure_id",
|
|
56
|
-
"type": "string",
|
|
57
|
-
"nullable": false,
|
|
58
|
-
"unique": false,
|
|
59
|
-
"id": false,
|
|
60
|
-
"generated": false,
|
|
61
|
-
"length": 255
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
50
|
{
|
|
65
51
|
"name": "scenario",
|
|
66
52
|
"type": "relation",
|
|
@@ -149,16 +135,6 @@
|
|
|
149
135
|
"unique": false,
|
|
150
136
|
"id": false,
|
|
151
137
|
"generated": false
|
|
152
|
-
},
|
|
153
|
-
"secureId": {
|
|
154
|
-
"kind": "field",
|
|
155
|
-
"column": "secure_id",
|
|
156
|
-
"type": "string",
|
|
157
|
-
"nullable": false,
|
|
158
|
-
"unique": false,
|
|
159
|
-
"id": false,
|
|
160
|
-
"generated": false,
|
|
161
|
-
"length": 255
|
|
162
138
|
}
|
|
163
139
|
},
|
|
164
140
|
"associations": {
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "user",
|
|
3
3
|
"properties": [
|
|
4
|
-
{
|
|
5
|
-
"name": "secureId",
|
|
6
|
-
"type": "string",
|
|
7
|
-
"orm": {
|
|
8
|
-
"kind": "field",
|
|
9
|
-
"column": "secure_id",
|
|
10
|
-
"type": "string",
|
|
11
|
-
"nullable": false,
|
|
12
|
-
"unique": false,
|
|
13
|
-
"id": false,
|
|
14
|
-
"generated": false,
|
|
15
|
-
"length": 255
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
4
|
{
|
|
19
5
|
"name": "firstName",
|
|
20
6
|
"type": "string",
|
|
@@ -323,16 +309,6 @@
|
|
|
323
309
|
"id": true,
|
|
324
310
|
"generated": false
|
|
325
311
|
},
|
|
326
|
-
"secureId": {
|
|
327
|
-
"kind": "field",
|
|
328
|
-
"column": "secure_id",
|
|
329
|
-
"type": "string",
|
|
330
|
-
"nullable": false,
|
|
331
|
-
"unique": false,
|
|
332
|
-
"id": false,
|
|
333
|
-
"generated": false,
|
|
334
|
-
"length": 255
|
|
335
|
-
},
|
|
336
312
|
"firstName": {
|
|
337
313
|
"kind": "field",
|
|
338
314
|
"column": "first_name",
|