arkitekt-next 0.7.8__py3-none-any.whl

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.

Potentially problematic release.


This version of arkitekt-next might be problematic. Click here for more details.

Files changed (119) hide show
  1. arkitekt_next/__init__.py +43 -0
  2. arkitekt_next/apps/__init__.py +3 -0
  3. arkitekt_next/apps/easy.py +99 -0
  4. arkitekt_next/apps/next.py +40 -0
  5. arkitekt_next/apps/qt.py +97 -0
  6. arkitekt_next/apps/service/__init__.py +3 -0
  7. arkitekt_next/apps/service/fakts.py +88 -0
  8. arkitekt_next/apps/service/fakts_next.py +79 -0
  9. arkitekt_next/apps/service/fakts_qt.py +82 -0
  10. arkitekt_next/apps/service/fluss_next.py +31 -0
  11. arkitekt_next/apps/service/grant_registry.py +27 -0
  12. arkitekt_next/apps/service/herre.py +24 -0
  13. arkitekt_next/apps/service/herre_qt.py +57 -0
  14. arkitekt_next/apps/service/kabinet.py +31 -0
  15. arkitekt_next/apps/service/mikro_next.py +81 -0
  16. arkitekt_next/apps/service/rekuest_next.py +53 -0
  17. arkitekt_next/apps/service/unlok_next.py +32 -0
  18. arkitekt_next/apps/types.py +53 -0
  19. arkitekt_next/builders.py +264 -0
  20. arkitekt_next/cli/__init__.py +0 -0
  21. arkitekt_next/cli/commands/call/__init__.py +0 -0
  22. arkitekt_next/cli/commands/call/local.py +132 -0
  23. arkitekt_next/cli/commands/call/main.py +22 -0
  24. arkitekt_next/cli/commands/call/remote.py +90 -0
  25. arkitekt_next/cli/commands/gen/__init__.py +0 -0
  26. arkitekt_next/cli/commands/gen/compile.py +45 -0
  27. arkitekt_next/cli/commands/gen/init.py +122 -0
  28. arkitekt_next/cli/commands/gen/main.py +29 -0
  29. arkitekt_next/cli/commands/gen/watch.py +32 -0
  30. arkitekt_next/cli/commands/init/__init__.py +0 -0
  31. arkitekt_next/cli/commands/init/main.py +194 -0
  32. arkitekt_next/cli/commands/inspect/__init__.py +0 -0
  33. arkitekt_next/cli/commands/inspect/definitions.py +53 -0
  34. arkitekt_next/cli/commands/inspect/main.py +22 -0
  35. arkitekt_next/cli/commands/inspect/variables.py +92 -0
  36. arkitekt_next/cli/commands/manifest/__init__.py +0 -0
  37. arkitekt_next/cli/commands/manifest/inspect.py +42 -0
  38. arkitekt_next/cli/commands/manifest/main.py +25 -0
  39. arkitekt_next/cli/commands/manifest/scopes.py +155 -0
  40. arkitekt_next/cli/commands/manifest/version.py +147 -0
  41. arkitekt_next/cli/commands/manifest/wizard.py +94 -0
  42. arkitekt_next/cli/commands/port/__init__.py +0 -0
  43. arkitekt_next/cli/commands/port/build.py +231 -0
  44. arkitekt_next/cli/commands/port/init.py +82 -0
  45. arkitekt_next/cli/commands/port/main.py +31 -0
  46. arkitekt_next/cli/commands/port/publish.py +102 -0
  47. arkitekt_next/cli/commands/port/stage.py +59 -0
  48. arkitekt_next/cli/commands/port/utils.py +47 -0
  49. arkitekt_next/cli/commands/port/validate.py +78 -0
  50. arkitekt_next/cli/commands/port/wizard.py +329 -0
  51. arkitekt_next/cli/commands/run/__init__.py +0 -0
  52. arkitekt_next/cli/commands/run/dev.py +349 -0
  53. arkitekt_next/cli/commands/run/main.py +22 -0
  54. arkitekt_next/cli/commands/run/prod.py +57 -0
  55. arkitekt_next/cli/commands/run/utils.py +10 -0
  56. arkitekt_next/cli/commands/server/__init__.py +0 -0
  57. arkitekt_next/cli/commands/server/down.py +56 -0
  58. arkitekt_next/cli/commands/server/init.py +74 -0
  59. arkitekt_next/cli/commands/server/inspect.py +59 -0
  60. arkitekt_next/cli/commands/server/main.py +33 -0
  61. arkitekt_next/cli/commands/server/open.py +66 -0
  62. arkitekt_next/cli/commands/server/remove.py +60 -0
  63. arkitekt_next/cli/commands/server/stop.py +56 -0
  64. arkitekt_next/cli/commands/server/up.py +70 -0
  65. arkitekt_next/cli/commands/server/utils.py +33 -0
  66. arkitekt_next/cli/configs/base.yaml +867 -0
  67. arkitekt_next/cli/constants.py +63 -0
  68. arkitekt_next/cli/dockerfiles/vanilla.dockerfile +8 -0
  69. arkitekt_next/cli/errors.py +4 -0
  70. arkitekt_next/cli/inspect.py +1 -0
  71. arkitekt_next/cli/io.py +255 -0
  72. arkitekt_next/cli/main.py +83 -0
  73. arkitekt_next/cli/options.py +166 -0
  74. arkitekt_next/cli/schemas/fluss.schema.graphql +2446 -0
  75. arkitekt_next/cli/schemas/gucker.schema.graphql +8908 -0
  76. arkitekt_next/cli/schemas/kabinet.schema.graphql +515 -0
  77. arkitekt_next/cli/schemas/kluster.schema.graphql +109 -0
  78. arkitekt_next/cli/schemas/konviktion.schema.graphql +70 -0
  79. arkitekt_next/cli/schemas/kuay.schema.graphql +356 -0
  80. arkitekt_next/cli/schemas/mikro.schema.graphql +8908 -0
  81. arkitekt_next/cli/schemas/mikro_next.schema.graphql +1639 -0
  82. arkitekt_next/cli/schemas/napari.schema.graphql +8908 -0
  83. arkitekt_next/cli/schemas/omero_ark.schema.graphql +100 -0
  84. arkitekt_next/cli/schemas/port.schema.graphql +356 -0
  85. arkitekt_next/cli/schemas/rekuest.schema.graphql +4630 -0
  86. arkitekt_next/cli/schemas/rekuest_next.schema.graphql +1159 -0
  87. arkitekt_next/cli/schemas/unlok.schema.graphql +1013 -0
  88. arkitekt_next/cli/templates/filter.py +26 -0
  89. arkitekt_next/cli/templates/simple.py +67 -0
  90. arkitekt_next/cli/texts.py +20 -0
  91. arkitekt_next/cli/types.py +365 -0
  92. arkitekt_next/cli/ui.py +111 -0
  93. arkitekt_next/cli/utils.py +15 -0
  94. arkitekt_next/cli/validators.py +17 -0
  95. arkitekt_next/cli/vars.py +39 -0
  96. arkitekt_next/cli/versions/v1.yaml +1 -0
  97. arkitekt_next/constants.py +6 -0
  98. arkitekt_next/model.py +110 -0
  99. arkitekt_next/qt/__init__.py +9 -0
  100. arkitekt_next/qt/assets/dark/gear.png +0 -0
  101. arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
  102. arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
  103. arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
  104. arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
  105. arkitekt_next/qt/assets/light/gear.png +0 -0
  106. arkitekt_next/qt/assets/light/green pulse.gif +0 -0
  107. arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
  108. arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
  109. arkitekt_next/qt/assets/light/red pulse.gif +0 -0
  110. arkitekt_next/qt/magic_bar.py +545 -0
  111. arkitekt_next/qt/utils.py +30 -0
  112. arkitekt_next/service_registry.py +51 -0
  113. arkitekt_next/tqdm.py +43 -0
  114. arkitekt_next/utils.py +38 -0
  115. arkitekt_next-0.7.8.dist-info/LICENSE +21 -0
  116. arkitekt_next-0.7.8.dist-info/METADATA +155 -0
  117. arkitekt_next-0.7.8.dist-info/RECORD +119 -0
  118. arkitekt_next-0.7.8.dist-info/WHEEL +4 -0
  119. arkitekt_next-0.7.8.dist-info/entry_points.txt +3 -0
