executor 1.1.9 → 1.1.10-beta.5

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 (35) hide show
  1. package/README.md +17 -7
  2. package/bin/emscripten-module.wasm +0 -0
  3. package/bin/executor.mjs +367034 -157926
  4. package/bin/impl/edit.js +201 -0
  5. package/bin/impl/format.js +275 -0
  6. package/bin/impl/parser.js +682 -0
  7. package/bin/impl/scanner.js +456 -0
  8. package/bin/impl/string-intern.js +42 -0
  9. package/bin/openapi-extractor-wasm/openapi_extractor_bg.wasm +0 -0
  10. package/package.json +1 -4
  11. package/resources/web/assets/__vite-browser-external-BIHI7g3E.js +1 -0
  12. package/resources/web/assets/{highlighted-body-TPN3WLV5-D2YQWXND.js → highlighted-body-TPN3WLV5-CNtoUE2O.js} +1 -1
  13. package/resources/web/assets/{index-BnjZoxRo.js → index-Dyhx5qgf.js} +2 -2
  14. package/resources/web/assets/mermaid-O7DHMXV3-CfqEcqYS.js +658 -0
  15. package/resources/web/assets/mermaid-O7DHMXV3-D1toCiZx.css +1 -0
  16. package/resources/web/assets/openapi_extractor_bg-IMRXzuHp.wasm +0 -0
  17. package/resources/web/index.html +1 -1
  18. package/bin/pglite.data +0 -0
  19. package/bin/pglite.wasm +0 -0
  20. package/bin/postinstall.js +0 -38
  21. package/resources/migrations/20260306091536_abnormal_martin_li/migration.sql +0 -158
  22. package/resources/migrations/20260306091536_abnormal_martin_li/snapshot.json +0 -1937
  23. package/resources/migrations/20260306094249_large_giant_girl/migration.sql +0 -39
  24. package/resources/migrations/20260306094249_large_giant_girl/snapshot.json +0 -2425
  25. package/resources/migrations/20260307090915_blue_bullseye/migration.sql +0 -70
  26. package/resources/migrations/20260307090915_blue_bullseye/snapshot.json +0 -3122
  27. package/resources/migrations/20260307134000_openapi_tool_identity/migration.sql +0 -37
  28. package/resources/migrations/20260307152000_source_document_text/migration.sql +0 -1
  29. package/resources/migrations/20260308041000_credentials_model/migration.sql +0 -41
  30. package/resources/migrations/20260308120000_search_and_indexes/migration.sql +0 -16
  31. package/resources/migrations/20260308140000_secret_materials_name/migration.sql +0 -1
  32. package/resources/migrations/20260309103000_policy_scope_and_interaction_purpose/migration.sql +0 -17
  33. package/resources/web/assets/mermaid-O7DHMXV3-37jaM6li.js +0 -393
  34. package/resources/web/assets/mermaid-O7DHMXV3-DgCU8P81.css +0 -1
  35. package/resources/web/assets/openapi_extractor_bg-DZrbVm4x.wasm +0 -0
