@revoengine/cli 1.0.29 → 1.0.30

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.
Files changed (69) hide show
  1. package/README.md +154 -3
  2. package/dist/src/automation-contract.generated.d.ts +742 -0
  3. package/dist/src/automation-contract.generated.js +1021 -0
  4. package/dist/src/cli.js +9 -1
  5. package/dist/src/client.d.ts +24 -0
  6. package/dist/src/client.js +60 -0
  7. package/dist/src/commands/component.js +52 -22
  8. package/dist/src/commands/env.js +1 -1
  9. package/dist/src/commands/index.d.ts +2 -0
  10. package/dist/src/commands/index.js +2 -0
  11. package/dist/src/commands/studio.d.ts +3 -0
  12. package/dist/src/commands/studio.js +114 -0
  13. package/dist/src/commands/terminal-browser-human-input.d.ts +11 -0
  14. package/dist/src/commands/terminal-browser-human-input.js +44 -0
  15. package/dist/src/commands/terminal-browser-interaction.d.ts +25 -0
  16. package/dist/src/commands/terminal-browser-interaction.js +56 -0
  17. package/dist/src/commands/terminal-browser-live-protocol.d.ts +151 -0
  18. package/dist/src/commands/terminal-browser-live-protocol.js +177 -0
  19. package/dist/src/commands/terminal-browser-live-transport.d.ts +41 -0
  20. package/dist/src/commands/terminal-browser-live-transport.js +206 -0
  21. package/dist/src/commands/terminal-browser-live.d.ts +114 -0
  22. package/dist/src/commands/terminal-browser-live.js +455 -0
  23. package/dist/src/commands/terminal-browser-observation.d.ts +10 -0
  24. package/dist/src/commands/terminal-browser-observation.js +27 -0
  25. package/dist/src/commands/terminal-browser-page-input.d.ts +8 -0
  26. package/dist/src/commands/terminal-browser-page-input.js +94 -0
  27. package/dist/src/commands/terminal-browser-profile-preferences.d.ts +37 -0
  28. package/dist/src/commands/terminal-browser-profile-preferences.js +136 -0
  29. package/dist/src/commands/terminal-browser-profile.d.ts +52 -0
  30. package/dist/src/commands/terminal-browser-profile.js +447 -0
  31. package/dist/src/commands/terminal-browser.d.ts +28 -1
  32. package/dist/src/commands/terminal-browser.js +401 -55
  33. package/dist/src/commands/terminal-policy.js +2 -0
  34. package/dist/src/commands/terminal-public-web-proxy.d.ts +14 -0
  35. package/dist/src/commands/terminal-public-web-proxy.js +141 -0
  36. package/dist/src/commands/terminal-public-web.d.ts +11 -0
  37. package/dist/src/commands/terminal-public-web.js +99 -0
  38. package/dist/src/commands/terminal.d.ts +1 -0
  39. package/dist/src/commands/terminal.js +92 -9
  40. package/dist/src/commands/tests.d.ts +3 -0
  41. package/dist/src/commands/tests.js +236 -0
  42. package/dist/src/component-element-validation.d.ts +8 -0
  43. package/dist/src/component-element-validation.js +79 -0
  44. package/dist/src/component-lifecycle.d.ts +3 -0
  45. package/dist/src/component-lifecycle.js +17 -0
  46. package/dist/src/component-lock.d.ts +17 -12
  47. package/dist/src/component-lock.js +51 -6
  48. package/dist/src/component-manifests.js +3 -0
  49. package/dist/src/component-source-validation.d.ts +5 -0
  50. package/dist/src/component-source-validation.js +27 -0
  51. package/dist/src/env-sync.js +64 -9
  52. package/dist/src/native-tests.d.ts +61 -0
  53. package/dist/src/native-tests.js +20 -0
  54. package/dist/src/request-contract.d.ts +39 -0
  55. package/dist/src/request-contract.js +138 -0
  56. package/dist/src/resource-syncs/agent-sync.js +47 -7
  57. package/dist/src/resource-syncs/database-table-sync.js +8 -8
  58. package/dist/src/resource-syncs/endpoint-sync.js +20 -14
  59. package/dist/src/resource-syncs/group-sync.js +8 -3
  60. package/dist/src/resource-syncs/job-template-sync.js +75 -28
  61. package/dist/src/resource-syncs/role-group-sync.js +8 -0
  62. package/dist/src/resource-syncs/runtime-definition-validation.d.ts +14 -0
  63. package/dist/src/resource-syncs/runtime-definition-validation.js +153 -0
  64. package/dist/src/test-workspace.d.ts +33 -0
  65. package/dist/src/test-workspace.js +156 -0
  66. package/dist/src/types.d.ts +1 -0
  67. package/dist/src/ui.js +12 -0
  68. package/dist/src/update-notifier.d.ts +1 -1
  69. package/package.json +5 -3