@@ -0,0 +1,2446 @@
1
+ """
2
+ The root Query
3
+ """
4
+ type Query {
5
+ hello: String
6
+ void: String
7
+ run(
8
+ """
9
+ The Id of the Graph
10
+ """
11
+ id: ID
12
+
13
+ """
14
+ The assignation of the Graph
15
+ """
16
+ assignation: ID
17
+ ): Run
18
+ eventsBetween(run: ID!, min: Int, max: Int): [RunEvent]
19
+ snapshot(
20
+ """
21
+ The Id of the Graph
22
+ """
23
+ id: ID!
24
+ ): Snapshot
25
+ runs(
26
+ """
27
+ Filter by values
28
+ """
29
+ ids: [ID]
30
+ createdAfter: DateTime
31
+ createdBefore: DateTime
32
+ createdAt: DateTime
33
+ createdDay: DateTime
34
+ createdWhile: [String]
35
+
36
+ """
37
+ Ordering
38
+ """
39
+ order: String
40
+
41
+ """
42
+ Filter by pinned
43
+ """
44
+ pinned: Boolean
45
+
46
+ """
47
+ Search for substring of name
48
+ """
49
+ name: String
50
+
51
+ """
52
+ Query limit
53
+ """
54
+ limit: Int
55
+
56
+ """
57
+ Query offset
58
+ """
59
+ offset: Int
60
+ ): [Run]
61
+ myruns(
62
+ """
63
+ Filter by values
64
+ """
65
+ ids: [ID]
66
+ createdAfter: DateTime
67
+ createdBefore: DateTime
68
+ createdAt: DateTime
69
+ createdDay: DateTime
70
+ createdWhile: [String]
71
+
72
+ """
73
+ Ordering
74
+ """
75
+ order: String
76
+
77
+ """
78
+ Filter by pinned
79
+ """
80
+ pinned: Boolean
81
+
82
+ """
83
+ Search for substring of name
84
+ """
85
+ name: String
86
+
87
+ """
88
+ Query limit
89
+ """
90
+ limit: Int
91
+
92
+ """
93
+ Query offset
94
+ """
95
+ offset: Int
96
+ ): [Run]
97
+ runLogs(
98
+ """
99
+ Filter by values
100
+ """
101
+ ids: [ID]
102
+ run: ID
103
+ ): [RunLog]
104
+ snapshots(
105
+ """
106
+ Filter by values
107
+ """
108
+ ids: [ID]
109
+ run: ID
110
+ ): [Snapshot]
111
+ workspace(
112
+ """
113
+ The Id of the Graph
114
+ """
115
+ id: ID!
116
+ ): Workspace
117
+ workspaces(
118
+ """
119
+ Filter by values
120
+ """
121
+ ids: [ID]
122
+ createdAfter: DateTime
123
+ createdBefore: DateTime
124
+ createdAt: DateTime
125
+ createdDay: DateTime
126
+ createdWhile: [String]
127
+
128
+ """
129
+ Ordering
130
+ """
131
+ order: String
132
+
133
+ """
134
+ Filter by pinned
135
+ """
136
+ pinned: Boolean
137
+
138
+ """
139
+ Search for substring of name
140
+ """
141
+ name: String
142
+
143
+ """
144
+ Search for substring of name
145
+ """
146
+ search: String
147
+
148
+ """
149
+ Query limit
150
+ """
151
+ limit: Int
152
+
153
+ """
154
+ Query offset
155
+ """
156
+ offset: Int
157
+ ): [Workspace]
158
+ flows(
159
+ """
160
+ Filter by values
161
+ """
162
+ ids: [ID]
163
+ createdAfter: DateTime
164
+ createdBefore: DateTime
165
+ createdAt: DateTime
166
+ createdDay: DateTime
167
+ createdWhile: [String]
168
+
169
+ """
170
+ Ordering
171
+ """
172
+ order: String
173
+
174
+ """
175
+ Filter by pinned
176
+ """
177
+ pinned: Boolean
178
+
179
+ """
180
+ Search for substring of name
181
+ """
182
+ name: String
183
+ workspace: ID
184
+
185
+ """
186
+ Query limit
187
+ """
188
+ limit: Int
189
+
190
+ """
191
+ Query offset
192
+ """
193
+ offset: Int
194
+ ): [Flow]
195
+ myflows(
196
+ """
197
+ Filter by values
198
+ """
199
+ ids: [ID]
200
+ createdAfter: DateTime
201
+ createdBefore: DateTime
202
+ createdAt: DateTime
203
+ createdDay: DateTime
204
+ createdWhile: [String]
205
+
206
+ """
207
+ Ordering
208
+ """
209
+ order: String
210
+
211
+ """
212
+ Filter by pinned
213
+ """
214
+ pinned: Boolean
215
+
216
+ """
217
+ Search for substring of name
218
+ """
219
+ name: String
220
+ workspace: ID
221
+
222
+ """
223
+ Query limit
224
+ """
225
+ limit: Int
226
+
227
+ """
228
+ Query offset
229
+ """
230
+ offset: Int
231
+ ): [Flow]
232
+ flow(
233
+ """
234
+ A unique ID for this Graph
235
+ """
236
+ id: ID
237
+ ): Flow
238
+ myworkspaces(
239
+ """
240
+ Filter by values
241
+ """
242
+ ids: [ID]
243
+ createdAfter: DateTime
244
+ createdBefore: DateTime
245
+ createdAt: DateTime
246
+ createdDay: DateTime
247
+ createdWhile: [String]
248
+
249
+ """
250
+ Ordering
251
+ """
252
+ order: String
253
+
254
+ """
255
+ Filter by pinned
256
+ """
257
+ pinned: Boolean
258
+
259
+ """
260
+ Search for substring of name
261
+ """
262
+ name: String
263
+
264
+ """
265
+ Search for substring of name
266
+ """
267
+ search: String
268
+
269
+ """
270
+ Query limit
271
+ """
272
+ limit: Int
273
+
274
+ """
275
+ Query offset
276
+ """
277
+ offset: Int
278
+ ): [Workspace]
279
+ reactivetemplate(
280
+ """
281
+ The Id of the Graph
282
+ """
283
+ id: ID
284
+ implementation: ReactiveImplementationModelInput
285
+ ): ReactiveTemplate
286
+ reactivetemplates(
287
+ """
288
+ Filter by values
289
+ """
290
+ ids: [ID]
291
+
292
+ """
293
+ Search for substring of name
294
+ """
295
+ name: String
296
+ ): [ReactiveTemplate]
297
+ condition(
298
+ """
299
+ The Id of the Graph
300
+ """
301
+ id: ID
302
+
303
+ """
304
+ The assignation of the Graph
305
+ """
306
+ provision: ID
307
+ ): Condition
308
+ conditionEventsBetween(
309
+ condition: ID!
310
+ min: DateTime
311
+ max: DateTime
312
+ ): [ConditionEvent]
313
+ conditionSnapshot(
314
+ """
315
+ The Id of the Graph
316
+ """
317
+ id: ID!
318
+ ): ConditionSnapshot
319
+ conditions(
320
+ """
321
+ Filter by values
322
+ """
323
+ ids: [ID]
324
+ createdAfter: DateTime
325
+ createdBefore: DateTime
326
+ createdAt: DateTime
327
+ createdDay: DateTime
328
+ createdWhile: [String]
329
+
330
+ """
331
+ Ordering
332
+ """
333
+ order: String
334
+
335
+ """
336
+ Filter by pinned
337
+ """
338
+ pinned: Boolean
339
+
340
+ """
341
+ Search for substring of name
342
+ """
343
+ name: String
344
+
345
+ """
346
+ Query limit
347
+ """
348
+ limit: Int
349
+
350
+ """
351
+ Query offset
352
+ """
353
+ offset: Int
354
+ ): [Condition]
355
+ myconditions(
356
+ """
357
+ Filter by values
358
+ """
359
+ ids: [ID]
360
+ createdAfter: DateTime
361
+ createdBefore: DateTime
362
+ createdAt: DateTime
363
+ createdDay: DateTime
364
+ createdWhile: [String]
365
+
366
+ """
367
+ Ordering
368
+ """
369
+ order: String
370
+
371
+ """
372
+ Filter by pinned
373
+ """
374
+ pinned: Boolean
375
+
376
+ """
377
+ Search for substring of name
378
+ """
379
+ name: String
380
+
381
+ """
382
+ Query limit
383
+ """
384
+ limit: Int
385
+
386
+ """
387
+ Query offset
388
+ """
389
+ offset: Int
390
+ ): [Condition]
391
+ conditionSnapshots(
392
+ """
393
+ Filter by values
394
+ """
395
+ ids: [ID]
396
+ condition: ID
397
+ ): [ConditionSnapshot]
398
+ permissionsFor(model: SharableModels!, name: String): [Permission]
399
+ permissionsOf(model: SharableModels!, id: ID!): PermissionsOfReturn
400
+ me: User
401
+ user(
402
+ """
403
+ The user's id
404
+ """
405
+ id: ID
406
+
407
+ """
408
+ The user's id
409
+ """
410
+ email: String
411
+ ): User
412
+
413
+ """
414
+ Get a list of users
415
+ """
416
+ users(
417
+ """
418
+ Search for substring of name
419
+ """
420
+ username: String
421
+
422
+ """
423
+ Search for substring of name
424
+ """
425
+ email: String
426
+
427
+ """
428
+ Search for substring of name
429
+ """
430
+ search: String
431
+ ): [User]
432
+
433
+ "Comments for a specific object\n \n This query returns all comments for a specific object. The object is\n specified by the `model` and `id` arguments. The `model` argument is\n a string that is the name of the model. The `id` argument is the id of\n the object.\n\n You can only query for comments for objects that you have access to.\n \n "
434
+ commentsfor(deep: Boolean, model: CommentableModels!, id: ID): [Comment]
435
+ mymentions: [Comment]
436
+ comment(id: ID!): Comment
437
+ }
438
+
439
+ type Run {
440
+ """
441
+ """
442
+ id: ID!
443
+
444
+ """
445
+ """
446
+ createdAt: DateTime!
447
+
448
+ """
449
+ """
450
+ createdBy: User
451
+
452
+ """
453
+ """
454
+ createdWhile: String
455
+
456
+ """
457
+ """
458
+ flow: Flow
459
+
460
+ """
461
+ """
462
+ assignation: String
463
+
464
+ """
465
+ """
466
+ status: String
467
+
468
+ """
469
+ """
470
+ snapshotInterval: Int
471
+
472
+ """
473
+ The users that have pinned the position
474
+ """
475
+ pinnedBy: [User!]!
476
+
477
+ """
478
+ """
479
+ snapshots: [Snapshot!]!
480
+
481
+ """
482
+ """
483
+ logs: [RunLog!]!
484
+
485
+ """
486
+ """
487
+ events: [RunEvent!]!
488
+ pinned: Boolean
489
+ latestSnapshot: Snapshot
490
+ }
491
+
492
+ """
493
+ The `DateTime` scalar type represents a DateTime
494
+ value as specified by
495
+ [iso8601](https://en.wikipedia.org/wiki/ISO_8601).
496
+ """
497
+ scalar DateTime
498
+
499
+ """
500
+ A reflection on the real User
501
+ """
502
+ type User {
503
+ """
504
+ """
505
+ id: ID!
506
+
507
+ """
508
+ """
509
+ password: String!
510
+
511
+ """
512
+ """
513
+ lastLogin: DateTime
514
+
515
+ """
516
+ Designates that this user has all permissions without explicitly assigning them.
517
+ """
518
+ isSuperuser: Boolean!
519
+
520
+ """
521
+ The groups this user belongs to. A user will get all permissions granted to each of their groups.
522
+ """
523
+ groups: [Group!]!
524
+
525
+ """
526
+ Specific permissions for this user.
527
+ """
528
+ userPermissions: [Permission!]!
529
+
530
+ """
531
+ Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
532
+ """
533
+ username: String!
534
+
535
+ """
536
+ """
537
+ firstName: String!
538
+
539
+ """
540
+ """
541
+ lastName: String!
542
+
543
+ """
544
+ """
545
+ email: String!
546
+
547
+ """
548
+ Designates whether the user can log into this admin site.
549
+ """
550
+ isStaff: Boolean!
551
+
552
+ """
553
+ Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
554
+ """
555
+ isActive: Boolean!
556
+
557
+ """
558
+ """
559
+ dateJoined: DateTime!
560
+
561
+ """
562
+ The sub of the user
563
+ """
564
+ sub: String
565
+
566
+ """
567
+ """
568
+ iss: String
569
+
570
+ """
571
+ """
572
+ workspaceSet: [Workspace!]!
573
+
574
+ """
575
+ The users that have pinned the position
576
+ """
577
+ pinnedWorkspaces: [Workspace!]!
578
+
579
+ """
580
+ """
581
+ workspaceCreatedBy: [Workspace!]!
582
+
583
+ """
584
+ """
585
+ flowSet: [Flow!]!
586
+
587
+ """
588
+ The users that have pinned the position
589
+ """
590
+ pinnedFlows: [Flow!]!
591
+
592
+ """
593
+ """
594
+ flowCreatedBy: [Flow!]!
595
+
596
+ """
597
+ The users that have pinned the position
598
+ """
599
+ pinnedRuns: [Run!]!
600
+
601
+ """
602
+ """
603
+ runCreatedBy: [Run!]!
604
+
605
+ """
606
+ The users that have pinned the position
607
+ """
608
+ pinnedConditions: [Condition!]!
609
+
610
+ """
611
+ """
612
+ conditionCreatedBy: [Condition!]!
613
+
614
+ """
615
+ """
616
+ comments: [Comment!]!
617
+
618
+ """
619
+ """
620
+ mentionedIn: [Comment!]!
621
+
622
+ """
623
+ """
624
+ resolvedComments: [Comment!]!
625
+
626
+ """
627
+ The associated color for this user
628
+ """
629
+ color: String
630
+
631
+ """
632
+ The name of the user
633
+ """
634
+ name: String
635
+ }
636
+
637
+ type Group {
638
+ """
639
+ """
640
+ id: ID!
641
+
642
+ """
643
+ """
644
+ name: String!
645
+
646
+ """
647
+ """
648
+ permissions: [Permission!]!
649
+
650
+ """
651
+ The groups this user belongs to. A user will get all permissions granted to each of their groups.
652
+ """
653
+ userSet: [User!]!
654
+ }
655
+
656
+ """
657
+ A Permission object
658
+
659
+ This object represents a permission in the system. Permissions are
660
+ used to control access to different parts of the system. Permissions
661
+ are assigned to groups and users. A user has access to a part of the
662
+ system if the user is a member of a group that has the permission
663
+ assigned to it.
664
+ """
665
+ type Permission {
666
+ """
667
+ """
668
+ id: ID!
669
+
670
+ """
671
+ """
672
+ name: String!
673
+
674
+ """
675
+ """
676
+ codename: String!
677
+
678
+ """
679
+ """
680
+ groupSet: [Group!]!
681
+
682
+ """
683
+ Specific permissions for this user.
684
+ """
685
+ userSet: [User!]!
686
+
687
+ """
688
+ Unique ID for this permission
689
+ """
690
+ unique: String!
691
+ }
692
+
693
+ type Workspace {
694
+ """
695
+ """
696
+ id: ID!
697
+
698
+ """
699
+ """
700
+ createdAt: DateTime!
701
+
702
+ """
703
+ """
704
+ createdBy: User
705
+
706
+ """
707
+ """
708
+ createdWhile: String
709
+ restrict: [String]!
710
+
711
+ """
712
+ """
713
+ name: String
714
+
715
+ """
716
+ """
717
+ creator: User
718
+
719
+ """
720
+ The users that have pinned the position
721
+ """
722
+ pinnedBy: [User!]!
723
+
724
+ """
725
+ """
726
+ flows: [Flow!]!
727
+ pinned: Boolean
728
+
729
+ """
730
+ The latest flow
731
+ """
732
+ latestFlow: Flow
733
+ }
734
+
735
+ type Flow {
736
+ """
737
+ """
738
+ id: ID!
739
+
740
+ """
741
+ """
742
+ createdAt: DateTime!
743
+
744
+ """
745
+ """
746
+ createdBy: User
747
+
748
+ """
749
+ """
750
+ createdWhile: String
751
+
752
+ """
753
+ """
754
+ workspace: Workspace
755
+
756
+ """
757
+ """
758
+ creator: User
759
+ restrict: GenericScalar
760
+
761
+ """
762
+ """
763
+ version: String!
764
+ name: String!
765
+ nodes: GenericScalar
766
+ edges: GenericScalar
767
+ graph: FlowGraph!
768
+
769
+ """
770
+ """
771
+ hash: String!
772
+
773
+ """
774
+ """
775
+ screenshot: String
776
+
777
+ """
778
+ """
779
+ description: String
780
+
781
+ """
782
+ Is this a brittle flow? aka. should the flow fail on any exception?
783
+ """
784
+ brittle: Boolean!
785
+
786
+ """
787
+ The users that have pinned the position
788
+ """
789
+ pinnedBy: [User!]!
790
+
791
+ """
792
+ """
793
+ runs: [Run!]!
794
+
795
+ """
796
+ """
797
+ conditions: [Condition!]!
798
+ pinned: Boolean
799
+ zoom: Float
800
+ position: [Int]
801
+ }
802
+
803
+ """
804
+ The `GenericScalar` scalar type represents a generic
805
+ GraphQL scalar value that could be:
806
+ String, Boolean, Int, Float, List or Object.
807
+ """
808
+ scalar GenericScalar
809
+
810
+ type FlowGraph {
811
+ zoom: Float
812
+ position: [Int]
813
+ nodes: [FlowNode]!
814
+ edges: [FlowEdge]!
815
+ globals: [Global]!
816
+ args: [Port]!
817
+ returns: [Port]!
818
+ }
819
+
820
+ interface FlowNode {
821
+ id: String!
822
+ position: Position!
823
+ parentNode: ID
824
+ typename: String!
825
+ }
826
+
827
+ type Position {
828
+ x: Int!
829
+ y: Int!
830
+ }
831
+
832
+ interface FlowEdge {
833
+ id: String!
834
+ source: String!
835
+ target: String!
836
+ sourceHandle: String!
837
+ targetHandle: String!
838
+ typename: String!
839
+ }
840
+
841
+ type Global {
842
+ toKeys: [String]!
843
+ port: Port!
844
+ }
845
+
846
+ type Port {
847
+ key: String!
848
+
849
+ """
850
+ The key of the arg
851
+ """
852
+ nullable: Boolean!
853
+ scope: Scope!
854
+ default: Any
855
+ identifier: String
856
+ variants: [PortChild]
857
+ kind: StreamKind!
858
+ child: PortChild
859
+ label: String
860
+ description: String
861
+ assignWidget: Widget
862
+ returnWidget: ReturnWidget
863
+ }
864
+
865
+ """
866
+ Scope of the Port
867
+ """
868
+ enum Scope {
869
+ GLOBAL
870
+ LOCAL
871
+ }
872
+
873
+ """
874
+ Any any field
875
+ """
876
+ scalar Any
877
+
878
+ type PortChild {
879
+ nullable: Boolean!
880
+ kind: StreamKind!
881
+ scope: Scope!
882
+ identifier: String
883
+ variants: [PortChild]
884
+ child: PortChild
885
+
886
+ """
887
+ Description of the Widget
888
+ """
889
+ assignWidget: Widget
890
+
891
+ """
892
+ A return widget
893
+ """
894
+ returnWidget: ReturnWidget
895
+ }
896
+
897
+ enum StreamKind {
898
+ INT
899
+ STRING
900
+ STRUCTURE
901
+ FLOAT
902
+ LIST
903
+ BOOL
904
+ ENUM
905
+ DICT
906
+ UNION
907
+ UNSET
908
+ }
909
+
910
+ type Widget {
911
+ """
912
+ type
913
+ """
914
+ kind: String!
915
+
916
+ """
917
+ Do we have a possible
918
+ """
919
+ query: String
920
+
921
+ """
922
+ The dependencies of this port
923
+ """
924
+ dependencies: [String]
925
+
926
+ """
927
+ The dependencies of this port
928
+ """
929
+ choices: [Choice]
930
+
931
+ """
932
+ Max value for int widget
933
+ """
934
+ max: Float
935
+
936
+ """
937
+ Max value for int widget
938
+ """
939
+ min: Float
940
+
941
+ """
942
+ Max value for int widget
943
+ """
944
+ step: Float
945
+
946
+ """
947
+ Placeholder for any widget
948
+ """
949
+ placeholder: String
950
+
951
+ """
952
+ Is this a paragraph
953
+ """
954
+ asParagraph: Boolean
955
+
956
+ """
957
+ A hook for the app to call
958
+ """
959
+ hook: String
960
+
961
+ """
962
+ A hook for the app to call
963
+ """
964
+ ward: String
965
+ }
966
+
967
+ type Choice {
968
+ value: Any!
969
+ label: String!
970
+ description: String
971
+ }
972
+
973
+ type ReturnWidget {
974
+ """
975
+ type
976
+ """
977
+ kind: String!
978
+
979
+ """
980
+ The graphql query for this port
981
+ """
982
+ query: String
983
+
984
+ """
985
+ The dependencies of this port
986
+ """
987
+ dependencies: [String]
988
+
989
+ """
990
+ The dependencies of this port
991
+ """
992
+ choices: [Choice]
993
+ }
994
+
995
+ type Condition {
996
+ """
997
+ """
998
+ id: ID!
999
+
1000
+ """
1001
+ """
1002
+ createdAt: DateTime!
1003
+
1004
+ """
1005
+ """
1006
+ createdBy: User
1007
+
1008
+ """
1009
+ """
1010
+ createdWhile: String
1011
+
1012
+ """
1013
+ """
1014
+ flow: Flow
1015
+
1016
+ """
1017
+ """
1018
+ provision: String
1019
+
1020
+ """
1021
+ """
1022
+ snapshotInterval: Int
1023
+
1024
+ """
1025
+ The users that have pinned the position
1026
+ """
1027
+ pinnedBy: [User!]!
1028
+
1029
+ """
1030
+ """
1031
+ snapshots: [ConditionSnapshot!]!
1032
+
1033
+ """
1034
+ """
1035
+ events: [ConditionEvent!]!
1036
+ pinned: Boolean
1037
+ latestSnapshot: ConditionSnapshot
1038
+ }
1039
+
1040
+ type ConditionSnapshot {
1041
+ """
1042
+ """
1043
+ id: ID!
1044
+
1045
+ """
1046
+ """
1047
+ createdAt: DateTime!
1048
+
1049
+ """
1050
+ """
1051
+ condition: Condition
1052
+
1053
+ """
1054
+ """
1055
+ status: String
1056
+
1057
+ """
1058
+ """
1059
+ events: [ConditionEvent!]!
1060
+ }
1061
+
1062
+ type ConditionEvent {
1063
+ """
1064
+ """
1065
+ id: ID!
1066
+
1067
+ """
1068
+ """
1069
+ createdAt: DateTime!
1070
+
1071
+ """
1072
+ """
1073
+ condition: Condition
1074
+
1075
+ """
1076
+ """
1077
+ snapshot: [ConditionSnapshot!]!
1078
+ source: String
1079
+ value: String!
1080
+ state: ContractStatus!
1081
+ }
1082
+
1083
+ """
1084
+ Scope of the Port
1085
+ """
1086
+ enum ContractStatus {
1087
+ ACTIVE
1088
+ INACTIVE
1089
+ }
1090
+
1091
+ """
1092
+ A comment
1093
+
1094
+ A comment is a user generated comment on a commentable object. A comment can be a reply to another comment or a top level comment.
1095
+ Comments can be nested to any depth. A comment can be edited and deleted by the user that created it.
1096
+ """
1097
+ type Comment {
1098
+ """
1099
+ """
1100
+ id: ID!
1101
+
1102
+ """
1103
+ The content type of the commentable object
1104
+ """
1105
+ contentType: CommentableModels
1106
+
1107
+ """
1108
+ """
1109
+ objectId: Int!
1110
+
1111
+ """
1112
+ """
1113
+ user: User!
1114
+
1115
+ """
1116
+ """
1117
+ text: String!
1118
+
1119
+ """
1120
+ """
1121
+ createdAt: DateTime!
1122
+
1123
+ """
1124
+ """
1125
+ parent: Comment
1126
+
1127
+ """
1128
+ The descendents of the comment (this referes to the Comment Tree)
1129
+ """
1130
+ descendents: [Descendent]
1131
+
1132
+ """
1133
+ """
1134
+ mentions: [User!]!
1135
+
1136
+ """
1137
+ """
1138
+ resolved: DateTime
1139
+
1140
+ """
1141
+ """
1142
+ resolvedBy: User
1143
+
1144
+ """
1145
+ Comments that are replies to this comment
1146
+ """
1147
+ children(
1148
+ """
1149
+ How many children to return
1150
+ """
1151
+ limit: Int
1152
+
1153
+ """
1154
+ The offset for the children
1155
+ """
1156
+ offset: Int
1157
+ ): [Comment]
1158
+ }
1159
+
1160
+ enum CommentableModels {
1161
+ FLOW_WORKSPACE
1162
+ FLOW_FLOW
1163
+ FLOW_RUN
1164
+ FLOW_SNAPSHOT
1165
+ FLOW_RUNLOG
1166
+ FLOW_RUNEVENT
1167
+ FLOW_REACTIVETEMPLATE
1168
+ FLOW_CONDITION
1169
+ FLOW_CONDITIONSNAPSHOT
1170
+ FLOW_CONDITIONEVENT
1171
+ }
1172
+
1173
+ """
1174
+ A descendent of a node in the comment tree
1175
+ """
1176
+ interface Descendent {
1177
+ typename: String
1178
+ }
1179
+
1180
+ type Snapshot {
1181
+ """
1182
+ """
1183
+ id: ID!
1184
+
1185
+ """
1186
+ """
1187
+ createdAt: DateTime!
1188
+
1189
+ """
1190
+ """
1191
+ run: Run
1192
+
1193
+ """
1194
+ """
1195
+ t: Int!
1196
+
1197
+ """
1198
+ """
1199
+ status: String
1200
+
1201
+ """
1202
+ """
1203
+ events: [RunEvent!]!
1204
+ }
1205
+
1206
+ type RunEvent {
1207
+ """
1208
+ """
1209
+ id: ID!
1210
+
1211
+ """
1212
+ """
1213
+ createdAt: DateTime!
1214
+
1215
+ """
1216
+ """
1217
+ run: Run
1218
+
1219
+ """
1220
+ """
1221
+ snapshot: [Snapshot!]!
1222
+
1223
+ """
1224
+ """
1225
+ type: RunEventType!
1226
+
1227
+ """
1228
+ """
1229
+ t: Int!
1230
+ causedBy: [Int]
1231
+ source: String!
1232
+ handle: String!
1233
+ value: EventValue
1234
+ }
1235
+
1236
+ """
1237
+ An enumeration.
1238
+ """
1239
+ enum RunEventType {
1240
+ """
1241
+ NEXT (Value represent Item)
1242
+ """
1243
+ NEXT
1244
+
1245
+ """
1246
+ Error (Value represent Exception)
1247
+ """
1248
+ ERROR
1249
+
1250
+ """
1251
+ COMPLETE (Value is none)
1252
+ """
1253
+ COMPLETE
1254
+
1255
+ """
1256
+ UNKNOWN (Should never be used)
1257
+ """
1258
+ UNKNOWN
1259
+ }
1260
+
1261
+ """
1262
+ Any any field
1263
+ """
1264
+ scalar EventValue
1265
+
1266
+ type RunLog {
1267
+ """
1268
+ """
1269
+ id: ID!
1270
+
1271
+ """
1272
+ """
1273
+ run: Run
1274
+
1275
+ """
1276
+ """
1277
+ log: String
1278
+ node: String!
1279
+ }
1280
+
1281
+ type ReactiveTemplate {
1282
+ """
1283
+ """
1284
+ id: ID!
1285
+ name: String!
1286
+
1287
+ """
1288
+ """
1289
+ description: String
1290
+ implementation: ReactiveImplementationModelInput!
1291
+ instream: [[Port]]!
1292
+ outstream: [[Port]]!
1293
+ constream: [[Port]]!
1294
+ defaults: GenericScalar
1295
+ constants: [Port]
1296
+ }
1297
+
1298
+ """
1299
+ An enumeration.
1300
+ """
1301
+ enum ReactiveImplementationModelInput {
1302
+ """
1303
+ ZIP (Zip the data)
1304
+ """
1305
+ ZIP
1306
+
1307
+ """
1308
+ COMBINELATEST (Combine values with latest value from each stream)
1309
+ """
1310
+ COMBINELATEST
1311
+
1312
+ """
1313
+ WITHLATEST (Combine a leading value with the latest value)
1314
+ """
1315
+ WITHLATEST
1316
+
1317
+ """
1318
+ BUFFER_COMPLETE (Buffer values until complete is retrieved)
1319
+ """
1320
+ BUFFER_COMPLETE
1321
+
1322
+ """
1323
+ BUFFER_UNTIL (Buffer values until signal is send)
1324
+ """
1325
+ BUFFER_UNTIL
1326
+
1327
+ """
1328
+ DELAY (Delay the data)
1329
+ """
1330
+ DELAY
1331
+
1332
+ """
1333
+ DELAY_UNTIL (Delay the data until signal is send)
1334
+ """
1335
+ DELAY_UNTIL
1336
+
1337
+ """
1338
+ CHUNK (Chunk the data)
1339
+ """
1340
+ CHUNK
1341
+
1342
+ """
1343
+ SPLIT (Split the data)
1344
+ """
1345
+ SPLIT
1346
+
1347
+ """
1348
+ OMIT (Omit the data)
1349
+ """
1350
+ OMIT
1351
+
1352
+ """
1353
+ ENSURE (Ensure the data (discards None in the stream))
1354
+ """
1355
+ ENSURE
1356
+
1357
+ """
1358
+ ADD (Add a number to the data)
1359
+ """
1360
+ ADD
1361
+
1362
+ """
1363
+ SUBTRACT (Subtract a number from the data)
1364
+ """
1365
+ SUBTRACT
1366
+
1367
+ """
1368
+ MULTIPLY (Multiply the data with a number)
1369
+ """
1370
+ MULTIPLY
1371
+
1372
+ """
1373
+ DIVIDE (Divide the data with a number)
1374
+ """
1375
+ DIVIDE
1376
+
1377
+ """
1378
+ MODULO (Modulo the data with a number)
1379
+ """
1380
+ MODULO
1381
+
1382
+ """
1383
+ POWER (Power the data with a number)
1384
+ """
1385
+ POWER
1386
+
1387
+ """
1388
+ PREFIX (Prefix the data with a string)
1389
+ """
1390
+ PREFIX
1391
+
1392
+ """
1393
+ SUFFIX (Suffix the data with a string)
1394
+ """
1395
+ SUFFIX
1396
+
1397
+ """
1398
+ FILTER (Filter the data of a union)
1399
+ """
1400
+ FILTER
1401
+
1402
+ """
1403
+ GATE (Gate the data, first value is gated, second is gate)
1404
+ """
1405
+ GATE
1406
+
1407
+ """
1408
+ TO_LIST (Convert to list)
1409
+ """
1410
+ TO_LIST
1411
+
1412
+ """
1413
+ FOREACH (Foreach element in list)
1414
+ """
1415
+ FOREACH
1416
+
1417
+ """
1418
+ IF (If condition is met)
1419
+ """
1420
+ IF
1421
+
1422
+ """
1423
+ AND (AND condition)
1424
+ """
1425
+ AND
1426
+
1427
+ """
1428
+ ALL (establish if all values are Trueish)
1429
+ """
1430
+ ALL
1431
+ }
1432
+
1433
+ """
1434
+ Sharable Models are models that can be shared amongst users and groups. They representent the models of the DB
1435
+ """
1436
+ enum SharableModels {
1437
+ FLOW_WORKSPACE
1438
+ FLOW_FLOW
1439
+ FLOW_RUN
1440
+ FLOW_SNAPSHOT
1441
+ FLOW_RUNLOG
1442
+ FLOW_RUNEVENT
1443
+ FLOW_REACTIVETEMPLATE
1444
+ FLOW_CONDITION
1445
+ FLOW_CONDITIONSNAPSHOT
1446
+ FLOW_CONDITIONEVENT
1447
+ }
1448
+
1449
+ type PermissionsOfReturn {
1450
+ available: [Permission]
1451
+ userAssignments: [UserAssignment]
1452
+ groupAssignments: [GroupAssignment]
1453
+ }
1454
+
1455
+ type UserAssignment {
1456
+ permissions: [String]!
1457
+
1458
+ """
1459
+ A query that returns an image path
1460
+ """
1461
+ user: User!
1462
+ }
1463
+
1464
+ type GroupAssignment {
1465
+ permissions: [String]!
1466
+
1467
+ """
1468
+ A query that returns an image path
1469
+ """
1470
+ group: Group!
1471
+ }
1472
+
1473
+ """
1474
+ The root Mutation
1475
+ """
1476
+ type Mutation {
1477
+ updateworkspace(
1478
+ brittle: Boolean = false
1479
+ graph: GraphInput
1480
+ id: ID!
1481
+ screenshot: ImageFile
1482
+ ): Workspace
1483
+ importflow(graph: GraphInput, name: String): Workspace
1484
+ drawvanilla(
1485
+ brittle: Boolean = false
1486
+ name: String
1487
+
1488
+ """
1489
+ Do you want to restrict nodes to specific apps?
1490
+ """
1491
+ restrict: [String]
1492
+ ): Workspace
1493
+ deleteFlow(
1494
+ """
1495
+ The Id of the Graph
1496
+ """
1497
+ id: ID!
1498
+ ): DeleteFlowReturn
1499
+ deleteWorkspace(
1500
+ """
1501
+ The Id of the Graph
1502
+ """
1503
+ id: ID!
1504
+ ): DeleteWorkspaceReturn
1505
+
1506
+ """
1507
+ Pin Run
1508
+
1509
+ This mutation pins an Runs and returns the pinned Run.
1510
+ """
1511
+ pinFlow(
1512
+ """
1513
+ The ID of the representation
1514
+ """
1515
+ id: ID!
1516
+
1517
+ """
1518
+ The pin state
1519
+ """
1520
+ pin: Boolean!
1521
+ ): Flow
1522
+
1523
+ """
1524
+ Pin Run
1525
+
1526
+ This mutation pins an Runs and returns the pinned Run.
1527
+ """
1528
+ pinWorkspace(
1529
+ """
1530
+ The ID of the representation
1531
+ """
1532
+ id: ID!
1533
+
1534
+ """
1535
+ The pin state
1536
+ """
1537
+ pin: Boolean!
1538
+ ): Workspace
1539
+ start(assignation: ID!, flow: ID!, snapshotInterval: Int): Run
1540
+ deleteRun(
1541
+ """
1542
+ The Id of the Graph
1543
+ """
1544
+ id: ID!
1545
+ ): DeleteRunReturn
1546
+ alog(message: String!, run: ID!): RunLog
1547
+ snapshot(
1548
+ """
1549
+ The IDs of the events that make up the snapshot
1550
+ """
1551
+ events: [ID]!
1552
+ run: ID!
1553
+ t: Int!
1554
+ ): Snapshot
1555
+ deleteSnapshot(
1556
+ """
1557
+ The Id of the Graph
1558
+ """
1559
+ id: ID!
1560
+ ): DeleteSnapshotReturn
1561
+ track(
1562
+ causedBy: [Int]!
1563
+ handle: String!
1564
+ run: ID!
1565
+ source: String!
1566
+ t: Int!
1567
+ type: EventTypeInput!
1568
+ value: EventValue
1569
+ ): RunEvent
1570
+
1571
+ """
1572
+ Pin Run
1573
+
1574
+ This mutation pins an Runs and returns the pinned Run.
1575
+ """
1576
+ pinRun(
1577
+ """
1578
+ The ID of the representation
1579
+ """
1580
+ id: ID!
1581
+
1582
+ """
1583
+ The pin state
1584
+ """
1585
+ pin: Boolean!
1586
+ ): Run
1587
+ createCondition(flow: ID!, provision: ID!, snapshotInterval: Int): Condition
1588
+ deleteCondition(
1589
+ """
1590
+ The Id of the Graph
1591
+ """
1592
+ id: ID!
1593
+ ): DeleteConditionReturn
1594
+ createConditionSnapshot(
1595
+ condition: ID!
1596
+
1597
+ """
1598
+ The IDs of the events that make up the snapshot
1599
+ """
1600
+ events: [ID]!
1601
+ ): ConditionSnapshot
1602
+ deleteConditionSnapshot(
1603
+ """
1604
+ The Id of the Graph
1605
+ """
1606
+ id: ID!
1607
+ ): DeleteConditionSnapshotReturn
1608
+ trace(
1609
+ condition: ID!
1610
+ source: String!
1611
+ state: ContractStatus!
1612
+ value: String
1613
+ ): ConditionEvent
1614
+
1615
+ """
1616
+ Pin Condition
1617
+
1618
+ This mutation pins an Runs and returns the pinned Run.
1619
+ """
1620
+ pinCondition(
1621
+ """
1622
+ The ID of the representation
1623
+ """
1624
+ id: ID!
1625
+
1626
+ """
1627
+ The pin state
1628
+ """
1629
+ pin: Boolean!
1630
+ ): Condition
1631
+
1632
+ """
1633
+ Creates a Sample
1634
+ """
1635
+ changePermissions(
1636
+ groupAssignments: [GroupAssignmentInput]
1637
+
1638
+ """
1639
+ The Representationss this sROI belongs to
1640
+ """
1641
+ object: ID!
1642
+ type: SharableModels!
1643
+ userAssignments: [UserAssignmentInput]
1644
+ ): ChangePermissionsResult
1645
+
1646
+ """
1647
+ Create an Comment
1648
+
1649
+ This mutation creates a comment. It takes a commentable_id and a commentable_type.
1650
+ If this is the first comment on the commentable, it will create a new comment thread.
1651
+ If there is already a comment thread, it will add the comment to the thread (by setting
1652
+ it's parent to the last parent comment in the thread).
1653
+
1654
+ CreateComment takes a list of Descendents, which are the comment tree. The Descendents
1655
+ are a recursive structure, where each Descendent can have a list of Descendents as children.
1656
+ The Descendents are either a Leaf, which is a text node, or a MentionDescendent, which is a
1657
+ reference to another user on the platform.
1658
+
1659
+ Please convert your comment tree to a list of Descendents before sending it to the server.
1660
+ TODO: Add a converter from a comment tree to a list of Descendents.
1661
+
1662
+
1663
+ (only signed in users)
1664
+ """
1665
+ createComment(
1666
+ """
1667
+ The comment tree
1668
+ """
1669
+ descendents: [DescendendInput]!
1670
+
1671
+ """
1672
+ The Representationss this sROI belongs to
1673
+ """
1674
+ object: ID!
1675
+
1676
+ """
1677
+ The parent comment
1678
+ """
1679
+ parent: ID
1680
+
1681
+ """
1682
+ The type model you want to comment on
1683
+ """
1684
+ type: CommentableModels!
1685
+ ): Comment
1686
+
1687
+ """
1688
+ Reply to an Comment
1689
+
1690
+ This mutation creates a comment. It takes a commentable_id and a commentable_type.
1691
+ If this is the first comment on the commentable, it will create a new comment thread.
1692
+ If there is already a comment thread, it will add the comment to the thread (by setting
1693
+ it's parent to the last parent comment in the thread).
1694
+
1695
+ CreateComment takes a list of Descendents, which are the comment tree. The Descendents
1696
+ are a recursive structure, where each Descendent can have a list of Descendents as children.
1697
+ The Descendents are either a Leaf, which is a text node, or a MentionDescendent, which is a
1698
+ reference to another user on the platform.
1699
+
1700
+ Please convert your comment tree to a list of Descendents before sending it to the server.
1701
+ TODO: Add a converter from a comment tree to a list of Descendents.
1702
+
1703
+
1704
+ (only signed in users)
1705
+ """
1706
+ replyTo(
1707
+ """
1708
+ The comment tree
1709
+ """
1710
+ descendents: [DescendendInput]!
1711
+
1712
+ """
1713
+ The parent comment
1714
+ """
1715
+ parent: ID!
1716
+ ): Comment
1717
+
1718
+ """
1719
+ Create an Comment
1720
+
1721
+ This mutation resolves a comment. By resolving a comment, it will be marked as resolved,
1722
+ and the user that resolved it will be set as the resolver.
1723
+
1724
+ (only signed in users)
1725
+ """
1726
+ resolveComment(
1727
+ """
1728
+ The comments id
1729
+ """
1730
+ id: ID!
1731
+
1732
+ """
1733
+ Should we imitate the resolving by another user (requires imitate permission)
1734
+ """
1735
+ imitate: ID
1736
+ ): Comment
1737
+ }
1738
+
1739
+ input GraphInput {
1740
+ zoom: Float
1741
+ nodes: [NodeInput]!
1742
+ edges: [EdgeInput]!
1743
+ args: [PortInput]!
1744
+ returns: [PortInput]!
1745
+ globals: [GlobalInput]!
1746
+ }
1747
+
1748
+ input NodeInput {
1749
+ id: String!
1750
+ typename: String!
1751
+ hash: String
1752
+ interface: String
1753
+ name: String
1754
+ description: String
1755
+ kind: String
1756
+ implementation: ReactiveImplementationModelInput
1757
+ position: PositionInput!
1758
+ defaults: GenericScalar
1759
+ extra: GenericScalar
1760
+ instream: [[PortInput]]!
1761
+ outstream: [[PortInput]]!
1762
+ constream: [[PortInput]]!
1763
+ mapStrategy: MapStrategy
1764
+ allowLocal: Boolean
1765
+ binds: BindsInput
1766
+ assignTimeout: Float = 100000
1767
+ yieldTimeout: Float = 100000
1768
+ maxRetries: Int = 3
1769
+ retryDelay: Int = 5000
1770
+ reserveTimeout: Float = 100000
1771
+ parentNode: ID
1772
+ }
1773
+
1774
+ input PositionInput {
1775
+ x: Float!
1776
+ y: Float!
1777
+ }
1778
+
1779
+ input PortInput {
1780
+ """
1781
+ The identifier
1782
+ """
1783
+ identifier: String
1784
+
1785
+ """
1786
+ The key of the arg
1787
+ """
1788
+ key: String!
1789
+
1790
+ """
1791
+ The name of this argument
1792
+ """
1793
+ name: String
1794
+
1795
+ """
1796
+ The name of this argument
1797
+ """
1798
+ label: String
1799
+
1800
+ """
1801
+ The type of this argument
1802
+ """
1803
+ kind: StreamKind!
1804
+
1805
+ """
1806
+ The scope of this argument
1807
+ """
1808
+ scope: Scope!
1809
+
1810
+ """
1811
+ The description of this argument
1812
+ """
1813
+ description: String
1814
+
1815
+ """
1816
+ The child of this argument
1817
+ """
1818
+ child: ChildPortInput
1819
+ variants: [ChildPortInput]
1820
+
1821
+ """
1822
+ The child of this argument
1823
+ """
1824
+ assignWidget: WidgetInput
1825
+
1826
+ """
1827
+ The child of this argument
1828
+ """
1829
+ returnWidget: ReturnWidgetInput
1830
+
1831
+ """
1832
+ The key of the arg
1833
+ """
1834
+ default: Any
1835
+
1836
+ """
1837
+ Is this argument nullable
1838
+ """
1839
+ nullable: Boolean!
1840
+ }
1841
+
1842
+ input ChildPortInput {
1843
+ nullable: Boolean
1844
+
1845
+ """
1846
+ The scope of this argument
1847
+ """
1848
+ scope: Scope!
1849
+
1850
+ """
1851
+ The identifier
1852
+ """
1853
+ identifier: String
1854
+
1855
+ """
1856
+ The type of this argument
1857
+ """
1858
+ kind: StreamKind!
1859
+ child: ChildPortInput
1860
+ variants: [ChildPortInput]
1861
+
1862
+ """
1863
+ Description of the Widget
1864
+ """
1865
+ assignWidget: WidgetInput
1866
+
1867
+ """
1868
+ A return widget
1869
+ """
1870
+ returnWidget: ReturnWidgetInput
1871
+ }
1872
+
1873
+ input WidgetInput {
1874
+ """
1875
+ type
1876
+ """
1877
+ kind: String!
1878
+
1879
+ """
1880
+ Do we have a possible
1881
+ """
1882
+ query: String
1883
+
1884
+ """
1885
+ The dependencies of this port
1886
+ """
1887
+ dependencies: [String]
1888
+
1889
+ """
1890
+ The dependencies of this port
1891
+ """
1892
+ choices: [ChoiceInput]
1893
+
1894
+ """
1895
+ Max value for int widget
1896
+ """
1897
+ max: Float
1898
+
1899
+ """
1900
+ Max value for int widget
1901
+ """
1902
+ min: Float
1903
+
1904
+ """
1905
+ Max value for int widget
1906
+ """
1907
+ step: Float
1908
+
1909
+ """
1910
+ Placeholder for any widget
1911
+ """
1912
+ placeholder: String
1913
+
1914
+ """
1915
+ Is this a paragraph
1916
+ """
1917
+ asParagraph: Boolean
1918
+
1919
+ """
1920
+ A hook for the app to call
1921
+ """
1922
+ hook: String
1923
+
1924
+ """
1925
+ A ward for the app to call
1926
+ """
1927
+ ward: String
1928
+ }
1929
+
1930
+ input ChoiceInput {
1931
+ value: Any!
1932
+ label: String!
1933
+ description: String
1934
+ }
1935
+
1936
+ input ReturnWidgetInput {
1937
+ """
1938
+ type
1939
+ """
1940
+ kind: String!
1941
+
1942
+ """
1943
+ Do we have a possible
1944
+ """
1945
+ query: String
1946
+
1947
+ """
1948
+ The dependencies of this port
1949
+ """
1950
+ choices: [ChoiceInput]
1951
+
1952
+ """
1953
+ A hook for the app to call
1954
+ """
1955
+ hook: String
1956
+
1957
+ """
1958
+ A ward for the app to call
1959
+ """
1960
+ ward: String
1961
+ }
1962
+
1963
+ """
1964
+ Maping Strategy for the Map Operator
1965
+ """
1966
+ enum MapStrategy {
1967
+ MAP
1968
+ AS_COMPLETED
1969
+ ORDERED
1970
+ }
1971
+
1972
+ input BindsInput {
1973
+ templates: [String]
1974
+ clients: [String]
1975
+ }
1976
+
1977
+ input EdgeInput {
1978
+ id: String!
1979
+ typename: String!
1980
+ source: String!
1981
+ target: String!
1982
+ sourceHandle: String!
1983
+ targetHandle: String!
1984
+ stream: [StreamItemInput]
1985
+ }
1986
+
1987
+ input StreamItemInput {
1988
+ key: String!
1989
+ kind: StreamKind!
1990
+
1991
+ """
1992
+ The scope of this argument
1993
+ """
1994
+ scope: Scope!
1995
+ identifier: String
1996
+ nullable: Boolean!
1997
+ variants: [StreamItemChildInput]
1998
+ child: StreamItemChildInput
1999
+ }
2000
+
2001
+ input StreamItemChildInput {
2002
+ kind: StreamKind!
2003
+
2004
+ """
2005
+ The scope of this argument
2006
+ """
2007
+ scope: Scope!
2008
+ identifier: String
2009
+ nullable: Boolean!
2010
+ variants: [StreamItemChildInput]
2011
+ child: StreamItemChildInput
2012
+ }
2013
+
2014
+ input GlobalInput {
2015
+ toKeys: [String]!
2016
+ port: PortInput!
2017
+ }
2018
+
2019
+ """
2020
+ An Image File (png, jpg)
2021
+
2022
+ [type]: [description]
2023
+ """
2024
+ scalar ImageFile
2025
+
2026
+ type DeleteFlowReturn {
2027
+ id: ID
2028
+ }
2029
+
2030
+ type DeleteWorkspaceReturn {
2031
+ id: ID
2032
+ }
2033
+
2034
+ type DeleteRunReturn {
2035
+ id: ID!
2036
+ }
2037
+
2038
+ type DeleteSnapshotReturn {
2039
+ id: ID!
2040
+ }
2041
+
2042
+ """
2043
+ Event Type for the Event Operator
2044
+ """
2045
+ enum EventTypeInput {
2046
+ """
2047
+ NEXT (Value represent Item)
2048
+ """
2049
+ NEXT
2050
+
2051
+ """
2052
+ Error (Value represent Exception)
2053
+ """
2054
+ ERROR
2055
+
2056
+ """
2057
+ COMPLETE (Value is none)
2058
+ """
2059
+ COMPLETE
2060
+
2061
+ """
2062
+ UNKNOWN (Should never be used)
2063
+ """
2064
+ UNKNOWN
2065
+ }
2066
+
2067
+ type DeleteConditionReturn {
2068
+ id: ID!
2069
+ }
2070
+
2071
+ type DeleteConditionSnapshotReturn {
2072
+ id: ID!
2073
+ }
2074
+
2075
+ type ChangePermissionsResult {
2076
+ success: Boolean
2077
+ message: String
2078
+ }
2079
+
2080
+ input GroupAssignmentInput {
2081
+ permissions: [String]!
2082
+ group: ID!
2083
+ }
2084
+
2085
+ input UserAssignmentInput {
2086
+ permissions: [String]!
2087
+
2088
+ """
2089
+ The user id
2090
+ """
2091
+ user: String!
2092
+ }
2093
+
2094
+ input DescendendInput {
2095
+ children: [DescendendInput]
2096
+
2097
+ """
2098
+ The type of the descendent
2099
+ """
2100
+ typename: String
2101
+
2102
+ """
2103
+ The user that is mentioned
2104
+ """
2105
+ user: String
2106
+
2107
+ """
2108
+ Is this a bold leaf?
2109
+ """
2110
+ bold: Boolean
2111
+
2112
+ """
2113
+ Is this a italic leaf?
2114
+ """
2115
+ italic: Boolean
2116
+
2117
+ """
2118
+ Is this a code leaf?
2119
+ """
2120
+ code: Boolean
2121
+
2122
+ """
2123
+ The text of the leaf
2124
+ """
2125
+ text: String
2126
+ }
2127
+
2128
+ """
2129
+ The root Subscriptions
2130
+ """
2131
+ type Subscription {
2132
+ events(
2133
+ """
2134
+ The id of the run you want to listen to
2135
+ """
2136
+ id: ID!
2137
+ ): Event
2138
+ conditionevents(
2139
+ """
2140
+ The id of the run you want to listen to
2141
+ """
2142
+ id: ID!
2143
+ ): ConditionEvents
2144
+
2145
+ "My Mentions\n\n Returns an event of a new mention for the user if the user \n was mentioned in a comment.\n "
2146
+ mymentions: MentionEvent
2147
+ }
2148
+
2149
+ type Event {
2150
+ deleted: ID
2151
+ update: RunEvent
2152
+ create: RunEvent
2153
+ }
2154
+
2155
+ type ConditionEvents {
2156
+ deleted: ID
2157
+ update: ConditionEvent
2158
+ create: ConditionEvent
2159
+ }
2160
+
2161
+ type MentionEvent {
2162
+ deleted: ID
2163
+ update: Comment
2164
+ create: Comment
2165
+ }
2166
+
2167
+ """
2168
+ A map node that utilizes
2169
+ a call to the associated rekuest node
2170
+ run a task
2171
+ """
2172
+ type ArkitektNextNode implements FlowNode & FlowNodeCommons & RetriableNode {
2173
+ id: String!
2174
+ position: Position!
2175
+ parentNode: ID
2176
+ typename: String!
2177
+ name: String!
2178
+ instream: [[Port]]!
2179
+ outstream: [[Port]]!
2180
+ constream: [[Port]]!
2181
+ constants: GenericScalar
2182
+ description: String!
2183
+ defaults: GenericScalar
2184
+ maxRetries: Int!
2185
+ retryDelay: Int!
2186
+ hash: String!
2187
+ kind: String!
2188
+ mapStrategy: MapStrategy!
2189
+ allowLocal: Boolean!
2190
+ assignTimeout: Float!
2191
+ yieldTimeout: Float!
2192
+ reserveTimeout: Float!
2193
+ binds: Binds
2194
+ }
2195
+
2196
+ interface FlowNodeCommons {
2197
+ name: String!
2198
+ instream: [[Port]]!
2199
+ outstream: [[Port]]!
2200
+ constream: [[Port]]!
2201
+ constants: GenericScalar
2202
+ description: String!
2203
+ defaults: GenericScalar
2204
+ }
2205
+
2206
+ interface RetriableNode {
2207
+ maxRetries: Int!
2208
+ retryDelay: Int!
2209
+ }
2210
+
2211
+ type Binds {
2212
+ templates: [String]
2213
+ clients: [String]
2214
+ }
2215
+
2216
+ """
2217
+ A filter node that utilizes
2218
+ a call to the associated rekuest node
2219
+ to filter a stream based on a predicate
2220
+ (the rekuest node must return a boolean)
2221
+ """
2222
+ type ArkitektNextFilterNode implements FlowNode & FlowNodeCommons & RetriableNode {
2223
+ id: String!
2224
+ position: Position!
2225
+ parentNode: ID
2226
+ typename: String!
2227
+ name: String!
2228
+ instream: [[Port]]!
2229
+ outstream: [[Port]]!
2230
+ constream: [[Port]]!
2231
+ constants: GenericScalar
2232
+ description: String!
2233
+ defaults: GenericScalar
2234
+ maxRetries: Int!
2235
+ retryDelay: Int!
2236
+ hash: String!
2237
+ kind: String!
2238
+ mapStrategy: MapStrategy!
2239
+ allowLocal: Boolean!
2240
+ assignTimeout: Float!
2241
+ yieldTimeout: Float!
2242
+ reserveTimeout: Float!
2243
+ binds: Binds
2244
+ }
2245
+
2246
+ type LocalNode implements FlowNode & FlowNodeCommons & RetriableNode {
2247
+ id: String!
2248
+ position: Position!
2249
+ parentNode: ID
2250
+ typename: String!
2251
+ name: String!
2252
+ instream: [[Port]]!
2253
+ outstream: [[Port]]!
2254
+ constream: [[Port]]!
2255
+ constants: GenericScalar
2256
+ description: String!
2257
+ defaults: GenericScalar
2258
+ maxRetries: Int!
2259
+ retryDelay: Int!
2260
+ hash: String!
2261
+ interface: String!
2262
+ kind: String!
2263
+ mapStrategy: MapStrategy!
2264
+ allowLocal: Boolean!
2265
+ assignTimeout: Float!
2266
+ yieldTimeout: Float!
2267
+ retrySleepMs: Int!
2268
+ }
2269
+
2270
+ type GraphNode implements FlowNode & FlowNodeCommons {
2271
+ id: String!
2272
+ position: Position!
2273
+ parentNode: ID
2274
+ typename: String!
2275
+ name: String!
2276
+ instream: [[Port]]!
2277
+ outstream: [[Port]]!
2278
+ constream: [[Port]]!
2279
+ constants: GenericScalar
2280
+ description: String!
2281
+ defaults: GenericScalar
2282
+ hash: String!
2283
+ }
2284
+
2285
+ type ArgNode implements FlowNode & FlowNodeCommons {
2286
+ id: String!
2287
+ position: Position!
2288
+ parentNode: ID
2289
+ typename: String!
2290
+ name: String!
2291
+ instream: [[Port]]!
2292
+ outstream: [[Port]]!
2293
+ constream: [[Port]]!
2294
+ constants: GenericScalar
2295
+ description: String!
2296
+ defaults: GenericScalar
2297
+ }
2298
+
2299
+ type KwargNode implements FlowNode & FlowNodeCommons {
2300
+ id: String!
2301
+ position: Position!
2302
+ parentNode: ID
2303
+ typename: String!
2304
+ name: String!
2305
+ instream: [[Port]]!
2306
+ outstream: [[Port]]!
2307
+ constream: [[Port]]!
2308
+ constants: GenericScalar
2309
+ description: String!
2310
+ defaults: GenericScalar
2311
+ }
2312
+
2313
+ type ReturnNode implements FlowNode & FlowNodeCommons {
2314
+ id: String!
2315
+ position: Position!
2316
+ parentNode: ID
2317
+ typename: String!
2318
+ name: String!
2319
+ instream: [[Port]]!
2320
+ outstream: [[Port]]!
2321
+ constream: [[Port]]!
2322
+ constants: GenericScalar
2323
+ description: String!
2324
+ defaults: GenericScalar
2325
+ }
2326
+
2327
+ type ReactiveNode implements FlowNode & FlowNodeCommons {
2328
+ id: String!
2329
+ position: Position!
2330
+ parentNode: ID
2331
+ typename: String!
2332
+ name: String!
2333
+ instream: [[Port]]!
2334
+ outstream: [[Port]]!
2335
+ constream: [[Port]]!
2336
+ constants: GenericScalar
2337
+ description: String!
2338
+ defaults: GenericScalar
2339
+ implementation: ReactiveImplementationModelInput!
2340
+ }
2341
+
2342
+ type LabeledEdge implements FlowEdge & FlowEdgeCommons {
2343
+ id: String!
2344
+ source: String!
2345
+ target: String!
2346
+ sourceHandle: String!
2347
+ targetHandle: String!
2348
+ typename: String!
2349
+ stream: [StreamItem]!
2350
+ }
2351
+
2352
+ interface FlowEdgeCommons {
2353
+ stream: [StreamItem]!
2354
+ }
2355
+
2356
+ type StreamItem {
2357
+ key: String!
2358
+ kind: StreamKind!
2359
+ scope: Scope!
2360
+ identifier: String
2361
+ nullable: Boolean!
2362
+ child: StreamItemChild
2363
+ variants: [StreamItemChild]
2364
+ }
2365
+
2366
+ type StreamItemChild {
2367
+ kind: StreamKind!
2368
+ scope: Scope!
2369
+ nullable: Boolean!
2370
+ identifier: String
2371
+ child: StreamItemChild
2372
+ variants: [StreamItemChild]
2373
+ }
2374
+
2375
+ type FancyEdge implements FlowEdge & FlowEdgeCommons {
2376
+ id: String!
2377
+ source: String!
2378
+ target: String!
2379
+ sourceHandle: String!
2380
+ targetHandle: String!
2381
+ typename: String!
2382
+ stream: [StreamItem]!
2383
+ }
2384
+
2385
+ """
2386
+ A node in the comment tree
2387
+ """
2388
+ interface CommentNode {
2389
+ children: [Descendent]
2390
+ untypedChildren: GenericScalar
2391
+ }
2392
+
2393
+ """
2394
+ A leaf in the comment tree. Representations some sort of text
2395
+ """
2396
+ type Leaf implements Descendent {
2397
+ typename: String
2398
+
2399
+ """
2400
+ Is this a bold leaf?
2401
+ """
2402
+ bold: Boolean
2403
+
2404
+ """
2405
+ Is this a italic leaf?
2406
+ """
2407
+ italic: Boolean
2408
+
2409
+ """
2410
+ Is this a code leaf?
2411
+ """
2412
+ code: Boolean
2413
+
2414
+ """
2415
+ The text of the leaf
2416
+ """
2417
+ text: String
2418
+ }
2419
+
2420
+ """
2421
+ A mention in the comment tree. This is a reference to another user on the platform
2422
+ """
2423
+ type MentionDescendent implements CommentNode & Descendent {
2424
+ children: [Descendent]
2425
+ untypedChildren: GenericScalar
2426
+ typename: String
2427
+
2428
+ """
2429
+ The user that is mentioned
2430
+ """
2431
+ user: User!
2432
+ }
2433
+
2434
+ """
2435
+ A paragraph in the comment tree. This paragraph contains other nodes (list nodes)
2436
+ """
2437
+ type ParagraphDescendent implements CommentNode & Descendent {
2438
+ children: [Descendent]
2439
+ untypedChildren: GenericScalar
2440
+ typename: String
2441
+
2442
+ """
2443
+ The size of the paragraph
2444
+ """
2445
+ size: String
2446
+ }