@@ -1,1937 +0,0 @@
1
- {
2
- "version": "8",
3
- "dialect": "postgres",
4
- "id": "bac1651d-7a30-4187-a7e2-74bc2b099486",
5
- "prevIds": [
6
- "00000000-0000-0000-0000-000000000000"
7
- ],
8
- "ddl": [
9
- {
10
- "isRlsEnabled": false,
11
- "name": "accounts",
12
- "entityType": "tables",
13
- "schema": "public"
14
- },
15
- {
16
- "isRlsEnabled": false,
17
- "name": "execution_interactions",
18
- "entityType": "tables",
19
- "schema": "public"
20
- },
21
- {
22
- "isRlsEnabled": false,
23
- "name": "executions",
24
- "entityType": "tables",
25
- "schema": "public"
26
- },
27
- {
28
- "isRlsEnabled": false,
29
- "name": "local_installations",
30
- "entityType": "tables",
31
- "schema": "public"
32
- },
33
- {
34
- "isRlsEnabled": false,
35
- "name": "organization_memberships",
36
- "entityType": "tables",
37
- "schema": "public"
38
- },
39
- {
40
- "isRlsEnabled": false,
41
- "name": "organizations",
42
- "entityType": "tables",
43
- "schema": "public"
44
- },
45
- {
46
- "isRlsEnabled": false,
47
- "name": "policies",
48
- "entityType": "tables",
49
- "schema": "public"
50
- },
51
- {
52
- "isRlsEnabled": false,
53
- "name": "source_credential_bindings",
54
- "entityType": "tables",
55
- "schema": "public"
56
- },
57
- {
58
- "isRlsEnabled": false,
59
- "name": "sources",
60
- "entityType": "tables",
61
- "schema": "public"
62
- },
63
- {
64
- "isRlsEnabled": false,
65
- "name": "workspaces",
66
- "entityType": "tables",
67
- "schema": "public"
68
- },
69
- {
70
- "type": "text",
71
- "typeSchema": null,
72
- "notNull": true,
73
- "dimensions": 0,
74
- "default": null,
75
- "generated": null,
76
- "identity": null,
77
- "name": "id",
78
- "entityType": "columns",
79
- "schema": "public",
80
- "table": "accounts"
81
- },
82
- {
83
- "type": "text",
84
- "typeSchema": null,
85
- "notNull": true,
86
- "dimensions": 0,
87
- "default": null,
88
- "generated": null,
89
- "identity": null,
90
- "name": "provider",
91
- "entityType": "columns",
92
- "schema": "public",
93
- "table": "accounts"
94
- },
95
- {
96
- "type": "text",
97
- "typeSchema": null,
98
- "notNull": true,
99
- "dimensions": 0,
100
- "default": null,
101
- "generated": null,
102
- "identity": null,
103
- "name": "subject",
104
- "entityType": "columns",
105
- "schema": "public",
106
- "table": "accounts"
107
- },
108
- {
109
- "type": "text",
110
- "typeSchema": null,
111
- "notNull": false,
112
- "dimensions": 0,
113
- "default": null,
114
- "generated": null,
115
- "identity": null,
116
- "name": "email",
117
- "entityType": "columns",
118
- "schema": "public",
119
- "table": "accounts"
120
- },
121
- {
122
- "type": "text",
123
- "typeSchema": null,
124
- "notNull": false,
125
- "dimensions": 0,
126
- "default": null,
127
- "generated": null,
128
- "identity": null,
129
- "name": "display_name",
130
- "entityType": "columns",
131
- "schema": "public",
132
- "table": "accounts"
133
- },
134
- {
135
- "type": "bigint",
136
- "typeSchema": null,
137
- "notNull": true,
138
- "dimensions": 0,
139
- "default": null,
140
- "generated": null,
141
- "identity": null,
142
- "name": "created_at",
143
- "entityType": "columns",
144
- "schema": "public",
145
- "table": "accounts"
146
- },
147
- {
148
- "type": "bigint",
149
- "typeSchema": null,
150
- "notNull": true,
151
- "dimensions": 0,
152
- "default": null,
153
- "generated": null,
154
- "identity": null,
155
- "name": "updated_at",
156
- "entityType": "columns",
157
- "schema": "public",
158
- "table": "accounts"
159
- },
160
- {
161
- "type": "text",
162
- "typeSchema": null,
163
- "notNull": true,
164
- "dimensions": 0,
165
- "default": null,
166
- "generated": null,
167
- "identity": null,
168
- "name": "id",
169
- "entityType": "columns",
170
- "schema": "public",
171
- "table": "execution_interactions"
172
- },
173
- {
174
- "type": "text",
175
- "typeSchema": null,
176
- "notNull": true,
177
- "dimensions": 0,
178
- "default": null,
179
- "generated": null,
180
- "identity": null,
181
- "name": "execution_id",
182
- "entityType": "columns",
183
- "schema": "public",
184
- "table": "execution_interactions"
185
- },
186
- {
187
- "type": "text",
188
- "typeSchema": null,
189
- "notNull": true,
190
- "dimensions": 0,
191
- "default": null,
192
- "generated": null,
193
- "identity": null,
194
- "name": "status",
195
- "entityType": "columns",
196
- "schema": "public",
197
- "table": "execution_interactions"
198
- },
199
- {
200
- "type": "text",
201
- "typeSchema": null,
202
- "notNull": true,
203
- "dimensions": 0,
204
- "default": null,
205
- "generated": null,
206
- "identity": null,
207
- "name": "kind",
208
- "entityType": "columns",
209
- "schema": "public",
210
- "table": "execution_interactions"
211
- },
212
- {
213
- "type": "text",
214
- "typeSchema": null,
215
- "notNull": true,
216
- "dimensions": 0,
217
- "default": null,
218
- "generated": null,
219
- "identity": null,
220
- "name": "payload_json",
221
- "entityType": "columns",
222
- "schema": "public",
223
- "table": "execution_interactions"
224
- },
225
- {
226
- "type": "text",
227
- "typeSchema": null,
228
- "notNull": false,
229
- "dimensions": 0,
230
- "default": null,
231
- "generated": null,
232
- "identity": null,
233
- "name": "response_json",
234
- "entityType": "columns",
235
- "schema": "public",
236
- "table": "execution_interactions"
237
- },
238
- {
239
- "type": "bigint",
240
- "typeSchema": null,
241
- "notNull": true,
242
- "dimensions": 0,
243
- "default": null,
244
- "generated": null,
245
- "identity": null,
246
- "name": "created_at",
247
- "entityType": "columns",
248
- "schema": "public",
249
- "table": "execution_interactions"
250
- },
251
- {
252
- "type": "bigint",
253
- "typeSchema": null,
254
- "notNull": true,
255
- "dimensions": 0,
256
- "default": null,
257
- "generated": null,
258
- "identity": null,
259
- "name": "updated_at",
260
- "entityType": "columns",
261
- "schema": "public",
262
- "table": "execution_interactions"
263
- },
264
- {
265
- "type": "text",
266
- "typeSchema": null,
267
- "notNull": true,
268
- "dimensions": 0,
269
- "default": null,
270
- "generated": null,
271
- "identity": null,
272
- "name": "id",
273
- "entityType": "columns",
274
- "schema": "public",
275
- "table": "executions"
276
- },
277
- {
278
- "type": "text",
279
- "typeSchema": null,
280
- "notNull": true,
281
- "dimensions": 0,
282
- "default": null,
283
- "generated": null,
284
- "identity": null,
285
- "name": "workspace_id",
286
- "entityType": "columns",
287
- "schema": "public",
288
- "table": "executions"
289
- },
290
- {
291
- "type": "text",
292
- "typeSchema": null,
293
- "notNull": true,
294
- "dimensions": 0,
295
- "default": null,
296
- "generated": null,
297
- "identity": null,
298
- "name": "created_by_account_id",
299
- "entityType": "columns",
300
- "schema": "public",
301
- "table": "executions"
302
- },
303
- {
304
- "type": "text",
305
- "typeSchema": null,
306
- "notNull": true,
307
- "dimensions": 0,
308
- "default": null,
309
- "generated": null,
310
- "identity": null,
311
- "name": "status",
312
- "entityType": "columns",
313
- "schema": "public",
314
- "table": "executions"
315
- },
316
- {
317
- "type": "text",
318
- "typeSchema": null,
319
- "notNull": true,
320
- "dimensions": 0,
321
- "default": null,
322
- "generated": null,
323
- "identity": null,
324
- "name": "code",
325
- "entityType": "columns",
326
- "schema": "public",
327
- "table": "executions"
328
- },
329
- {
330
- "type": "text",
331
- "typeSchema": null,
332
- "notNull": false,
333
- "dimensions": 0,
334
- "default": null,
335
- "generated": null,
336
- "identity": null,
337
- "name": "result_json",
338
- "entityType": "columns",
339
- "schema": "public",
340
- "table": "executions"
341
- },
342
- {
343
- "type": "text",
344
- "typeSchema": null,
345
- "notNull": false,
346
- "dimensions": 0,
347
- "default": null,
348
- "generated": null,
349
- "identity": null,
350
- "name": "error_text",
351
- "entityType": "columns",
352
- "schema": "public",
353
- "table": "executions"
354
- },
355
- {
356
- "type": "text",
357
- "typeSchema": null,
358
- "notNull": false,
359
- "dimensions": 0,
360
- "default": null,
361
- "generated": null,
362
- "identity": null,
363
- "name": "logs_json",
364
- "entityType": "columns",
365
- "schema": "public",
366
- "table": "executions"
367
- },
368
- {
369
- "type": "bigint",
370
- "typeSchema": null,
371
- "notNull": false,
372
- "dimensions": 0,
373
- "default": null,
374
- "generated": null,
375
- "identity": null,
376
- "name": "started_at",
377
- "entityType": "columns",
378
- "schema": "public",
379
- "table": "executions"
380
- },
381
- {
382
- "type": "bigint",
383
- "typeSchema": null,
384
- "notNull": false,
385
- "dimensions": 0,
386
- "default": null,
387
- "generated": null,
388
- "identity": null,
389
- "name": "completed_at",
390
- "entityType": "columns",
391
- "schema": "public",
392
- "table": "executions"
393
- },
394
- {
395
- "type": "bigint",
396
- "typeSchema": null,
397
- "notNull": true,
398
- "dimensions": 0,
399
- "default": null,
400
- "generated": null,
401
- "identity": null,
402
- "name": "created_at",
403
- "entityType": "columns",
404
- "schema": "public",
405
- "table": "executions"
406
- },
407
- {
408
- "type": "bigint",
409
- "typeSchema": null,
410
- "notNull": true,
411
- "dimensions": 0,
412
- "default": null,
413
- "generated": null,
414
- "identity": null,
415
- "name": "updated_at",
416
- "entityType": "columns",
417
- "schema": "public",
418
- "table": "executions"
419
- },
420
- {
421
- "type": "text",
422
- "typeSchema": null,
423
- "notNull": true,
424
- "dimensions": 0,
425
- "default": null,
426
- "generated": null,
427
- "identity": null,
428
- "name": "id",
429
- "entityType": "columns",
430
- "schema": "public",
431
- "table": "local_installations"
432
- },
433
- {
434
- "type": "text",
435
- "typeSchema": null,
436
- "notNull": true,
437
- "dimensions": 0,
438
- "default": null,
439
- "generated": null,
440
- "identity": null,
441
- "name": "account_id",
442
- "entityType": "columns",
443
- "schema": "public",
444
- "table": "local_installations"
445
- },
446
- {
447
- "type": "text",
448
- "typeSchema": null,
449
- "notNull": true,
450
- "dimensions": 0,
451
- "default": null,
452
- "generated": null,
453
- "identity": null,
454
- "name": "organization_id",
455
- "entityType": "columns",
456
- "schema": "public",
457
- "table": "local_installations"
458
- },
459
- {
460
- "type": "text",
461
- "typeSchema": null,
462
- "notNull": true,
463
- "dimensions": 0,
464
- "default": null,
465
- "generated": null,
466
- "identity": null,
467
- "name": "workspace_id",
468
- "entityType": "columns",
469
- "schema": "public",
470
- "table": "local_installations"
471
- },
472
- {
473
- "type": "bigint",
474
- "typeSchema": null,
475
- "notNull": true,
476
- "dimensions": 0,
477
- "default": null,
478
- "generated": null,
479
- "identity": null,
480
- "name": "created_at",
481
- "entityType": "columns",
482
- "schema": "public",
483
- "table": "local_installations"
484
- },
485
- {
486
- "type": "bigint",
487
- "typeSchema": null,
488
- "notNull": true,
489
- "dimensions": 0,
490
- "default": null,
491
- "generated": null,
492
- "identity": null,
493
- "name": "updated_at",
494
- "entityType": "columns",
495
- "schema": "public",
496
- "table": "local_installations"
497
- },
498
- {
499
- "type": "text",
500
- "typeSchema": null,
501
- "notNull": true,
502
- "dimensions": 0,
503
- "default": null,
504
- "generated": null,
505
- "identity": null,
506
- "name": "id",
507
- "entityType": "columns",
508
- "schema": "public",
509
- "table": "organization_memberships"
510
- },
511
- {
512
- "type": "text",
513
- "typeSchema": null,
514
- "notNull": true,
515
- "dimensions": 0,
516
- "default": null,
517
- "generated": null,
518
- "identity": null,
519
- "name": "organization_id",
520
- "entityType": "columns",
521
- "schema": "public",
522
- "table": "organization_memberships"
523
- },
524
- {
525
- "type": "text",
526
- "typeSchema": null,
527
- "notNull": true,
528
- "dimensions": 0,
529
- "default": null,
530
- "generated": null,
531
- "identity": null,
532
- "name": "account_id",
533
- "entityType": "columns",
534
- "schema": "public",
535
- "table": "organization_memberships"
536
- },
537
- {
538
- "type": "text",
539
- "typeSchema": null,
540
- "notNull": true,
541
- "dimensions": 0,
542
- "default": null,
543
- "generated": null,
544
- "identity": null,
545
- "name": "role",
546
- "entityType": "columns",
547
- "schema": "public",
548
- "table": "organization_memberships"
549
- },
550
- {
551
- "type": "text",
552
- "typeSchema": null,
553
- "notNull": true,
554
- "dimensions": 0,
555
- "default": null,
556
- "generated": null,
557
- "identity": null,
558
- "name": "status",
559
- "entityType": "columns",
560
- "schema": "public",
561
- "table": "organization_memberships"
562
- },
563
- {
564
- "type": "boolean",
565
- "typeSchema": null,
566
- "notNull": true,
567
- "dimensions": 0,
568
- "default": null,
569
- "generated": null,
570
- "identity": null,
571
- "name": "billable",
572
- "entityType": "columns",
573
- "schema": "public",
574
- "table": "organization_memberships"
575
- },
576
- {
577
- "type": "text",
578
- "typeSchema": null,
579
- "notNull": false,
580
- "dimensions": 0,
581
- "default": null,
582
- "generated": null,
583
- "identity": null,
584
- "name": "invited_by_account_id",
585
- "entityType": "columns",
586
- "schema": "public",
587
- "table": "organization_memberships"
588
- },
589
- {
590
- "type": "bigint",
591
- "typeSchema": null,
592
- "notNull": false,
593
- "dimensions": 0,
594
- "default": null,
595
- "generated": null,
596
- "identity": null,
597
- "name": "joined_at",
598
- "entityType": "columns",
599
- "schema": "public",
600
- "table": "organization_memberships"
601
- },
602
- {
603
- "type": "bigint",
604
- "typeSchema": null,
605
- "notNull": true,
606
- "dimensions": 0,
607
- "default": null,
608
- "generated": null,
609
- "identity": null,
610
- "name": "created_at",
611
- "entityType": "columns",
612
- "schema": "public",
613
- "table": "organization_memberships"
614
- },
615
- {
616
- "type": "bigint",
617
- "typeSchema": null,
618
- "notNull": true,
619
- "dimensions": 0,
620
- "default": null,
621
- "generated": null,
622
- "identity": null,
623
- "name": "updated_at",
624
- "entityType": "columns",
625
- "schema": "public",
626
- "table": "organization_memberships"
627
- },
628
- {
629
- "type": "text",
630
- "typeSchema": null,
631
- "notNull": true,
632
- "dimensions": 0,
633
- "default": null,
634
- "generated": null,
635
- "identity": null,
636
- "name": "id",
637
- "entityType": "columns",
638
- "schema": "public",
639
- "table": "organizations"
640
- },
641
- {
642
- "type": "text",
643
- "typeSchema": null,
644
- "notNull": true,
645
- "dimensions": 0,
646
- "default": null,
647
- "generated": null,
648
- "identity": null,
649
- "name": "slug",
650
- "entityType": "columns",
651
- "schema": "public",
652
- "table": "organizations"
653
- },
654
- {
655
- "type": "text",
656
- "typeSchema": null,
657
- "notNull": true,
658
- "dimensions": 0,
659
- "default": null,
660
- "generated": null,
661
- "identity": null,
662
- "name": "name",
663
- "entityType": "columns",
664
- "schema": "public",
665
- "table": "organizations"
666
- },
667
- {
668
- "type": "text",
669
- "typeSchema": null,
670
- "notNull": true,
671
- "dimensions": 0,
672
- "default": null,
673
- "generated": null,
674
- "identity": null,
675
- "name": "status",
676
- "entityType": "columns",
677
- "schema": "public",
678
- "table": "organizations"
679
- },
680
- {
681
- "type": "text",
682
- "typeSchema": null,
683
- "notNull": false,
684
- "dimensions": 0,
685
- "default": null,
686
- "generated": null,
687
- "identity": null,
688
- "name": "created_by_account_id",
689
- "entityType": "columns",
690
- "schema": "public",
691
- "table": "organizations"
692
- },
693
- {
694
- "type": "bigint",
695
- "typeSchema": null,
696
- "notNull": true,
697
- "dimensions": 0,
698
- "default": null,
699
- "generated": null,
700
- "identity": null,
701
- "name": "created_at",
702
- "entityType": "columns",
703
- "schema": "public",
704
- "table": "organizations"
705
- },
706
- {
707
- "type": "bigint",
708
- "typeSchema": null,
709
- "notNull": true,
710
- "dimensions": 0,
711
- "default": null,
712
- "generated": null,
713
- "identity": null,
714
- "name": "updated_at",
715
- "entityType": "columns",
716
- "schema": "public",
717
- "table": "organizations"
718
- },
719
- {
720
- "type": "text",
721
- "typeSchema": null,
722
- "notNull": true,
723
- "dimensions": 0,
724
- "default": null,
725
- "generated": null,
726
- "identity": null,
727
- "name": "id",
728
- "entityType": "columns",
729
- "schema": "public",
730
- "table": "policies"
731
- },
732
- {
733
- "type": "text",
734
- "typeSchema": null,
735
- "notNull": true,
736
- "dimensions": 0,
737
- "default": null,
738
- "generated": null,
739
- "identity": null,
740
- "name": "workspace_id",
741
- "entityType": "columns",
742
- "schema": "public",
743
- "table": "policies"
744
- },
745
- {
746
- "type": "text",
747
- "typeSchema": null,
748
- "notNull": false,
749
- "dimensions": 0,
750
- "default": null,
751
- "generated": null,
752
- "identity": null,
753
- "name": "target_account_id",
754
- "entityType": "columns",
755
- "schema": "public",
756
- "table": "policies"
757
- },
758
- {
759
- "type": "text",
760
- "typeSchema": null,
761
- "notNull": false,
762
- "dimensions": 0,
763
- "default": null,
764
- "generated": null,
765
- "identity": null,
766
- "name": "client_id",
767
- "entityType": "columns",
768
- "schema": "public",
769
- "table": "policies"
770
- },
771
- {
772
- "type": "text",
773
- "typeSchema": null,
774
- "notNull": true,
775
- "dimensions": 0,
776
- "default": null,
777
- "generated": null,
778
- "identity": null,
779
- "name": "resource_type",
780
- "entityType": "columns",
781
- "schema": "public",
782
- "table": "policies"
783
- },
784
- {
785
- "type": "text",
786
- "typeSchema": null,
787
- "notNull": true,
788
- "dimensions": 0,
789
- "default": null,
790
- "generated": null,
791
- "identity": null,
792
- "name": "resource_pattern",
793
- "entityType": "columns",
794
- "schema": "public",
795
- "table": "policies"
796
- },
797
- {
798
- "type": "text",
799
- "typeSchema": null,
800
- "notNull": true,
801
- "dimensions": 0,
802
- "default": null,
803
- "generated": null,
804
- "identity": null,
805
- "name": "match_type",
806
- "entityType": "columns",
807
- "schema": "public",
808
- "table": "policies"
809
- },
810
- {
811
- "type": "text",
812
- "typeSchema": null,
813
- "notNull": true,
814
- "dimensions": 0,
815
- "default": null,
816
- "generated": null,
817
- "identity": null,
818
- "name": "effect",
819
- "entityType": "columns",
820
- "schema": "public",
821
- "table": "policies"
822
- },
823
- {
824
- "type": "text",
825
- "typeSchema": null,
826
- "notNull": true,
827
- "dimensions": 0,
828
- "default": null,
829
- "generated": null,
830
- "identity": null,
831
- "name": "approval_mode",
832
- "entityType": "columns",
833
- "schema": "public",
834
- "table": "policies"
835
- },
836
- {
837
- "type": "text",
838
- "typeSchema": null,
839
- "notNull": false,
840
- "dimensions": 0,
841
- "default": null,
842
- "generated": null,
843
- "identity": null,
844
- "name": "argument_conditions_json",
845
- "entityType": "columns",
846
- "schema": "public",
847
- "table": "policies"
848
- },
849
- {
850
- "type": "bigint",
851
- "typeSchema": null,
852
- "notNull": true,
853
- "dimensions": 0,
854
- "default": null,
855
- "generated": null,
856
- "identity": null,
857
- "name": "priority",
858
- "entityType": "columns",
859
- "schema": "public",
860
- "table": "policies"
861
- },
862
- {
863
- "type": "boolean",
864
- "typeSchema": null,
865
- "notNull": true,
866
- "dimensions": 0,
867
- "default": null,
868
- "generated": null,
869
- "identity": null,
870
- "name": "enabled",
871
- "entityType": "columns",
872
- "schema": "public",
873
- "table": "policies"
874
- },
875
- {
876
- "type": "bigint",
877
- "typeSchema": null,
878
- "notNull": true,
879
- "dimensions": 0,
880
- "default": null,
881
- "generated": null,
882
- "identity": null,
883
- "name": "created_at",
884
- "entityType": "columns",
885
- "schema": "public",
886
- "table": "policies"
887
- },
888
- {
889
- "type": "bigint",
890
- "typeSchema": null,
891
- "notNull": true,
892
- "dimensions": 0,
893
- "default": null,
894
- "generated": null,
895
- "identity": null,
896
- "name": "updated_at",
897
- "entityType": "columns",
898
- "schema": "public",
899
- "table": "policies"
900
- },
901
- {
902
- "type": "text",
903
- "typeSchema": null,
904
- "notNull": true,
905
- "dimensions": 0,
906
- "default": null,
907
- "generated": null,
908
- "identity": null,
909
- "name": "workspace_id",
910
- "entityType": "columns",
911
- "schema": "public",
912
- "table": "source_credential_bindings"
913
- },
914
- {
915
- "type": "text",
916
- "typeSchema": null,
917
- "notNull": true,
918
- "dimensions": 0,
919
- "default": null,
920
- "generated": null,
921
- "identity": null,
922
- "name": "source_id",
923
- "entityType": "columns",
924
- "schema": "public",
925
- "table": "source_credential_bindings"
926
- },
927
- {
928
- "type": "text",
929
- "typeSchema": null,
930
- "notNull": false,
931
- "dimensions": 0,
932
- "default": null,
933
- "generated": null,
934
- "identity": null,
935
- "name": "token_provider_id",
936
- "entityType": "columns",
937
- "schema": "public",
938
- "table": "source_credential_bindings"
939
- },
940
- {
941
- "type": "text",
942
- "typeSchema": null,
943
- "notNull": false,
944
- "dimensions": 0,
945
- "default": null,
946
- "generated": null,
947
- "identity": null,
948
- "name": "token_handle",
949
- "entityType": "columns",
950
- "schema": "public",
951
- "table": "source_credential_bindings"
952
- },
953
- {
954
- "type": "text",
955
- "typeSchema": null,
956
- "notNull": false,
957
- "dimensions": 0,
958
- "default": null,
959
- "generated": null,
960
- "identity": null,
961
- "name": "refresh_token_provider_id",
962
- "entityType": "columns",
963
- "schema": "public",
964
- "table": "source_credential_bindings"
965
- },
966
- {
967
- "type": "text",
968
- "typeSchema": null,
969
- "notNull": false,
970
- "dimensions": 0,
971
- "default": null,
972
- "generated": null,
973
- "identity": null,
974
- "name": "refresh_token_handle",
975
- "entityType": "columns",
976
- "schema": "public",
977
- "table": "source_credential_bindings"
978
- },
979
- {
980
- "type": "bigint",
981
- "typeSchema": null,
982
- "notNull": true,
983
- "dimensions": 0,
984
- "default": null,
985
- "generated": null,
986
- "identity": null,
987
- "name": "created_at",
988
- "entityType": "columns",
989
- "schema": "public",
990
- "table": "source_credential_bindings"
991
- },
992
- {
993
- "type": "bigint",
994
- "typeSchema": null,
995
- "notNull": true,
996
- "dimensions": 0,
997
- "default": null,
998
- "generated": null,
999
- "identity": null,
1000
- "name": "updated_at",
1001
- "entityType": "columns",
1002
- "schema": "public",
1003
- "table": "source_credential_bindings"
1004
- },
1005
- {
1006
- "type": "text",
1007
- "typeSchema": null,
1008
- "notNull": true,
1009
- "dimensions": 0,
1010
- "default": null,
1011
- "generated": null,
1012
- "identity": null,
1013
- "name": "workspace_id",
1014
- "entityType": "columns",
1015
- "schema": "public",
1016
- "table": "sources"
1017
- },
1018
- {
1019
- "type": "text",
1020
- "typeSchema": null,
1021
- "notNull": true,
1022
- "dimensions": 0,
1023
- "default": null,
1024
- "generated": null,
1025
- "identity": null,
1026
- "name": "source_id",
1027
- "entityType": "columns",
1028
- "schema": "public",
1029
- "table": "sources"
1030
- },
1031
- {
1032
- "type": "text",
1033
- "typeSchema": null,
1034
- "notNull": true,
1035
- "dimensions": 0,
1036
- "default": null,
1037
- "generated": null,
1038
- "identity": null,
1039
- "name": "name",
1040
- "entityType": "columns",
1041
- "schema": "public",
1042
- "table": "sources"
1043
- },
1044
- {
1045
- "type": "text",
1046
- "typeSchema": null,
1047
- "notNull": true,
1048
- "dimensions": 0,
1049
- "default": null,
1050
- "generated": null,
1051
- "identity": null,
1052
- "name": "kind",
1053
- "entityType": "columns",
1054
- "schema": "public",
1055
- "table": "sources"
1056
- },
1057
- {
1058
- "type": "text",
1059
- "typeSchema": null,
1060
- "notNull": true,
1061
- "dimensions": 0,
1062
- "default": null,
1063
- "generated": null,
1064
- "identity": null,
1065
- "name": "endpoint",
1066
- "entityType": "columns",
1067
- "schema": "public",
1068
- "table": "sources"
1069
- },
1070
- {
1071
- "type": "text",
1072
- "typeSchema": null,
1073
- "notNull": true,
1074
- "dimensions": 0,
1075
- "default": null,
1076
- "generated": null,
1077
- "identity": null,
1078
- "name": "status",
1079
- "entityType": "columns",
1080
- "schema": "public",
1081
- "table": "sources"
1082
- },
1083
- {
1084
- "type": "boolean",
1085
- "typeSchema": null,
1086
- "notNull": true,
1087
- "dimensions": 0,
1088
- "default": null,
1089
- "generated": null,
1090
- "identity": null,
1091
- "name": "enabled",
1092
- "entityType": "columns",
1093
- "schema": "public",
1094
- "table": "sources"
1095
- },
1096
- {
1097
- "type": "text",
1098
- "typeSchema": null,
1099
- "notNull": false,
1100
- "dimensions": 0,
1101
- "default": null,
1102
- "generated": null,
1103
- "identity": null,
1104
- "name": "namespace",
1105
- "entityType": "columns",
1106
- "schema": "public",
1107
- "table": "sources"
1108
- },
1109
- {
1110
- "type": "text",
1111
- "typeSchema": null,
1112
- "notNull": false,
1113
- "dimensions": 0,
1114
- "default": null,
1115
- "generated": null,
1116
- "identity": null,
1117
- "name": "transport",
1118
- "entityType": "columns",
1119
- "schema": "public",
1120
- "table": "sources"
1121
- },
1122
- {
1123
- "type": "text",
1124
- "typeSchema": null,
1125
- "notNull": false,
1126
- "dimensions": 0,
1127
- "default": null,
1128
- "generated": null,
1129
- "identity": null,
1130
- "name": "query_params_json",
1131
- "entityType": "columns",
1132
- "schema": "public",
1133
- "table": "sources"
1134
- },
1135
- {
1136
- "type": "text",
1137
- "typeSchema": null,
1138
- "notNull": false,
1139
- "dimensions": 0,
1140
- "default": null,
1141
- "generated": null,
1142
- "identity": null,
1143
- "name": "headers_json",
1144
- "entityType": "columns",
1145
- "schema": "public",
1146
- "table": "sources"
1147
- },
1148
- {
1149
- "type": "text",
1150
- "typeSchema": null,
1151
- "notNull": false,
1152
- "dimensions": 0,
1153
- "default": null,
1154
- "generated": null,
1155
- "identity": null,
1156
- "name": "spec_url",
1157
- "entityType": "columns",
1158
- "schema": "public",
1159
- "table": "sources"
1160
- },
1161
- {
1162
- "type": "text",
1163
- "typeSchema": null,
1164
- "notNull": false,
1165
- "dimensions": 0,
1166
- "default": null,
1167
- "generated": null,
1168
- "identity": null,
1169
- "name": "default_headers_json",
1170
- "entityType": "columns",
1171
- "schema": "public",
1172
- "table": "sources"
1173
- },
1174
- {
1175
- "type": "text",
1176
- "typeSchema": null,
1177
- "notNull": true,
1178
- "dimensions": 0,
1179
- "default": null,
1180
- "generated": null,
1181
- "identity": null,
1182
- "name": "auth_kind",
1183
- "entityType": "columns",
1184
- "schema": "public",
1185
- "table": "sources"
1186
- },
1187
- {
1188
- "type": "text",
1189
- "typeSchema": null,
1190
- "notNull": false,
1191
- "dimensions": 0,
1192
- "default": null,
1193
- "generated": null,
1194
- "identity": null,
1195
- "name": "auth_header_name",
1196
- "entityType": "columns",
1197
- "schema": "public",
1198
- "table": "sources"
1199
- },
1200
- {
1201
- "type": "text",
1202
- "typeSchema": null,
1203
- "notNull": false,
1204
- "dimensions": 0,
1205
- "default": null,
1206
- "generated": null,
1207
- "identity": null,
1208
- "name": "auth_prefix",
1209
- "entityType": "columns",
1210
- "schema": "public",
1211
- "table": "sources"
1212
- },
1213
- {
1214
- "type": "text",
1215
- "typeSchema": null,
1216
- "notNull": false,
1217
- "dimensions": 0,
1218
- "default": null,
1219
- "generated": null,
1220
- "identity": null,
1221
- "name": "source_hash",
1222
- "entityType": "columns",
1223
- "schema": "public",
1224
- "table": "sources"
1225
- },
1226
- {
1227
- "type": "text",
1228
- "typeSchema": null,
1229
- "notNull": false,
1230
- "dimensions": 0,
1231
- "default": null,
1232
- "generated": null,
1233
- "identity": null,
1234
- "name": "last_error",
1235
- "entityType": "columns",
1236
- "schema": "public",
1237
- "table": "sources"
1238
- },
1239
- {
1240
- "type": "bigint",
1241
- "typeSchema": null,
1242
- "notNull": true,
1243
- "dimensions": 0,
1244
- "default": null,
1245
- "generated": null,
1246
- "identity": null,
1247
- "name": "created_at",
1248
- "entityType": "columns",
1249
- "schema": "public",
1250
- "table": "sources"
1251
- },
1252
- {
1253
- "type": "bigint",
1254
- "typeSchema": null,
1255
- "notNull": true,
1256
- "dimensions": 0,
1257
- "default": null,
1258
- "generated": null,
1259
- "identity": null,
1260
- "name": "updated_at",
1261
- "entityType": "columns",
1262
- "schema": "public",
1263
- "table": "sources"
1264
- },
1265
- {
1266
- "type": "text",
1267
- "typeSchema": null,
1268
- "notNull": true,
1269
- "dimensions": 0,
1270
- "default": null,
1271
- "generated": null,
1272
- "identity": null,
1273
- "name": "id",
1274
- "entityType": "columns",
1275
- "schema": "public",
1276
- "table": "workspaces"
1277
- },
1278
- {
1279
- "type": "text",
1280
- "typeSchema": null,
1281
- "notNull": true,
1282
- "dimensions": 0,
1283
- "default": null,
1284
- "generated": null,
1285
- "identity": null,
1286
- "name": "organization_id",
1287
- "entityType": "columns",
1288
- "schema": "public",
1289
- "table": "workspaces"
1290
- },
1291
- {
1292
- "type": "text",
1293
- "typeSchema": null,
1294
- "notNull": true,
1295
- "dimensions": 0,
1296
- "default": null,
1297
- "generated": null,
1298
- "identity": null,
1299
- "name": "name",
1300
- "entityType": "columns",
1301
- "schema": "public",
1302
- "table": "workspaces"
1303
- },
1304
- {
1305
- "type": "text",
1306
- "typeSchema": null,
1307
- "notNull": false,
1308
- "dimensions": 0,
1309
- "default": null,
1310
- "generated": null,
1311
- "identity": null,
1312
- "name": "created_by_account_id",
1313
- "entityType": "columns",
1314
- "schema": "public",
1315
- "table": "workspaces"
1316
- },
1317
- {
1318
- "type": "bigint",
1319
- "typeSchema": null,
1320
- "notNull": true,
1321
- "dimensions": 0,
1322
- "default": null,
1323
- "generated": null,
1324
- "identity": null,
1325
- "name": "created_at",
1326
- "entityType": "columns",
1327
- "schema": "public",
1328
- "table": "workspaces"
1329
- },
1330
- {
1331
- "type": "bigint",
1332
- "typeSchema": null,
1333
- "notNull": true,
1334
- "dimensions": 0,
1335
- "default": null,
1336
- "generated": null,
1337
- "identity": null,
1338
- "name": "updated_at",
1339
- "entityType": "columns",
1340
- "schema": "public",
1341
- "table": "workspaces"
1342
- },
1343
- {
1344
- "nameExplicit": true,
1345
- "columns": [
1346
- {
1347
- "value": "provider",
1348
- "isExpression": false,
1349
- "asc": true,
1350
- "nullsFirst": false,
1351
- "opclass": null
1352
- },
1353
- {
1354
- "value": "subject",
1355
- "isExpression": false,
1356
- "asc": true,
1357
- "nullsFirst": false,
1358
- "opclass": null
1359
- }
1360
- ],
1361
- "isUnique": true,
1362
- "where": null,
1363
- "with": "",
1364
- "method": "btree",
1365
- "concurrently": false,
1366
- "name": "accounts_provider_subject_idx",
1367
- "entityType": "indexes",
1368
- "schema": "public",
1369
- "table": "accounts"
1370
- },
1371
- {
1372
- "nameExplicit": true,
1373
- "columns": [
1374
- {
1375
- "value": "updated_at",
1376
- "isExpression": false,
1377
- "asc": true,
1378
- "nullsFirst": false,
1379
- "opclass": null
1380
- },
1381
- {
1382
- "value": "id",
1383
- "isExpression": false,
1384
- "asc": true,
1385
- "nullsFirst": false,
1386
- "opclass": null
1387
- }
1388
- ],
1389
- "isUnique": false,
1390
- "where": null,
1391
- "with": "",
1392
- "method": "btree",
1393
- "concurrently": false,
1394
- "name": "accounts_updated_idx",
1395
- "entityType": "indexes",
1396
- "schema": "public",
1397
- "table": "accounts"
1398
- },
1399
- {
1400
- "nameExplicit": true,
1401
- "columns": [
1402
- {
1403
- "value": "execution_id",
1404
- "isExpression": false,
1405
- "asc": true,
1406
- "nullsFirst": false,
1407
- "opclass": null
1408
- },
1409
- {
1410
- "value": "updated_at",
1411
- "isExpression": false,
1412
- "asc": true,
1413
- "nullsFirst": false,
1414
- "opclass": null
1415
- },
1416
- {
1417
- "value": "id",
1418
- "isExpression": false,
1419
- "asc": true,
1420
- "nullsFirst": false,
1421
- "opclass": null
1422
- }
1423
- ],
1424
- "isUnique": false,
1425
- "where": null,
1426
- "with": "",
1427
- "method": "btree",
1428
- "concurrently": false,
1429
- "name": "execution_interactions_execution_idx",
1430
- "entityType": "indexes",
1431
- "schema": "public",
1432
- "table": "execution_interactions"
1433
- },
1434
- {
1435
- "nameExplicit": true,
1436
- "columns": [
1437
- {
1438
- "value": "workspace_id",
1439
- "isExpression": false,
1440
- "asc": true,
1441
- "nullsFirst": false,
1442
- "opclass": null
1443
- },
1444
- {
1445
- "value": "updated_at",
1446
- "isExpression": false,
1447
- "asc": true,
1448
- "nullsFirst": false,
1449
- "opclass": null
1450
- },
1451
- {
1452
- "value": "id",
1453
- "isExpression": false,
1454
- "asc": true,
1455
- "nullsFirst": false,
1456
- "opclass": null
1457
- }
1458
- ],
1459
- "isUnique": false,
1460
- "where": null,
1461
- "with": "",
1462
- "method": "btree",
1463
- "concurrently": false,
1464
- "name": "executions_workspace_idx",
1465
- "entityType": "indexes",
1466
- "schema": "public",
1467
- "table": "executions"
1468
- },
1469
- {
1470
- "nameExplicit": true,
1471
- "columns": [
1472
- {
1473
- "value": "organization_id",
1474
- "isExpression": false,
1475
- "asc": true,
1476
- "nullsFirst": false,
1477
- "opclass": null
1478
- }
1479
- ],
1480
- "isUnique": false,
1481
- "where": null,
1482
- "with": "",
1483
- "method": "btree",
1484
- "concurrently": false,
1485
- "name": "organization_memberships_org_idx",
1486
- "entityType": "indexes",
1487
- "schema": "public",
1488
- "table": "organization_memberships"
1489
- },
1490
- {
1491
- "nameExplicit": true,
1492
- "columns": [
1493
- {
1494
- "value": "account_id",
1495
- "isExpression": false,
1496
- "asc": true,
1497
- "nullsFirst": false,
1498
- "opclass": null
1499
- }
1500
- ],
1501
- "isUnique": false,
1502
- "where": null,
1503
- "with": "",
1504
- "method": "btree",
1505
- "concurrently": false,
1506
- "name": "organization_memberships_account_idx",
1507
- "entityType": "indexes",
1508
- "schema": "public",
1509
- "table": "organization_memberships"
1510
- },
1511
- {
1512
- "nameExplicit": true,
1513
- "columns": [
1514
- {
1515
- "value": "organization_id",
1516
- "isExpression": false,
1517
- "asc": true,
1518
- "nullsFirst": false,
1519
- "opclass": null
1520
- },
1521
- {
1522
- "value": "account_id",
1523
- "isExpression": false,
1524
- "asc": true,
1525
- "nullsFirst": false,
1526
- "opclass": null
1527
- }
1528
- ],
1529
- "isUnique": true,
1530
- "where": null,
1531
- "with": "",
1532
- "method": "btree",
1533
- "concurrently": false,
1534
- "name": "organization_memberships_org_account_idx",
1535
- "entityType": "indexes",
1536
- "schema": "public",
1537
- "table": "organization_memberships"
1538
- },
1539
- {
1540
- "nameExplicit": true,
1541
- "columns": [
1542
- {
1543
- "value": "slug",
1544
- "isExpression": false,
1545
- "asc": true,
1546
- "nullsFirst": false,
1547
- "opclass": null
1548
- }
1549
- ],
1550
- "isUnique": true,
1551
- "where": null,
1552
- "with": "",
1553
- "method": "btree",
1554
- "concurrently": false,
1555
- "name": "organizations_slug_idx",
1556
- "entityType": "indexes",
1557
- "schema": "public",
1558
- "table": "organizations"
1559
- },
1560
- {
1561
- "nameExplicit": true,
1562
- "columns": [
1563
- {
1564
- "value": "updated_at",
1565
- "isExpression": false,
1566
- "asc": true,
1567
- "nullsFirst": false,
1568
- "opclass": null
1569
- },
1570
- {
1571
- "value": "id",
1572
- "isExpression": false,
1573
- "asc": true,
1574
- "nullsFirst": false,
1575
- "opclass": null
1576
- }
1577
- ],
1578
- "isUnique": false,
1579
- "where": null,
1580
- "with": "",
1581
- "method": "btree",
1582
- "concurrently": false,
1583
- "name": "organizations_updated_idx",
1584
- "entityType": "indexes",
1585
- "schema": "public",
1586
- "table": "organizations"
1587
- },
1588
- {
1589
- "nameExplicit": true,
1590
- "columns": [
1591
- {
1592
- "value": "workspace_id",
1593
- "isExpression": false,
1594
- "asc": true,
1595
- "nullsFirst": false,
1596
- "opclass": null
1597
- },
1598
- {
1599
- "value": "updated_at",
1600
- "isExpression": false,
1601
- "asc": true,
1602
- "nullsFirst": false,
1603
- "opclass": null
1604
- },
1605
- {
1606
- "value": "id",
1607
- "isExpression": false,
1608
- "asc": true,
1609
- "nullsFirst": false,
1610
- "opclass": null
1611
- }
1612
- ],
1613
- "isUnique": false,
1614
- "where": null,
1615
- "with": "",
1616
- "method": "btree",
1617
- "concurrently": false,
1618
- "name": "policies_workspace_idx",
1619
- "entityType": "indexes",
1620
- "schema": "public",
1621
- "table": "policies"
1622
- },
1623
- {
1624
- "nameExplicit": true,
1625
- "columns": [
1626
- {
1627
- "value": "workspace_id",
1628
- "isExpression": false,
1629
- "asc": true,
1630
- "nullsFirst": false,
1631
- "opclass": null
1632
- },
1633
- {
1634
- "value": "updated_at",
1635
- "isExpression": false,
1636
- "asc": true,
1637
- "nullsFirst": false,
1638
- "opclass": null
1639
- },
1640
- {
1641
- "value": "source_id",
1642
- "isExpression": false,
1643
- "asc": true,
1644
- "nullsFirst": false,
1645
- "opclass": null
1646
- }
1647
- ],
1648
- "isUnique": false,
1649
- "where": null,
1650
- "with": "",
1651
- "method": "btree",
1652
- "concurrently": false,
1653
- "name": "source_credential_bindings_workspace_idx",
1654
- "entityType": "indexes",
1655
- "schema": "public",
1656
- "table": "source_credential_bindings"
1657
- },
1658
- {
1659
- "nameExplicit": true,
1660
- "columns": [
1661
- {
1662
- "value": "workspace_id",
1663
- "isExpression": false,
1664
- "asc": true,
1665
- "nullsFirst": false,
1666
- "opclass": null
1667
- },
1668
- {
1669
- "value": "name",
1670
- "isExpression": false,
1671
- "asc": true,
1672
- "nullsFirst": false,
1673
- "opclass": null
1674
- }
1675
- ],
1676
- "isUnique": true,
1677
- "where": null,
1678
- "with": "",
1679
- "method": "btree",
1680
- "concurrently": false,
1681
- "name": "sources_workspace_name_idx",
1682
- "entityType": "indexes",
1683
- "schema": "public",
1684
- "table": "sources"
1685
- },
1686
- {
1687
- "nameExplicit": true,
1688
- "columns": [
1689
- {
1690
- "value": "organization_id",
1691
- "isExpression": false,
1692
- "asc": true,
1693
- "nullsFirst": false,
1694
- "opclass": null
1695
- }
1696
- ],
1697
- "isUnique": false,
1698
- "where": null,
1699
- "with": "",
1700
- "method": "btree",
1701
- "concurrently": false,
1702
- "name": "workspaces_org_idx",
1703
- "entityType": "indexes",
1704
- "schema": "public",
1705
- "table": "workspaces"
1706
- },
1707
- {
1708
- "nameExplicit": true,
1709
- "columns": [
1710
- {
1711
- "value": "organization_id",
1712
- "isExpression": false,
1713
- "asc": true,
1714
- "nullsFirst": false,
1715
- "opclass": null
1716
- },
1717
- {
1718
- "value": "name",
1719
- "isExpression": false,
1720
- "asc": true,
1721
- "nullsFirst": false,
1722
- "opclass": null
1723
- }
1724
- ],
1725
- "isUnique": true,
1726
- "where": null,
1727
- "with": "",
1728
- "method": "btree",
1729
- "concurrently": false,
1730
- "name": "workspaces_org_name_idx",
1731
- "entityType": "indexes",
1732
- "schema": "public",
1733
- "table": "workspaces"
1734
- },
1735
- {
1736
- "columns": [
1737
- "workspace_id",
1738
- "source_id"
1739
- ],
1740
- "nameExplicit": false,
1741
- "name": "source_credential_bindings_pkey",
1742
- "entityType": "pks",
1743
- "schema": "public",
1744
- "table": "source_credential_bindings"
1745
- },
1746
- {
1747
- "columns": [
1748
- "workspace_id",
1749
- "source_id"
1750
- ],
1751
- "nameExplicit": false,
1752
- "name": "sources_pkey",
1753
- "entityType": "pks",
1754
- "schema": "public",
1755
- "table": "sources"
1756
- },
1757
- {
1758
- "columns": [
1759
- "id"
1760
- ],
1761
- "nameExplicit": false,
1762
- "name": "accounts_pkey",
1763
- "schema": "public",
1764
- "table": "accounts",
1765
- "entityType": "pks"
1766
- },
1767
- {
1768
- "columns": [
1769
- "id"
1770
- ],
1771
- "nameExplicit": false,
1772
- "name": "execution_interactions_pkey",
1773
- "schema": "public",
1774
- "table": "execution_interactions",
1775
- "entityType": "pks"
1776
- },
1777
- {
1778
- "columns": [
1779
- "id"
1780
- ],
1781
- "nameExplicit": false,
1782
- "name": "executions_pkey",
1783
- "schema": "public",
1784
- "table": "executions",
1785
- "entityType": "pks"
1786
- },
1787
- {
1788
- "columns": [
1789
- "id"
1790
- ],
1791
- "nameExplicit": false,
1792
- "name": "local_installations_pkey",
1793
- "schema": "public",
1794
- "table": "local_installations",
1795
- "entityType": "pks"
1796
- },
1797
- {
1798
- "columns": [
1799
- "id"
1800
- ],
1801
- "nameExplicit": false,
1802
- "name": "organization_memberships_pkey",
1803
- "schema": "public",
1804
- "table": "organization_memberships",
1805
- "entityType": "pks"
1806
- },
1807
- {
1808
- "columns": [
1809
- "id"
1810
- ],
1811
- "nameExplicit": false,
1812
- "name": "organizations_pkey",
1813
- "schema": "public",
1814
- "table": "organizations",
1815
- "entityType": "pks"
1816
- },
1817
- {
1818
- "columns": [
1819
- "id"
1820
- ],
1821
- "nameExplicit": false,
1822
- "name": "policies_pkey",
1823
- "schema": "public",
1824
- "table": "policies",
1825
- "entityType": "pks"
1826
- },
1827
- {
1828
- "columns": [
1829
- "id"
1830
- ],
1831
- "nameExplicit": false,
1832
- "name": "workspaces_pkey",
1833
- "schema": "public",
1834
- "table": "workspaces",
1835
- "entityType": "pks"
1836
- },
1837
- {
1838
- "value": "\"provider\" in ('local', 'workos', 'service')",
1839
- "name": "accounts_provider_check",
1840
- "entityType": "checks",
1841
- "schema": "public",
1842
- "table": "accounts"
1843
- },
1844
- {
1845
- "value": "\"status\" in ('pending', 'resolved', 'cancelled')",
1846
- "name": "execution_interactions_status_check",
1847
- "entityType": "checks",
1848
- "schema": "public",
1849
- "table": "execution_interactions"
1850
- },
1851
- {
1852
- "value": "\"status\" in ('pending', 'running', 'waiting_for_interaction', 'completed', 'failed', 'cancelled')",
1853
- "name": "executions_status_check",
1854
- "entityType": "checks",
1855
- "schema": "public",
1856
- "table": "executions"
1857
- },
1858
- {
1859
- "value": "\"role\" in ('viewer', 'editor', 'admin', 'owner')",
1860
- "name": "organization_memberships_role_check",
1861
- "entityType": "checks",
1862
- "schema": "public",
1863
- "table": "organization_memberships"
1864
- },
1865
- {
1866
- "value": "\"status\" in ('invited', 'active', 'suspended', 'removed')",
1867
- "name": "organization_memberships_status_check",
1868
- "entityType": "checks",
1869
- "schema": "public",
1870
- "table": "organization_memberships"
1871
- },
1872
- {
1873
- "value": "\"status\" in ('active', 'suspended', 'archived')",
1874
- "name": "organizations_status_check",
1875
- "entityType": "checks",
1876
- "schema": "public",
1877
- "table": "organizations"
1878
- },
1879
- {
1880
- "value": "\"resource_type\" in ('all_tools', 'source', 'namespace', 'tool_path')",
1881
- "name": "policies_resource_type_check",
1882
- "entityType": "checks",
1883
- "schema": "public",
1884
- "table": "policies"
1885
- },
1886
- {
1887
- "value": "\"match_type\" in ('glob', 'exact')",
1888
- "name": "policies_match_type_check",
1889
- "entityType": "checks",
1890
- "schema": "public",
1891
- "table": "policies"
1892
- },
1893
- {
1894
- "value": "\"effect\" in ('allow', 'deny')",
1895
- "name": "policies_effect_check",
1896
- "entityType": "checks",
1897
- "schema": "public",
1898
- "table": "policies"
1899
- },
1900
- {
1901
- "value": "\"approval_mode\" in ('auto', 'required')",
1902
- "name": "policies_approval_mode_check",
1903
- "entityType": "checks",
1904
- "schema": "public",
1905
- "table": "policies"
1906
- },
1907
- {
1908
- "value": "\"kind\" in ('mcp', 'openapi', 'graphql', 'internal')",
1909
- "name": "sources_kind_check",
1910
- "entityType": "checks",
1911
- "schema": "public",
1912
- "table": "sources"
1913
- },
1914
- {
1915
- "value": "\"status\" in ('draft', 'probing', 'auth_required', 'connected', 'error')",
1916
- "name": "sources_status_check",
1917
- "entityType": "checks",
1918
- "schema": "public",
1919
- "table": "sources"
1920
- },
1921
- {
1922
- "value": "\"transport\" is null or \"transport\" in ('auto', 'streamable-http', 'sse')",
1923
- "name": "sources_transport_check",
1924
- "entityType": "checks",
1925
- "schema": "public",
1926
- "table": "sources"
1927
- },
1928
- {
1929
- "value": "\"auth_kind\" in ('none', 'bearer', 'oauth2')",
1930
- "name": "sources_auth_kind_check",
1931
- "entityType": "checks",
1932
- "schema": "public",
1933
- "table": "sources"
1934
- }
1935
- ],
1936
- "renames": []
1937
- }