@burdenoff/fluidgrids-fe-sdk 2026.1113.7 → 2026.1113.9

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 (66) hide show
  1. package/dist/{AiStudioPage-DZ0YBcTL.js → AiStudioPage-D9vovsZE.js} +4 -4
  2. package/dist/{ApprovalInboxPage-CbkmOXaq.js → ApprovalInboxPage-DVoqdqwA.js} +1 -1
  3. package/dist/{DataSinkDashboardPage-231cS9dt.js → DataSinkDashboardPage-CXb1uNau.js} +1 -1
  4. package/dist/{ExecutionDetailPage-CoRLOiiZ.js → ExecutionDetailPage-BuU66VvK.js} +29 -17
  5. package/dist/{ExecutionsListDocument-CzdLPpj5.js → ExecutionStatsDocument-6ixNZnBV.js} +1 -346
  6. package/dist/{ExecutionsListPage-Dr0Ychbr.js → ExecutionsListPage-DMAOPJCa.js} +8 -5
  7. package/dist/{FluidGridsProvider-DQP7gPxN.js → FluidGridsProvider-BOBuK7kj.js} +481 -32
  8. package/dist/{HistoryPage-C99YGv7V.js → HistoryPage-DUcPEycb.js} +1 -1
  9. package/dist/{InsightsPage-ySywDcp_.js → InsightsPage-C3FjaLKN.js} +1 -1
  10. package/dist/{PaidTemplateConfirm-CI6TDivO.js → PaidTemplateConfirm-Dop_rxCQ.js} +1 -1
  11. package/dist/{QuotaExhaustedDialog-nlnRlQ2i.js → QuotaExhaustedDialog-CijT1MyD.js} +1 -1
  12. package/dist/{SettingsPage-tKzJkG-L.js → SettingsPage-C4G9OlJV.js} +3 -3
  13. package/dist/{TemplateCard-UnjAFsS4.js → TemplateCard-7rE1VAIC.js} +2 -2
  14. package/dist/{TemplatePreview-WiRz3SCv.js → TemplatePreview-CSA9W-e1.js} +4 -4
  15. package/dist/{TemplatesPage-Z2LDGg3g.js → TemplatesPage-C_trA48U.js} +7 -7
  16. package/dist/TranslationBridge-Bd4aJKMs.d.ts +11 -0
  17. package/dist/{WorkflowBuilder-CQWz7dXc.js → WorkflowBuilder-CkoZDS1_.js} +3 -3
  18. package/dist/{WorkflowBuilder-BdnCh2hB.js → WorkflowBuilder-DZWmp9Vg.js} +5 -5
  19. package/dist/{WorkflowSearchRedirect-DoiDmeyL.js → WorkflowSearchRedirect-DQj9_HqI.js} +1 -1
  20. package/dist/{WorkflowsList-C86YEuZZ.js → WorkflowsList-BOTt7lX5.js} +5 -5
  21. package/dist/agent-tools.d.ts +1 -1
  22. package/dist/agent-tools.js +2 -2
  23. package/dist/{agentTools-BQbgd_wK.js → agentTools-CSoCNDRx.js} +1 -1
  24. package/dist/{askAboutBridge-BV8m95kk.js → askAboutBridge-kpcjcR9Y.js} +8 -1
  25. package/dist/assistant.js +1 -1
  26. package/dist/{canvasNoteTools-Cp3UPIM8.js → canvasNoteTools-DTc3EKvg.js} +2 -2
  27. package/dist/{constants-XdvUxeWK.d.ts → constants-svpG-QrV.d.ts} +1 -9
  28. package/dist/entities-I_0kio3q.js +38 -0
  29. package/dist/executions.js +2 -2
  30. package/dist/{flow-builder-CJ00qt1Z.js → flow-builder-CYlYHdhf.js} +125 -24
  31. package/dist/history.js +1 -1
  32. package/dist/{index-Df6NgmmH.d.ts → index-8Ai8teoo.d.ts} +1 -1
  33. package/dist/{index-CHeY7_A1.d.ts → index-BZCX9eJJ.d.ts} +13 -0
  34. package/dist/index.d.ts +4 -3
  35. package/dist/index.js +33 -32
  36. package/dist/{marksStore-DGCXjTmZ.js → marksStore-a9oIMMot.js} +25 -1
  37. package/dist/{node-detail-view-DtZe2ggI.js → node-detail-view-N6n3qegt.js} +4 -4
  38. package/dist/{node-editor-tab-body-CFprr94T.js → node-editor-tab-body-CivWI2hg.js} +2 -2
  39. package/dist/observability.d.ts +1 -1
  40. package/dist/observability.js +2 -2
  41. package/dist/{popover-DuaVzhfH.js → popover-a8WKNgPP.js} +2 -2
  42. package/dist/proactive.d.ts +66 -0
  43. package/dist/proactive.js +237 -0
  44. package/dist/{quick-config-panel-CmL27iO-.js → quick-config-panel-DABEVJR9.js} +3 -3
  45. package/dist/{run-display-BycKYSU0.js → run-display-UjLAoYqQ.js} +38 -3
  46. package/dist/{schedule-panel-DIUNqU9B.js → schedule-panel--u7WXnaC.js} +4 -4
  47. package/dist/settings.js +1 -1
  48. package/dist/{sidebar-node-editor-C_mhVSxd.js → sidebar-node-editor-BHqtoMC5.js} +3 -3
  49. package/dist/templates.js +2 -2
  50. package/dist/{uiMarkTools-DZ6akjQK.js → uiMarkTools-B2581Qg-.js} +1 -1
  51. package/dist/{useWorkflowProposal-UtJYycLv.js → use-workflow-tests-BUzndyWO.js} +4 -3265
  52. package/dist/{useAgentDefinitions-CKZ7oDZD.js → useAgentDefinitions-DykIYrep.js} +2 -2
  53. package/dist/{useDurableParity-BUSM-z_7.js → useDurableParity-sS0LIJ_l.js} +1 -1
  54. package/dist/{useExecutions-DSZisQHk.js → useExecutions-GgjDOgcd.js} +2 -2
  55. package/dist/{useGlobalStoreClient-CXPqlK1M.js → useGlobalStoreClient-BfmKmeIx.js} +1 -1
  56. package/dist/{useObservability-n7Qdc8Xg.js → useObservability-AMDVk_hX.js} +1 -1
  57. package/dist/{useRunHistory-Bxs6LrME.js → useRunHistory-gnqIoJnZ.js} +1 -1
  58. package/dist/{useWorkflowCodeExport-Bj4QY-xY.js → useWorkflowCodeExport-DrcfDTcD.js} +1 -1
  59. package/dist/useWorkflowProposal-B9vXLKef.js +3280 -0
  60. package/dist/{useWorkflows-BY5b8r9n.js → useWorkflows-DSZUrK_o.js} +1 -1
  61. package/dist/workflow-builder.js +4 -4
  62. package/dist/workflow-host.d.ts +2 -1
  63. package/dist/workflow-pages.d.ts +1 -1
  64. package/dist/workflow-pages.js +14 -14
  65. package/dist/workflows-list.js +1 -1
  66. package/package.json +7 -3
@@ -1,10 +1,8 @@
1
1
  "use client";
2
2
  import { o as throwIfResultError, r as isForbiddenError } from "./errors-xPZ-IbQd.js";
3
3
  import { n as getFluidGridsClient, r as getFluidGridsClientSafe } from "./client-Ctl4jmY3.js";
4
- import { t as WorkflowProposalDocument } from "./WorkflowProposalDocument-BdUbsrd0.js";
5
4
  import { FI as WorkflowTestRunSource, II as WorkflowTestRunStatus, PI as WorkflowTestExpectedStatus, jd as ErrorType } from "./graphql-types-C5Tr6508.js";
6
5
  import { a as operatorSpec, i as normaliseAssertRules, n as describeAssertRuleProblem } from "./assert-rules-C5739QR0.js";
7
- import { a as notifyFluidGridsAiCreditsUpdated } from "./aiCreditsBridge-BuE92tKo.js";
8
6
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
9
7
 
10
8
  // src/generated/documents/wspace/AgentTokenDeltaDocument.ts
@@ -153,3096 +151,6 @@ const AgentTokenDeltaDocument = {
153
151
  }]
154
152
  };
155
153
 