@@ -0,0 +1,1021 @@
1
+ // Generated from canonical Platform OpenAPI and DTO validation decorators.
2
+ // Run: node scripts/generate-automation-contract.ts --write
3
+ // Runtime-only semantic rules remain in runtime-definition-validation.ts.
4
+ import * as path from 'node:path';
5
+ const CUSTOM_NODE_PATH_CONTROL_CHARACTERS = /[\u0000-\u001f\u007f]/;
6
+ export const normalizeCustomNodeElementPath = (value) => {
7
+ if (typeof value !== 'string'
8
+ || value.length === 0
9
+ || value.includes('\\')
10
+ || CUSTOM_NODE_PATH_CONTROL_CHARACTERS.test(value)
11
+ || path.posix.isAbsolute(value)
12
+ || /^[A-Za-z]:\//.test(value)) {
13
+ return undefined;
14
+ }
15
+ const segments = value.split('/');
16
+ if (segments.some((segment) => segment.length === 0 || segment === '.' || segment === '..')) {
17
+ return undefined;
18
+ }
19
+ const normalized = path.posix.normalize(value);
20
+ if (normalized !== value
21
+ || normalized === '.'
22
+ || normalized === '..'
23
+ || normalized.startsWith('../')) {
24
+ return undefined;
25
+ }
26
+ return normalized;
27
+ };
28
+ export const requestContracts = {
29
+ "EndpointRequestDto": {
30
+ "type": "object",
31
+ "properties": {
32
+ "executionPolicy": {
33
+ "allOf": [
34
+ {
35
+ "$ref": "#/components/schemas/RuntimeExecutionPolicyDto"
36
+ }
37
+ ],
38
+ "nullable": true,
39
+ "type": "object"
40
+ },
41
+ "name": {
42
+ "type": "string",
43
+ "minLength": 1
44
+ },
45
+ "active": {
46
+ "nullable": true,
47
+ "type": "boolean"
48
+ },
49
+ "category": {
50
+ "nullable": true,
51
+ "type": "string"
52
+ },
53
+ "desc": {
54
+ "nullable": true,
55
+ "type": "string"
56
+ },
57
+ "metadata": {
58
+ "nullable": true,
59
+ "type": "object",
60
+ "userMetadata": true
61
+ },
62
+ "componentId": {
63
+ "nullable": true,
64
+ "type": "string",
65
+ "format": "uuid"
66
+ },
67
+ "componentDigest": {
68
+ "nullable": true,
69
+ "type": "string",
70
+ "pattern": "^v1:sha256:[a-f0-9]{64}$",
71
+ "patternFlags": ""
72
+ },
73
+ "timeout": {
74
+ "nullable": true,
75
+ "type": "integer",
76
+ "minimum": 1
77
+ },
78
+ "path": {
79
+ "pattern": "^\\/(?:[a-zA-Z0-9._-]+|@|:[a-zA-Z_$][a-zA-Z0-9_$]*)(?:\\/(?:[a-zA-Z0-9._-]+|@|:[a-zA-Z_$][a-zA-Z0-9_$]*))*$",
80
+ "patternFlags": "",
81
+ "minLength": 1,
82
+ "maxLength": 1024,
83
+ "type": "string"
84
+ },
85
+ "method": {
86
+ "type": "string",
87
+ "enum": [
88
+ "GET",
89
+ "POST",
90
+ "PUT",
91
+ "PATCH",
92
+ "DELETE"
93
+ ],
94
+ "minLength": 1
95
+ },
96
+ "options": {
97
+ "allOf": [
98
+ {
99
+ "$ref": "#/components/schemas/EndpointOptionsDto"
100
+ }
101
+ ],
102
+ "nullable": true,
103
+ "type": "object"
104
+ }
105
+ },
106
+ "required": [
107
+ "name",
108
+ "path",
109
+ "method"
110
+ ],
111
+ "additionalProperties": false
112
+ },
113
+ "UpdateEndpointRequestDto": {
114
+ "type": "object",
115
+ "properties": {
116
+ "executionPolicy": {
117
+ "allOf": [
118
+ {
119
+ "$ref": "#/components/schemas/RuntimeExecutionPolicyDto"
120
+ }
121
+ ],
122
+ "nullable": true,
123
+ "type": "object"
124
+ },
125
+ "name": {
126
+ "nullable": true,
127
+ "type": "string"
128
+ },
129
+ "category": {
130
+ "nullable": true,
131
+ "type": "string"
132
+ },
133
+ "desc": {
134
+ "nullable": true,
135
+ "type": "string"
136
+ },
137
+ "metadata": {
138
+ "nullable": true,
139
+ "type": "object",
140
+ "userMetadata": true
141
+ },
142
+ "componentId": {
143
+ "nullable": true,
144
+ "type": "string",
145
+ "format": "uuid"
146
+ },
147
+ "componentDigest": {
148
+ "nullable": true,
149
+ "type": "string",
150
+ "pattern": "^v1:sha256:[a-f0-9]{64}$",
151
+ "patternFlags": ""
152
+ },
153
+ "timeout": {
154
+ "nullable": true,
155
+ "type": "integer",
156
+ "minimum": 1
157
+ },
158
+ "path": {
159
+ "nullable": true,
160
+ "pattern": "^\\/(?:[a-zA-Z0-9._-]+|@|:[a-zA-Z_$][a-zA-Z0-9_$]*)(?:\\/(?:[a-zA-Z0-9._-]+|@|:[a-zA-Z_$][a-zA-Z0-9_$]*))*$",
161
+ "patternFlags": "",
162
+ "maxLength": 1024,
163
+ "type": "string"
164
+ },
165
+ "method": {
166
+ "nullable": true,
167
+ "type": "string",
168
+ "enum": [
169
+ "GET",
170
+ "POST",
171
+ "PUT",
172
+ "PATCH",
173
+ "DELETE"
174
+ ]
175
+ },
176
+ "options": {
177
+ "allOf": [
178
+ {
179
+ "$ref": "#/components/schemas/EndpointOptionsDto"
180
+ }
181
+ ],
182
+ "nullable": true,
183
+ "type": "object"
184
+ },
185
+ "version": {
186
+ "type": "integer"
187
+ }
188
+ },
189
+ "required": [
190
+ "version"
191
+ ],
192
+ "additionalProperties": false
193
+ },
194
+ "EndpointOptionsDto": {
195
+ "type": "object",
196
+ "properties": {
197
+ "skipLibs": {
198
+ "nullable": true,
199
+ "type": "boolean"
200
+ },
201
+ "legacyResults": {
202
+ "nullable": true,
203
+ "type": "boolean"
204
+ },
205
+ "hideRequest": {
206
+ "nullable": true,
207
+ "type": "boolean"
208
+ },
209
+ "hideResponse": {
210
+ "nullable": true,
211
+ "type": "boolean"
212
+ },
213
+ "memory": {
214
+ "nullable": true,
215
+ "type": "integer",
216
+ "maximum": 1024
217
+ },
218
+ "input": {
219
+ "nullable": true,
220
+ "type": "object"
221
+ },
222
+ "guard": {
223
+ "nullable": true,
224
+ "type": "object"
225
+ },
226
+ "response": {
227
+ "nullable": true
228
+ },
229
+ "httpCode": {
230
+ "nullable": true,
231
+ "type": "integer",
232
+ "minimum": 200,
233
+ "maximum": 299
234
+ },
235
+ "noResult": {
236
+ "nullable": true,
237
+ "type": "boolean"
238
+ },
239
+ "popResult": {
240
+ "nullable": true,
241
+ "type": "string"
242
+ },
243
+ "customValidateResponse": {
244
+ "nullable": true
245
+ },
246
+ "validateResponse": {
247
+ "nullable": true,
248
+ "type": "integer",
249
+ "minimum": 100,
250
+ "maximum": 599
251
+ },
252
+ "validateHideResponse": {
253
+ "nullable": true,
254
+ "type": "boolean"
255
+ },
256
+ "includeLibs": {
257
+ "nullable": true,
258
+ "type": "array",
259
+ "items": {
260
+ "type": "string"
261
+ }
262
+ },
263
+ "excludeLibs": {
264
+ "nullable": true,
265
+ "type": "array",
266
+ "items": {
267
+ "type": "string"
268
+ }
269
+ },
270
+ "componentSchemaId": {
271
+ "nullable": true,
272
+ "type": "string",
273
+ "format": "uuid"
274
+ },
275
+ "componentSchemaElement": {
276
+ "nullable": true,
277
+ "minLength": 1,
278
+ "maxLength": 32,
279
+ "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
280
+ "patternFlags": "",
281
+ "type": "string"
282
+ },
283
+ "componentSchemaDigest": {
284
+ "nullable": true,
285
+ "type": "string",
286
+ "pattern": "^v1:sha256:[a-f0-9]{64}$",
287
+ "patternFlags": ""
288
+ }
289
+ },
290
+ "additionalProperties": false
291
+ },
292
+ "JobTemplateRequestDto": {
293
+ "type": "object",
294
+ "properties": {
295
+ "executionPolicy": {
296
+ "allOf": [
297
+ {
298
+ "$ref": "#/components/schemas/RuntimeJobExecutionPolicyDto"
299
+ }
300
+ ],
301
+ "nullable": true,
302
+ "type": "object"
303
+ },
304
+ "name": {
305
+ "type": "string",
306
+ "minLength": 1
307
+ },
308
+ "category": {
309
+ "nullable": true,
310
+ "type": "string"
311
+ },
312
+ "desc": {
313
+ "nullable": true,
314
+ "type": "string"
315
+ },
316
+ "metadata": {
317
+ "nullable": true,
318
+ "type": "object",
319
+ "userMetadata": true
320
+ },
321
+ "componentId": {
322
+ "type": "string",
323
+ "format": "uuid",
324
+ "minLength": 1
325
+ },
326
+ "componentDigest": {
327
+ "nullable": true,
328
+ "type": "string",
329
+ "pattern": "^v1:sha256:[a-f0-9]{64}$",
330
+ "patternFlags": ""
331
+ },
332
+ "timeout": {
333
+ "nullable": true,
334
+ "type": "integer",
335
+ "minimum": 1
336
+ },
337
+ "triggerUser": {
338
+ "nullable": true,
339
+ "type": "string",
340
+ "format": "uuid"
341
+ },
342
+ "options": {
343
+ "allOf": [
344
+ {
345
+ "$ref": "#/components/schemas/JobOptionsDto"
346
+ }
347
+ ],
348
+ "nullable": true,
349
+ "type": "object"
350
+ },
351
+ "inputs": {
352
+ "nullable": true,
353
+ "type": "object"
354
+ }
355
+ },
356
+ "required": [
357
+ "name",
358
+ "componentId"
359
+ ],
360
+ "additionalProperties": false
361
+ },
362
+ "UpdateJobTemplate": {
363
+ "type": "object",
364
+ "properties": {
365
+ "executionPolicy": {
366
+ "allOf": [
367
+ {
368
+ "$ref": "#/components/schemas/RuntimeJobExecutionPolicyDto"
369
+ }
370
+ ],
371
+ "nullable": true,
372
+ "type": "object"
373
+ },
374
+ "name": {
375
+ "nullable": true,
376
+ "type": "string"
377
+ },
378
+ "category": {
379
+ "nullable": true,
380
+ "type": "string"
381
+ },
382
+ "desc": {
383
+ "nullable": true,
384
+ "type": "string"
385
+ },
386
+ "metadata": {
387
+ "nullable": true,
388
+ "type": "object",
389
+ "userMetadata": true
390
+ },
391
+ "componentId": {
392
+ "nullable": true,
393
+ "type": "string",
394
+ "format": "uuid"
395
+ },
396
+ "componentDigest": {
397
+ "nullable": true,
398
+ "type": "string",
399
+ "pattern": "^v1:sha256:[a-f0-9]{64}$",
400
+ "patternFlags": ""
401
+ },
402
+ "timeout": {
403
+ "nullable": true,
404
+ "type": "integer",
405
+ "minimum": 1
406
+ },
407
+ "triggerUser": {
408
+ "nullable": true,
409
+ "type": "string",
410
+ "format": "uuid"
411
+ },
412
+ "inputs": {
413
+ "nullable": true,
414
+ "type": "object"
415
+ },
416
+ "options": {
417
+ "allOf": [
418
+ {
419
+ "$ref": "#/components/schemas/JobOptionsDto"
420
+ }
421
+ ],
422
+ "nullable": true,
423
+ "type": "object"
424
+ },
425
+ "version": {
426
+ "type": "integer"
427
+ }
428
+ },
429
+ "required": [
430
+ "version"
431
+ ],
432
+ "additionalProperties": false
433
+ },
434
+ "JobOptionsDto": {
435
+ "type": "object",
436
+ "properties": {
437
+ "input": {
438
+ "nullable": true,
439
+ "type": "object"
440
+ },
441
+ "skipLibs": {
442
+ "nullable": true,
443
+ "type": "boolean"
444
+ },
445
+ "legacyResults": {
446
+ "nullable": true,
447
+ "type": "boolean"
448
+ },
449
+ "hideRequest": {
450
+ "nullable": true,
451
+ "type": "boolean"
452
+ },
453
+ "hideResponse": {
454
+ "nullable": true,
455
+ "type": "boolean"
456
+ },
457
+ "memory": {
458
+ "nullable": true,
459
+ "type": "integer",
460
+ "maximum": 2048
461
+ },
462
+ "concurrency": {
463
+ "allOf": [
464
+ {
465
+ "$ref": "#/components/schemas/ConcurrencyJobDto"
466
+ }
467
+ ],
468
+ "nullable": true,
469
+ "type": "object"
470
+ },
471
+ "retry": {
472
+ "allOf": [
473
+ {
474
+ "$ref": "#/components/schemas/RetryJobDto"
475
+ }
476
+ ],
477
+ "nullable": true,
478
+ "type": "object"
479
+ }
480
+ },
481
+ "additionalProperties": false
482
+ },
483
+ "ConcurrencyJobDto": {
484
+ "type": "object",
485
+ "properties": {
486
+ "key": {
487
+ "nullable": true,
488
+ "type": "string",
489
+ "pattern": "^[a-zA-Z0-9_-]*$",
490
+ "patternFlags": ""
491
+ },
492
+ "limit": {
493
+ "nullable": true,
494
+ "type": "integer",
495
+ "minimum": 1,
496
+ "maximum": 1000
497
+ },
498
+ "ttl": {
499
+ "nullable": true,
500
+ "type": "integer",
501
+ "minimum": 1,
502
+ "maximum": 86400
503
+ },
504
+ "retryDelaySeconds": {
505
+ "nullable": true,
506
+ "type": "integer",
507
+ "minimum": 1,
508
+ "maximum": 3600
509
+ }
510
+ },
511
+ "additionalProperties": false
512
+ },
513
+ "RetryJobDto": {
514
+ "type": "object",
515
+ "properties": {
516
+ "enabled": {
517
+ "nullable": true,
518
+ "type": "boolean"
519
+ },
520
+ "maxAttempts": {
521
+ "nullable": true,
522
+ "whenEquals": {
523
+ "field": "enabled",
524
+ "value": true
525
+ },
526
+ "type": "integer",
527
+ "minimum": 2
528
+ },
529
+ "minBackoffSeconds": {
530
+ "nullable": true,
531
+ "type": "integer",
532
+ "minimum": 1
533
+ },
534
+ "maxBackoffSeconds": {
535
+ "nullable": true,
536
+ "type": "integer",
537
+ "minimum": 60,
538
+ "maximum": 2592000
539
+ },
540
+ "maxDoublings": {
541
+ "nullable": true,
542
+ "type": "integer",
543
+ "minimum": 0,
544
+ "maximum": 16
545
+ },
546
+ "bypassConcurrencyOnRetry": {
547
+ "nullable": true,
548
+ "type": "boolean"
549
+ }
550
+ },
551
+ "additionalProperties": false
552
+ },
553
+ "RuntimeExecutionPolicyDto": {
554
+ "type": "object",
555
+ "properties": {
556
+ "mode": {
557
+ "enum": [
558
+ "INHERIT",
559
+ "CALLER",
560
+ "SERVICE_ACCOUNT"
561
+ ]
562
+ },
563
+ "serviceAccountUserId": {
564
+ "requiredWhen": {
565
+ "field": "mode",
566
+ "value": "SERVICE_ACCOUNT"
567
+ },
568
+ "type": "string",
569
+ "format": "uuid"
570
+ },
571
+ "currentUser": {
572
+ "enum": [
573
+ "INHERIT",
574
+ "CALLER",
575
+ "EXECUTION_ACCOUNT"
576
+ ]
577
+ }
578
+ },
579
+ "required": [
580
+ "mode"
581
+ ],
582
+ "additionalProperties": false
583
+ },
584
+ "RuntimeJobExecutionPolicyDto": {
585
+ "type": "object",
586
+ "properties": {
587
+ "mode": {
588
+ "enum": [
589
+ "INHERIT",
590
+ "CALLER",
591
+ "SERVICE_ACCOUNT"
592
+ ]
593
+ },
594
+ "serviceAccountUserId": {
595
+ "requiredWhen": {
596
+ "field": "mode",
597
+ "value": "SERVICE_ACCOUNT"
598
+ },
599
+ "type": "string",
600
+ "format": "uuid"
601
+ }
602
+ },
603
+ "required": [
604
+ "mode"
605
+ ],
606
+ "additionalProperties": false
607
+ },
608
+ "UpdateComponentDto": {
609
+ "type": "object",
610
+ "properties": {
611
+ "name": {
612
+ "nullable": true,
613
+ "type": "string",
614
+ "minLength": 1,
615
+ "maxLength": 60
616
+ },
617
+ "category": {
618
+ "nullable": true,
619
+ "type": "string",
620
+ "pattern": "^[a-zA-Z0-9_]*$",
621
+ "patternFlags": "",
622
+ "maxLength": 32
623
+ },
624
+ "desc": {
625
+ "nullable": true,
626
+ "type": "string"
627
+ },
628
+ "metadata": {
629
+ "nullable": true,
630
+ "type": "object",
631
+ "userMetadata": true
632
+ },
633
+ "version": {
634
+ "type": "integer"
635
+ },
636
+ "testConfig": {
637
+ "allOf": [
638
+ {
639
+ "$ref": "#/components/schemas/ComponentTestConfigDto"
640
+ }
641
+ ],
642
+ "nullable": true
643
+ }
644
+ },
645
+ "required": [
646
+ "version"
647
+ ],
648
+ "additionalProperties": false
649
+ },
650
+ "ComponentElementsDto": {
651
+ "type": "object",
652
+ "properties": {
653
+ "componentElementId": {
654
+ "nullable": true,
655
+ "type": "string",
656
+ "format": "uuid"
657
+ },
658
+ "key": {
659
+ "type": "string",
660
+ "minLength": 1,
661
+ "maxLength": 32
662
+ },
663
+ "desc": {
664
+ "nullable": true,
665
+ "type": "string",
666
+ "maxLength": 1000
667
+ },
668
+ "details": {
669
+ "type": "string"
670
+ },
671
+ "metadata": {
672
+ "nullable": true,
673
+ "type": "object",
674
+ "userMetadata": true
675
+ },
676
+ "hidden": {
677
+ "nullable": true,
678
+ "type": "boolean"
679
+ },
680
+ "order": {
681
+ "type": "integer"
682
+ }
683
+ },
684
+ "required": [
685
+ "key",
686
+ "details",
687
+ "order"
688
+ ],
689
+ "additionalProperties": false
690
+ },
691
+ "ComponentTestConfigDto": {
692
+ "type": "object",
693
+ "properties": {
694
+ "mode": {
695
+ "enum": [
696
+ "fixture",
697
+ "integration"
698
+ ]
699
+ },
700
+ "targets": {
701
+ "type": "array",
702
+ "maxItems": 100,
703
+ "items": {
704
+ "type": "string",
705
+ "maxLength": 60,
706
+ "nonBlank": true
707
+ }
708
+ },
709
+ "fixtures": {
710
+ "nullable": true,
711
+ "type": "object"
712
+ }
713
+ },
714
+ "required": [
715
+ "mode",
716
+ "targets"
717
+ ],
718
+ "additionalProperties": false
719
+ }
720
+ };
721
+ export const requestContractDefaults = {
722
+ "metadata": {
723
+ "maxBytes": 16384,
724
+ "maxTopLevelKeys": 64,
725
+ "reservedPrefix": "__"
726
+ },
727
+ "retry": {
728
+ "enabled": false,
729
+ "maxAttempts": 3,
730
+ "minBackoffSeconds": 30,
731
+ "maxBackoffSeconds": 3600,
732
+ "maxDoublings": 5,
733
+ "bypassConcurrencyOnRetry": false
734
+ },
735
+ "job": {
736
+ "timeout": 300,
737
+ "runtimeMemoryDefault": 128,
738
+ "optionDefaults": {
739
+ "input": {},
740
+ "hideRequest": false,
741
+ "hideResponse": false,
742
+ "legacyResults": false,
743
+ "skipLibs": false,
744
+ "memory": 256,
745
+ "concurrency": {
746
+ "key": null,
747
+ "limit": null,
748
+ "ttl": null
749
+ }
750
+ }
751
+ },
752
+ "componentTestConfig": {
753
+ "nativeTestTypes": [
754
+ "CODE_JS_TEST",
755
+ "CODE_TS_TEST"
756
+ ],
757
+ "maxBytes": 1048576
758
+ },
759
+ "componentElements": {
760
+ "lowCodeTypes": [
761
+ "CODE_JS",
762
+ "CODE_JS_LIB",
763
+ "CODE_TS",
764
+ "CODE_TS_LIB",
765
+ "CODE_JS_TEST",
766
+ "CODE_TS_TEST"
767
+ ],
768
+ "libraryTypes": [
769
+ "CODE_JS_LIB",
770
+ "CODE_TS_LIB"
771
+ ],
772
+ "defaultLibraryKey": "@default",
773
+ "reservedKeys": [
774
+ "_",
775
+ "api",
776
+ "arguments",
777
+ "as",
778
+ "async",
779
+ "await",
780
+ "boolean",
781
+ "break",
782
+ "case",
783
+ "catch",
784
+ "class",
785
+ "const",
786
+ "constructor",
787
+ "continue",
788
+ "debugger",
789
+ "declare",
790
+ "default",
791
+ "delete",
792
+ "do",
793
+ "else",
794
+ "enum",
795
+ "eval",
796
+ "export",
797
+ "extends",
798
+ "false",
799
+ "finally",
800
+ "for",
801
+ "from",
802
+ "function",
803
+ "get",
804
+ "global",
805
+ "if",
806
+ "implements",
807
+ "import",
808
+ "in",
809
+ "instance",
810
+ "instanceof",
811
+ "interface",
812
+ "let",
813
+ "lib",
814
+ "libs",
815
+ "module",
816
+ "namespace",
817
+ "never",
818
+ "new",
819
+ "null",
820
+ "number",
821
+ "of",
822
+ "package",
823
+ "private",
824
+ "protected",
825
+ "provider",
826
+ "public",
827
+ "r",
828
+ "readonly",
829
+ "require",
830
+ "return",
831
+ "revo",
832
+ "revong",
833
+ "set",
834
+ "static",
835
+ "string",
836
+ "super",
837
+ "switch",
838
+ "symbol",
839
+ "this",
840
+ "throw",
841
+ "true",
842
+ "try",
843
+ "type",
844
+ "typeof",
845
+ "undefined",
846
+ "unique",
847
+ "unknown",
848
+ "var",
849
+ "void",
850
+ "while",
851
+ "with",
852
+ "yield"
853
+ ],
854
+ "identifierPattern": {
855
+ "pattern": "^[A-Za-z_$][A-Za-z0-9_$]*$",
856
+ "patternFlags": ""
857
+ },
858
+ "customRequiredFiles": [
859
+ "index.js",
860
+ "package.json"
861
+ ],
862
+ "nativeTestPolicy": {
863
+ "types": [
864
+ "CODE_JS_TEST",
865
+ "CODE_TS_TEST"
866
+ ],
867
+ "reservedKeys": [
868
+ "_",
869
+ "api",
870
+ "arguments",
871
+ "as",
872
+ "async",
873
+ "await",
874
+ "boolean",
875
+ "break",
876
+ "case",
877
+ "catch",
878
+ "class",
879
+ "const",
880
+ "constructor",
881
+ "continue",
882
+ "debugger",
883
+ "declare",
884
+ "default",
885
+ "delete",
886
+ "do",
887
+ "else",
888
+ "enum",
889
+ "eval",
890
+ "export",
891
+ "extends",
892
+ "false",
893
+ "finally",
894
+ "for",
895
+ "from",
896
+ "function",
897
+ "get",
898
+ "global",
899
+ "if",
900
+ "implements",
901
+ "import",
902
+ "in",
903
+ "instance",
904
+ "instanceof",
905
+ "interface",
906
+ "let",
907
+ "lib",
908
+ "libs",
909
+ "module",
910
+ "namespace",
911
+ "never",
912
+ "new",
913
+ "null",
914
+ "number",
915
+ "of",
916
+ "package",
917
+ "private",
918
+ "protected",
919
+ "provider",
920
+ "public",
921
+ "r",
922
+ "readonly",
923
+ "require",
924
+ "return",
925
+ "revo",
926
+ "revong",
927
+ "set",
928
+ "static",
929
+ "string",
930
+ "super",
931
+ "switch",
932
+ "symbol",
933
+ "this",
934
+ "test",
935
+ "throw",
936
+ "true",
937
+ "try",
938
+ "type",
939
+ "typeof",
940
+ "undefined",
941
+ "unique",
942
+ "unknown",
943
+ "var",
944
+ "void",
945
+ "while",
946
+ "with",
947
+ "yield"
948
+ ],
949
+ "identifierPattern": {
950
+ "pattern": "^[A-Za-z_$][A-Za-z0-9_$]*$",
951
+ "patternFlags": ""
952
+ }
953
+ },
954
+ "maxDetailsBytes": 1048576
955
+ },
956
+ "guard": {
957
+ "maxNodes": 10000,
958
+ "maxDepth": 64
959
+ },
960
+ "endpoint": {
961
+ "maxPathSegments": 7,
962
+ "optionDefaults": {
963
+ "input": {},
964
+ "hideRequest": false,
965
+ "hideResponse": false,
966
+ "legacyResults": false,
967
+ "skipLibs": false,
968
+ "memory": 32
969
+ }
970
+ }
971
+ };
972
+ export const requestContractSemanticSources = {
973
+ "packages/domain/src/utils/backend-metadata.util.ts#assertJsonValue": "a1e872a7d0699c55ab57bb60b02bcdb5545a1810766f2ca2f60de8101ffd9c22",
974
+ "packages/domain/src/dto/automation/run.options.dto.ts#JobRetryMinBackoffWithinMaxConstraint": "2c8eb4f844ffabfd03f5ae9617a2b0e9e578fa0b9d2a563081648b6688629439",
975
+ "packages/execution-core/src/modules/@core/services/virtualization.service.ts#normalizeIsolateMemoryLimit": "4cce767b32d7b848cea9502eec5d3df2b7a7dc3e41227eeffda1a6a1e8fc9d96",
976
+ "packages/domain/src/utils/backend-metadata.util.ts#assertUserMetadataWritable": "ffc70235399e7542c71b58ae4c31ac55d7db29431fc2b3f51c690dba7281a66a",
977
+ "packages/platform-shared/src/utils/job-retry-policy.util.ts#normalizeJobRetryPolicy": "facef84884b5b4311af06bfb4469f071ff42a4bca067b6d9092d4f6571e8ee86",
978
+ "packages/platform-shared/src/utils/job-retry-policy.util.ts#assertJobRetryPolicyValid": "6511ccafc15233a4ffe4e024f13e6c0e5c9d8a53c261ecc571300495afd804cf",
979
+ "packages/domain/src/dto/components/component.validator.ts#validateEndpointGuardSemantics": "fd885b48c2990e47d1f05965af044aef8e2256da5fa4a86d1248967b04a3fd1e",
980
+ "apps/api/src/modules/endpoints/endpoint.service.ts#create": "67e4b6747981dd61cb33ca9f72e49d8d7ccfaa41f16bd57780591e1e5939d51d",
981
+ "apps/api/src/modules/endpoints/endpoint.service.ts#update": "9f8e05e2f68248bcff43d2f5a5430c372ab61c2c00efd2dd8214229fa313f47f",
982
+ "apps/api/src/modules/endpoints/endpoint.service.ts#validateEndpointOptions": "07401218669a87a9488b0aeb59f15b8d51341a172fb346ff83d38ed563a2988f",
983
+ "apps/api/src/modules/endpoints/endpoint.service.ts#applyEndpointOptionDefaults": "990c27ae925b613215601c215a6e38f6ecb4e2b34b77d6e2819f0921d4e56230",
984
+ "apps/api/src/modules/automation/jobs.service.ts#createJobTemplate": "1513bad8634fdf6abcca52f0041044512b3e53b3e7451f1b443f7e79fc026b01",
985
+ "apps/api/src/modules/automation/jobs.service.ts#update": "f11808497fa36a7965b496314e1255920945df365ee62aba810612bf6b2cd30c",
986
+ "packages/platform-shared/src/services/job.scheduler.service.ts#resolveTemplateInputs": "a9a4cc5df4627abf7ee2d2df7f2494d290292a15f4889a5f07a9de104ee33d9f",
987
+ "packages/domain/src/dto/components/component-element-key.const.ts#isLowCodeComponentType": "f597e0a4bb99ec8cc5cd327f2556592471d62258366bd55b12ce321ad44cce9b",
988
+ "packages/domain/src/dto/components/component-element-key.const.ts#isDefaultLibraryElement": "4faa356b91be5c44ebe3d442b6da26088d6d35d2db5fb073e1103165431cee48",
989
+ "apps/api/src/modules/components/component.service.ts#assertComponentElementsSize": "30b14e4c7a1c62b4061aa13b1476d815002bf3273b4129551dde9b9a45bb87ca",
990
+ "apps/api/src/modules/components/component.service.ts#validateElements": "1ff874a47bf80ed760c292c8ec9fb9b6fe48d185ea080098ff21ef8f6ac93bfa",
991
+ "packages/execution-core/src/modules/@core/services/virtualization.service.ts#requestedMemoryLimit": "ca32691eb31e1bf5d17d80d56861bb73fa698b6f08ae047ab48a1a4927594fe4",
992
+ "packages/platform-shared/src/utils/custom-node-component.util.ts#normalizeCustomNodeElementPath": "486eb7ca53b95d7b49de4735d5b5ca8f15dc994852eeff0009d8a72189474455",
993
+ "packages/platform-shared/src/utils/custom-node-component.util.ts#hasExportedCustomNodeInit": "9979558e29219c2545a11b20924b14401aef26df99d251efe261f0447aebd98b"
994
+ };
995
+ export const requestContractSourceProvenance = {
996
+ "main": {
997
+ "packages/domain/src/dto/automation/endpoint.template.request.dto.ts#EndpointRequestDto": "45a1a84e200b2cdf9b44051fe36cb7bda1b577a0f5bbcc88942764336a6d7302",
998
+ "packages/domain/src/dto/automation/update.api.template.request.dto.ts#UpdateEndpointRequestDto": "20ee0c9afbfa594f189ead2b751aa00b6003efe0b70c5e1158ee78c1e0d29567",
999
+ "packages/domain/src/dto/automation/endpoint.template.request.dto.ts#EndpointOptionsDto": "398396ec9aa9a592f7e26bed333aa050d0b24adb35a314c64144f3a0528a1623",
1000
+ "packages/domain/src/dto/automation/job.template.request.dto.ts#JobTemplateRequestDto": "c47123206c187f0e16b08d7033ed9c455932f2e78e34455577663eb09410559d",
1001
+ "packages/domain/src/dto/automation/update.job.template.dto.ts#UpdateJobTemplate": "0f79fefc76e749a331b5c848b9dcd6061e7dc247c2094dd975d7d2fe9a101c08",
1002
+ "packages/domain/src/dto/automation/run.options.dto.ts#JobOptionsDto": "6e8f3f4b7aa6d8f38bc9227ced3158e4697031e68c78be9ea0e24e5af29e37d3",
1003
+ "packages/domain/src/dto/automation/run.options.dto.ts#ConcurrencyJobDto": "529600772a878c5d26d55a70f5e562031169967051f5d0485ab4659a480d4a8d",
1004
+ "packages/domain/src/dto/automation/run.options.dto.ts#RetryJobDto": "e42fcd447fe111bdf2da20ad42654e536a01d566f33a1d8f52ec1bb0bd1ee8b1",
1005
+ "packages/domain/src/dto/automation/runtime.execution.policy.dto.ts#RuntimeExecutionPolicyDto": "9978ee21a9b7da26c93a4e1516dfc319166a2b55520edee9319d17922b375474",
1006
+ "packages/domain/src/dto/automation/runtime.execution.policy.dto.ts#RuntimeJobExecutionPolicyDto": "d900a693362a9de02839e2ae959c4e8ac2ac8e0206a4cbe69e889a3636793d23",
1007
+ "packages/domain/src/dto/components/update.component.dto.ts#UpdateComponentDto": "c0e39996b17c6d3cb46f4bda921dfe45e21e18ef6dbcd4ed55eb7ede82aeabe0",
1008
+ "packages/domain/src/dto/components/component.element.dto.ts#ComponentElementsDto": "4aa2ccd5613c116213525b0c686060973f657e7b81bed7362d925958d829c527"
1009
+ },
1010
+ "studioOverlay": {
1011
+ "packages/domain/src/dto/components/update.component.dto.ts": "afce9903cf51c6f6cb670b9c2be15e6e6a2c6d842b4155966c26c4f82106ee2a",
1012
+ "packages/domain/src/dto/components/component.test-config.dto.ts": "7d52ad25cd536115d10024f11ce101c21d1070f7ddb2da49a014a53ca40c2b74",
1013
+ "packages/domain/src/dto/components/component-element-key.const.ts": "270b1198d0538b1d0e3b74912185d016075e21900c04e7a79747f9b7199919f6",
1014
+ "packages/domain/src/enum/component.element.type.enum.ts": "898f455e0512063de81bda9eeb9e9fb4f7719dc66de172a1d61caaac9baf6f66",
1015
+ "packages/domain/src/dto/components/update.component.dto.ts#UpdateComponentDto": "f54a535edf919df5ff1d6e3653a8df9c54ff51eb766a131ccdf6592291b83146",
1016
+ "packages/domain/src/dto/components/component.test-config.dto.ts#ComponentTestConfigDto": "bd160d9217d45584cd7ab29680edef807d8a56fa61283000e1a3db88b8d74d19",
1017
+ "apps/api/src/modules/components/component.service.ts#assertNativeTestConfiguration": "f2089642a94765e9f6168fcf39204c18a8585cdb377ada3ed98f53b2c21aae0c",
1018
+ "packages/domain/src/dto/components/component-element-key.const.ts#COMPONENT_ELEMENT_RESERVED_KEYS": "ef9367438b70f78facd959c66002f51e3b035b5b23594a7850d3d86bf75ea4e9",
1019
+ "packages/domain/src/dto/components/component-element-key.const.ts#COMPONENT_ELEMENT_JS_IDENTIFIER_PATTERN": "9d2b9a943361651239e3730e29cc11e0e204d46f3b8f03f69a6bef38c1754c7c"
1020
+ }
1021
+ };