executor 1.1.8 → 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 (34) hide show
  1. package/README.md +42 -12
  2. package/bin/emscripten-module.wasm +0 -0
  3. package/bin/executor.mjs +367241 -157868
  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 -1
  11. package/resources/web/assets/__vite-browser-external-BIHI7g3E.js +1 -0
  12. package/resources/web/assets/{highlighted-body-TPN3WLV5-Cy1EFOo2.js → highlighted-body-TPN3WLV5-CNtoUE2O.js} +1 -1
  13. package/resources/web/assets/{index-3N-BEhR_.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 +2 -2
  18. package/bin/pglite.data +0 -0
  19. package/bin/pglite.wasm +0 -0
  20. package/resources/migrations/20260306091536_abnormal_martin_li/migration.sql +0 -158
  21. package/resources/migrations/20260306091536_abnormal_martin_li/snapshot.json +0 -1937
  22. package/resources/migrations/20260306094249_large_giant_girl/migration.sql +0 -39
  23. package/resources/migrations/20260306094249_large_giant_girl/snapshot.json +0 -2425
  24. package/resources/migrations/20260307090915_blue_bullseye/migration.sql +0 -70
  25. package/resources/migrations/20260307090915_blue_bullseye/snapshot.json +0 -3122
  26. package/resources/migrations/20260307134000_openapi_tool_identity/migration.sql +0 -37
  27. package/resources/migrations/20260307152000_source_document_text/migration.sql +0 -1
  28. package/resources/migrations/20260308041000_credentials_model/migration.sql +0 -41
  29. package/resources/migrations/20260308120000_search_and_indexes/migration.sql +0 -16
  30. package/resources/migrations/20260308140000_secret_materials_name/migration.sql +0 -1
  31. package/resources/migrations/20260309103000_policy_scope_and_interaction_purpose/migration.sql +0 -17
  32. package/resources/web/assets/mermaid-O7DHMXV3-2oBmyuDr.js +0 -393
  33. package/resources/web/assets/mermaid-O7DHMXV3-DgCU8P81.css +0 -1
  34. package/resources/web/assets/openapi_extractor_bg-DZrbVm4x.wasm +0 -0
@@ -1,2425 +0,0 @@
1
- {
2
- "version": "8",
3
- "dialect": "postgres",
4
- "id": "1141497b-c500-44ff-87db-6a440062becb",
5
- "prevIds": [
6
- "bac1651d-7a30-4187-a7e2-74bc2b099486"
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": "secret_materials",
54
- "entityType": "tables",
55
- "schema": "public"
56
- },
57
- {
58
- "isRlsEnabled": false,
59
- "name": "source_auth_sessions",
60
- "entityType": "tables",
61
- "schema": "public"
62
- },
63
- {
64
- "isRlsEnabled": false,
65
- "name": "source_credential_bindings",
66
- "entityType": "tables",
67
- "schema": "public"
68
- },
69
- {
70
- "isRlsEnabled": false,
71
- "name": "sources",
72
- "entityType": "tables",
73
- "schema": "public"
74
- },
75
- {
76
- "isRlsEnabled": false,
77
- "name": "workspaces",
78
- "entityType": "tables",
79
- "schema": "public"
80
- },
81
- {
82
- "type": "text",
83
- "typeSchema": null,
84
- "notNull": true,
85
- "dimensions": 0,
86
- "default": null,
87
- "generated": null,
88
- "identity": null,
89
- "name": "id",
90
- "entityType": "columns",
91
- "schema": "public",
92
- "table": "accounts"
93
- },
94
- {
95
- "type": "text",
96
- "typeSchema": null,
97
- "notNull": true,
98
- "dimensions": 0,
99
- "default": null,
100
- "generated": null,
101
- "identity": null,
102
- "name": "provider",
103
- "entityType": "columns",
104
- "schema": "public",
105
- "table": "accounts"
106
- },
107
- {
108
- "type": "text",
109
- "typeSchema": null,
110
- "notNull": true,
111
- "dimensions": 0,
112
- "default": null,
113
- "generated": null,
114
- "identity": null,
115
- "name": "subject",
116
- "entityType": "columns",
117
- "schema": "public",
118
- "table": "accounts"
119
- },
120
- {
121
- "type": "text",
122
- "typeSchema": null,
123
- "notNull": false,
124
- "dimensions": 0,
125
- "default": null,
126
- "generated": null,
127
- "identity": null,
128
- "name": "email",
129
- "entityType": "columns",
130
- "schema": "public",
131
- "table": "accounts"
132
- },
133
- {
134
- "type": "text",
135
- "typeSchema": null,
136
- "notNull": false,
137
- "dimensions": 0,
138
- "default": null,
139
- "generated": null,
140
- "identity": null,
141
- "name": "display_name",
142
- "entityType": "columns",
143
- "schema": "public",
144
- "table": "accounts"
145
- },
146
- {
147
- "type": "bigint",
148
- "typeSchema": null,
149
- "notNull": true,
150
- "dimensions": 0,
151
- "default": null,
152
- "generated": null,
153
- "identity": null,
154
- "name": "created_at",
155
- "entityType": "columns",
156
- "schema": "public",
157
- "table": "accounts"
158
- },
159
- {
160
- "type": "bigint",
161
- "typeSchema": null,
162
- "notNull": true,
163
- "dimensions": 0,
164
- "default": null,
165
- "generated": null,
166
- "identity": null,
167
- "name": "updated_at",
168
- "entityType": "columns",
169
- "schema": "public",
170
- "table": "accounts"
171
- },
172
- {
173
- "type": "text",
174
- "typeSchema": null,
175
- "notNull": true,
176
- "dimensions": 0,
177
- "default": null,
178
- "generated": null,
179
- "identity": null,
180
- "name": "id",
181
- "entityType": "columns",
182
- "schema": "public",
183
- "table": "execution_interactions"
184
- },
185
- {
186
- "type": "text",
187
- "typeSchema": null,
188
- "notNull": true,
189
- "dimensions": 0,
190
- "default": null,
191
- "generated": null,
192
- "identity": null,
193
- "name": "execution_id",
194
- "entityType": "columns",
195
- "schema": "public",
196
- "table": "execution_interactions"
197
- },
198
- {
199
- "type": "text",
200
- "typeSchema": null,
201
- "notNull": true,
202
- "dimensions": 0,
203
- "default": null,
204
- "generated": null,
205
- "identity": null,
206
- "name": "status",
207
- "entityType": "columns",
208
- "schema": "public",
209
- "table": "execution_interactions"
210
- },
211
- {
212
- "type": "text",
213
- "typeSchema": null,
214
- "notNull": true,
215
- "dimensions": 0,
216
- "default": null,
217
- "generated": null,
218
- "identity": null,
219
- "name": "kind",
220
- "entityType": "columns",
221
- "schema": "public",
222
- "table": "execution_interactions"
223
- },
224
- {
225
- "type": "text",
226
- "typeSchema": null,
227
- "notNull": true,
228
- "dimensions": 0,
229
- "default": null,
230
- "generated": null,
231
- "identity": null,
232
- "name": "payload_json",
233
- "entityType": "columns",
234
- "schema": "public",
235
- "table": "execution_interactions"
236
- },
237
- {
238
- "type": "text",
239
- "typeSchema": null,
240
- "notNull": false,
241
- "dimensions": 0,
242
- "default": null,
243
- "generated": null,
244
- "identity": null,
245
- "name": "response_json",
246
- "entityType": "columns",
247
- "schema": "public",
248
- "table": "execution_interactions"
249
- },
250
- {
251
- "type": "bigint",
252
- "typeSchema": null,
253
- "notNull": true,
254
- "dimensions": 0,
255
- "default": null,
256
- "generated": null,
257
- "identity": null,
258
- "name": "created_at",
259
- "entityType": "columns",
260
- "schema": "public",
261
- "table": "execution_interactions"
262
- },
263
- {
264
- "type": "bigint",
265
- "typeSchema": null,
266
- "notNull": true,
267
- "dimensions": 0,
268
- "default": null,
269
- "generated": null,
270
- "identity": null,
271
- "name": "updated_at",
272
- "entityType": "columns",
273
- "schema": "public",
274
- "table": "execution_interactions"
275
- },
276
- {
277
- "type": "text",
278
- "typeSchema": null,
279
- "notNull": true,
280
- "dimensions": 0,
281
- "default": null,
282
- "generated": null,
283
- "identity": null,
284
- "name": "id",
285
- "entityType": "columns",
286
- "schema": "public",
287
- "table": "executions"
288
- },
289
- {
290
- "type": "text",
291
- "typeSchema": null,
292
- "notNull": true,
293
- "dimensions": 0,
294
- "default": null,
295
- "generated": null,
296
- "identity": null,
297
- "name": "workspace_id",
298
- "entityType": "columns",
299
- "schema": "public",
300
- "table": "executions"
301
- },
302
- {
303
- "type": "text",
304
- "typeSchema": null,
305
- "notNull": true,
306
- "dimensions": 0,
307
- "default": null,
308
- "generated": null,
309
- "identity": null,
310
- "name": "created_by_account_id",
311
- "entityType": "columns",
312
- "schema": "public",
313
- "table": "executions"
314
- },
315
- {
316
- "type": "text",
317
- "typeSchema": null,
318
- "notNull": true,
319
- "dimensions": 0,
320
- "default": null,
321
- "generated": null,
322
- "identity": null,
323
- "name": "status",
324
- "entityType": "columns",
325
- "schema": "public",
326
- "table": "executions"
327
- },
328
- {
329
- "type": "text",
330
- "typeSchema": null,
331
- "notNull": true,
332
- "dimensions": 0,
333
- "default": null,
334
- "generated": null,
335
- "identity": null,
336
- "name": "code",
337
- "entityType": "columns",
338
- "schema": "public",
339
- "table": "executions"
340
- },
341
- {
342
- "type": "text",
343
- "typeSchema": null,
344
- "notNull": false,
345
- "dimensions": 0,
346
- "default": null,
347
- "generated": null,
348
- "identity": null,
349
- "name": "result_json",
350
- "entityType": "columns",
351
- "schema": "public",
352
- "table": "executions"
353
- },
354
- {
355
- "type": "text",
356
- "typeSchema": null,
357
- "notNull": false,
358
- "dimensions": 0,
359
- "default": null,
360
- "generated": null,
361
- "identity": null,
362
- "name": "error_text",
363
- "entityType": "columns",
364
- "schema": "public",
365
- "table": "executions"
366
- },
367
- {
368
- "type": "text",
369
- "typeSchema": null,
370
- "notNull": false,
371
- "dimensions": 0,
372
- "default": null,
373
- "generated": null,
374
- "identity": null,
375
- "name": "logs_json",
376
- "entityType": "columns",
377
- "schema": "public",
378
- "table": "executions"
379
- },
380
- {
381
- "type": "bigint",
382
- "typeSchema": null,
383
- "notNull": false,
384
- "dimensions": 0,
385
- "default": null,
386
- "generated": null,
387
- "identity": null,
388
- "name": "started_at",
389
- "entityType": "columns",
390
- "schema": "public",
391
- "table": "executions"
392
- },
393
- {
394
- "type": "bigint",
395
- "typeSchema": null,
396
- "notNull": false,
397
- "dimensions": 0,
398
- "default": null,
399
- "generated": null,
400
- "identity": null,
401
- "name": "completed_at",
402
- "entityType": "columns",
403
- "schema": "public",
404
- "table": "executions"
405
- },
406
- {
407
- "type": "bigint",
408
- "typeSchema": null,
409
- "notNull": true,
410
- "dimensions": 0,
411
- "default": null,
412
- "generated": null,
413
- "identity": null,
414
- "name": "created_at",
415
- "entityType": "columns",
416
- "schema": "public",
417
- "table": "executions"
418
- },
419
- {
420
- "type": "bigint",
421
- "typeSchema": null,
422
- "notNull": true,
423
- "dimensions": 0,
424
- "default": null,
425
- "generated": null,
426
- "identity": null,
427
- "name": "updated_at",
428
- "entityType": "columns",
429
- "schema": "public",
430
- "table": "executions"
431
- },
432
- {
433
- "type": "text",
434
- "typeSchema": null,
435
- "notNull": true,
436
- "dimensions": 0,
437
- "default": null,
438
- "generated": null,
439
- "identity": null,
440
- "name": "id",
441
- "entityType": "columns",
442
- "schema": "public",
443
- "table": "local_installations"
444
- },
445
- {
446
- "type": "text",
447
- "typeSchema": null,
448
- "notNull": true,
449
- "dimensions": 0,
450
- "default": null,
451
- "generated": null,
452
- "identity": null,
453
- "name": "account_id",
454
- "entityType": "columns",
455
- "schema": "public",
456
- "table": "local_installations"
457
- },
458
- {
459
- "type": "text",
460
- "typeSchema": null,
461
- "notNull": true,
462
- "dimensions": 0,
463
- "default": null,
464
- "generated": null,
465
- "identity": null,
466
- "name": "organization_id",
467
- "entityType": "columns",
468
- "schema": "public",
469
- "table": "local_installations"
470
- },
471
- {
472
- "type": "text",
473
- "typeSchema": null,
474
- "notNull": true,
475
- "dimensions": 0,
476
- "default": null,
477
- "generated": null,
478
- "identity": null,
479
- "name": "workspace_id",
480
- "entityType": "columns",
481
- "schema": "public",
482
- "table": "local_installations"
483
- },
484
- {
485
- "type": "bigint",
486
- "typeSchema": null,
487
- "notNull": true,
488
- "dimensions": 0,
489
- "default": null,
490
- "generated": null,
491
- "identity": null,
492
- "name": "created_at",
493
- "entityType": "columns",
494
- "schema": "public",
495
- "table": "local_installations"
496
- },
497
- {
498
- "type": "bigint",
499
- "typeSchema": null,
500
- "notNull": true,
501
- "dimensions": 0,
502
- "default": null,
503
- "generated": null,
504
- "identity": null,
505
- "name": "updated_at",
506
- "entityType": "columns",
507
- "schema": "public",
508
- "table": "local_installations"
509
- },
510
- {
511
- "type": "text",
512
- "typeSchema": null,
513
- "notNull": true,
514
- "dimensions": 0,
515
- "default": null,
516
- "generated": null,
517
- "identity": null,
518
- "name": "id",
519
- "entityType": "columns",
520
- "schema": "public",
521
- "table": "organization_memberships"
522
- },
523
- {
524
- "type": "text",
525
- "typeSchema": null,
526
- "notNull": true,
527
- "dimensions": 0,
528
- "default": null,
529
- "generated": null,
530
- "identity": null,
531
- "name": "organization_id",
532
- "entityType": "columns",
533
- "schema": "public",
534
- "table": "organization_memberships"
535
- },
536
- {
537
- "type": "text",
538
- "typeSchema": null,
539
- "notNull": true,
540
- "dimensions": 0,
541
- "default": null,
542
- "generated": null,
543
- "identity": null,
544
- "name": "account_id",
545
- "entityType": "columns",
546
- "schema": "public",
547
- "table": "organization_memberships"
548
- },
549
- {
550
- "type": "text",
551
- "typeSchema": null,
552
- "notNull": true,
553
- "dimensions": 0,
554
- "default": null,
555
- "generated": null,
556
- "identity": null,
557
- "name": "role",
558
- "entityType": "columns",
559
- "schema": "public",
560
- "table": "organization_memberships"
561
- },
562
- {
563
- "type": "text",
564
- "typeSchema": null,
565
- "notNull": true,
566
- "dimensions": 0,
567
- "default": null,
568
- "generated": null,
569
- "identity": null,
570
- "name": "status",
571
- "entityType": "columns",
572
- "schema": "public",
573
- "table": "organization_memberships"
574
- },
575
- {
576
- "type": "boolean",
577
- "typeSchema": null,
578
- "notNull": true,
579
- "dimensions": 0,
580
- "default": null,
581
- "generated": null,
582
- "identity": null,
583
- "name": "billable",
584
- "entityType": "columns",
585
- "schema": "public",
586
- "table": "organization_memberships"
587
- },
588
- {
589
- "type": "text",
590
- "typeSchema": null,
591
- "notNull": false,
592
- "dimensions": 0,
593
- "default": null,
594
- "generated": null,
595
- "identity": null,
596
- "name": "invited_by_account_id",
597
- "entityType": "columns",
598
- "schema": "public",
599
- "table": "organization_memberships"
600
- },
601
- {
602
- "type": "bigint",
603
- "typeSchema": null,
604
- "notNull": false,
605
- "dimensions": 0,
606
- "default": null,
607
- "generated": null,
608
- "identity": null,
609
- "name": "joined_at",
610
- "entityType": "columns",
611
- "schema": "public",
612
- "table": "organization_memberships"
613
- },
614
- {
615
- "type": "bigint",
616
- "typeSchema": null,
617
- "notNull": true,
618
- "dimensions": 0,
619
- "default": null,
620
- "generated": null,
621
- "identity": null,
622
- "name": "created_at",
623
- "entityType": "columns",
624
- "schema": "public",
625
- "table": "organization_memberships"
626
- },
627
- {
628
- "type": "bigint",
629
- "typeSchema": null,
630
- "notNull": true,
631
- "dimensions": 0,
632
- "default": null,
633
- "generated": null,
634
- "identity": null,
635
- "name": "updated_at",
636
- "entityType": "columns",
637
- "schema": "public",
638
- "table": "organization_memberships"
639
- },
640
- {
641
- "type": "text",
642
- "typeSchema": null,
643
- "notNull": true,
644
- "dimensions": 0,
645
- "default": null,
646
- "generated": null,
647
- "identity": null,
648
- "name": "id",
649
- "entityType": "columns",
650
- "schema": "public",
651
- "table": "organizations"
652
- },
653
- {
654
- "type": "text",
655
- "typeSchema": null,
656
- "notNull": true,
657
- "dimensions": 0,
658
- "default": null,
659
- "generated": null,
660
- "identity": null,
661
- "name": "slug",
662
- "entityType": "columns",
663
- "schema": "public",
664
- "table": "organizations"
665
- },
666
- {
667
- "type": "text",
668
- "typeSchema": null,
669
- "notNull": true,
670
- "dimensions": 0,
671
- "default": null,
672
- "generated": null,
673
- "identity": null,
674
- "name": "name",
675
- "entityType": "columns",
676
- "schema": "public",
677
- "table": "organizations"
678
- },
679
- {
680
- "type": "text",
681
- "typeSchema": null,
682
- "notNull": true,
683
- "dimensions": 0,
684
- "default": null,
685
- "generated": null,
686
- "identity": null,
687
- "name": "status",
688
- "entityType": "columns",
689
- "schema": "public",
690
- "table": "organizations"
691
- },
692
- {
693
- "type": "text",
694
- "typeSchema": null,
695
- "notNull": false,
696
- "dimensions": 0,
697
- "default": null,
698
- "generated": null,
699
- "identity": null,
700
- "name": "created_by_account_id",
701
- "entityType": "columns",
702
- "schema": "public",
703
- "table": "organizations"
704
- },
705
- {
706
- "type": "bigint",
707
- "typeSchema": null,
708
- "notNull": true,
709
- "dimensions": 0,
710
- "default": null,
711
- "generated": null,
712
- "identity": null,
713
- "name": "created_at",
714
- "entityType": "columns",
715
- "schema": "public",
716
- "table": "organizations"
717
- },
718
- {
719
- "type": "bigint",
720
- "typeSchema": null,
721
- "notNull": true,
722
- "dimensions": 0,
723
- "default": null,
724
- "generated": null,
725
- "identity": null,
726
- "name": "updated_at",
727
- "entityType": "columns",
728
- "schema": "public",
729
- "table": "organizations"
730
- },
731
- {
732
- "type": "text",
733
- "typeSchema": null,
734
- "notNull": true,
735
- "dimensions": 0,
736
- "default": null,
737
- "generated": null,
738
- "identity": null,
739
- "name": "id",
740
- "entityType": "columns",
741
- "schema": "public",
742
- "table": "policies"
743
- },
744
- {
745
- "type": "text",
746
- "typeSchema": null,
747
- "notNull": true,
748
- "dimensions": 0,
749
- "default": null,
750
- "generated": null,
751
- "identity": null,
752
- "name": "workspace_id",
753
- "entityType": "columns",
754
- "schema": "public",
755
- "table": "policies"
756
- },
757
- {
758
- "type": "text",
759
- "typeSchema": null,
760
- "notNull": false,
761
- "dimensions": 0,
762
- "default": null,
763
- "generated": null,
764
- "identity": null,
765
- "name": "target_account_id",
766
- "entityType": "columns",
767
- "schema": "public",
768
- "table": "policies"
769
- },
770
- {
771
- "type": "text",
772
- "typeSchema": null,
773
- "notNull": false,
774
- "dimensions": 0,
775
- "default": null,
776
- "generated": null,
777
- "identity": null,
778
- "name": "client_id",
779
- "entityType": "columns",
780
- "schema": "public",
781
- "table": "policies"
782
- },
783
- {
784
- "type": "text",
785
- "typeSchema": null,
786
- "notNull": true,
787
- "dimensions": 0,
788
- "default": null,
789
- "generated": null,
790
- "identity": null,
791
- "name": "resource_type",
792
- "entityType": "columns",
793
- "schema": "public",
794
- "table": "policies"
795
- },
796
- {
797
- "type": "text",
798
- "typeSchema": null,
799
- "notNull": true,
800
- "dimensions": 0,
801
- "default": null,
802
- "generated": null,
803
- "identity": null,
804
- "name": "resource_pattern",
805
- "entityType": "columns",
806
- "schema": "public",
807
- "table": "policies"
808
- },
809
- {
810
- "type": "text",
811
- "typeSchema": null,
812
- "notNull": true,
813
- "dimensions": 0,
814
- "default": null,
815
- "generated": null,
816
- "identity": null,
817
- "name": "match_type",
818
- "entityType": "columns",
819
- "schema": "public",
820
- "table": "policies"
821
- },
822
- {
823
- "type": "text",
824
- "typeSchema": null,
825
- "notNull": true,
826
- "dimensions": 0,
827
- "default": null,
828
- "generated": null,
829
- "identity": null,
830
- "name": "effect",
831
- "entityType": "columns",
832
- "schema": "public",
833
- "table": "policies"
834
- },
835
- {
836
- "type": "text",
837
- "typeSchema": null,
838
- "notNull": true,
839
- "dimensions": 0,
840
- "default": null,
841
- "generated": null,
842
- "identity": null,
843
- "name": "approval_mode",
844
- "entityType": "columns",
845
- "schema": "public",
846
- "table": "policies"
847
- },
848
- {
849
- "type": "text",
850
- "typeSchema": null,
851
- "notNull": false,
852
- "dimensions": 0,
853
- "default": null,
854
- "generated": null,
855
- "identity": null,
856
- "name": "argument_conditions_json",
857
- "entityType": "columns",
858
- "schema": "public",
859
- "table": "policies"
860
- },
861
- {
862
- "type": "bigint",
863
- "typeSchema": null,
864
- "notNull": true,
865
- "dimensions": 0,
866
- "default": null,
867
- "generated": null,
868
- "identity": null,
869
- "name": "priority",
870
- "entityType": "columns",
871
- "schema": "public",
872
- "table": "policies"
873
- },
874
- {
875
- "type": "boolean",
876
- "typeSchema": null,
877
- "notNull": true,
878
- "dimensions": 0,
879
- "default": null,
880
- "generated": null,
881
- "identity": null,
882
- "name": "enabled",
883
- "entityType": "columns",
884
- "schema": "public",
885
- "table": "policies"
886
- },
887
- {
888
- "type": "bigint",
889
- "typeSchema": null,
890
- "notNull": true,
891
- "dimensions": 0,
892
- "default": null,
893
- "generated": null,
894
- "identity": null,
895
- "name": "created_at",
896
- "entityType": "columns",
897
- "schema": "public",
898
- "table": "policies"
899
- },
900
- {
901
- "type": "bigint",
902
- "typeSchema": null,
903
- "notNull": true,
904
- "dimensions": 0,
905
- "default": null,
906
- "generated": null,
907
- "identity": null,
908
- "name": "updated_at",
909
- "entityType": "columns",
910
- "schema": "public",
911
- "table": "policies"
912
- },
913
- {
914
- "type": "text",
915
- "typeSchema": null,
916
- "notNull": true,
917
- "dimensions": 0,
918
- "default": null,
919
- "generated": null,
920
- "identity": null,
921
- "name": "id",
922
- "entityType": "columns",
923
- "schema": "public",
924
- "table": "secret_materials"
925
- },
926
- {
927
- "type": "text",
928
- "typeSchema": null,
929
- "notNull": true,
930
- "dimensions": 0,
931
- "default": null,
932
- "generated": null,
933
- "identity": null,
934
- "name": "purpose",
935
- "entityType": "columns",
936
- "schema": "public",
937
- "table": "secret_materials"
938
- },
939
- {
940
- "type": "text",
941
- "typeSchema": null,
942
- "notNull": true,
943
- "dimensions": 0,
944
- "default": null,
945
- "generated": null,
946
- "identity": null,
947
- "name": "value",
948
- "entityType": "columns",
949
- "schema": "public",
950
- "table": "secret_materials"
951
- },
952
- {
953
- "type": "bigint",
954
- "typeSchema": null,
955
- "notNull": true,
956
- "dimensions": 0,
957
- "default": null,
958
- "generated": null,
959
- "identity": null,
960
- "name": "created_at",
961
- "entityType": "columns",
962
- "schema": "public",
963
- "table": "secret_materials"
964
- },
965
- {
966
- "type": "bigint",
967
- "typeSchema": null,
968
- "notNull": true,
969
- "dimensions": 0,
970
- "default": null,
971
- "generated": null,
972
- "identity": null,
973
- "name": "updated_at",
974
- "entityType": "columns",
975
- "schema": "public",
976
- "table": "secret_materials"
977
- },
978
- {
979
- "type": "text",
980
- "typeSchema": null,
981
- "notNull": true,
982
- "dimensions": 0,
983
- "default": null,
984
- "generated": null,
985
- "identity": null,
986
- "name": "id",
987
- "entityType": "columns",
988
- "schema": "public",
989
- "table": "source_auth_sessions"
990
- },
991
- {
992
- "type": "text",
993
- "typeSchema": null,
994
- "notNull": true,
995
- "dimensions": 0,
996
- "default": null,
997
- "generated": null,
998
- "identity": null,
999
- "name": "workspace_id",
1000
- "entityType": "columns",
1001
- "schema": "public",
1002
- "table": "source_auth_sessions"
1003
- },
1004
- {
1005
- "type": "text",
1006
- "typeSchema": null,
1007
- "notNull": true,
1008
- "dimensions": 0,
1009
- "default": null,
1010
- "generated": null,
1011
- "identity": null,
1012
- "name": "source_id",
1013
- "entityType": "columns",
1014
- "schema": "public",
1015
- "table": "source_auth_sessions"
1016
- },
1017
- {
1018
- "type": "text",
1019
- "typeSchema": null,
1020
- "notNull": false,
1021
- "dimensions": 0,
1022
- "default": null,
1023
- "generated": null,
1024
- "identity": null,
1025
- "name": "execution_id",
1026
- "entityType": "columns",
1027
- "schema": "public",
1028
- "table": "source_auth_sessions"
1029
- },
1030
- {
1031
- "type": "text",
1032
- "typeSchema": null,
1033
- "notNull": false,
1034
- "dimensions": 0,
1035
- "default": null,
1036
- "generated": null,
1037
- "identity": null,
1038
- "name": "interaction_id",
1039
- "entityType": "columns",
1040
- "schema": "public",
1041
- "table": "source_auth_sessions"
1042
- },
1043
- {
1044
- "type": "text",
1045
- "typeSchema": null,
1046
- "notNull": true,
1047
- "dimensions": 0,
1048
- "default": null,
1049
- "generated": null,
1050
- "identity": null,
1051
- "name": "strategy",
1052
- "entityType": "columns",
1053
- "schema": "public",
1054
- "table": "source_auth_sessions"
1055
- },
1056
- {
1057
- "type": "text",
1058
- "typeSchema": null,
1059
- "notNull": true,
1060
- "dimensions": 0,
1061
- "default": null,
1062
- "generated": null,
1063
- "identity": null,
1064
- "name": "status",
1065
- "entityType": "columns",
1066
- "schema": "public",
1067
- "table": "source_auth_sessions"
1068
- },
1069
- {
1070
- "type": "text",
1071
- "typeSchema": null,
1072
- "notNull": true,
1073
- "dimensions": 0,
1074
- "default": null,
1075
- "generated": null,
1076
- "identity": null,
1077
- "name": "endpoint",
1078
- "entityType": "columns",
1079
- "schema": "public",
1080
- "table": "source_auth_sessions"
1081
- },
1082
- {
1083
- "type": "text",
1084
- "typeSchema": null,
1085
- "notNull": true,
1086
- "dimensions": 0,
1087
- "default": null,
1088
- "generated": null,
1089
- "identity": null,
1090
- "name": "state",
1091
- "entityType": "columns",
1092
- "schema": "public",
1093
- "table": "source_auth_sessions"
1094
- },
1095
- {
1096
- "type": "text",
1097
- "typeSchema": null,
1098
- "notNull": true,
1099
- "dimensions": 0,
1100
- "default": null,
1101
- "generated": null,
1102
- "identity": null,
1103
- "name": "redirect_uri",
1104
- "entityType": "columns",
1105
- "schema": "public",
1106
- "table": "source_auth_sessions"
1107
- },
1108
- {
1109
- "type": "text",
1110
- "typeSchema": null,
1111
- "notNull": false,
1112
- "dimensions": 0,
1113
- "default": null,
1114
- "generated": null,
1115
- "identity": null,
1116
- "name": "scope",
1117
- "entityType": "columns",
1118
- "schema": "public",
1119
- "table": "source_auth_sessions"
1120
- },
1121
- {
1122
- "type": "text",
1123
- "typeSchema": null,
1124
- "notNull": false,
1125
- "dimensions": 0,
1126
- "default": null,
1127
- "generated": null,
1128
- "identity": null,
1129
- "name": "resource_metadata_url",
1130
- "entityType": "columns",
1131
- "schema": "public",
1132
- "table": "source_auth_sessions"
1133
- },
1134
- {
1135
- "type": "text",
1136
- "typeSchema": null,
1137
- "notNull": false,
1138
- "dimensions": 0,
1139
- "default": null,
1140
- "generated": null,
1141
- "identity": null,
1142
- "name": "authorization_server_url",
1143
- "entityType": "columns",
1144
- "schema": "public",
1145
- "table": "source_auth_sessions"
1146
- },
1147
- {
1148
- "type": "text",
1149
- "typeSchema": null,
1150
- "notNull": false,
1151
- "dimensions": 0,
1152
- "default": null,
1153
- "generated": null,
1154
- "identity": null,
1155
- "name": "resource_metadata_json",
1156
- "entityType": "columns",
1157
- "schema": "public",
1158
- "table": "source_auth_sessions"
1159
- },
1160
- {
1161
- "type": "text",
1162
- "typeSchema": null,
1163
- "notNull": false,
1164
- "dimensions": 0,
1165
- "default": null,
1166
- "generated": null,
1167
- "identity": null,
1168
- "name": "authorization_server_metadata_json",
1169
- "entityType": "columns",
1170
- "schema": "public",
1171
- "table": "source_auth_sessions"
1172
- },
1173
- {
1174
- "type": "text",
1175
- "typeSchema": null,
1176
- "notNull": false,
1177
- "dimensions": 0,
1178
- "default": null,
1179
- "generated": null,
1180
- "identity": null,
1181
- "name": "client_information_json",
1182
- "entityType": "columns",
1183
- "schema": "public",
1184
- "table": "source_auth_sessions"
1185
- },
1186
- {
1187
- "type": "text",
1188
- "typeSchema": null,
1189
- "notNull": false,
1190
- "dimensions": 0,
1191
- "default": null,
1192
- "generated": null,
1193
- "identity": null,
1194
- "name": "code_verifier",
1195
- "entityType": "columns",
1196
- "schema": "public",
1197
- "table": "source_auth_sessions"
1198
- },
1199
- {
1200
- "type": "text",
1201
- "typeSchema": null,
1202
- "notNull": false,
1203
- "dimensions": 0,
1204
- "default": null,
1205
- "generated": null,
1206
- "identity": null,
1207
- "name": "authorization_url",
1208
- "entityType": "columns",
1209
- "schema": "public",
1210
- "table": "source_auth_sessions"
1211
- },
1212
- {
1213
- "type": "text",
1214
- "typeSchema": null,
1215
- "notNull": false,
1216
- "dimensions": 0,
1217
- "default": null,
1218
- "generated": null,
1219
- "identity": null,
1220
- "name": "error_text",
1221
- "entityType": "columns",
1222
- "schema": "public",
1223
- "table": "source_auth_sessions"
1224
- },
1225
- {
1226
- "type": "bigint",
1227
- "typeSchema": null,
1228
- "notNull": false,
1229
- "dimensions": 0,
1230
- "default": null,
1231
- "generated": null,
1232
- "identity": null,
1233
- "name": "completed_at",
1234
- "entityType": "columns",
1235
- "schema": "public",
1236
- "table": "source_auth_sessions"
1237
- },
1238
- {
1239
- "type": "bigint",
1240
- "typeSchema": null,
1241
- "notNull": true,
1242
- "dimensions": 0,
1243
- "default": null,
1244
- "generated": null,
1245
- "identity": null,
1246
- "name": "created_at",
1247
- "entityType": "columns",
1248
- "schema": "public",
1249
- "table": "source_auth_sessions"
1250
- },
1251
- {
1252
- "type": "bigint",
1253
- "typeSchema": null,
1254
- "notNull": true,
1255
- "dimensions": 0,
1256
- "default": null,
1257
- "generated": null,
1258
- "identity": null,
1259
- "name": "updated_at",
1260
- "entityType": "columns",
1261
- "schema": "public",
1262
- "table": "source_auth_sessions"
1263
- },
1264
- {
1265
- "type": "text",
1266
- "typeSchema": null,
1267
- "notNull": true,
1268
- "dimensions": 0,
1269
- "default": null,
1270
- "generated": null,
1271
- "identity": null,
1272
- "name": "workspace_id",
1273
- "entityType": "columns",
1274
- "schema": "public",
1275
- "table": "source_credential_bindings"
1276
- },
1277
- {
1278
- "type": "text",
1279
- "typeSchema": null,
1280
- "notNull": true,
1281
- "dimensions": 0,
1282
- "default": null,
1283
- "generated": null,
1284
- "identity": null,
1285
- "name": "source_id",
1286
- "entityType": "columns",
1287
- "schema": "public",
1288
- "table": "source_credential_bindings"
1289
- },
1290
- {
1291
- "type": "text",
1292
- "typeSchema": null,
1293
- "notNull": false,
1294
- "dimensions": 0,
1295
- "default": null,
1296
- "generated": null,
1297
- "identity": null,
1298
- "name": "token_provider_id",
1299
- "entityType": "columns",
1300
- "schema": "public",
1301
- "table": "source_credential_bindings"
1302
- },
1303
- {
1304
- "type": "text",
1305
- "typeSchema": null,
1306
- "notNull": false,
1307
- "dimensions": 0,
1308
- "default": null,
1309
- "generated": null,
1310
- "identity": null,
1311
- "name": "token_handle",
1312
- "entityType": "columns",
1313
- "schema": "public",
1314
- "table": "source_credential_bindings"
1315
- },
1316
- {
1317
- "type": "text",
1318
- "typeSchema": null,
1319
- "notNull": false,
1320
- "dimensions": 0,
1321
- "default": null,
1322
- "generated": null,
1323
- "identity": null,
1324
- "name": "refresh_token_provider_id",
1325
- "entityType": "columns",
1326
- "schema": "public",
1327
- "table": "source_credential_bindings"
1328
- },
1329
- {
1330
- "type": "text",
1331
- "typeSchema": null,
1332
- "notNull": false,
1333
- "dimensions": 0,
1334
- "default": null,
1335
- "generated": null,
1336
- "identity": null,
1337
- "name": "refresh_token_handle",
1338
- "entityType": "columns",
1339
- "schema": "public",
1340
- "table": "source_credential_bindings"
1341
- },
1342
- {
1343
- "type": "bigint",
1344
- "typeSchema": null,
1345
- "notNull": true,
1346
- "dimensions": 0,
1347
- "default": null,
1348
- "generated": null,
1349
- "identity": null,
1350
- "name": "created_at",
1351
- "entityType": "columns",
1352
- "schema": "public",
1353
- "table": "source_credential_bindings"
1354
- },
1355
- {
1356
- "type": "bigint",
1357
- "typeSchema": null,
1358
- "notNull": true,
1359
- "dimensions": 0,
1360
- "default": null,
1361
- "generated": null,
1362
- "identity": null,
1363
- "name": "updated_at",
1364
- "entityType": "columns",
1365
- "schema": "public",
1366
- "table": "source_credential_bindings"
1367
- },
1368
- {
1369
- "type": "text",
1370
- "typeSchema": null,
1371
- "notNull": true,
1372
- "dimensions": 0,
1373
- "default": null,
1374
- "generated": null,
1375
- "identity": null,
1376
- "name": "workspace_id",
1377
- "entityType": "columns",
1378
- "schema": "public",
1379
- "table": "sources"
1380
- },
1381
- {
1382
- "type": "text",
1383
- "typeSchema": null,
1384
- "notNull": true,
1385
- "dimensions": 0,
1386
- "default": null,
1387
- "generated": null,
1388
- "identity": null,
1389
- "name": "source_id",
1390
- "entityType": "columns",
1391
- "schema": "public",
1392
- "table": "sources"
1393
- },
1394
- {
1395
- "type": "text",
1396
- "typeSchema": null,
1397
- "notNull": true,
1398
- "dimensions": 0,
1399
- "default": null,
1400
- "generated": null,
1401
- "identity": null,
1402
- "name": "name",
1403
- "entityType": "columns",
1404
- "schema": "public",
1405
- "table": "sources"
1406
- },
1407
- {
1408
- "type": "text",
1409
- "typeSchema": null,
1410
- "notNull": true,
1411
- "dimensions": 0,
1412
- "default": null,
1413
- "generated": null,
1414
- "identity": null,
1415
- "name": "kind",
1416
- "entityType": "columns",
1417
- "schema": "public",
1418
- "table": "sources"
1419
- },
1420
- {
1421
- "type": "text",
1422
- "typeSchema": null,
1423
- "notNull": true,
1424
- "dimensions": 0,
1425
- "default": null,
1426
- "generated": null,
1427
- "identity": null,
1428
- "name": "endpoint",
1429
- "entityType": "columns",
1430
- "schema": "public",
1431
- "table": "sources"
1432
- },
1433
- {
1434
- "type": "text",
1435
- "typeSchema": null,
1436
- "notNull": true,
1437
- "dimensions": 0,
1438
- "default": null,
1439
- "generated": null,
1440
- "identity": null,
1441
- "name": "status",
1442
- "entityType": "columns",
1443
- "schema": "public",
1444
- "table": "sources"
1445
- },
1446
- {
1447
- "type": "boolean",
1448
- "typeSchema": null,
1449
- "notNull": true,
1450
- "dimensions": 0,
1451
- "default": null,
1452
- "generated": null,
1453
- "identity": null,
1454
- "name": "enabled",
1455
- "entityType": "columns",
1456
- "schema": "public",
1457
- "table": "sources"
1458
- },
1459
- {
1460
- "type": "text",
1461
- "typeSchema": null,
1462
- "notNull": false,
1463
- "dimensions": 0,
1464
- "default": null,
1465
- "generated": null,
1466
- "identity": null,
1467
- "name": "namespace",
1468
- "entityType": "columns",
1469
- "schema": "public",
1470
- "table": "sources"
1471
- },
1472
- {
1473
- "type": "text",
1474
- "typeSchema": null,
1475
- "notNull": false,
1476
- "dimensions": 0,
1477
- "default": null,
1478
- "generated": null,
1479
- "identity": null,
1480
- "name": "transport",
1481
- "entityType": "columns",
1482
- "schema": "public",
1483
- "table": "sources"
1484
- },
1485
- {
1486
- "type": "text",
1487
- "typeSchema": null,
1488
- "notNull": false,
1489
- "dimensions": 0,
1490
- "default": null,
1491
- "generated": null,
1492
- "identity": null,
1493
- "name": "query_params_json",
1494
- "entityType": "columns",
1495
- "schema": "public",
1496
- "table": "sources"
1497
- },
1498
- {
1499
- "type": "text",
1500
- "typeSchema": null,
1501
- "notNull": false,
1502
- "dimensions": 0,
1503
- "default": null,
1504
- "generated": null,
1505
- "identity": null,
1506
- "name": "headers_json",
1507
- "entityType": "columns",
1508
- "schema": "public",
1509
- "table": "sources"
1510
- },
1511
- {
1512
- "type": "text",
1513
- "typeSchema": null,
1514
- "notNull": false,
1515
- "dimensions": 0,
1516
- "default": null,
1517
- "generated": null,
1518
- "identity": null,
1519
- "name": "spec_url",
1520
- "entityType": "columns",
1521
- "schema": "public",
1522
- "table": "sources"
1523
- },
1524
- {
1525
- "type": "text",
1526
- "typeSchema": null,
1527
- "notNull": false,
1528
- "dimensions": 0,
1529
- "default": null,
1530
- "generated": null,
1531
- "identity": null,
1532
- "name": "default_headers_json",
1533
- "entityType": "columns",
1534
- "schema": "public",
1535
- "table": "sources"
1536
- },
1537
- {
1538
- "type": "text",
1539
- "typeSchema": null,
1540
- "notNull": true,
1541
- "dimensions": 0,
1542
- "default": null,
1543
- "generated": null,
1544
- "identity": null,
1545
- "name": "auth_kind",
1546
- "entityType": "columns",
1547
- "schema": "public",
1548
- "table": "sources"
1549
- },
1550
- {
1551
- "type": "text",
1552
- "typeSchema": null,
1553
- "notNull": false,
1554
- "dimensions": 0,
1555
- "default": null,
1556
- "generated": null,
1557
- "identity": null,
1558
- "name": "auth_header_name",
1559
- "entityType": "columns",
1560
- "schema": "public",
1561
- "table": "sources"
1562
- },
1563
- {
1564
- "type": "text",
1565
- "typeSchema": null,
1566
- "notNull": false,
1567
- "dimensions": 0,
1568
- "default": null,
1569
- "generated": null,
1570
- "identity": null,
1571
- "name": "auth_prefix",
1572
- "entityType": "columns",
1573
- "schema": "public",
1574
- "table": "sources"
1575
- },
1576
- {
1577
- "type": "text",
1578
- "typeSchema": null,
1579
- "notNull": false,
1580
- "dimensions": 0,
1581
- "default": null,
1582
- "generated": null,
1583
- "identity": null,
1584
- "name": "source_hash",
1585
- "entityType": "columns",
1586
- "schema": "public",
1587
- "table": "sources"
1588
- },
1589
- {
1590
- "type": "text",
1591
- "typeSchema": null,
1592
- "notNull": false,
1593
- "dimensions": 0,
1594
- "default": null,
1595
- "generated": null,
1596
- "identity": null,
1597
- "name": "last_error",
1598
- "entityType": "columns",
1599
- "schema": "public",
1600
- "table": "sources"
1601
- },
1602
- {
1603
- "type": "bigint",
1604
- "typeSchema": null,
1605
- "notNull": true,
1606
- "dimensions": 0,
1607
- "default": null,
1608
- "generated": null,
1609
- "identity": null,
1610
- "name": "created_at",
1611
- "entityType": "columns",
1612
- "schema": "public",
1613
- "table": "sources"
1614
- },
1615
- {
1616
- "type": "bigint",
1617
- "typeSchema": null,
1618
- "notNull": true,
1619
- "dimensions": 0,
1620
- "default": null,
1621
- "generated": null,
1622
- "identity": null,
1623
- "name": "updated_at",
1624
- "entityType": "columns",
1625
- "schema": "public",
1626
- "table": "sources"
1627
- },
1628
- {
1629
- "type": "text",
1630
- "typeSchema": null,
1631
- "notNull": true,
1632
- "dimensions": 0,
1633
- "default": null,
1634
- "generated": null,
1635
- "identity": null,
1636
- "name": "id",
1637
- "entityType": "columns",
1638
- "schema": "public",
1639
- "table": "workspaces"
1640
- },
1641
- {
1642
- "type": "text",
1643
- "typeSchema": null,
1644
- "notNull": true,
1645
- "dimensions": 0,
1646
- "default": null,
1647
- "generated": null,
1648
- "identity": null,
1649
- "name": "organization_id",
1650
- "entityType": "columns",
1651
- "schema": "public",
1652
- "table": "workspaces"
1653
- },
1654
- {
1655
- "type": "text",
1656
- "typeSchema": null,
1657
- "notNull": true,
1658
- "dimensions": 0,
1659
- "default": null,
1660
- "generated": null,
1661
- "identity": null,
1662
- "name": "name",
1663
- "entityType": "columns",
1664
- "schema": "public",
1665
- "table": "workspaces"
1666
- },
1667
- {
1668
- "type": "text",
1669
- "typeSchema": null,
1670
- "notNull": false,
1671
- "dimensions": 0,
1672
- "default": null,
1673
- "generated": null,
1674
- "identity": null,
1675
- "name": "created_by_account_id",
1676
- "entityType": "columns",
1677
- "schema": "public",
1678
- "table": "workspaces"
1679
- },
1680
- {
1681
- "type": "bigint",
1682
- "typeSchema": null,
1683
- "notNull": true,
1684
- "dimensions": 0,
1685
- "default": null,
1686
- "generated": null,
1687
- "identity": null,
1688
- "name": "created_at",
1689
- "entityType": "columns",
1690
- "schema": "public",
1691
- "table": "workspaces"
1692
- },
1693
- {
1694
- "type": "bigint",
1695
- "typeSchema": null,
1696
- "notNull": true,
1697
- "dimensions": 0,
1698
- "default": null,
1699
- "generated": null,
1700
- "identity": null,
1701
- "name": "updated_at",
1702
- "entityType": "columns",
1703
- "schema": "public",
1704
- "table": "workspaces"
1705
- },
1706
- {
1707
- "nameExplicit": true,
1708
- "columns": [
1709
- {
1710
- "value": "provider",
1711
- "isExpression": false,
1712
- "asc": true,
1713
- "nullsFirst": false,
1714
- "opclass": null
1715
- },
1716
- {
1717
- "value": "subject",
1718
- "isExpression": false,
1719
- "asc": true,
1720
- "nullsFirst": false,
1721
- "opclass": null
1722
- }
1723
- ],
1724
- "isUnique": true,
1725
- "where": null,
1726
- "with": "",
1727
- "method": "btree",
1728
- "concurrently": false,
1729
- "name": "accounts_provider_subject_idx",
1730
- "entityType": "indexes",
1731
- "schema": "public",
1732
- "table": "accounts"
1733
- },
1734
- {
1735
- "nameExplicit": true,
1736
- "columns": [
1737
- {
1738
- "value": "updated_at",
1739
- "isExpression": false,
1740
- "asc": true,
1741
- "nullsFirst": false,
1742
- "opclass": null
1743
- },
1744
- {
1745
- "value": "id",
1746
- "isExpression": false,
1747
- "asc": true,
1748
- "nullsFirst": false,
1749
- "opclass": null
1750
- }
1751
- ],
1752
- "isUnique": false,
1753
- "where": null,
1754
- "with": "",
1755
- "method": "btree",
1756
- "concurrently": false,
1757
- "name": "accounts_updated_idx",
1758
- "entityType": "indexes",
1759
- "schema": "public",
1760
- "table": "accounts"
1761
- },
1762
- {
1763
- "nameExplicit": true,
1764
- "columns": [
1765
- {
1766
- "value": "execution_id",
1767
- "isExpression": false,
1768
- "asc": true,
1769
- "nullsFirst": false,
1770
- "opclass": null
1771
- },
1772
- {
1773
- "value": "updated_at",
1774
- "isExpression": false,
1775
- "asc": true,
1776
- "nullsFirst": false,
1777
- "opclass": null
1778
- },
1779
- {
1780
- "value": "id",
1781
- "isExpression": false,
1782
- "asc": true,
1783
- "nullsFirst": false,
1784
- "opclass": null
1785
- }
1786
- ],
1787
- "isUnique": false,
1788
- "where": null,
1789
- "with": "",
1790
- "method": "btree",
1791
- "concurrently": false,
1792
- "name": "execution_interactions_execution_idx",
1793
- "entityType": "indexes",
1794
- "schema": "public",
1795
- "table": "execution_interactions"
1796
- },
1797
- {
1798
- "nameExplicit": true,
1799
- "columns": [
1800
- {
1801
- "value": "workspace_id",
1802
- "isExpression": false,
1803
- "asc": true,
1804
- "nullsFirst": false,
1805
- "opclass": null
1806
- },
1807
- {
1808
- "value": "updated_at",
1809
- "isExpression": false,
1810
- "asc": true,
1811
- "nullsFirst": false,
1812
- "opclass": null
1813
- },
1814
- {
1815
- "value": "id",
1816
- "isExpression": false,
1817
- "asc": true,
1818
- "nullsFirst": false,
1819
- "opclass": null
1820
- }
1821
- ],
1822
- "isUnique": false,
1823
- "where": null,
1824
- "with": "",
1825
- "method": "btree",
1826
- "concurrently": false,
1827
- "name": "executions_workspace_idx",
1828
- "entityType": "indexes",
1829
- "schema": "public",
1830
- "table": "executions"
1831
- },
1832
- {
1833
- "nameExplicit": true,
1834
- "columns": [
1835
- {
1836
- "value": "organization_id",
1837
- "isExpression": false,
1838
- "asc": true,
1839
- "nullsFirst": false,
1840
- "opclass": null
1841
- }
1842
- ],
1843
- "isUnique": false,
1844
- "where": null,
1845
- "with": "",
1846
- "method": "btree",
1847
- "concurrently": false,
1848
- "name": "organization_memberships_org_idx",
1849
- "entityType": "indexes",
1850
- "schema": "public",
1851
- "table": "organization_memberships"
1852
- },
1853
- {
1854
- "nameExplicit": true,
1855
- "columns": [
1856
- {
1857
- "value": "account_id",
1858
- "isExpression": false,
1859
- "asc": true,
1860
- "nullsFirst": false,
1861
- "opclass": null
1862
- }
1863
- ],
1864
- "isUnique": false,
1865
- "where": null,
1866
- "with": "",
1867
- "method": "btree",
1868
- "concurrently": false,
1869
- "name": "organization_memberships_account_idx",
1870
- "entityType": "indexes",
1871
- "schema": "public",
1872
- "table": "organization_memberships"
1873
- },
1874
- {
1875
- "nameExplicit": true,
1876
- "columns": [
1877
- {
1878
- "value": "organization_id",
1879
- "isExpression": false,
1880
- "asc": true,
1881
- "nullsFirst": false,
1882
- "opclass": null
1883
- },
1884
- {
1885
- "value": "account_id",
1886
- "isExpression": false,
1887
- "asc": true,
1888
- "nullsFirst": false,
1889
- "opclass": null
1890
- }
1891
- ],
1892
- "isUnique": true,
1893
- "where": null,
1894
- "with": "",
1895
- "method": "btree",
1896
- "concurrently": false,
1897
- "name": "organization_memberships_org_account_idx",
1898
- "entityType": "indexes",
1899
- "schema": "public",
1900
- "table": "organization_memberships"
1901
- },
1902
- {
1903
- "nameExplicit": true,
1904
- "columns": [
1905
- {
1906
- "value": "slug",
1907
- "isExpression": false,
1908
- "asc": true,
1909
- "nullsFirst": false,
1910
- "opclass": null
1911
- }
1912
- ],
1913
- "isUnique": true,
1914
- "where": null,
1915
- "with": "",
1916
- "method": "btree",
1917
- "concurrently": false,
1918
- "name": "organizations_slug_idx",
1919
- "entityType": "indexes",
1920
- "schema": "public",
1921
- "table": "organizations"
1922
- },
1923
- {
1924
- "nameExplicit": true,
1925
- "columns": [
1926
- {
1927
- "value": "updated_at",
1928
- "isExpression": false,
1929
- "asc": true,
1930
- "nullsFirst": false,
1931
- "opclass": null
1932
- },
1933
- {
1934
- "value": "id",
1935
- "isExpression": false,
1936
- "asc": true,
1937
- "nullsFirst": false,
1938
- "opclass": null
1939
- }
1940
- ],
1941
- "isUnique": false,
1942
- "where": null,
1943
- "with": "",
1944
- "method": "btree",
1945
- "concurrently": false,
1946
- "name": "organizations_updated_idx",
1947
- "entityType": "indexes",
1948
- "schema": "public",
1949
- "table": "organizations"
1950
- },
1951
- {
1952
- "nameExplicit": true,
1953
- "columns": [
1954
- {
1955
- "value": "workspace_id",
1956
- "isExpression": false,
1957
- "asc": true,
1958
- "nullsFirst": false,
1959
- "opclass": null
1960
- },
1961
- {
1962
- "value": "updated_at",
1963
- "isExpression": false,
1964
- "asc": true,
1965
- "nullsFirst": false,
1966
- "opclass": null
1967
- },
1968
- {
1969
- "value": "id",
1970
- "isExpression": false,
1971
- "asc": true,
1972
- "nullsFirst": false,
1973
- "opclass": null
1974
- }
1975
- ],
1976
- "isUnique": false,
1977
- "where": null,
1978
- "with": "",
1979
- "method": "btree",
1980
- "concurrently": false,
1981
- "name": "policies_workspace_idx",
1982
- "entityType": "indexes",
1983
- "schema": "public",
1984
- "table": "policies"
1985
- },
1986
- {
1987
- "nameExplicit": true,
1988
- "columns": [
1989
- {
1990
- "value": "updated_at",
1991
- "isExpression": false,
1992
- "asc": true,
1993
- "nullsFirst": false,
1994
- "opclass": null
1995
- },
1996
- {
1997
- "value": "id",
1998
- "isExpression": false,
1999
- "asc": true,
2000
- "nullsFirst": false,
2001
- "opclass": null
2002
- }
2003
- ],
2004
- "isUnique": false,
2005
- "where": null,
2006
- "with": "",
2007
- "method": "btree",
2008
- "concurrently": false,
2009
- "name": "secret_materials_updated_idx",
2010
- "entityType": "indexes",
2011
- "schema": "public",
2012
- "table": "secret_materials"
2013
- },
2014
- {
2015
- "nameExplicit": true,
2016
- "columns": [
2017
- {
2018
- "value": "workspace_id",
2019
- "isExpression": false,
2020
- "asc": true,
2021
- "nullsFirst": false,
2022
- "opclass": null
2023
- },
2024
- {
2025
- "value": "updated_at",
2026
- "isExpression": false,
2027
- "asc": true,
2028
- "nullsFirst": false,
2029
- "opclass": null
2030
- },
2031
- {
2032
- "value": "id",
2033
- "isExpression": false,
2034
- "asc": true,
2035
- "nullsFirst": false,
2036
- "opclass": null
2037
- }
2038
- ],
2039
- "isUnique": false,
2040
- "where": null,
2041
- "with": "",
2042
- "method": "btree",
2043
- "concurrently": false,
2044
- "name": "source_auth_sessions_workspace_idx",
2045
- "entityType": "indexes",
2046
- "schema": "public",
2047
- "table": "source_auth_sessions"
2048
- },
2049
- {
2050
- "nameExplicit": true,
2051
- "columns": [
2052
- {
2053
- "value": "state",
2054
- "isExpression": false,
2055
- "asc": true,
2056
- "nullsFirst": false,
2057
- "opclass": null
2058
- }
2059
- ],
2060
- "isUnique": true,
2061
- "where": null,
2062
- "with": "",
2063
- "method": "btree",
2064
- "concurrently": false,
2065
- "name": "source_auth_sessions_state_idx",
2066
- "entityType": "indexes",
2067
- "schema": "public",
2068
- "table": "source_auth_sessions"
2069
- },
2070
- {
2071
- "nameExplicit": true,
2072
- "columns": [
2073
- {
2074
- "value": "workspace_id",
2075
- "isExpression": false,
2076
- "asc": true,
2077
- "nullsFirst": false,
2078
- "opclass": null
2079
- },
2080
- {
2081
- "value": "updated_at",
2082
- "isExpression": false,
2083
- "asc": true,
2084
- "nullsFirst": false,
2085
- "opclass": null
2086
- },
2087
- {
2088
- "value": "source_id",
2089
- "isExpression": false,
2090
- "asc": true,
2091
- "nullsFirst": false,
2092
- "opclass": null
2093
- }
2094
- ],
2095
- "isUnique": false,
2096
- "where": null,
2097
- "with": "",
2098
- "method": "btree",
2099
- "concurrently": false,
2100
- "name": "source_credential_bindings_workspace_idx",
2101
- "entityType": "indexes",
2102
- "schema": "public",
2103
- "table": "source_credential_bindings"
2104
- },
2105
- {
2106
- "nameExplicit": true,
2107
- "columns": [
2108
- {
2109
- "value": "workspace_id",
2110
- "isExpression": false,
2111
- "asc": true,
2112
- "nullsFirst": false,
2113
- "opclass": null
2114
- },
2115
- {
2116
- "value": "name",
2117
- "isExpression": false,
2118
- "asc": true,
2119
- "nullsFirst": false,
2120
- "opclass": null
2121
- }
2122
- ],
2123
- "isUnique": true,
2124
- "where": null,
2125
- "with": "",
2126
- "method": "btree",
2127
- "concurrently": false,
2128
- "name": "sources_workspace_name_idx",
2129
- "entityType": "indexes",
2130
- "schema": "public",
2131
- "table": "sources"
2132
- },
2133
- {
2134
- "nameExplicit": true,
2135
- "columns": [
2136
- {
2137
- "value": "organization_id",
2138
- "isExpression": false,
2139
- "asc": true,
2140
- "nullsFirst": false,
2141
- "opclass": null
2142
- }
2143
- ],
2144
- "isUnique": false,
2145
- "where": null,
2146
- "with": "",
2147
- "method": "btree",
2148
- "concurrently": false,
2149
- "name": "workspaces_org_idx",
2150
- "entityType": "indexes",
2151
- "schema": "public",
2152
- "table": "workspaces"
2153
- },
2154
- {
2155
- "nameExplicit": true,
2156
- "columns": [
2157
- {
2158
- "value": "organization_id",
2159
- "isExpression": false,
2160
- "asc": true,
2161
- "nullsFirst": false,
2162
- "opclass": null
2163
- },
2164
- {
2165
- "value": "name",
2166
- "isExpression": false,
2167
- "asc": true,
2168
- "nullsFirst": false,
2169
- "opclass": null
2170
- }
2171
- ],
2172
- "isUnique": true,
2173
- "where": null,
2174
- "with": "",
2175
- "method": "btree",
2176
- "concurrently": false,
2177
- "name": "workspaces_org_name_idx",
2178
- "entityType": "indexes",
2179
- "schema": "public",
2180
- "table": "workspaces"
2181
- },
2182
- {
2183
- "columns": [
2184
- "workspace_id",
2185
- "source_id"
2186
- ],
2187
- "nameExplicit": false,
2188
- "name": "source_credential_bindings_pkey",
2189
- "entityType": "pks",
2190
- "schema": "public",
2191
- "table": "source_credential_bindings"
2192
- },
2193
- {
2194
- "columns": [
2195
- "workspace_id",
2196
- "source_id"
2197
- ],
2198
- "nameExplicit": false,
2199
- "name": "sources_pkey",
2200
- "entityType": "pks",
2201
- "schema": "public",
2202
- "table": "sources"
2203
- },
2204
- {
2205
- "columns": [
2206
- "id"
2207
- ],
2208
- "nameExplicit": false,
2209
- "name": "accounts_pkey",
2210
- "schema": "public",
2211
- "table": "accounts",
2212
- "entityType": "pks"
2213
- },
2214
- {
2215
- "columns": [
2216
- "id"
2217
- ],
2218
- "nameExplicit": false,
2219
- "name": "execution_interactions_pkey",
2220
- "schema": "public",
2221
- "table": "execution_interactions",
2222
- "entityType": "pks"
2223
- },
2224
- {
2225
- "columns": [
2226
- "id"
2227
- ],
2228
- "nameExplicit": false,
2229
- "name": "executions_pkey",
2230
- "schema": "public",
2231
- "table": "executions",
2232
- "entityType": "pks"
2233
- },
2234
- {
2235
- "columns": [
2236
- "id"
2237
- ],
2238
- "nameExplicit": false,
2239
- "name": "local_installations_pkey",
2240
- "schema": "public",
2241
- "table": "local_installations",
2242
- "entityType": "pks"
2243
- },
2244
- {
2245
- "columns": [
2246
- "id"
2247
- ],
2248
- "nameExplicit": false,
2249
- "name": "organization_memberships_pkey",
2250
- "schema": "public",
2251
- "table": "organization_memberships",
2252
- "entityType": "pks"
2253
- },
2254
- {
2255
- "columns": [
2256
- "id"
2257
- ],
2258
- "nameExplicit": false,
2259
- "name": "organizations_pkey",
2260
- "schema": "public",
2261
- "table": "organizations",
2262
- "entityType": "pks"
2263
- },
2264
- {
2265
- "columns": [
2266
- "id"
2267
- ],
2268
- "nameExplicit": false,
2269
- "name": "policies_pkey",
2270
- "schema": "public",
2271
- "table": "policies",
2272
- "entityType": "pks"
2273
- },
2274
- {
2275
- "columns": [
2276
- "id"
2277
- ],
2278
- "nameExplicit": false,
2279
- "name": "secret_materials_pkey",
2280
- "schema": "public",
2281
- "table": "secret_materials",
2282
- "entityType": "pks"
2283
- },
2284
- {
2285
- "columns": [
2286
- "id"
2287
- ],
2288
- "nameExplicit": false,
2289
- "name": "source_auth_sessions_pkey",
2290
- "schema": "public",
2291
- "table": "source_auth_sessions",
2292
- "entityType": "pks"
2293
- },
2294
- {
2295
- "columns": [
2296
- "id"
2297
- ],
2298
- "nameExplicit": false,
2299
- "name": "workspaces_pkey",
2300
- "schema": "public",
2301
- "table": "workspaces",
2302
- "entityType": "pks"
2303
- },
2304
- {
2305
- "value": "\"provider\" in ('local', 'workos', 'service')",
2306
- "name": "accounts_provider_check",
2307
- "entityType": "checks",
2308
- "schema": "public",
2309
- "table": "accounts"
2310
- },
2311
- {
2312
- "value": "\"status\" in ('pending', 'resolved', 'cancelled')",
2313
- "name": "execution_interactions_status_check",
2314
- "entityType": "checks",
2315
- "schema": "public",
2316
- "table": "execution_interactions"
2317
- },
2318
- {
2319
- "value": "\"status\" in ('pending', 'running', 'waiting_for_interaction', 'completed', 'failed', 'cancelled')",
2320
- "name": "executions_status_check",
2321
- "entityType": "checks",
2322
- "schema": "public",
2323
- "table": "executions"
2324
- },
2325
- {
2326
- "value": "\"role\" in ('viewer', 'editor', 'admin', 'owner')",
2327
- "name": "organization_memberships_role_check",
2328
- "entityType": "checks",
2329
- "schema": "public",
2330
- "table": "organization_memberships"
2331
- },
2332
- {
2333
- "value": "\"status\" in ('invited', 'active', 'suspended', 'removed')",
2334
- "name": "organization_memberships_status_check",
2335
- "entityType": "checks",
2336
- "schema": "public",
2337
- "table": "organization_memberships"
2338
- },
2339
- {
2340
- "value": "\"status\" in ('active', 'suspended', 'archived')",
2341
- "name": "organizations_status_check",
2342
- "entityType": "checks",
2343
- "schema": "public",
2344
- "table": "organizations"
2345
- },
2346
- {
2347
- "value": "\"resource_type\" in ('all_tools', 'source', 'namespace', 'tool_path')",
2348
- "name": "policies_resource_type_check",
2349
- "entityType": "checks",
2350
- "schema": "public",
2351
- "table": "policies"
2352
- },
2353
- {
2354
- "value": "\"match_type\" in ('glob', 'exact')",
2355
- "name": "policies_match_type_check",
2356
- "entityType": "checks",
2357
- "schema": "public",
2358
- "table": "policies"
2359
- },
2360
- {
2361
- "value": "\"effect\" in ('allow', 'deny')",
2362
- "name": "policies_effect_check",
2363
- "entityType": "checks",
2364
- "schema": "public",
2365
- "table": "policies"
2366
- },
2367
- {
2368
- "value": "\"approval_mode\" in ('auto', 'required')",
2369
- "name": "policies_approval_mode_check",
2370
- "entityType": "checks",
2371
- "schema": "public",
2372
- "table": "policies"
2373
- },
2374
- {
2375
- "value": "\"purpose\" in ('auth_material', 'oauth_access_token', 'oauth_refresh_token', 'oauth_client_info')",
2376
- "name": "secret_materials_purpose_check",
2377
- "entityType": "checks",
2378
- "schema": "public",
2379
- "table": "secret_materials"
2380
- },
2381
- {
2382
- "value": "\"strategy\" in ('oauth2_authorization_code')",
2383
- "name": "source_auth_sessions_strategy_check",
2384
- "entityType": "checks",
2385
- "schema": "public",
2386
- "table": "source_auth_sessions"
2387
- },
2388
- {
2389
- "value": "\"status\" in ('pending', 'completed', 'failed', 'cancelled')",
2390
- "name": "source_auth_sessions_status_check",
2391
- "entityType": "checks",
2392
- "schema": "public",
2393
- "table": "source_auth_sessions"
2394
- },
2395
- {
2396
- "value": "\"kind\" in ('mcp', 'openapi', 'graphql', 'internal')",
2397
- "name": "sources_kind_check",
2398
- "entityType": "checks",
2399
- "schema": "public",
2400
- "table": "sources"
2401
- },
2402
- {
2403
- "value": "\"status\" in ('draft', 'probing', 'auth_required', 'connected', 'error')",
2404
- "name": "sources_status_check",
2405
- "entityType": "checks",
2406
- "schema": "public",
2407
- "table": "sources"
2408
- },
2409
- {
2410
- "value": "\"transport\" is null or \"transport\" in ('auto', 'streamable-http', 'sse')",
2411
- "name": "sources_transport_check",
2412
- "entityType": "checks",
2413
- "schema": "public",
2414
- "table": "sources"
2415
- },
2416
- {
2417
- "value": "\"auth_kind\" in ('none', 'bearer', 'oauth2')",
2418
- "name": "sources_auth_kind_check",
2419
- "entityType": "checks",
2420
- "schema": "public",
2421
- "table": "sources"
2422
- }
2423
- ],
2424
- "renames": []
2425
- }