156
- // src/generated/documents/wspace/ApplyWorkflowProposalDocument.ts
157
- const ApplyWorkflowProposalDocument = {
158
- "kind": "Document",
159
- "definitions": [{
160
- "kind": "OperationDefinition",
161
- "operation": "mutation",
162
- "name": {
163
- "kind": "Name",
164
- "value": "ApplyWorkflowProposal"
165
- },
166
- "variableDefinitions": [{
167
- "kind": "VariableDefinition",
168
- "variable": {
169
- "kind": "Variable",
170
- "name": {
171
- "kind": "Name",
172
- "value": "id"
173
- }
174
- },
175
- "type": {
176
- "kind": "NonNullType",
177
- "type": {
178
- "kind": "NamedType",
179
- "name": {
180
- "kind": "Name",
181
- "value": "ID"
182
- }
183
- }
184
- },
185
- "directives": []
186
- }],
187
- "directives": [],
188
- "selectionSet": {
189
- "kind": "SelectionSet",
190
- "selections": [{
191
- "kind": "Field",
192
- "name": {
193
- "kind": "Name",
194
- "value": "applyWorkflowProposal"
195
- },
196
- "arguments": [{
197
- "kind": "Argument",
198
- "name": {
199
- "kind": "Name",
200
- "value": "id"
201
- },
202
- "value": {
203
- "kind": "Variable",
204
- "name": {
205
- "kind": "Name",
206
- "value": "id"
207
- }
208
- }
209
- }],
210
- "directives": [],
211
- "selectionSet": {
212
- "kind": "SelectionSet",
213
- "selections": [
214
- {
215
- "kind": "Field",
216
- "name": {
217
- "kind": "Name",
218
- "value": "id"
219
- },
220
- "arguments": [],
221
- "directives": []
222
- },
223
- {
224
- "kind": "Field",
225
- "name": {
226
- "kind": "Name",
227
- "value": "kind"
228
- },
229
- "arguments": [],
230
- "directives": []
231
- },
232
- {
233
- "kind": "Field",
234
- "name": {
235
- "kind": "Name",
236
- "value": "status"
237
- },
238
- "arguments": [],
239
- "directives": []
240
- },
241
- {
242
- "kind": "Field",
243
- "name": {
244
- "kind": "Name",
245
- "value": "prompt"
246
- },
247
- "arguments": [],
248
- "directives": []
249
- },
250
- {
251
- "kind": "Field",
252
- "name": {
253
- "kind": "Name",
254
- "value": "message"
255
- },
256
- "arguments": [],
257
- "directives": []
258
- },
259
- {
260
- "kind": "Field",
261
- "name": {
262
- "kind": "Name",
263
- "value": "workflowId"
264
- },
265
- "arguments": [],
266
- "directives": []
267
- },
268
- {
269
- "kind": "Field",
270
- "name": {
271
- "kind": "Name",
272
- "value": "workflowKey"
273
- },
274
- "arguments": [],
275
- "directives": []
276
- },
277
- {
278
- "kind": "Field",
279
- "name": {
280
- "kind": "Name",
281
- "value": "baseVersion"
282
- },
283
- "arguments": [],
284
- "directives": []
285
- },
286
- {
287
- "kind": "Field",
288
- "name": {
289
- "kind": "Name",
290
- "value": "runId"
291
- },
292
- "arguments": [],
293
- "directives": []
294
- },
295
- {
296
- "kind": "Field",
297
- "name": {
298
- "kind": "Name",
299
- "value": "afterNodeId"
300
- },
301
- "arguments": [],
302
- "directives": []
303
- },
304
- {
305
- "kind": "Field",
306
- "name": {
307
- "kind": "Name",
308
- "value": "name"
309
- },
310
- "arguments": [],
311
- "directives": []
312
- },
313
- {
314
- "kind": "Field",
315
- "name": {
316
- "kind": "Name",
317
- "value": "description"
318
- },
319
- "arguments": [],
320
- "directives": []
321
- },
322
- {
323
- "kind": "Field",
324
- "name": {
325
- "kind": "Name",
326
- "value": "explanation"
327
- },
328
- "arguments": [],
329
- "directives": []
330
- },
331
- {
332
- "kind": "Field",
333
- "name": {
334
- "kind": "Name",
335
- "value": "definitionJson"
336
- },
337
- "arguments": [],
338
- "directives": []
339
- },
340
- {
341
- "kind": "Field",
342
- "name": {
343
- "kind": "Name",
344
- "value": "modelUsed"
345
- },
346
- "arguments": [],
347
- "directives": []
348
- },
349
- {
350
- "kind": "Field",
351
- "name": {
352
- "kind": "Name",
353
- "value": "attempts"
354
- },
355
- "arguments": [],
356
- "directives": []
357
- },
358
- {
359
- "kind": "Field",
360
- "name": {
361
- "kind": "Name",
362
- "value": "appliedWorkflowId"
363
- },
364
- "arguments": [],
365
- "directives": []
366
- },
367
- {
368
- "kind": "Field",
369
- "name": {
370
- "kind": "Name",
371
- "value": "appliedWorkflowKey"
372
- },
373
- "arguments": [],
374
- "directives": []
375
- },
376
- {
377
- "kind": "Field",
378
- "name": {
379
- "kind": "Name",
380
- "value": "appliedVersion"
381
- },
382
- "arguments": [],
383
- "directives": []
384
- },
385
- {
386
- "kind": "Field",
387
- "name": {
388
- "kind": "Name",
389
- "value": "restoreHint"
390
- },
391
- "arguments": [],
392
- "directives": []
393
- },
394
- {
395
- "kind": "Field",
396
- "name": {
397
- "kind": "Name",
398
- "value": "createdAt"
399
- },
400
- "arguments": [],
401
- "directives": []
402
- },
403
- {
404
- "kind": "Field",
405
- "name": {
406
- "kind": "Name",
407
- "value": "updatedAt"
408
- },
409
- "arguments": [],
410
- "directives": []
411
- },
412
- {
413
- "kind": "Field",
414
- "name": {
415
- "kind": "Name",
416
- "value": "progress"
417
- },
418
- "arguments": [],
419
- "directives": [],
420
- "selectionSet": {
421
- "kind": "SelectionSet",
422
- "selections": [
423
- {
424
- "kind": "Field",
425
- "name": {
426
- "kind": "Name",
427
- "value": "stage"
428
- },
429
- "arguments": [],
430
- "directives": []
431
- },
432
- {
433
- "kind": "Field",
434
- "name": {
435
- "kind": "Name",
436
- "value": "attempt"
437
- },
438
- "arguments": [],
439
- "directives": []
440
- },
441
- {
442
- "kind": "Field",
443
- "name": {
444
- "kind": "Name",
445
- "value": "updatedAt"
446
- },
447
- "arguments": [],
448
- "directives": []
449
- }
450
- ]
451
- }
452
- },
453
- {
454
- "kind": "Field",
455
- "name": {
456
- "kind": "Name",
457
- "value": "validation"
458
- },
459
- "arguments": [],
460
- "directives": [],
461
- "selectionSet": {
462
- "kind": "SelectionSet",
463
- "selections": [
464
- {
465
- "kind": "Field",
466
- "name": {
467
- "kind": "Name",
468
- "value": "valid"
469
- },
470
- "arguments": [],
471
- "directives": []
472
- },
473
- {
474
- "kind": "Field",
475
- "name": {
476
- "kind": "Name",
477
- "value": "errors"
478
- },
479
- "arguments": [],
480
- "directives": []
481
- },
482
- {
483
- "kind": "Field",
484
- "name": {
485
- "kind": "Name",
486
- "value": "warnings"
487
- },
488
- "arguments": [],
489
- "directives": []
490
- }
491
- ]
492
- }
493
- },
494
- {
495
- "kind": "Field",
496
- "name": {
497
- "kind": "Name",
498
- "value": "diff"
499
- },
500
- "arguments": [],
501
- "directives": [],
502
- "selectionSet": {
503
- "kind": "SelectionSet",
504
- "selections": [
505
- {
506
- "kind": "Field",
507
- "name": {
508
- "kind": "Name",
509
- "value": "summary"
510
- },
511
- "arguments": [],
512
- "directives": []
513
- },
514
- {
515
- "kind": "Field",
516
- "name": {
517
- "kind": "Name",
518
- "value": "addedNodes"
519
- },
520
- "arguments": [],
521
- "directives": [],
522
- "selectionSet": {
523
- "kind": "SelectionSet",
524
- "selections": [
525
- {
526
- "kind": "Field",
527
- "name": {
528
- "kind": "Name",
529
- "value": "id"
530
- },
531
- "arguments": [],
532
- "directives": []
533
- },
534
- {
535
- "kind": "Field",
536
- "name": {
537
- "kind": "Name",
538
- "value": "type"
539
- },
540
- "arguments": [],
541
- "directives": []
542
- },
543
- {
544
- "kind": "Field",
545
- "name": {
546
- "kind": "Name",
547
- "value": "label"
548
- },
549
- "arguments": [],
550
- "directives": []
551
- },
552
- {
553
- "kind": "Field",
554
- "name": {
555
- "kind": "Name",
556
- "value": "fields"
557
- },
558
- "arguments": [],
559
- "directives": []
560
- }
561
- ]
562
- }
563
- },
564
- {
565
- "kind": "Field",
566
- "name": {
567
- "kind": "Name",
568
- "value": "removedNodes"
569
- },
570
- "arguments": [],
571
- "directives": [],
572
- "selectionSet": {
573
- "kind": "SelectionSet",
574
- "selections": [
575
- {
576
- "kind": "Field",
577
- "name": {
578
- "kind": "Name",
579
- "value": "id"
580
- },
581
- "arguments": [],
582
- "directives": []
583
- },
584
- {
585
- "kind": "Field",
586
- "name": {
587
- "kind": "Name",
588
- "value": "type"
589
- },
590
- "arguments": [],
591
- "directives": []
592
- },
593
- {
594
- "kind": "Field",
595
- "name": {
596
- "kind": "Name",
597
- "value": "label"
598
- },
599
- "arguments": [],
600
- "directives": []
601
- },
602
- {
603
- "kind": "Field",
604
- "name": {
605
- "kind": "Name",
606
- "value": "fields"
607
- },
608
- "arguments": [],
609
- "directives": []
610
- }
611
- ]
612
- }
613
- },
614
- {
615
- "kind": "Field",
616
- "name": {
617
- "kind": "Name",
618
- "value": "changedNodes"
619
- },
620
- "arguments": [],
621
- "directives": [],
622
- "selectionSet": {
623
- "kind": "SelectionSet",
624
- "selections": [
625
- {
626
- "kind": "Field",
627
- "name": {
628
- "kind": "Name",
629
- "value": "id"
630
- },
631
- "arguments": [],
632
- "directives": []
633
- },
634
- {
635
- "kind": "Field",
636
- "name": {
637
- "kind": "Name",
638
- "value": "type"
639
- },
640
- "arguments": [],
641
- "directives": []
642
- },
643
- {
644
- "kind": "Field",
645
- "name": {
646
- "kind": "Name",
647
- "value": "label"
648
- },
649
- "arguments": [],
650
- "directives": []
651
- },
652
- {
653
- "kind": "Field",
654
- "name": {
655
- "kind": "Name",
656
- "value": "fields"
657
- },
658
- "arguments": [],
659
- "directives": []
660
- }
661
- ]
662
- }
663
- },
664
- {
665
- "kind": "Field",
666
- "name": {
667
- "kind": "Name",
668
- "value": "addedEdges"
669
- },
670
- "arguments": [],
671
- "directives": [],
672
- "selectionSet": {
673
- "kind": "SelectionSet",
674
- "selections": [
675
- {
676
- "kind": "Field",
677
- "name": {
678
- "kind": "Name",
679
- "value": "source"
680
- },
681
- "arguments": [],
682
- "directives": []
683
- },
684
- {
685
- "kind": "Field",
686
- "name": {
687
- "kind": "Name",
688
- "value": "target"
689
- },
690
- "arguments": [],
691
- "directives": []
692
- },
693
- {
694
- "kind": "Field",
695
- "name": {
696
- "kind": "Name",
697
- "value": "sourceHandle"
698
- },
699
- "arguments": [],
700
- "directives": []
701
- },
702
- {
703
- "kind": "Field",
704
- "name": {
705
- "kind": "Name",
706
- "value": "targetHandle"
707
- },
708
- "arguments": [],
709
- "directives": []
710
- }
711
- ]
712
- }
713
- },
714
- {
715
- "kind": "Field",
716
- "name": {
717
- "kind": "Name",
718
- "value": "removedEdges"
719
- },
720
- "arguments": [],
721
- "directives": [],
722
- "selectionSet": {
723
- "kind": "SelectionSet",
724
- "selections": [
725
- {
726
- "kind": "Field",
727
- "name": {
728
- "kind": "Name",
729
- "value": "source"
730
- },
731
- "arguments": [],
732
- "directives": []
733
- },
734
- {
735
- "kind": "Field",
736
- "name": {
737
- "kind": "Name",
738
- "value": "target"
739
- },
740
- "arguments": [],
741
- "directives": []
742
- },
743
- {
744
- "kind": "Field",
745
- "name": {
746
- "kind": "Name",
747
- "value": "sourceHandle"
748
- },
749
- "arguments": [],
750
- "directives": []
751
- },
752
- {
753
- "kind": "Field",
754
- "name": {
755
- "kind": "Name",
756
- "value": "targetHandle"
757
- },
758
- "arguments": [],
759
- "directives": []
760
- }
761
- ]
762
- }
763
- }
764
- ]
765
- }
766
- }
767
- ]
768
- }
769
- }]
770
- }
771
- }]
772
- };
773
-
774
- // src/generated/documents/wspace/CancelWorkflowProposalDocument.ts
775
- const CancelWorkflowProposalDocument = {
776
- "kind": "Document",
777
- "definitions": [{
778
- "kind": "OperationDefinition",
779
- "operation": "mutation",
780
- "name": {
781
- "kind": "Name",
782
- "value": "CancelWorkflowProposal"
783
- },
784
- "variableDefinitions": [{
785
- "kind": "VariableDefinition",
786
- "variable": {
787
- "kind": "Variable",
788
- "name": {
789
- "kind": "Name",
790
- "value": "id"
791
- }
792
- },
793
- "type": {
794
- "kind": "NonNullType",
795
- "type": {
796
- "kind": "NamedType",
797
- "name": {
798
- "kind": "Name",
799
- "value": "ID"
800
- }
801
- }
802
- },
803
- "directives": []
804
- }],
805
- "directives": [],
806
- "selectionSet": {
807
- "kind": "SelectionSet",
808
- "selections": [{
809
- "kind": "Field",
810
- "name": {
811
- "kind": "Name",
812
- "value": "cancelWorkflowProposal"
813
- },
814
- "arguments": [{
815
- "kind": "Argument",
816
- "name": {
817
- "kind": "Name",
818
- "value": "id"
819
- },
820
- "value": {
821
- "kind": "Variable",
822
- "name": {
823
- "kind": "Name",
824
- "value": "id"
825
- }
826
- }
827
- }],
828
- "directives": [],
829
- "selectionSet": {
830
- "kind": "SelectionSet",
831
- "selections": [
832
- {
833
- "kind": "Field",
834
- "name": {
835
- "kind": "Name",
836
- "value": "id"
837
- },
838
- "arguments": [],
839
- "directives": []
840
- },
841
- {
842
- "kind": "Field",
843
- "name": {
844
- "kind": "Name",
845
- "value": "kind"
846
- },
847
- "arguments": [],
848
- "directives": []
849
- },
850
- {
851
- "kind": "Field",
852
- "name": {
853
- "kind": "Name",
854
- "value": "status"
855
- },
856
- "arguments": [],
857
- "directives": []
858
- },
859
- {
860
- "kind": "Field",
861
- "name": {
862
- "kind": "Name",
863
- "value": "prompt"
864
- },
865
- "arguments": [],
866
- "directives": []
867
- },
868
- {
869
- "kind": "Field",
870
- "name": {
871
- "kind": "Name",
872
- "value": "message"
873
- },
874
- "arguments": [],
875
- "directives": []
876
- },
877
- {
878
- "kind": "Field",
879
- "name": {
880
- "kind": "Name",
881
- "value": "workflowId"
882
- },
883
- "arguments": [],
884
- "directives": []
885
- },
886
- {
887
- "kind": "Field",
888
- "name": {
889
- "kind": "Name",
890
- "value": "workflowKey"
891
- },
892
- "arguments": [],
893
- "directives": []
894
- },
895
- {
896
- "kind": "Field",
897
- "name": {
898
- "kind": "Name",
899
- "value": "baseVersion"
900
- },
901
- "arguments": [],
902
- "directives": []
903
- },
904
- {
905
- "kind": "Field",
906
- "name": {
907
- "kind": "Name",
908
- "value": "runId"
909
- },
910
- "arguments": [],
911
- "directives": []
912
- },
913
- {
914
- "kind": "Field",
915
- "name": {
916
- "kind": "Name",
917
- "value": "afterNodeId"
918
- },
919
- "arguments": [],
920
- "directives": []
921
- },
922
- {
923
- "kind": "Field",
924
- "name": {
925
- "kind": "Name",
926
- "value": "name"
927
- },
928
- "arguments": [],
929
- "directives": []
930
- },
931
- {
932
- "kind": "Field",
933
- "name": {
934
- "kind": "Name",
935
- "value": "description"
936
- },
937
- "arguments": [],
938
- "directives": []
939
- },
940
- {
941
- "kind": "Field",
942
- "name": {
943
- "kind": "Name",
944
- "value": "explanation"
945
- },
946
- "arguments": [],
947
- "directives": []
948
- },
949
- {
950
- "kind": "Field",
951
- "name": {
952
- "kind": "Name",
953
- "value": "definitionJson"
954
- },
955
- "arguments": [],
956
- "directives": []
957
- },
958
- {
959
- "kind": "Field",
960
- "name": {
961
- "kind": "Name",
962
- "value": "modelUsed"
963
- },
964
- "arguments": [],
965
- "directives": []
966
- },
967
- {
968
- "kind": "Field",
969
- "name": {
970
- "kind": "Name",
971
- "value": "attempts"
972
- },
973
- "arguments": [],
974
- "directives": []
975
- },
976
- {
977
- "kind": "Field",
978
- "name": {
979
- "kind": "Name",
980
- "value": "appliedWorkflowId"
981
- },
982
- "arguments": [],
983
- "directives": []
984
- },
985
- {
986
- "kind": "Field",
987
- "name": {
988
- "kind": "Name",
989
- "value": "appliedWorkflowKey"
990
- },
991
- "arguments": [],
992
- "directives": []
993
- },
994
- {
995
- "kind": "Field",
996
- "name": {
997
- "kind": "Name",
998
- "value": "appliedVersion"
999
- },
1000
- "arguments": [],
1001
- "directives": []
1002
- },
1003
- {
1004
- "kind": "Field",
1005
- "name": {
1006
- "kind": "Name",
1007
- "value": "restoreHint"
1008
- },
1009
- "arguments": [],
1010
- "directives": []
1011
- },
1012
- {
1013
- "kind": "Field",
1014
- "name": {
1015
- "kind": "Name",
1016
- "value": "createdAt"
1017
- },
1018
- "arguments": [],
1019
- "directives": []
1020
- },
1021
- {
1022
- "kind": "Field",
1023
- "name": {
1024
- "kind": "Name",
1025
- "value": "updatedAt"
1026
- },
1027
- "arguments": [],
1028
- "directives": []
1029
- },
1030
- {
1031
- "kind": "Field",
1032
- "name": {
1033
- "kind": "Name",
1034
- "value": "progress"
1035
- },
1036
- "arguments": [],
1037
- "directives": [],
1038
- "selectionSet": {
1039
- "kind": "SelectionSet",
1040
- "selections": [
1041
- {
1042
- "kind": "Field",
1043
- "name": {
1044
- "kind": "Name",
1045
- "value": "stage"
1046
- },
1047
- "arguments": [],
1048
- "directives": []
1049
- },
1050
- {
1051
- "kind": "Field",
1052
- "name": {
1053
- "kind": "Name",
1054
- "value": "attempt"
1055
- },
1056
- "arguments": [],
1057
- "directives": []
1058
- },
1059
- {
1060
- "kind": "Field",
1061
- "name": {
1062
- "kind": "Name",
1063
- "value": "updatedAt"
1064
- },
1065
- "arguments": [],
1066
- "directives": []
1067
- }
1068
- ]
1069
- }
1070
- },
1071
- {
1072
- "kind": "Field",
1073
- "name": {
1074
- "kind": "Name",
1075
- "value": "validation"
1076
- },
1077
- "arguments": [],
1078
- "directives": [],
1079
- "selectionSet": {
1080
- "kind": "SelectionSet",
1081
- "selections": [
1082
- {
1083
- "kind": "Field",
1084
- "name": {
1085
- "kind": "Name",
1086
- "value": "valid"
1087
- },
1088
- "arguments": [],
1089
- "directives": []
1090
- },
1091
- {
1092
- "kind": "Field",
1093
- "name": {
1094
- "kind": "Name",
1095
- "value": "errors"
1096
- },
1097
- "arguments": [],
1098
- "directives": []
1099
- },
1100
- {
1101
- "kind": "Field",
1102
- "name": {
1103
- "kind": "Name",
1104
- "value": "warnings"
1105
- },
1106
- "arguments": [],
1107
- "directives": []
1108
- }
1109
- ]
1110
- }
1111
- },
1112
- {
1113
- "kind": "Field",
1114
- "name": {
1115
- "kind": "Name",
1116
- "value": "diff"
1117
- },
1118
- "arguments": [],
1119
- "directives": [],
1120
- "selectionSet": {
1121
- "kind": "SelectionSet",
1122
- "selections": [
1123
- {
1124
- "kind": "Field",
1125
- "name": {
1126
- "kind": "Name",
1127
- "value": "summary"
1128
- },
1129
- "arguments": [],
1130
- "directives": []
1131
- },
1132
- {
1133
- "kind": "Field",
1134
- "name": {
1135
- "kind": "Name",
1136
- "value": "addedNodes"
1137
- },
1138
- "arguments": [],
1139
- "directives": [],
1140
- "selectionSet": {
1141
- "kind": "SelectionSet",
1142
- "selections": [
1143
- {
1144
- "kind": "Field",
1145
- "name": {
1146
- "kind": "Name",
1147
- "value": "id"
1148
- },
1149
- "arguments": [],
1150
- "directives": []
1151
- },
1152
- {
1153
- "kind": "Field",
1154
- "name": {
1155
- "kind": "Name",
1156
- "value": "type"
1157
- },
1158
- "arguments": [],
1159
- "directives": []
1160
- },
1161
- {
1162
- "kind": "Field",
1163
- "name": {
1164
- "kind": "Name",
1165
- "value": "label"
1166
- },
1167
- "arguments": [],
1168
- "directives": []
1169
- },
1170
- {
1171
- "kind": "Field",
1172
- "name": {
1173
- "kind": "Name",
1174
- "value": "fields"
1175
- },
1176
- "arguments": [],
1177
- "directives": []
1178
- }
1179
- ]
1180
- }
1181
- },
1182
- {
1183
- "kind": "Field",
1184
- "name": {
1185
- "kind": "Name",
1186
- "value": "removedNodes"
1187
- },
1188
- "arguments": [],
1189
- "directives": [],
1190
- "selectionSet": {
1191
- "kind": "SelectionSet",
1192
- "selections": [
1193
- {
1194
- "kind": "Field",
1195
- "name": {
1196
- "kind": "Name",
1197
- "value": "id"
1198
- },
1199
- "arguments": [],
1200
- "directives": []
1201
- },
1202
- {
1203
- "kind": "Field",
1204
- "name": {
1205
- "kind": "Name",
1206
- "value": "type"
1207
- },
1208
- "arguments": [],
1209
- "directives": []
1210
- },
1211
- {
1212
- "kind": "Field",
1213
- "name": {
1214
- "kind": "Name",
1215
- "value": "label"
1216
- },
1217
- "arguments": [],
1218
- "directives": []
1219
- },
1220
- {
1221
- "kind": "Field",
1222
- "name": {
1223
- "kind": "Name",
1224
- "value": "fields"
1225
- },
1226
- "arguments": [],
1227
- "directives": []
1228
- }
1229
- ]
1230
- }
1231
- },
1232
- {
1233
- "kind": "Field",
1234
- "name": {
1235
- "kind": "Name",
1236
- "value": "changedNodes"
1237
- },
1238
- "arguments": [],
1239
- "directives": [],
1240
- "selectionSet": {
1241
- "kind": "SelectionSet",
1242
- "selections": [
1243
- {
1244
- "kind": "Field",
1245
- "name": {
1246
- "kind": "Name",
1247
- "value": "id"
1248
- },
1249
- "arguments": [],
1250
- "directives": []
1251
- },
1252
- {
1253
- "kind": "Field",
1254
- "name": {
1255
- "kind": "Name",
1256
- "value": "type"
1257
- },
1258
- "arguments": [],
1259
- "directives": []
1260
- },
1261
- {
1262
- "kind": "Field",
1263
- "name": {
1264
- "kind": "Name",
1265
- "value": "label"
1266
- },
1267
- "arguments": [],
1268
- "directives": []
1269
- },
1270
- {
1271
- "kind": "Field",
1272
- "name": {
1273
- "kind": "Name",
1274
- "value": "fields"
1275
- },
1276
- "arguments": [],
1277
- "directives": []
1278
- }
1279
- ]
1280
- }
1281
- },
1282
- {
1283
- "kind": "Field",
1284
- "name": {
1285
- "kind": "Name",
1286
- "value": "addedEdges"
1287
- },
1288
- "arguments": [],
1289
- "directives": [],
1290
- "selectionSet": {
1291
- "kind": "SelectionSet",
1292
- "selections": [
1293
- {
1294
- "kind": "Field",
1295
- "name": {
1296
- "kind": "Name",
1297
- "value": "source"
1298
- },
1299
- "arguments": [],
1300
- "directives": []
1301
- },
1302
- {
1303
- "kind": "Field",
1304
- "name": {
1305
- "kind": "Name",
1306
- "value": "target"
1307
- },
1308
- "arguments": [],
1309
- "directives": []
1310
- },
1311
- {
1312
- "kind": "Field",
1313
- "name": {
1314
- "kind": "Name",
1315
- "value": "sourceHandle"
1316
- },
1317
- "arguments": [],
1318
- "directives": []
1319
- },
1320
- {
1321
- "kind": "Field",
1322
- "name": {
1323
- "kind": "Name",
1324
- "value": "targetHandle"
1325
- },
1326
- "arguments": [],
1327
- "directives": []
1328
- }
1329
- ]
1330
- }
1331
- },
1332
- {
1333
- "kind": "Field",
1334
- "name": {
1335
- "kind": "Name",
1336
- "value": "removedEdges"
1337
- },
1338
- "arguments": [],
1339
- "directives": [],
1340
- "selectionSet": {
1341
- "kind": "SelectionSet",
1342
- "selections": [
1343
- {
1344
- "kind": "Field",
1345
- "name": {
1346
- "kind": "Name",
1347
- "value": "source"
1348
- },
1349
- "arguments": [],
1350
- "directives": []
1351
- },
1352
- {
1353
- "kind": "Field",
1354
- "name": {
1355
- "kind": "Name",
1356
- "value": "target"
1357
- },
1358
- "arguments": [],
1359
- "directives": []
1360
- },
1361
- {
1362
- "kind": "Field",
1363
- "name": {
1364
- "kind": "Name",
1365
- "value": "sourceHandle"
1366
- },
1367
- "arguments": [],
1368
- "directives": []
1369
- },
1370
- {
1371
- "kind": "Field",
1372
- "name": {
1373
- "kind": "Name",
1374
- "value": "targetHandle"
1375
- },
1376
- "arguments": [],
1377
- "directives": []
1378
- }
1379
- ]
1380
- }
1381
- }
1382
- ]
1383
- }
1384
- }
1385
- ]
1386
- }
1387
- }]
1388
- }
1389
- }]
1390
- };
1391
-
1392
- // src/generated/documents/wspace/ProposeRunFixDocument.ts
1393
- const ProposeRunFixDocument = {
1394
- "kind": "Document",
1395
- "definitions": [{
1396
- "kind": "OperationDefinition",
1397
- "operation": "mutation",
1398
- "name": {
1399
- "kind": "Name",
1400
- "value": "ProposeRunFix"
1401
- },
1402
- "variableDefinitions": [{
1403
- "kind": "VariableDefinition",
1404
- "variable": {
1405
- "kind": "Variable",
1406
- "name": {
1407
- "kind": "Name",
1408
- "value": "input"
1409
- }
1410
- },
1411
- "type": {
1412
- "kind": "NonNullType",
1413
- "type": {
1414
- "kind": "NamedType",
1415
- "name": {
1416
- "kind": "Name",
1417
- "value": "ProposeRunFixInput"
1418
- }
1419
- }
1420
- },
1421
- "directives": []
1422
- }],
1423
- "directives": [],
1424
- "selectionSet": {
1425
- "kind": "SelectionSet",
1426
- "selections": [{
1427
- "kind": "Field",
1428
- "name": {
1429
- "kind": "Name",
1430
- "value": "proposeRunFix"
1431
- },
1432
- "arguments": [{
1433
- "kind": "Argument",
1434
- "name": {
1435
- "kind": "Name",
1436
- "value": "input"
1437
- },
1438
- "value": {
1439
- "kind": "Variable",
1440
- "name": {
1441
- "kind": "Name",
1442
- "value": "input"
1443
- }
1444
- }
1445
- }],
1446
- "directives": [],
1447
- "selectionSet": {
1448
- "kind": "SelectionSet",
1449
- "selections": [
1450
- {
1451
- "kind": "Field",
1452
- "name": {
1453
- "kind": "Name",
1454
- "value": "id"
1455
- },
1456
- "arguments": [],
1457
- "directives": []
1458
- },
1459
- {
1460
- "kind": "Field",
1461
- "name": {
1462
- "kind": "Name",
1463
- "value": "kind"
1464
- },
1465
- "arguments": [],
1466
- "directives": []
1467
- },
1468
- {
1469
- "kind": "Field",
1470
- "name": {
1471
- "kind": "Name",
1472
- "value": "status"
1473
- },
1474
- "arguments": [],
1475
- "directives": []
1476
- },
1477
- {
1478
- "kind": "Field",
1479
- "name": {
1480
- "kind": "Name",
1481
- "value": "prompt"
1482
- },
1483
- "arguments": [],
1484
- "directives": []
1485
- },
1486
- {
1487
- "kind": "Field",
1488
- "name": {
1489
- "kind": "Name",
1490
- "value": "message"
1491
- },
1492
- "arguments": [],
1493
- "directives": []
1494
- },
1495
- {
1496
- "kind": "Field",
1497
- "name": {
1498
- "kind": "Name",
1499
- "value": "workflowId"
1500
- },
1501
- "arguments": [],
1502
- "directives": []
1503
- },
1504
- {
1505
- "kind": "Field",
1506
- "name": {
1507
- "kind": "Name",
1508
- "value": "workflowKey"
1509
- },
1510
- "arguments": [],
1511
- "directives": []
1512
- },
1513
- {
1514
- "kind": "Field",
1515
- "name": {
1516
- "kind": "Name",
1517
- "value": "baseVersion"
1518
- },
1519
- "arguments": [],
1520
- "directives": []
1521
- },
1522
- {
1523
- "kind": "Field",
1524
- "name": {
1525
- "kind": "Name",
1526
- "value": "runId"
1527
- },
1528
- "arguments": [],
1529
- "directives": []
1530
- },
1531
- {
1532
- "kind": "Field",
1533
- "name": {
1534
- "kind": "Name",
1535
- "value": "afterNodeId"
1536
- },
1537
- "arguments": [],
1538
- "directives": []
1539
- },
1540
- {
1541
- "kind": "Field",
1542
- "name": {
1543
- "kind": "Name",
1544
- "value": "name"
1545
- },
1546
- "arguments": [],
1547
- "directives": []
1548
- },
1549
- {
1550
- "kind": "Field",
1551
- "name": {
1552
- "kind": "Name",
1553
- "value": "description"
1554
- },
1555
- "arguments": [],
1556
- "directives": []
1557
- },
1558
- {
1559
- "kind": "Field",
1560
- "name": {
1561
- "kind": "Name",
1562
- "value": "explanation"
1563
- },
1564
- "arguments": [],
1565
- "directives": []
1566
- },
1567
- {
1568
- "kind": "Field",
1569
- "name": {
1570
- "kind": "Name",
1571
- "value": "definitionJson"
1572
- },
1573
- "arguments": [],
1574
- "directives": []
1575
- },
1576
- {
1577
- "kind": "Field",
1578
- "name": {
1579
- "kind": "Name",
1580
- "value": "modelUsed"
1581
- },
1582
- "arguments": [],
1583
- "directives": []
1584
- },
1585
- {
1586
- "kind": "Field",
1587
- "name": {
1588
- "kind": "Name",
1589
- "value": "attempts"
1590
- },
1591
- "arguments": [],
1592
- "directives": []
1593
- },
1594
- {
1595
- "kind": "Field",
1596
- "name": {
1597
- "kind": "Name",
1598
- "value": "appliedWorkflowId"
1599
- },
1600
- "arguments": [],
1601
- "directives": []
1602
- },
1603
- {
1604
- "kind": "Field",
1605
- "name": {
1606
- "kind": "Name",
1607
- "value": "appliedWorkflowKey"
1608
- },
1609
- "arguments": [],
1610
- "directives": []
1611
- },
1612
- {
1613
- "kind": "Field",
1614
- "name": {
1615
- "kind": "Name",
1616
- "value": "appliedVersion"
1617
- },
1618
- "arguments": [],
1619
- "directives": []
1620
- },
1621
- {
1622
- "kind": "Field",
1623
- "name": {
1624
- "kind": "Name",
1625
- "value": "restoreHint"
1626
- },
1627
- "arguments": [],
1628
- "directives": []
1629
- },
1630
- {
1631
- "kind": "Field",
1632
- "name": {
1633
- "kind": "Name",
1634
- "value": "createdAt"
1635
- },
1636
- "arguments": [],
1637
- "directives": []
1638
- },
1639
- {
1640
- "kind": "Field",
1641
- "name": {
1642
- "kind": "Name",
1643
- "value": "updatedAt"
1644
- },
1645
- "arguments": [],
1646
- "directives": []
1647
- },
1648
- {
1649
- "kind": "Field",
1650
- "name": {
1651
- "kind": "Name",
1652
- "value": "progress"
1653
- },
1654
- "arguments": [],
1655
- "directives": [],
1656
- "selectionSet": {
1657
- "kind": "SelectionSet",
1658
- "selections": [
1659
- {
1660
- "kind": "Field",
1661
- "name": {
1662
- "kind": "Name",
1663
- "value": "stage"
1664
- },
1665
- "arguments": [],
1666
- "directives": []
1667
- },
1668
- {
1669
- "kind": "Field",
1670
- "name": {
1671
- "kind": "Name",
1672
- "value": "attempt"
1673
- },
1674
- "arguments": [],
1675
- "directives": []
1676
- },
1677
- {
1678
- "kind": "Field",
1679
- "name": {
1680
- "kind": "Name",
1681
- "value": "updatedAt"
1682
- },
1683
- "arguments": [],
1684
- "directives": []
1685
- }
1686
- ]
1687
- }
1688
- },
1689
- {
1690
- "kind": "Field",
1691
- "name": {
1692
- "kind": "Name",
1693
- "value": "validation"
1694
- },
1695
- "arguments": [],
1696
- "directives": [],
1697
- "selectionSet": {
1698
- "kind": "SelectionSet",
1699
- "selections": [
1700
- {
1701
- "kind": "Field",
1702
- "name": {
1703
- "kind": "Name",
1704
- "value": "valid"
1705
- },
1706
- "arguments": [],
1707
- "directives": []
1708
- },
1709
- {
1710
- "kind": "Field",
1711
- "name": {
1712
- "kind": "Name",
1713
- "value": "errors"
1714
- },
1715
- "arguments": [],
1716
- "directives": []
1717
- },
1718
- {
1719
- "kind": "Field",
1720
- "name": {
1721
- "kind": "Name",
1722
- "value": "warnings"
1723
- },
1724
- "arguments": [],
1725
- "directives": []
1726
- }
1727
- ]
1728
- }
1729
- },
1730
- {
1731
- "kind": "Field",
1732
- "name": {
1733
- "kind": "Name",
1734
- "value": "diff"
1735
- },
1736
- "arguments": [],
1737
- "directives": [],
1738
- "selectionSet": {
1739
- "kind": "SelectionSet",
1740
- "selections": [
1741
- {
1742
- "kind": "Field",
1743
- "name": {
1744
- "kind": "Name",
1745
- "value": "summary"
1746
- },
1747
- "arguments": [],
1748
- "directives": []
1749
- },
1750
- {
1751
- "kind": "Field",
1752
- "name": {
1753
- "kind": "Name",
1754
- "value": "addedNodes"
1755
- },
1756
- "arguments": [],
1757
- "directives": [],
1758
- "selectionSet": {
1759
- "kind": "SelectionSet",
1760
- "selections": [
1761
- {
1762
- "kind": "Field",
1763
- "name": {
1764
- "kind": "Name",
1765
- "value": "id"
1766
- },
1767
- "arguments": [],
1768
- "directives": []
1769
- },
1770
- {
1771
- "kind": "Field",
1772
- "name": {
1773
- "kind": "Name",
1774
- "value": "type"
1775
- },
1776
- "arguments": [],
1777
- "directives": []
1778
- },
1779
- {
1780
- "kind": "Field",
1781
- "name": {
1782
- "kind": "Name",
1783
- "value": "label"
1784
- },
1785
- "arguments": [],
1786
- "directives": []
1787
- },
1788
- {
1789
- "kind": "Field",
1790
- "name": {
1791
- "kind": "Name",
1792
- "value": "fields"
1793
- },
1794
- "arguments": [],
1795
- "directives": []
1796
- }
1797
- ]
1798
- }
1799
- },
1800
- {
1801
- "kind": "Field",
1802
- "name": {
1803
- "kind": "Name",
1804
- "value": "removedNodes"
1805
- },
1806
- "arguments": [],
1807
- "directives": [],
1808
- "selectionSet": {
1809
- "kind": "SelectionSet",
1810
- "selections": [
1811
- {
1812
- "kind": "Field",
1813
- "name": {
1814
- "kind": "Name",
1815
- "value": "id"
1816
- },
1817
- "arguments": [],
1818
- "directives": []
1819
- },
1820
- {
1821
- "kind": "Field",
1822
- "name": {
1823
- "kind": "Name",
1824
- "value": "type"
1825
- },
1826
- "arguments": [],
1827
- "directives": []
1828
- },
1829
- {
1830
- "kind": "Field",
1831
- "name": {
1832
- "kind": "Name",
1833
- "value": "label"
1834
- },
1835
- "arguments": [],
1836
- "directives": []
1837
- },
1838
- {
1839
- "kind": "Field",
1840
- "name": {
1841
- "kind": "Name",
1842
- "value": "fields"
1843
- },
1844
- "arguments": [],
1845
- "directives": []
1846
- }
1847
- ]
1848
- }
1849
- },
1850
- {
1851
- "kind": "Field",
1852
- "name": {
1853
- "kind": "Name",
1854
- "value": "changedNodes"
1855
- },
1856
- "arguments": [],
1857
- "directives": [],
1858
- "selectionSet": {
1859
- "kind": "SelectionSet",
1860
- "selections": [
1861
- {
1862
- "kind": "Field",
1863
- "name": {
1864
- "kind": "Name",
1865
- "value": "id"
1866
- },
1867
- "arguments": [],
1868
- "directives": []
1869
- },
1870
- {
1871
- "kind": "Field",
1872
- "name": {
1873
- "kind": "Name",
1874
- "value": "type"
1875
- },
1876
- "arguments": [],
1877
- "directives": []
1878
- },
1879
- {
1880
- "kind": "Field",
1881
- "name": {
1882
- "kind": "Name",
1883
- "value": "label"
1884
- },
1885
- "arguments": [],
1886
- "directives": []
1887
- },
1888
- {
1889
- "kind": "Field",
1890
- "name": {
1891
- "kind": "Name",
1892
- "value": "fields"
1893
- },
1894
- "arguments": [],
1895
- "directives": []
1896
- }
1897
- ]
1898
- }
1899
- },
1900
- {
1901
- "kind": "Field",
1902
- "name": {
1903
- "kind": "Name",
1904
- "value": "addedEdges"
1905
- },
1906
- "arguments": [],
1907
- "directives": [],
1908
- "selectionSet": {
1909
- "kind": "SelectionSet",
1910
- "selections": [
1911
- {
1912
- "kind": "Field",
1913
- "name": {
1914
- "kind": "Name",
1915
- "value": "source"
1916
- },
1917
- "arguments": [],
1918
- "directives": []
1919
- },
1920
- {
1921
- "kind": "Field",
1922
- "name": {
1923
- "kind": "Name",
1924
- "value": "target"
1925
- },
1926
- "arguments": [],
1927
- "directives": []
1928
- },
1929
- {
1930
- "kind": "Field",
1931
- "name": {
1932
- "kind": "Name",
1933
- "value": "sourceHandle"
1934
- },
1935
- "arguments": [],
1936
- "directives": []
1937
- },
1938
- {
1939
- "kind": "Field",
1940
- "name": {
1941
- "kind": "Name",
1942
- "value": "targetHandle"
1943
- },
1944
- "arguments": [],
1945
- "directives": []
1946
- }
1947
- ]
1948
- }
1949
- },
1950
- {
1951
- "kind": "Field",
1952
- "name": {
1953
- "kind": "Name",
1954
- "value": "removedEdges"
1955
- },
1956
- "arguments": [],
1957
- "directives": [],
1958
- "selectionSet": {
1959
- "kind": "SelectionSet",
1960
- "selections": [
1961
- {
1962
- "kind": "Field",
1963
- "name": {
1964
- "kind": "Name",
1965
- "value": "source"
1966
- },
1967
- "arguments": [],
1968
- "directives": []
1969
- },
1970
- {
1971
- "kind": "Field",
1972
- "name": {
1973
- "kind": "Name",
1974
- "value": "target"
1975
- },
1976
- "arguments": [],
1977
- "directives": []
1978
- },
1979
- {
1980
- "kind": "Field",
1981
- "name": {
1982
- "kind": "Name",
1983
- "value": "sourceHandle"
1984
- },
1985
- "arguments": [],
1986
- "directives": []
1987
- },
1988
- {
1989
- "kind": "Field",
1990
- "name": {
1991
- "kind": "Name",
1992
- "value": "targetHandle"
1993
- },
1994
- "arguments": [],
1995
- "directives": []
1996
- }
1997
- ]
1998
- }
1999
- }
2000
- ]
2001
- }
2002
- }
2003
- ]
2004
- }
2005
- }]
2006
- }
2007
- }]
2008
- };
2009
-
2010
- // src/generated/documents/wspace/ProposeWorkflowChangeDocument.ts
2011
- const ProposeWorkflowChangeDocument = {
2012
- "kind": "Document",
2013
- "definitions": [{
2014
- "kind": "OperationDefinition",
2015
- "operation": "mutation",
2016
- "name": {
2017
- "kind": "Name",
2018
- "value": "ProposeWorkflowChange"
2019
- },
2020
- "variableDefinitions": [{
2021
- "kind": "VariableDefinition",
2022
- "variable": {
2023
- "kind": "Variable",
2024
- "name": {
2025
- "kind": "Name",
2026
- "value": "input"
2027
- }
2028
- },
2029
- "type": {
2030
- "kind": "NonNullType",
2031
- "type": {
2032
- "kind": "NamedType",
2033
- "name": {
2034
- "kind": "Name",
2035
- "value": "ProposeWorkflowChangeInput"
2036
- }
2037
- }
2038
- },
2039
- "directives": []
2040
- }],
2041
- "directives": [],
2042
- "selectionSet": {
2043
- "kind": "SelectionSet",
2044
- "selections": [{
2045
- "kind": "Field",
2046
- "name": {
2047
- "kind": "Name",
2048
- "value": "proposeWorkflowChange"
2049
- },
2050
- "arguments": [{
2051
- "kind": "Argument",
2052
- "name": {
2053
- "kind": "Name",
2054
- "value": "input"
2055
- },
2056
- "value": {
2057
- "kind": "Variable",
2058
- "name": {
2059
- "kind": "Name",
2060
- "value": "input"
2061
- }
2062
- }
2063
- }],
2064
- "directives": [],
2065
- "selectionSet": {
2066
- "kind": "SelectionSet",
2067
- "selections": [
2068
- {
2069
- "kind": "Field",
2070
- "name": {
2071
- "kind": "Name",
2072
- "value": "id"
2073
- },
2074
- "arguments": [],
2075
- "directives": []
2076
- },
2077
- {
2078
- "kind": "Field",
2079
- "name": {
2080
- "kind": "Name",
2081
- "value": "kind"
2082
- },
2083
- "arguments": [],
2084
- "directives": []
2085
- },
2086
- {
2087
- "kind": "Field",
2088
- "name": {
2089
- "kind": "Name",
2090
- "value": "status"
2091
- },
2092
- "arguments": [],
2093
- "directives": []
2094
- },
2095
- {
2096
- "kind": "Field",
2097
- "name": {
2098
- "kind": "Name",
2099
- "value": "prompt"
2100
- },
2101
- "arguments": [],
2102
- "directives": []
2103
- },
2104
- {
2105
- "kind": "Field",
2106
- "name": {
2107
- "kind": "Name",
2108
- "value": "message"
2109
- },
2110
- "arguments": [],
2111
- "directives": []
2112
- },
2113
- {
2114
- "kind": "Field",
2115
- "name": {
2116
- "kind": "Name",
2117
- "value": "workflowId"
2118
- },
2119
- "arguments": [],
2120
- "directives": []
2121
- },
2122
- {
2123
- "kind": "Field",
2124
- "name": {
2125
- "kind": "Name",
2126
- "value": "workflowKey"
2127
- },
2128
- "arguments": [],
2129
- "directives": []
2130
- },
2131
- {
2132
- "kind": "Field",
2133
- "name": {
2134
- "kind": "Name",
2135
- "value": "baseVersion"
2136
- },
2137
- "arguments": [],
2138
- "directives": []
2139
- },
2140
- {
2141
- "kind": "Field",
2142
- "name": {
2143
- "kind": "Name",
2144
- "value": "runId"
2145
- },
2146
- "arguments": [],
2147
- "directives": []
2148
- },
2149
- {
2150
- "kind": "Field",
2151
- "name": {
2152
- "kind": "Name",
2153
- "value": "afterNodeId"
2154
- },
2155
- "arguments": [],
2156
- "directives": []
2157
- },
2158
- {
2159
- "kind": "Field",
2160
- "name": {
2161
- "kind": "Name",
2162
- "value": "name"
2163
- },
2164
- "arguments": [],
2165
- "directives": []
2166
- },
2167
- {
2168
- "kind": "Field",
2169
- "name": {
2170
- "kind": "Name",
2171
- "value": "description"
2172
- },
2173
- "arguments": [],
2174
- "directives": []
2175
- },
2176
- {
2177
- "kind": "Field",
2178
- "name": {
2179
- "kind": "Name",
2180
- "value": "explanation"
2181
- },
2182
- "arguments": [],
2183
- "directives": []
2184
- },
2185
- {
2186
- "kind": "Field",
2187
- "name": {
2188
- "kind": "Name",
2189
- "value": "definitionJson"
2190
- },
2191
- "arguments": [],
2192
- "directives": []
2193
- },
2194
- {
2195
- "kind": "Field",
2196
- "name": {
2197
- "kind": "Name",
2198
- "value": "modelUsed"
2199
- },
2200
- "arguments": [],
2201
- "directives": []
2202
- },
2203
- {
2204
- "kind": "Field",
2205
- "name": {
2206
- "kind": "Name",
2207
- "value": "attempts"
2208
- },
2209
- "arguments": [],
2210
- "directives": []
2211
- },
2212
- {
2213
- "kind": "Field",
2214
- "name": {
2215
- "kind": "Name",
2216
- "value": "appliedWorkflowId"
2217
- },
2218
- "arguments": [],
2219
- "directives": []
2220
- },
2221
- {
2222
- "kind": "Field",
2223
- "name": {
2224
- "kind": "Name",
2225
- "value": "appliedWorkflowKey"
2226
- },
2227
- "arguments": [],
2228
- "directives": []
2229
- },
2230
- {
2231
- "kind": "Field",
2232
- "name": {
2233
- "kind": "Name",
2234
- "value": "appliedVersion"
2235
- },
2236
- "arguments": [],
2237
- "directives": []
2238
- },
2239
- {
2240
- "kind": "Field",
2241
- "name": {
2242
- "kind": "Name",
2243
- "value": "restoreHint"
2244
- },
2245
- "arguments": [],
2246
- "directives": []
2247
- },
2248
- {
2249
- "kind": "Field",
2250
- "name": {
2251
- "kind": "Name",
2252
- "value": "createdAt"
2253
- },
2254
- "arguments": [],
2255
- "directives": []
2256
- },
2257
- {
2258
- "kind": "Field",
2259
- "name": {
2260
- "kind": "Name",
2261
- "value": "updatedAt"
2262
- },
2263
- "arguments": [],
2264
- "directives": []
2265
- },
2266
- {
2267
- "kind": "Field",
2268
- "name": {
2269
- "kind": "Name",
2270
- "value": "progress"
2271
- },
2272
- "arguments": [],
2273
- "directives": [],
2274
- "selectionSet": {
2275
- "kind": "SelectionSet",
2276
- "selections": [
2277
- {
2278
- "kind": "Field",
2279
- "name": {
2280
- "kind": "Name",
2281
- "value": "stage"
2282
- },
2283
- "arguments": [],
2284
- "directives": []
2285
- },
2286
- {
2287
- "kind": "Field",
2288
- "name": {
2289
- "kind": "Name",
2290
- "value": "attempt"
2291
- },
2292
- "arguments": [],
2293
- "directives": []
2294
- },
2295
- {
2296
- "kind": "Field",
2297
- "name": {
2298
- "kind": "Name",
2299
- "value": "updatedAt"
2300
- },
2301
- "arguments": [],
2302
- "directives": []
2303
- }
2304
- ]
2305
- }
2306
- },
2307
- {
2308
- "kind": "Field",
2309
- "name": {
2310
- "kind": "Name",
2311
- "value": "validation"
2312
- },
2313
- "arguments": [],
2314
- "directives": [],
2315
- "selectionSet": {
2316
- "kind": "SelectionSet",
2317
- "selections": [
2318
- {
2319
- "kind": "Field",
2320
- "name": {
2321
- "kind": "Name",
2322
- "value": "valid"
2323
- },
2324
- "arguments": [],
2325
- "directives": []
2326
- },
2327
- {
2328
- "kind": "Field",
2329
- "name": {
2330
- "kind": "Name",
2331
- "value": "errors"
2332
- },
2333
- "arguments": [],
2334
- "directives": []
2335
- },
2336
- {
2337
- "kind": "Field",
2338
- "name": {
2339
- "kind": "Name",
2340
- "value": "warnings"
2341
- },
2342
- "arguments": [],
2343
- "directives": []
2344
- }
2345
- ]
2346
- }
2347
- },
2348
- {
2349
- "kind": "Field",
2350
- "name": {
2351
- "kind": "Name",
2352
- "value": "diff"
2353
- },
2354
- "arguments": [],
2355
- "directives": [],
2356
- "selectionSet": {
2357
- "kind": "SelectionSet",
2358
- "selections": [
2359
- {
2360
- "kind": "Field",
2361
- "name": {
2362
- "kind": "Name",
2363
- "value": "summary"
2364
- },
2365
- "arguments": [],
2366
- "directives": []
2367
- },
2368
- {
2369
- "kind": "Field",
2370
- "name": {
2371
- "kind": "Name",
2372
- "value": "addedNodes"
2373
- },
2374
- "arguments": [],
2375
- "directives": [],
2376
- "selectionSet": {
2377
- "kind": "SelectionSet",
2378
- "selections": [
2379
- {
2380
- "kind": "Field",
2381
- "name": {
2382
- "kind": "Name",
2383
- "value": "id"
2384
- },
2385
- "arguments": [],
2386
- "directives": []
2387
- },
2388
- {
2389
- "kind": "Field",
2390
- "name": {
2391
- "kind": "Name",
2392
- "value": "type"
2393
- },
2394
- "arguments": [],
2395
- "directives": []
2396
- },
2397
- {
2398
- "kind": "Field",
2399
- "name": {
2400
- "kind": "Name",
2401
- "value": "label"
2402
- },
2403
- "arguments": [],
2404
- "directives": []
2405
- },
2406
- {
2407
- "kind": "Field",
2408
- "name": {
2409
- "kind": "Name",
2410
- "value": "fields"
2411
- },
2412
- "arguments": [],
2413
- "directives": []
2414
- }
2415
- ]
2416
- }
2417
- },
2418
- {
2419
- "kind": "Field",
2420
- "name": {
2421
- "kind": "Name",
2422
- "value": "removedNodes"
2423
- },
2424
- "arguments": [],
2425
- "directives": [],
2426
- "selectionSet": {
2427
- "kind": "SelectionSet",
2428
- "selections": [
2429
- {
2430
- "kind": "Field",
2431
- "name": {
2432
- "kind": "Name",
2433
- "value": "id"
2434
- },
2435
- "arguments": [],
2436
- "directives": []
2437
- },
2438
- {
2439
- "kind": "Field",
2440
- "name": {
2441
- "kind": "Name",
2442
- "value": "type"
2443
- },
2444
- "arguments": [],
2445
- "directives": []
2446
- },
2447
- {
2448
- "kind": "Field",
2449
- "name": {
2450
- "kind": "Name",
2451
- "value": "label"
2452
- },
2453
- "arguments": [],
2454
- "directives": []
2455
- },
2456
- {
2457
- "kind": "Field",
2458
- "name": {
2459
- "kind": "Name",
2460
- "value": "fields"
2461
- },
2462
- "arguments": [],
2463
- "directives": []
2464
- }
2465
- ]
2466
- }
2467
- },
2468
- {
2469
- "kind": "Field",
2470
- "name": {
2471
- "kind": "Name",
2472
- "value": "changedNodes"
2473
- },
2474
- "arguments": [],
2475
- "directives": [],
2476
- "selectionSet": {
2477
- "kind": "SelectionSet",
2478
- "selections": [
2479
- {
2480
- "kind": "Field",
2481
- "name": {
2482
- "kind": "Name",
2483
- "value": "id"
2484
- },
2485
- "arguments": [],
2486
- "directives": []
2487
- },
2488
- {
2489
- "kind": "Field",
2490
- "name": {
2491
- "kind": "Name",
2492
- "value": "type"
2493
- },
2494
- "arguments": [],
2495
- "directives": []
2496
- },
2497
- {
2498
- "kind": "Field",
2499
- "name": {
2500
- "kind": "Name",
2501
- "value": "label"
2502
- },
2503
- "arguments": [],
2504
- "directives": []
2505
- },
2506
- {
2507
- "kind": "Field",
2508
- "name": {
2509
- "kind": "Name",
2510
- "value": "fields"
2511
- },
2512
- "arguments": [],
2513
- "directives": []
2514
- }
2515
- ]
2516
- }
2517
- },
2518
- {
2519
- "kind": "Field",
2520
- "name": {
2521
- "kind": "Name",
2522
- "value": "addedEdges"
2523
- },
2524
- "arguments": [],
2525
- "directives": [],
2526
- "selectionSet": {
2527
- "kind": "SelectionSet",
2528
- "selections": [
2529
- {
2530
- "kind": "Field",
2531
- "name": {
2532
- "kind": "Name",
2533
- "value": "source"
2534
- },
2535
- "arguments": [],
2536
- "directives": []
2537
- },
2538
- {
2539
- "kind": "Field",
2540
- "name": {
2541
- "kind": "Name",
2542
- "value": "target"
2543
- },
2544
- "arguments": [],
2545
- "directives": []
2546
- },
2547
- {
2548
- "kind": "Field",
2549
- "name": {
2550
- "kind": "Name",
2551
- "value": "sourceHandle"
2552
- },
2553
- "arguments": [],
2554
- "directives": []
2555
- },
2556
- {
2557
- "kind": "Field",
2558
- "name": {
2559
- "kind": "Name",
2560
- "value": "targetHandle"
2561
- },
2562
- "arguments": [],
2563
- "directives": []
2564
- }
2565
- ]
2566
- }
2567
- },
2568
- {
2569
- "kind": "Field",
2570
- "name": {
2571
- "kind": "Name",
2572
- "value": "removedEdges"
2573
- },
2574
- "arguments": [],
2575
- "directives": [],
2576
- "selectionSet": {
2577
- "kind": "SelectionSet",
2578
- "selections": [
2579
- {
2580
- "kind": "Field",
2581
- "name": {
2582
- "kind": "Name",
2583
- "value": "source"
2584
- },
2585
- "arguments": [],
2586
- "directives": []
2587
- },
2588
- {
2589
- "kind": "Field",
2590
- "name": {
2591
- "kind": "Name",
2592
- "value": "target"
2593
- },
2594
- "arguments": [],
2595
- "directives": []
2596
- },
2597
- {
2598
- "kind": "Field",
2599
- "name": {
2600
- "kind": "Name",
2601
- "value": "sourceHandle"
2602
- },
2603
- "arguments": [],
2604
- "directives": []
2605
- },
2606
- {
2607
- "kind": "Field",
2608
- "name": {
2609
- "kind": "Name",
2610
- "value": "targetHandle"
2611
- },
2612
- "arguments": [],
2613
- "directives": []
2614
- }
2615
- ]
2616
- }
2617
- }
2618
- ]
2619
- }
2620
- }
2621
- ]
2622
- }
2623
- }]
2624
- }
2625
- }]
2626
- };
2627
-
2628
- // src/generated/documents/wspace/RejectWorkflowProposalDocument.ts
2629
- const RejectWorkflowProposalDocument = {
2630
- "kind": "Document",
2631
- "definitions": [{
2632
- "kind": "OperationDefinition",
2633
- "operation": "mutation",
2634
- "name": {
2635
- "kind": "Name",
2636
- "value": "RejectWorkflowProposal"
2637
- },
2638
- "variableDefinitions": [{
2639
- "kind": "VariableDefinition",
2640
- "variable": {
2641
- "kind": "Variable",
2642
- "name": {
2643
- "kind": "Name",
2644
- "value": "id"
2645
- }
2646
- },
2647
- "type": {
2648
- "kind": "NonNullType",
2649
- "type": {
2650
- "kind": "NamedType",
2651
- "name": {
2652
- "kind": "Name",
2653
- "value": "ID"
2654
- }
2655
- }
2656
- },
2657
- "directives": []
2658
- }],
2659
- "directives": [],
2660
- "selectionSet": {
2661
- "kind": "SelectionSet",
2662
- "selections": [{
2663
- "kind": "Field",
2664
- "name": {
2665
- "kind": "Name",
2666
- "value": "rejectWorkflowProposal"
2667
- },
2668
- "arguments": [{
2669
- "kind": "Argument",
2670
- "name": {
2671
- "kind": "Name",
2672
- "value": "id"
2673
- },
2674
- "value": {
2675
- "kind": "Variable",
2676
- "name": {
2677
- "kind": "Name",
2678
- "value": "id"
2679
- }
2680
- }
2681
- }],
2682
- "directives": [],
2683
- "selectionSet": {
2684
- "kind": "SelectionSet",
2685
- "selections": [
2686
- {
2687
- "kind": "Field",
2688
- "name": {
2689
- "kind": "Name",
2690
- "value": "id"
2691
- },
2692
- "arguments": [],
2693
- "directives": []
2694
- },
2695
- {
2696
- "kind": "Field",
2697
- "name": {
2698
- "kind": "Name",
2699
- "value": "kind"
2700
- },
2701
- "arguments": [],
2702
- "directives": []
2703
- },
2704
- {
2705
- "kind": "Field",
2706
- "name": {
2707
- "kind": "Name",
2708
- "value": "status"
2709
- },
2710
- "arguments": [],
2711
- "directives": []
2712
- },
2713
- {
2714
- "kind": "Field",
2715
- "name": {
2716
- "kind": "Name",
2717
- "value": "prompt"
2718
- },
2719
- "arguments": [],
2720
- "directives": []
2721
- },
2722
- {
2723
- "kind": "Field",
2724
- "name": {
2725
- "kind": "Name",
2726
- "value": "message"
2727
- },
2728
- "arguments": [],
2729
- "directives": []
2730
- },
2731
- {
2732
- "kind": "Field",
2733
- "name": {
2734
- "kind": "Name",
2735
- "value": "workflowId"
2736
- },
2737
- "arguments": [],
2738
- "directives": []
2739
- },
2740
- {
2741
- "kind": "Field",
2742
- "name": {
2743
- "kind": "Name",
2744
- "value": "workflowKey"
2745
- },
2746
- "arguments": [],
2747
- "directives": []
2748
- },
2749
- {
2750
- "kind": "Field",
2751
- "name": {
2752
- "kind": "Name",
2753
- "value": "baseVersion"
2754
- },
2755
- "arguments": [],
2756
- "directives": []
2757
- },
2758
- {
2759
- "kind": "Field",
2760
- "name": {
2761
- "kind": "Name",
2762
- "value": "runId"
2763
- },
2764
- "arguments": [],
2765
- "directives": []
2766
- },
2767
- {
2768
- "kind": "Field",
2769
- "name": {
2770
- "kind": "Name",
2771
- "value": "afterNodeId"
2772
- },
2773
- "arguments": [],
2774
- "directives": []
2775
- },
2776
- {
2777
- "kind": "Field",
2778
- "name": {
2779
- "kind": "Name",
2780
- "value": "name"
2781
- },
2782
- "arguments": [],
2783
- "directives": []
2784
- },
2785
- {
2786
- "kind": "Field",
2787
- "name": {
2788
- "kind": "Name",
2789
- "value": "description"
2790
- },
2791
- "arguments": [],
2792
- "directives": []
2793
- },
2794
- {
2795
- "kind": "Field",
2796
- "name": {
2797
- "kind": "Name",
2798
- "value": "explanation"
2799
- },
2800
- "arguments": [],
2801
- "directives": []
2802
- },
2803
- {
2804
- "kind": "Field",
2805
- "name": {
2806
- "kind": "Name",
2807
- "value": "definitionJson"
2808
- },
2809
- "arguments": [],
2810
- "directives": []
2811
- },
2812
- {
2813
- "kind": "Field",
2814
- "name": {
2815
- "kind": "Name",
2816
- "value": "modelUsed"
2817
- },
2818
- "arguments": [],
2819
- "directives": []
2820
- },
2821
- {
2822
- "kind": "Field",
2823
- "name": {
2824
- "kind": "Name",
2825
- "value": "attempts"
2826
- },
2827
- "arguments": [],
2828
- "directives": []
2829
- },
2830
- {
2831
- "kind": "Field",
2832
- "name": {
2833
- "kind": "Name",
2834
- "value": "appliedWorkflowId"
2835
- },
2836
- "arguments": [],
2837
- "directives": []
2838
- },
2839
- {
2840
- "kind": "Field",
2841
- "name": {
2842
- "kind": "Name",
2843
- "value": "appliedWorkflowKey"
2844
- },
2845
- "arguments": [],
2846
- "directives": []
2847
- },
2848
- {
2849
- "kind": "Field",
2850
- "name": {
2851
- "kind": "Name",
2852
- "value": "appliedVersion"
2853
- },
2854
- "arguments": [],
2855
- "directives": []
2856
- },
2857
- {
2858
- "kind": "Field",
2859
- "name": {
2860
- "kind": "Name",
2861
- "value": "restoreHint"
2862
- },
2863
- "arguments": [],
2864
- "directives": []
2865
- },
2866
- {
2867
- "kind": "Field",
2868
- "name": {
2869
- "kind": "Name",
2870
- "value": "createdAt"
2871
- },
2872
- "arguments": [],
2873
- "directives": []
2874
- },
2875
- {
2876
- "kind": "Field",
2877
- "name": {
2878
- "kind": "Name",
2879
- "value": "updatedAt"
2880
- },
2881
- "arguments": [],
2882
- "directives": []
2883
- },
2884
- {
2885
- "kind": "Field",
2886
- "name": {
2887
- "kind": "Name",
2888
- "value": "progress"
2889
- },
2890
- "arguments": [],
2891
- "directives": [],
2892
- "selectionSet": {
2893
- "kind": "SelectionSet",
2894
- "selections": [
2895
- {
2896
- "kind": "Field",
2897
- "name": {
2898
- "kind": "Name",
2899
- "value": "stage"
2900
- },
2901
- "arguments": [],
2902
- "directives": []
2903
- },
2904
- {
2905
- "kind": "Field",
2906
- "name": {
2907
- "kind": "Name",
2908
- "value": "attempt"
2909
- },
2910
- "arguments": [],
2911
- "directives": []
2912
- },
2913
- {
2914
- "kind": "Field",
2915
- "name": {
2916
- "kind": "Name",
2917
- "value": "updatedAt"
2918
- },
2919
- "arguments": [],
2920
- "directives": []
2921
- }
2922
- ]
2923
- }
2924
- },
2925
- {
2926
- "kind": "Field",
2927
- "name": {
2928
- "kind": "Name",
2929
- "value": "validation"
2930
- },
2931
- "arguments": [],
2932
- "directives": [],
2933
- "selectionSet": {
2934
- "kind": "SelectionSet",
2935
- "selections": [
2936
- {
2937
- "kind": "Field",
2938
- "name": {
2939
- "kind": "Name",
2940
- "value": "valid"
2941
- },
2942
- "arguments": [],
2943
- "directives": []
2944
- },
2945
- {
2946
- "kind": "Field",
2947
- "name": {
2948
- "kind": "Name",
2949
- "value": "errors"
2950
- },
2951
- "arguments": [],
2952
- "directives": []
2953
- },
2954
- {
2955
- "kind": "Field",
2956
- "name": {
2957
- "kind": "Name",
2958
- "value": "warnings"
2959
- },
2960
- "arguments": [],
2961
- "directives": []
2962
- }
2963
- ]
2964
- }
2965
- },
2966
- {
2967
- "kind": "Field",
2968
- "name": {
2969
- "kind": "Name",
2970
- "value": "diff"
2971
- },
2972
- "arguments": [],
2973
- "directives": [],
2974
- "selectionSet": {
2975
- "kind": "SelectionSet",
2976
- "selections": [
2977
- {
2978
- "kind": "Field",
2979
- "name": {
2980
- "kind": "Name",
2981
- "value": "summary"
2982
- },
2983
- "arguments": [],
2984
- "directives": []
2985
- },
2986
- {
2987
- "kind": "Field",
2988
- "name": {
2989
- "kind": "Name",
2990
- "value": "addedNodes"
2991
- },
2992
- "arguments": [],
2993
- "directives": [],
2994
- "selectionSet": {
2995
- "kind": "SelectionSet",
2996
- "selections": [
2997
- {
2998
- "kind": "Field",
2999
- "name": {
3000
- "kind": "Name",
3001
- "value": "id"
3002
- },
3003
- "arguments": [],
3004
- "directives": []
3005
- },
3006
- {
3007
- "kind": "Field",
3008
- "name": {
3009
- "kind": "Name",
3010
- "value": "type"
3011
- },
3012
- "arguments": [],
3013
- "directives": []
3014
- },
3015
- {
3016
- "kind": "Field",
3017
- "name": {
3018
- "kind": "Name",
3019
- "value": "label"
3020
- },
3021
- "arguments": [],
3022
- "directives": []
3023
- },
3024
- {
3025
- "kind": "Field",
3026
- "name": {
3027
- "kind": "Name",
3028
- "value": "fields"
3029
- },
3030
- "arguments": [],
3031
- "directives": []
3032
- }
3033
- ]
3034
- }
3035
- },
3036
- {
3037
- "kind": "Field",
3038
- "name": {
3039
- "kind": "Name",
3040
- "value": "removedNodes"
3041
- },
3042
- "arguments": [],
3043
- "directives": [],
3044
- "selectionSet": {
3045
- "kind": "SelectionSet",
3046
- "selections": [
3047
- {
3048
- "kind": "Field",
3049
- "name": {
3050
- "kind": "Name",
3051
- "value": "id"
3052
- },
3053
- "arguments": [],
3054
- "directives": []
3055
- },
3056
- {
3057
- "kind": "Field",
3058
- "name": {
3059
- "kind": "Name",
3060
- "value": "type"
3061
- },
3062
- "arguments": [],
3063
- "directives": []
3064
- },
3065
- {
3066
- "kind": "Field",
3067
- "name": {
3068
- "kind": "Name",
3069
- "value": "label"
3070
- },
3071
- "arguments": [],
3072
- "directives": []
3073
- },
3074
- {
3075
- "kind": "Field",
3076
- "name": {
3077
- "kind": "Name",
3078
- "value": "fields"
3079
- },
3080
- "arguments": [],
3081
- "directives": []
3082
- }
3083
- ]
3084
- }
3085
- },
3086
- {
3087
- "kind": "Field",
3088
- "name": {
3089
- "kind": "Name",
3090
- "value": "changedNodes"
3091
- },
3092
- "arguments": [],
3093
- "directives": [],
3094
- "selectionSet": {
3095
- "kind": "SelectionSet",
3096
- "selections": [
3097
- {
3098
- "kind": "Field",
3099
- "name": {
3100
- "kind": "Name",
3101
- "value": "id"
3102
- },
3103
- "arguments": [],
3104
- "directives": []
3105
- },
3106
- {
3107
- "kind": "Field",
3108
- "name": {
3109
- "kind": "Name",
3110
- "value": "type"
3111
- },
3112
- "arguments": [],
3113
- "directives": []
3114
- },
3115
- {
3116
- "kind": "Field",
3117
- "name": {
3118
- "kind": "Name",
3119
- "value": "label"
3120
- },
3121
- "arguments": [],
3122
- "directives": []
3123
- },
3124
- {
3125
- "kind": "Field",
3126
- "name": {
3127
- "kind": "Name",
3128
- "value": "fields"
3129
- },
3130
- "arguments": [],
3131
- "directives": []
3132
- }
3133
- ]
3134
- }
3135
- },
3136
- {
3137
- "kind": "Field",
3138
- "name": {
3139
- "kind": "Name",
3140
- "value": "addedEdges"
3141
- },
3142
- "arguments": [],
3143
- "directives": [],
3144
- "selectionSet": {
3145
- "kind": "SelectionSet",
3146
- "selections": [
3147
- {
3148
- "kind": "Field",
3149
- "name": {
3150
- "kind": "Name",
3151
- "value": "source"
3152
- },
3153
- "arguments": [],
3154
- "directives": []
3155
- },
3156
- {
3157
- "kind": "Field",
3158
- "name": {
3159
- "kind": "Name",
3160
- "value": "target"
3161
- },
3162
- "arguments": [],
3163
- "directives": []
3164
- },
3165
- {
3166
- "kind": "Field",
3167
- "name": {
3168
- "kind": "Name",
3169
- "value": "sourceHandle"
3170
- },
3171
- "arguments": [],
3172
- "directives": []
3173
- },
3174
- {
3175
- "kind": "Field",
3176
- "name": {
3177
- "kind": "Name",
3178
- "value": "targetHandle"
3179
- },
3180
- "arguments": [],
3181
- "directives": []
3182
- }
3183
- ]
3184
- }
3185
- },
3186
- {
3187
- "kind": "Field",
3188
- "name": {
3189
- "kind": "Name",
3190
- "value": "removedEdges"
3191
- },
3192
- "arguments": [],
3193
- "directives": [],
3194
- "selectionSet": {
3195
- "kind": "SelectionSet",
3196
- "selections": [
3197
- {
3198
- "kind": "Field",
3199
- "name": {
3200
- "kind": "Name",
3201
- "value": "source"
3202
- },
3203
- "arguments": [],
3204
- "directives": []
3205
- },
3206
- {
3207
- "kind": "Field",
3208
- "name": {
3209
- "kind": "Name",
3210
- "value": "target"
3211
- },
3212
- "arguments": [],
3213
- "directives": []
3214
- },
3215
- {
3216
- "kind": "Field",
3217
- "name": {
3218
- "kind": "Name",
3219
- "value": "sourceHandle"
3220
- },
3221
- "arguments": [],
3222
- "directives": []
3223
- },
3224
- {
3225
- "kind": "Field",
3226
- "name": {
3227
- "kind": "Name",
3228
- "value": "targetHandle"
3229
- },
3230
- "arguments": [],
3231
- "directives": []
3232
- }
3233
- ]
3234
- }
3235
- }
3236
- ]
3237
- }
3238
- }
3239
- ]
3240
- }
3241
- }]
3242
- }
3243
- }]
3244
- };
3245
-
3246
154
  // src/generated/documents/wspace/CreateWorkflowTestCaseDocument.ts
3247
155
  const CreateWorkflowTestCaseDocument = {
3248
156
  "kind": "Document",
@@ -7123,7 +4031,7 @@ function canSaveRunAsTestCase(run) {
7123
4031
  const TEST_RUN_POLL_INTERVAL_MS = 2e3;
7124
4032
  /** Suite runs listed in the panel. */
7125
4033
  const TEST_RUN_HISTORY_LIMIT = 10;
7126
- function messageOf$1(error) {
4034
+ function messageOf(error) {
7127
4035
  return error instanceof Error ? error.message : String(error);
7128
4036
  }
7129
4037
  /** Puts a run first in the list, replacing an older copy of it. */
@@ -7166,7 +4074,7 @@ function useWorkflowTests(workflowKey, enabled) {
7166
4074
  } catch (err) {
7167
4075
  if (keyRef.current !== workflowKey) return;
7168
4076
  if (isForbiddenError(err)) setForbidden(true);
7169
- else setError(messageOf$1(err));
4077
+ else setError(messageOf(err));
7170
4078
  } finally {
7171
4079
  if (keyRef.current === workflowKey) setLoading(false);
7172
4080
  }
@@ -7199,7 +4107,7 @@ function useWorkflowTests(workflowKey, enabled) {
7199
4107
  setRuns((current) => upsertRun(current, run));
7200
4108
  if (!isTestRunOpen(run.status)) await refetchCases(key);
7201
4109
  } catch (err) {
7202
- if (!cancelled && keyRef.current === key) setError(messageOf$1(err));
4110
+ if (!cancelled && keyRef.current === key) setError(messageOf(err));
7203
4111
  } finally {
7204
4112
  if (!cancelled) setPollTick((tick) => tick + 1);
7205
4113
  }
@@ -7306,173 +4214,4 @@ async function saveRunAsTestCase(runId, name, description) {
7306
4214
  return created;
7307
4215
  }
7308
4216
 
7309
- // src/hooks/useWorkflowProposal.ts
7310
- /**
7311
- * useWorkflowProposal — drives one AI workflow proposal (BOFF-3662): start it
7312
- * (author, run fix or next node), poll `workflowProposal(id)` while it is
7313
- * PROCESSING, then apply, reject or cancel it.
7314
- *
7315
- * A proposal never changes a workflow by itself. Applying it creates a new
7316
- * DRAFT version (or a new DRAFT workflow); the server marks it STALE when the
7317
- * workflow changed after the proposal was made.
7318
- */
7319
- /** How often a PROCESSING proposal is polled. */
7320
- const PROPOSAL_POLL_INTERVAL_MS = 3e3;
7321
- /** Stop polling after this long; the server closes a stuck proposal after 20 minutes. */
7322
- const PROPOSAL_MAX_WAIT_MS = 36e4;
7323
- function messageOf(error) {
7324
- return error instanceof Error ? error.message : String(error);
7325
- }
7326
- /** Whether a proposal status means the model is still working. */
7327
- function isProposalRunning(status) {
7328
- return status === "PROCESSING";
7329
- }
7330
- function useWorkflowProposal() {
7331
- const [proposal, setProposal] = useState(null);
7332
- const [isWorking, setIsWorking] = useState(false);
7333
- const [isDeciding, setIsDeciding] = useState(false);
7334
- const [error, setError] = useState(null);
7335
- const [timedOut, setTimedOut] = useState(false);
7336
- const runRef = useRef(0);
7337
- const timerRef = useRef(null);
7338
- const clearTimer = useCallback(() => {
7339
- if (timerRef.current) clearTimeout(timerRef.current);
7340
- timerRef.current = null;
7341
- }, []);
7342
- useEffect(() => () => {
7343
- runRef.current++;
7344
- clearTimer();
7345
- }, [clearTimer]);
7346
- const reset = useCallback(() => {
7347
- runRef.current++;
7348
- clearTimer();
7349
- setProposal(null);
7350
- setIsWorking(false);
7351
- setIsDeciding(false);
7352
- setError(null);
7353
- setTimedOut(false);
7354
- }, [clearTimer]);
7355
- const poll = useCallback(async (run, id, startedAt) => {
7356
- if (run !== runRef.current) return;
7357
- try {
7358
- const result = throwIfResultError(await getFluidGridsClient().query({
7359
- query: WorkflowProposalDocument,
7360
- variables: { id },
7361
- fetchPolicy: "network-only"
7362
- }));
7363
- if (run !== runRef.current) return;
7364
- const next = result.data?.workflowProposal ?? null;
7365
- if (next) setProposal(next);
7366
- if (isProposalRunning(next ? String(next.status) : void 0)) {
7367
- if (Date.now() - startedAt < 36e4) {
7368
- timerRef.current = setTimeout(() => void poll(run, id, startedAt), PROPOSAL_POLL_INTERVAL_MS);
7369
- return;
7370
- }
7371
- setTimedOut(true);
7372
- } else notifyFluidGridsAiCreditsUpdated();
7373
- setIsWorking(false);
7374
- } catch (pollError) {
7375
- if (run !== runRef.current) return;
7376
- setError(messageOf(pollError));
7377
- setIsWorking(false);
7378
- }
7379
- }, []);
7380
- const start = useCallback(async (input) => {
7381
- const run = ++runRef.current;
7382
- clearTimer();
7383
- setProposal(null);
7384
- setError(null);
7385
- setTimedOut(false);
7386
- setIsWorking(true);
7387
- try {
7388
- const client = getFluidGridsClient();
7389
- let started;
7390
- if (input.kind === "runFix") started = throwIfResultError(await client.mutate({
7391
- mutation: ProposeRunFixDocument,
7392
- variables: { input: {
7393
- runId: input.runId,
7394
- ...input.prompt ? { prompt: input.prompt } : {}
7395
- } }
7396
- })).data?.proposeRunFix;
7397
- else started = throwIfResultError(await client.mutate({
7398
- mutation: ProposeWorkflowChangeDocument,
7399
- variables: { input: {
7400
- prompt: input.prompt,
7401
- ...input.workflowKey ? { workflowKey: input.workflowKey } : {},
7402
- ...input.baseVersion ? { baseVersion: input.baseVersion } : {},
7403
- ...input.template ? { template: input.template } : {}
7404
- } }
7405
- })).data?.proposeWorkflowChange;
7406
- if (!started?.id) throw new Error("The proposal did not start");
7407
- if (run !== runRef.current) return;
7408
- setProposal(started);
7409
- const id = started.id;
7410
- timerRef.current = setTimeout(() => void poll(run, id, Date.now()), PROPOSAL_POLL_INTERVAL_MS);
7411
- } catch (startError) {
7412
- if (run !== runRef.current) return;
7413
- setError(messageOf(startError));
7414
- setIsWorking(false);
7415
- }
7416
- }, [clearTimer, poll]);
7417
- const open = useCallback(async (id) => {
7418
- const run = ++runRef.current;
7419
- clearTimer();
7420
- setError(null);
7421
- setTimedOut(false);
7422
- setIsWorking(true);
7423
- await poll(run, id, Date.now());
7424
- }, [clearTimer, poll]);
7425
- const decide = useCallback(async (action) => {
7426
- const id = proposal?.id;
7427
- if (!id) return null;
7428
- const run = runRef.current;
7429
- setIsDeciding(true);
7430
- setError(null);
7431
- try {
7432
- const client = getFluidGridsClient();
7433
- let next;
7434
- if (action === "apply") next = throwIfResultError(await client.mutate({
7435
- mutation: ApplyWorkflowProposalDocument,
7436
- variables: { id }
7437
- })).data?.applyWorkflowProposal;
7438
- else if (action === "reject") next = throwIfResultError(await client.mutate({
7439
- mutation: RejectWorkflowProposalDocument,
7440
- variables: { id }
7441
- })).data?.rejectWorkflowProposal;
7442
- else {
7443
- clearTimer();
7444
- next = throwIfResultError(await client.mutate({
7445
- mutation: CancelWorkflowProposalDocument,
7446
- variables: { id }
7447
- })).data?.cancelWorkflowProposal;
7448
- setIsWorking(false);
7449
- }
7450
- if (run === runRef.current && next) setProposal(next);
7451
- return next ?? null;
7452
- } catch (decideError) {
7453
- if (run === runRef.current) setError(messageOf(decideError));
7454
- return null;
7455
- } finally {
7456
- if (run === runRef.current) setIsDeciding(false);
7457
- }
7458
- }, [clearTimer, proposal?.id]);
7459
- return {
7460
- proposal,
7461
- isWorking,
7462
- isDeciding,
7463
- error,
7464
- timedOut,
7465
- start,
7466
- open,
7467
- apply: useCallback(() => decide("apply"), [decide]),
7468
- reject: useCallback(async () => {
7469
- await decide("reject");
7470
- }, [decide]),
7471
- cancel: useCallback(async () => {
7472
- await decide("cancel");
7473
- }, [decide]),
7474
- reset
7475
- };
7476
- }
7477
-
7478
- export { ProposeRunFixDocument as A, RunWorkflowTestsDocument as C, CreateWorkflowTestCaseDocument as D, UpdateWorkflowTestCaseDocument as E, ApplyWorkflowProposalDocument as M, AgentTokenDeltaDocument as N, RejectWorkflowProposalDocument as O, WorkflowTestCasesDocument as S, DeleteWorkflowTestCaseDocument as T, agentLiveReplyState as _, canSaveRunAsTestCase as a, WorkflowTestRunsDocument as b, emptyTestCaseDraft as c, nextSortOrder as d, pinnedOutputsFromCanvas as f, useAgentTokenStream as g, testStatusTone as h, TEST_STATUS_TONE_CLASS as i, CancelWorkflowProposalDocument as j, ProposeWorkflowChangeDocument as k, enabledCaseIds as l, testStatusLabel as m, saveRunAsTestCase as n, draftFromTestCase as o, testRunSummaryText as p, useWorkflowTests as r, draftToInput as s, useWorkflowProposal as t, isTestRunOpen as u, agentTokenStreamsFor as v, CreateWorkflowTestCaseFromRunDocument as w, WorkflowTestRunDocument as x, latestAgentTokenStream as y };
4217
+ export { CreateWorkflowTestCaseFromRunDocument as C, AgentTokenDeltaDocument as D, CreateWorkflowTestCaseDocument as E, RunWorkflowTestsDocument as S, UpdateWorkflowTestCaseDocument as T, agentTokenStreamsFor as _, draftFromTestCase as a, WorkflowTestRunDocument as b, enabledCaseIds as c, pinnedOutputsFromCanvas as d, testRunSummaryText as f, agentLiveReplyState as g, useAgentTokenStream as h, canSaveRunAsTestCase as i, isTestRunOpen as l, testStatusTone as m, useWorkflowTests as n, draftToInput as o, testStatusLabel as p, TEST_STATUS_TONE_CLASS as r, emptyTestCaseDraft as s, saveRunAsTestCase as t, nextSortOrder as u, latestAgentTokenStream as v, DeleteWorkflowTestCaseDocument as w, WorkflowTestCasesDocument as x, WorkflowTestRunsDocument as y };