@sentry/junior 0.303.0 → 0.304.0

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 (82) hide show
  1. package/dist/{adapter-context-BdVnSuY5.js → adapter-context-B1IpoELr.js} +2 -2
  2. package/dist/{admin-AfeAdS3J.js → admin-BnVFGo_z.js} +5 -5
  3. package/dist/{agent-runner-BP8_DLUv.js → agent-runner-CoEeZSRh.js} +546 -372
  4. package/dist/api/schema.d.ts +1 -1
  5. package/dist/api/schema.js +5 -5
  6. package/dist/api.d.ts +1 -1
  7. package/dist/api.js +59 -61
  8. package/dist/{app-Dd9v1mNx.d.ts → app-Cs157Zc5.d.ts} +5 -3
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +77 -64
  11. package/dist/{automation-D9MvhOWY.js → automation-CuA3yEcD.js} +1 -1
  12. package/dist/{background-compaction-queue-xaE05jxH.js → background-compaction-queue-WLPNSF_b.js} +2 -2
  13. package/dist/{briefs-D8i-dKTp.js → briefs-CagVVefw.js} +11 -8
  14. package/dist/{catalog-runtime-d1EM6Z0V.js → catalog-runtime-B8ZXvXWm.js} +1 -1
  15. package/dist/cli/chat.js +15 -15
  16. package/dist/cli/check.js +5 -5
  17. package/dist/cli/init.js +1 -1
  18. package/dist/cli/main.js +3 -3
  19. package/dist/cli/plugins.js +4 -4
  20. package/dist/cli/snapshot-create.js +5 -5
  21. package/dist/cli/upgrade.d.ts +1 -1
  22. package/dist/cli/upgrade.js +4 -4
  23. package/dist/{config-oGM7KA9M.js → config-DdO1BNcw.js} +101 -7
  24. package/dist/{connections-BlikzEJv.js → connections-D20kp0j5.js} +6 -6
  25. package/dist/{continue-in-slack-BZnYifiG.js → continue-in-slack-BKEVMBj1.js} +8 -8
  26. package/dist/{conversation-CY1jnBiC.js → conversation-BOqdRtUx.js} +4 -12
  27. package/dist/{conversation-feed-BZJRk6UV.js → conversation-feed-CgpgP7yi.js} +35 -2
  28. package/dist/{conversation-privacy-Cx515ddM.js → conversation-privacy-L1SK_v0V.js} +10 -2
  29. package/dist/{conversation-turn-DAhRdX4m.js → conversation-turn-BptVJylj.js} +17 -17
  30. package/dist/{credential-sync-DfhmWFeo.js → credential-sync-D1J1CGzL.js} +14 -14
  31. package/dist/{db-C-2tFxk3.js → db-EKJnkrIb.js} +169 -6
  32. package/dist/{db-DPqcEM9_.d.ts → db-zbN5ZV_o.d.ts} +2 -2
  33. package/dist/{executor-NVfS8aQ2.js → executor-CoIZmFK8.js} +43 -9
  34. package/dist/{history-UZ3M2M9r.js → history-m2-ceTTX.js} +8 -2
  35. package/dist/{install-CHLrpRZc.js → install-BT2Pf6HP.js} +2 -2
  36. package/dist/instrumentation.js +7 -3
  37. package/dist/{lineage-HGLhd_-N.js → lineage-C5DGQCS_.js} +2 -2
  38. package/dist/{logging-DiyqRLBx.js → logging-QSZuMcvo.js} +1 -1
  39. package/dist/{message-CkCOcbFH.js → message-TtxftRHj.js} +8 -8
  40. package/dist/{model-input-DmoPPtPE.js → model-input-BHXfA29g.js} +2 -2
  41. package/dist/nitro.d.ts +1 -1
  42. package/dist/nitro.js +5 -5
  43. package/dist/{oauth-callback-server-CIf_6YmA.js → oauth-callback-server-B0enqHtZ.js} +2 -2
  44. package/dist/{projection-DBq8tsA5.js → projection-CNKK7doO.js} +547 -61
  45. package/dist/{prompt-D2KlJopL.js → prompt-DSjhoKu5.js} +185 -12
  46. package/dist/{queue-DFaOscp5.js → queue-CDxkit82.js} +4 -4
  47. package/dist/{registry-Bu0Z9BEO.js → registry-DBDNUUmz.js} +1 -1
  48. package/dist/{resolve-DXuA3G0g.js → resolve-CQLhMWSu.js} +3 -3
  49. package/dist/{result-DpiNseDA.js → result-B-pauj42.js} +8 -8
  50. package/dist/{runner-iu1heRFv.js → runner-B3KxKks5.js} +9 -9
  51. package/dist/{sandbox-egress-signals-2HFYDcQf.js → sandbox-egress-signals-DJJX9ClG.js} +1 -1
  52. package/dist/{schema-DvfX3Gq_.js → schema-Bx0Mlo32.js} +3 -3
  53. package/dist/{schema-DHMOaRzC.d.ts → schema-CKcu-IK6.d.ts} +43 -11
  54. package/dist/{service-account-BcT5LR7V.js → service-account-2HmlNPvy.js} +6 -5
  55. package/dist/{service-account-xYkaQTrw.js → service-account-DQLqkSVv.js} +5 -5
  56. package/dist/{session-stop-BLLp1IP_.js → session-stop-DEeZKqbX.js} +114 -49
  57. package/dist/{skills-CNAGH4ju.js → skills-2UrD7JkN.js} +2 -2
  58. package/dist/{slack-conversation-unfurl-DYnqe5ci.js → slack-conversation-unfurl-Dd129Uov.js} +12 -11
  59. package/dist/{spawn-cGasWW33.js → spawn-eMho9HDJ.js} +6 -6
  60. package/dist/{state-CDS6h_Wv.js → state-Bveuc4Zh.js} +4 -4
  61. package/dist/{stop-DMMA67yT.js → stop-D_ltJLDS.js} +170 -64
  62. package/dist/{store-Dgs7Oe44.js → store-COeYnPL_.js} +5 -5
  63. package/dist/{task-queue-DcF0nhhz.js → task-queue-CBIDXZpV.js} +3 -3
  64. package/dist/{task-runner-BGXF7Fo7.js → task-runner-CJF7zIJL.js} +7 -7
  65. package/dist/{thread-context-BPky1KBe.js → thread-context-Cg0jt0aE.js} +8 -8
  66. package/dist/{turn-session-routing-DGvn9MSl.js → turn-session-routing-CaY3Tp8m.js} +8 -8
  67. package/dist/{turn-user-message-19CkuUvM.js → turn-user-message-tcom1RYd.js} +3 -3
  68. package/dist/{validation-lu1DgjNQ.js → validation-EU91JwIT.js} +1 -1
  69. package/dist/{version-Uo3c94Dx.js → version-BYRPhY5G.js} +1 -1
  70. package/dist/version.js +1 -1
  71. package/dist/{viewer-BPQHMx3-.js → viewer-Cf8ISkAc.js} +3 -3
  72. package/dist/{warmup-H8uLvW9e.js → warmup-TgY4S1vx.js} +75 -469
  73. package/dist/{worker-B-pM_-3K.js → worker-C6Uq4OKD.js} +7 -7
  74. package/migrations/0111_attachment_kinds.sql +14 -0
  75. package/migrations/0112_attachment_url_fill.sql +51 -0
  76. package/migrations/0113_attachment_url_index.sql +1 -0
  77. package/migrations/meta/0099_snapshot.json +102 -326
  78. package/migrations/meta/0111_snapshot.json +5011 -0
  79. package/migrations/meta/0112_snapshot.json +5011 -0
  80. package/migrations/meta/0113_snapshot.json +5033 -0
  81. package/migrations/meta/_journal.json +21 -0
  82. package/package.json +7 -7
@@ -49,12 +49,8 @@
49
49
  "name": "junior_agent_bindings_parent_conversation_id_junior_conversations_conversation_id_fk",
50
50
  "tableFrom": "junior_agent_bindings",
51
51
  "tableTo": "junior_conversations",
52
- "columnsFrom": [
53
- "parent_conversation_id"
54
- ],
55
- "columnsTo": [
56
- "conversation_id"
57
- ],
52
+ "columnsFrom": ["parent_conversation_id"],
53
+ "columnsTo": ["conversation_id"],
58
54
  "onDelete": "no action",
59
55
  "onUpdate": "no action"
60
56
  },
@@ -62,12 +58,8 @@
62
58
  "name": "junior_agent_bindings_child_conversation_id_junior_conversations_conversation_id_fk",
63
59
  "tableFrom": "junior_agent_bindings",
64
60
  "tableTo": "junior_conversations",
65
- "columnsFrom": [
66
- "child_conversation_id"
67
- ],
68
- "columnsTo": [
69
- "conversation_id"
70
- ],
61
+ "columnsFrom": ["child_conversation_id"],
62
+ "columnsTo": ["conversation_id"],
71
63
  "onDelete": "no action",
72
64
  "onUpdate": "no action"
73
65
  }
@@ -75,10 +67,7 @@
75
67
  "compositePrimaryKeys": {
76
68
  "junior_agent_bindings_parent_conversation_id_name_pk": {
77
69
  "name": "junior_agent_bindings_parent_conversation_id_name_pk",
78
- "columns": [
79
- "parent_conversation_id",
80
- "name"
81
- ]
70
+ "columns": ["parent_conversation_id", "name"]
82
71
  }
83
72
  },
84
73
  "uniqueConstraints": {},
@@ -287,12 +276,8 @@
287
276
  "name": "junior_agent_invocations_parent_conversation_id_junior_conversations_conversation_id_fk",
288
277
  "tableFrom": "junior_agent_invocations",
289
278
  "tableTo": "junior_conversations",
290
- "columnsFrom": [
291
- "parent_conversation_id"
292
- ],
293
- "columnsTo": [
294
- "conversation_id"
295
- ],
279
+ "columnsFrom": ["parent_conversation_id"],
280
+ "columnsTo": ["conversation_id"],
296
281
  "onDelete": "no action",
297
282
  "onUpdate": "no action"
298
283
  },
@@ -300,12 +285,8 @@
300
285
  "name": "junior_agent_invocations_child_conversation_id_junior_conversations_conversation_id_fk",
301
286
  "tableFrom": "junior_agent_invocations",
302
287
  "tableTo": "junior_conversations",
303
- "columnsFrom": [
304
- "child_conversation_id"
305
- ],
306
- "columnsTo": [
307
- "conversation_id"
308
- ],
288
+ "columnsFrom": ["child_conversation_id"],
289
+ "columnsTo": ["conversation_id"],
309
290
  "onDelete": "no action",
310
291
  "onUpdate": "no action"
311
292
  }
@@ -704,12 +685,8 @@
704
685
  "name": "junior_attachments_conversation_id_junior_conversations_conversation_id_fk",
705
686
  "tableFrom": "junior_attachments",
706
687
  "tableTo": "junior_conversations",
707
- "columnsFrom": [
708
- "conversation_id"
709
- ],
710
- "columnsTo": [
711
- "conversation_id"
712
- ],
688
+ "columnsFrom": ["conversation_id"],
689
+ "columnsTo": ["conversation_id"],
713
690
  "onDelete": "cascade",
714
691
  "onUpdate": "no action"
715
692
  }
@@ -868,12 +845,8 @@
868
845
  "name": "junior_automation_runs_automation_id_junior_automations_id_fk",
869
846
  "tableFrom": "junior_automation_runs",
870
847
  "tableTo": "junior_automations",
871
- "columnsFrom": [
872
- "automation_id"
873
- ],
874
- "columnsTo": [
875
- "id"
876
- ],
848
+ "columnsFrom": ["automation_id"],
849
+ "columnsTo": ["id"],
877
850
  "onDelete": "cascade",
878
851
  "onUpdate": "no action"
879
852
  },
@@ -881,12 +854,8 @@
881
854
  "name": "junior_automation_runs_conversation_id_junior_conversations_conversation_id_fk",
882
855
  "tableFrom": "junior_automation_runs",
883
856
  "tableTo": "junior_conversations",
884
- "columnsFrom": [
885
- "conversation_id"
886
- ],
887
- "columnsTo": [
888
- "conversation_id"
889
- ],
857
+ "columnsFrom": ["conversation_id"],
858
+ "columnsTo": ["conversation_id"],
890
859
  "onDelete": "no action",
891
860
  "onUpdate": "no action"
892
861
  },
@@ -894,14 +863,8 @@
894
863
  "name": "junior_automation_runs_automation_version_fk",
895
864
  "tableFrom": "junior_automation_runs",
896
865
  "tableTo": "junior_automation_versions",
897
- "columnsFrom": [
898
- "automation_id",
899
- "automation_version"
900
- ],
901
- "columnsTo": [
902
- "automation_id",
903
- "version"
904
- ],
866
+ "columnsFrom": ["automation_id", "automation_version"],
867
+ "columnsTo": ["automation_id", "version"],
905
868
  "onDelete": "no action",
906
869
  "onUpdate": "no action"
907
870
  }
@@ -911,9 +874,7 @@
911
874
  "junior_automation_runs_conversation_id_unique": {
912
875
  "name": "junior_automation_runs_conversation_id_unique",
913
876
  "nullsNotDistinct": false,
914
- "columns": [
915
- "conversation_id"
916
- ]
877
+ "columns": ["conversation_id"]
917
878
  }
918
879
  },
919
880
  "policies": {},
@@ -966,12 +927,8 @@
966
927
  "name": "junior_automation_versions_automation_id_fk",
967
928
  "tableFrom": "junior_automation_versions",
968
929
  "tableTo": "junior_automations",
969
- "columnsFrom": [
970
- "automation_id"
971
- ],
972
- "columnsTo": [
973
- "id"
974
- ],
930
+ "columnsFrom": ["automation_id"],
931
+ "columnsTo": ["id"],
975
932
  "onDelete": "cascade",
976
933
  "onUpdate": "no action"
977
934
  }
@@ -979,10 +936,7 @@
979
936
  "compositePrimaryKeys": {
980
937
  "junior_automation_versions_pk": {
981
938
  "name": "junior_automation_versions_pk",
982
- "columns": [
983
- "automation_id",
984
- "version"
985
- ]
939
+ "columns": ["automation_id", "version"]
986
940
  }
987
941
  },
988
942
  "uniqueConstraints": {},
@@ -1277,12 +1231,8 @@
1277
1231
  "name": "junior_automations_creator_identity_id_junior_identities_id_fk",
1278
1232
  "tableFrom": "junior_automations",
1279
1233
  "tableTo": "junior_identities",
1280
- "columnsFrom": [
1281
- "creator_identity_id"
1282
- ],
1283
- "columnsTo": [
1284
- "id"
1285
- ],
1234
+ "columnsFrom": ["creator_identity_id"],
1235
+ "columnsTo": ["id"],
1286
1236
  "onDelete": "no action",
1287
1237
  "onUpdate": "no action"
1288
1238
  }
@@ -1487,12 +1437,8 @@
1487
1437
  "name": "junior_code_changes_repository_id_junior_code_repositories_id_fk",
1488
1438
  "tableFrom": "junior_code_changes",
1489
1439
  "tableTo": "junior_code_repositories",
1490
- "columnsFrom": [
1491
- "repository_id"
1492
- ],
1493
- "columnsTo": [
1494
- "id"
1495
- ],
1440
+ "columnsFrom": ["repository_id"],
1441
+ "columnsTo": ["id"],
1496
1442
  "onDelete": "cascade",
1497
1443
  "onUpdate": "no action"
1498
1444
  }
@@ -1627,12 +1573,8 @@
1627
1573
  "name": "junior_conversation_annotations_conversation_id_fk",
1628
1574
  "tableFrom": "junior_conversation_annotations",
1629
1575
  "tableTo": "junior_conversations",
1630
- "columnsFrom": [
1631
- "conversation_id"
1632
- ],
1633
- "columnsTo": [
1634
- "conversation_id"
1635
- ],
1576
+ "columnsFrom": ["conversation_id"],
1577
+ "columnsTo": ["conversation_id"],
1636
1578
  "onDelete": "cascade",
1637
1579
  "onUpdate": "no action"
1638
1580
  }
@@ -1640,12 +1582,7 @@
1640
1582
  "compositePrimaryKeys": {
1641
1583
  "junior_conversation_annotations_pk": {
1642
1584
  "name": "junior_conversation_annotations_pk",
1643
- "columns": [
1644
- "conversation_id",
1645
- "plugin",
1646
- "kind",
1647
- "key"
1648
- ]
1585
+ "columns": ["conversation_id", "plugin", "kind", "key"]
1649
1586
  }
1650
1587
  },
1651
1588
  "uniqueConstraints": {},
@@ -1717,12 +1654,8 @@
1717
1654
  "name": "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk",
1718
1655
  "tableFrom": "junior_conversation_bindings",
1719
1656
  "tableTo": "junior_conversations",
1720
- "columnsFrom": [
1721
- "conversation_id"
1722
- ],
1723
- "columnsTo": [
1724
- "conversation_id"
1725
- ],
1657
+ "columnsFrom": ["conversation_id"],
1658
+ "columnsTo": ["conversation_id"],
1726
1659
  "onDelete": "no action",
1727
1660
  "onUpdate": "no action"
1728
1661
  }
@@ -1867,12 +1800,8 @@
1867
1800
  "name": "junior_conversation_briefs_conversation_id_junior_conversations_conversation_id_fk",
1868
1801
  "tableFrom": "junior_conversation_briefs",
1869
1802
  "tableTo": "junior_conversations",
1870
- "columnsFrom": [
1871
- "conversation_id"
1872
- ],
1873
- "columnsTo": [
1874
- "conversation_id"
1875
- ],
1803
+ "columnsFrom": ["conversation_id"],
1804
+ "columnsTo": ["conversation_id"],
1876
1805
  "onDelete": "cascade",
1877
1806
  "onUpdate": "no action"
1878
1807
  }
@@ -1880,10 +1809,7 @@
1880
1809
  "compositePrimaryKeys": {
1881
1810
  "junior_conversation_briefs_conversation_id_version_pk": {
1882
1811
  "name": "junior_conversation_briefs_conversation_id_version_pk",
1883
- "columns": [
1884
- "conversation_id",
1885
- "version"
1886
- ]
1812
+ "columns": ["conversation_id", "version"]
1887
1813
  }
1888
1814
  },
1889
1815
  "uniqueConstraints": {},
@@ -2244,12 +2170,8 @@
2244
2170
  "name": "junior_conversation_events_actor_identity_id_junior_identities_id_fk",
2245
2171
  "tableFrom": "junior_conversation_events",
2246
2172
  "tableTo": "junior_identities",
2247
- "columnsFrom": [
2248
- "actor_identity_id"
2249
- ],
2250
- "columnsTo": [
2251
- "id"
2252
- ],
2173
+ "columnsFrom": ["actor_identity_id"],
2174
+ "columnsTo": ["id"],
2253
2175
  "onDelete": "no action",
2254
2176
  "onUpdate": "no action"
2255
2177
  },
@@ -2257,12 +2179,8 @@
2257
2179
  "name": "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk",
2258
2180
  "tableFrom": "junior_conversation_events",
2259
2181
  "tableTo": "junior_conversations",
2260
- "columnsFrom": [
2261
- "conversation_id"
2262
- ],
2263
- "columnsTo": [
2264
- "conversation_id"
2265
- ],
2182
+ "columnsFrom": ["conversation_id"],
2183
+ "columnsTo": ["conversation_id"],
2266
2184
  "onDelete": "no action",
2267
2185
  "onUpdate": "no action"
2268
2186
  }
@@ -2270,10 +2188,7 @@
2270
2188
  "compositePrimaryKeys": {
2271
2189
  "junior_conversation_events_conversation_id_seq_pk": {
2272
2190
  "name": "junior_conversation_events_conversation_id_seq_pk",
2273
- "columns": [
2274
- "conversation_id",
2275
- "seq"
2276
- ]
2191
+ "columns": ["conversation_id", "seq"]
2277
2192
  }
2278
2193
  },
2279
2194
  "uniqueConstraints": {},
@@ -2377,12 +2292,8 @@
2377
2292
  "name": "junior_conversation_metrics_actor_identity_id_junior_identities_id_fk",
2378
2293
  "tableFrom": "junior_conversation_metrics",
2379
2294
  "tableTo": "junior_identities",
2380
- "columnsFrom": [
2381
- "actor_identity_id"
2382
- ],
2383
- "columnsTo": [
2384
- "id"
2385
- ],
2295
+ "columnsFrom": ["actor_identity_id"],
2296
+ "columnsTo": ["id"],
2386
2297
  "onDelete": "no action",
2387
2298
  "onUpdate": "no action"
2388
2299
  },
@@ -2390,12 +2301,8 @@
2390
2301
  "name": "junior_conversation_metrics_conversation_id_junior_conversations_conversation_id_fk",
2391
2302
  "tableFrom": "junior_conversation_metrics",
2392
2303
  "tableTo": "junior_conversations",
2393
- "columnsFrom": [
2394
- "conversation_id"
2395
- ],
2396
- "columnsTo": [
2397
- "conversation_id"
2398
- ],
2304
+ "columnsFrom": ["conversation_id"],
2305
+ "columnsTo": ["conversation_id"],
2399
2306
  "onDelete": "no action",
2400
2307
  "onUpdate": "no action"
2401
2308
  }
@@ -2403,11 +2310,7 @@
2403
2310
  "compositePrimaryKeys": {
2404
2311
  "junior_conversation_metrics_conversation_id_run_id_metric_pk": {
2405
2312
  "name": "junior_conversation_metrics_conversation_id_run_id_metric_pk",
2406
- "columns": [
2407
- "conversation_id",
2408
- "run_id",
2409
- "metric"
2410
- ]
2313
+ "columns": ["conversation_id", "run_id", "metric"]
2411
2314
  }
2412
2315
  },
2413
2316
  "uniqueConstraints": {},
@@ -2549,12 +2452,8 @@
2549
2452
  "name": "junior_conversation_participants_user_id_junior_users_id_fk",
2550
2453
  "tableFrom": "junior_conversation_participants",
2551
2454
  "tableTo": "junior_users",
2552
- "columnsFrom": [
2553
- "user_id"
2554
- ],
2555
- "columnsTo": [
2556
- "id"
2557
- ],
2455
+ "columnsFrom": ["user_id"],
2456
+ "columnsTo": ["id"],
2558
2457
  "onDelete": "no action",
2559
2458
  "onUpdate": "no action"
2560
2459
  },
@@ -2562,12 +2461,8 @@
2562
2461
  "name": "junior_conversation_participants_root_conversation_id_junior_conversations_conversation_id_fk",
2563
2462
  "tableFrom": "junior_conversation_participants",
2564
2463
  "tableTo": "junior_conversations",
2565
- "columnsFrom": [
2566
- "root_conversation_id"
2567
- ],
2568
- "columnsTo": [
2569
- "conversation_id"
2570
- ],
2464
+ "columnsFrom": ["root_conversation_id"],
2465
+ "columnsTo": ["conversation_id"],
2571
2466
  "onDelete": "no action",
2572
2467
  "onUpdate": "no action"
2573
2468
  }
@@ -2575,10 +2470,7 @@
2575
2470
  "compositePrimaryKeys": {
2576
2471
  "junior_conversation_participants_user_root_pk": {
2577
2472
  "name": "junior_conversation_participants_user_root_pk",
2578
- "columns": [
2579
- "user_id",
2580
- "root_conversation_id"
2581
- ]
2473
+ "columns": ["user_id", "root_conversation_id"]
2582
2474
  }
2583
2475
  },
2584
2476
  "uniqueConstraints": {},
@@ -2621,12 +2513,8 @@
2621
2513
  "name": "junior_conversation_read_positions_user_id_junior_users_id_fk",
2622
2514
  "tableFrom": "junior_conversation_read_positions",
2623
2515
  "tableTo": "junior_users",
2624
- "columnsFrom": [
2625
- "user_id"
2626
- ],
2627
- "columnsTo": [
2628
- "id"
2629
- ],
2516
+ "columnsFrom": ["user_id"],
2517
+ "columnsTo": ["id"],
2630
2518
  "onDelete": "no action",
2631
2519
  "onUpdate": "no action"
2632
2520
  },
@@ -2634,12 +2522,8 @@
2634
2522
  "name": "junior_conversation_read_positions_conversation_id_junior_conversations_conversation_id_fk",
2635
2523
  "tableFrom": "junior_conversation_read_positions",
2636
2524
  "tableTo": "junior_conversations",
2637
- "columnsFrom": [
2638
- "conversation_id"
2639
- ],
2640
- "columnsTo": [
2641
- "conversation_id"
2642
- ],
2525
+ "columnsFrom": ["conversation_id"],
2526
+ "columnsTo": ["conversation_id"],
2643
2527
  "onDelete": "no action",
2644
2528
  "onUpdate": "no action"
2645
2529
  }
@@ -2647,10 +2531,7 @@
2647
2531
  "compositePrimaryKeys": {
2648
2532
  "junior_conversation_read_positions_user_conversation_pk": {
2649
2533
  "name": "junior_conversation_read_positions_user_conversation_pk",
2650
- "columns": [
2651
- "user_id",
2652
- "conversation_id"
2653
- ]
2534
+ "columns": ["user_id", "conversation_id"]
2654
2535
  }
2655
2536
  },
2656
2537
  "uniqueConstraints": {},
@@ -3032,12 +2913,8 @@
3032
2913
  "name": "junior_conversations_destination_id_junior_destinations_id_fk",
3033
2914
  "tableFrom": "junior_conversations",
3034
2915
  "tableTo": "junior_destinations",
3035
- "columnsFrom": [
3036
- "destination_id"
3037
- ],
3038
- "columnsTo": [
3039
- "id"
3040
- ],
2916
+ "columnsFrom": ["destination_id"],
2917
+ "columnsTo": ["id"],
3041
2918
  "onDelete": "no action",
3042
2919
  "onUpdate": "no action"
3043
2920
  },
@@ -3045,12 +2922,8 @@
3045
2922
  "name": "junior_conversations_actor_identity_id_junior_identities_id_fk",
3046
2923
  "tableFrom": "junior_conversations",
3047
2924
  "tableTo": "junior_identities",
3048
- "columnsFrom": [
3049
- "actor_identity_id"
3050
- ],
3051
- "columnsTo": [
3052
- "id"
3053
- ],
2925
+ "columnsFrom": ["actor_identity_id"],
2926
+ "columnsTo": ["id"],
3054
2927
  "onDelete": "no action",
3055
2928
  "onUpdate": "no action"
3056
2929
  },
@@ -3058,12 +2931,8 @@
3058
2931
  "name": "junior_conversations_creator_identity_id_junior_identities_id_fk",
3059
2932
  "tableFrom": "junior_conversations",
3060
2933
  "tableTo": "junior_identities",
3061
- "columnsFrom": [
3062
- "creator_identity_id"
3063
- ],
3064
- "columnsTo": [
3065
- "id"
3066
- ],
2934
+ "columnsFrom": ["creator_identity_id"],
2935
+ "columnsTo": ["id"],
3067
2936
  "onDelete": "no action",
3068
2937
  "onUpdate": "no action"
3069
2938
  },
@@ -3071,12 +2940,8 @@
3071
2940
  "name": "junior_conversations_credential_subject_identity_id_junior_identities_id_fk",
3072
2941
  "tableFrom": "junior_conversations",
3073
2942
  "tableTo": "junior_identities",
3074
- "columnsFrom": [
3075
- "credential_subject_identity_id"
3076
- ],
3077
- "columnsTo": [
3078
- "id"
3079
- ],
2943
+ "columnsFrom": ["credential_subject_identity_id"],
2944
+ "columnsTo": ["id"],
3080
2945
  "onDelete": "no action",
3081
2946
  "onUpdate": "no action"
3082
2947
  },
@@ -3084,12 +2949,8 @@
3084
2949
  "name": "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk",
3085
2950
  "tableFrom": "junior_conversations",
3086
2951
  "tableTo": "junior_conversations",
3087
- "columnsFrom": [
3088
- "parent_conversation_id"
3089
- ],
3090
- "columnsTo": [
3091
- "conversation_id"
3092
- ],
2952
+ "columnsFrom": ["parent_conversation_id"],
2953
+ "columnsTo": ["conversation_id"],
3093
2954
  "onDelete": "no action",
3094
2955
  "onUpdate": "no action"
3095
2956
  },
@@ -3097,12 +2958,8 @@
3097
2958
  "name": "junior_conversations_forked_from_conversation_id_junior_conversations_conversation_id_fk",
3098
2959
  "tableFrom": "junior_conversations",
3099
2960
  "tableTo": "junior_conversations",
3100
- "columnsFrom": [
3101
- "forked_from_conversation_id"
3102
- ],
3103
- "columnsTo": [
3104
- "conversation_id"
3105
- ],
2961
+ "columnsFrom": ["forked_from_conversation_id"],
2962
+ "columnsTo": ["conversation_id"],
3106
2963
  "onDelete": "set null",
3107
2964
  "onUpdate": "no action"
3108
2965
  },
@@ -3110,12 +2967,8 @@
3110
2967
  "name": "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk",
3111
2968
  "tableFrom": "junior_conversations",
3112
2969
  "tableTo": "junior_conversations",
3113
- "columnsFrom": [
3114
- "root_conversation_id"
3115
- ],
3116
- "columnsTo": [
3117
- "conversation_id"
3118
- ],
2970
+ "columnsFrom": ["root_conversation_id"],
2971
+ "columnsTo": ["conversation_id"],
3119
2972
  "onDelete": "no action",
3120
2973
  "onUpdate": "no action"
3121
2974
  }
@@ -3454,12 +3307,8 @@
3454
3307
  "name": "junior_identities_user_id_junior_users_id_fk",
3455
3308
  "tableFrom": "junior_identities",
3456
3309
  "tableTo": "junior_users",
3457
- "columnsFrom": [
3458
- "user_id"
3459
- ],
3460
- "columnsTo": [
3461
- "id"
3462
- ],
3310
+ "columnsFrom": ["user_id"],
3311
+ "columnsTo": ["id"],
3463
3312
  "onDelete": "no action",
3464
3313
  "onUpdate": "no action"
3465
3314
  }
@@ -3523,12 +3372,8 @@
3523
3372
  "name": "junior_location_configurations_location_id_junior_destinations_id_fk",
3524
3373
  "tableFrom": "junior_location_configurations",
3525
3374
  "tableTo": "junior_destinations",
3526
- "columnsFrom": [
3527
- "location_id"
3528
- ],
3529
- "columnsTo": [
3530
- "id"
3531
- ],
3375
+ "columnsFrom": ["location_id"],
3376
+ "columnsTo": ["id"],
3532
3377
  "onDelete": "cascade",
3533
3378
  "onUpdate": "no action"
3534
3379
  }
@@ -3536,10 +3381,7 @@
3536
3381
  "compositePrimaryKeys": {
3537
3382
  "junior_location_configurations_location_id_key_pk": {
3538
3383
  "name": "junior_location_configurations_location_id_key_pk",
3539
- "columns": [
3540
- "location_id",
3541
- "key"
3542
- ]
3384
+ "columns": ["location_id", "key"]
3543
3385
  }
3544
3386
  },
3545
3387
  "uniqueConstraints": {},
@@ -3631,12 +3473,8 @@
3631
3473
  "name": "junior_push_subscriptions_user_id_junior_users_id_fk",
3632
3474
  "tableFrom": "junior_push_subscriptions",
3633
3475
  "tableTo": "junior_users",
3634
- "columnsFrom": [
3635
- "user_id"
3636
- ],
3637
- "columnsTo": [
3638
- "id"
3639
- ],
3476
+ "columnsFrom": ["user_id"],
3477
+ "columnsTo": ["id"],
3640
3478
  "onDelete": "cascade",
3641
3479
  "onUpdate": "no action"
3642
3480
  }
@@ -3686,12 +3524,8 @@
3686
3524
  "name": "junior_review_item_assignees_item_id_junior_review_items_id_fk",
3687
3525
  "tableFrom": "junior_review_item_assignees",
3688
3526
  "tableTo": "junior_review_items",
3689
- "columnsFrom": [
3690
- "item_id"
3691
- ],
3692
- "columnsTo": [
3693
- "id"
3694
- ],
3527
+ "columnsFrom": ["item_id"],
3528
+ "columnsTo": ["id"],
3695
3529
  "onDelete": "cascade",
3696
3530
  "onUpdate": "no action"
3697
3531
  },
@@ -3699,12 +3533,8 @@
3699
3533
  "name": "junior_review_item_assignees_user_id_junior_users_id_fk",
3700
3534
  "tableFrom": "junior_review_item_assignees",
3701
3535
  "tableTo": "junior_users",
3702
- "columnsFrom": [
3703
- "user_id"
3704
- ],
3705
- "columnsTo": [
3706
- "id"
3707
- ],
3536
+ "columnsFrom": ["user_id"],
3537
+ "columnsTo": ["id"],
3708
3538
  "onDelete": "cascade",
3709
3539
  "onUpdate": "no action"
3710
3540
  }
@@ -3712,10 +3542,7 @@
3712
3542
  "compositePrimaryKeys": {
3713
3543
  "junior_review_item_assignees_item_id_user_id_pk": {
3714
3544
  "name": "junior_review_item_assignees_item_id_user_id_pk",
3715
- "columns": [
3716
- "item_id",
3717
- "user_id"
3718
- ]
3545
+ "columns": ["item_id", "user_id"]
3719
3546
  }
3720
3547
  },
3721
3548
  "uniqueConstraints": {},
@@ -3762,12 +3589,8 @@
3762
3589
  "name": "junior_review_item_conversations_item_id_junior_review_items_id_fk",
3763
3590
  "tableFrom": "junior_review_item_conversations",
3764
3591
  "tableTo": "junior_review_items",
3765
- "columnsFrom": [
3766
- "item_id"
3767
- ],
3768
- "columnsTo": [
3769
- "id"
3770
- ],
3592
+ "columnsFrom": ["item_id"],
3593
+ "columnsTo": ["id"],
3771
3594
  "onDelete": "cascade",
3772
3595
  "onUpdate": "no action"
3773
3596
  },
@@ -3775,12 +3598,8 @@
3775
3598
  "name": "junior_review_item_conversations_conversation_id_junior_conversations_conversation_id_fk",
3776
3599
  "tableFrom": "junior_review_item_conversations",
3777
3600
  "tableTo": "junior_conversations",
3778
- "columnsFrom": [
3779
- "conversation_id"
3780
- ],
3781
- "columnsTo": [
3782
- "conversation_id"
3783
- ],
3601
+ "columnsFrom": ["conversation_id"],
3602
+ "columnsTo": ["conversation_id"],
3784
3603
  "onDelete": "cascade",
3785
3604
  "onUpdate": "no action"
3786
3605
  }
@@ -3788,10 +3607,7 @@
3788
3607
  "compositePrimaryKeys": {
3789
3608
  "junior_review_item_conversations_item_id_conversation_id_pk": {
3790
3609
  "name": "junior_review_item_conversations_item_id_conversation_id_pk",
3791
- "columns": [
3792
- "item_id",
3793
- "conversation_id"
3794
- ]
3610
+ "columns": ["item_id", "conversation_id"]
3795
3611
  }
3796
3612
  },
3797
3613
  "uniqueConstraints": {},
@@ -3840,12 +3656,8 @@
3840
3656
  "name": "junior_review_item_slack_cards_item_id_junior_review_items_id_fk",
3841
3657
  "tableFrom": "junior_review_item_slack_cards",
3842
3658
  "tableTo": "junior_review_items",
3843
- "columnsFrom": [
3844
- "item_id"
3845
- ],
3846
- "columnsTo": [
3847
- "id"
3848
- ],
3659
+ "columnsFrom": ["item_id"],
3660
+ "columnsTo": ["id"],
3849
3661
  "onDelete": "cascade",
3850
3662
  "onUpdate": "no action"
3851
3663
  },
@@ -3853,12 +3665,8 @@
3853
3665
  "name": "junior_review_item_slack_cards_conversation_id_junior_conversations_conversation_id_fk",
3854
3666
  "tableFrom": "junior_review_item_slack_cards",
3855
3667
  "tableTo": "junior_conversations",
3856
- "columnsFrom": [
3857
- "conversation_id"
3858
- ],
3859
- "columnsTo": [
3860
- "conversation_id"
3861
- ],
3668
+ "columnsFrom": ["conversation_id"],
3669
+ "columnsTo": ["conversation_id"],
3862
3670
  "onDelete": "cascade",
3863
3671
  "onUpdate": "no action"
3864
3672
  }
@@ -3866,10 +3674,7 @@
3866
3674
  "compositePrimaryKeys": {
3867
3675
  "junior_review_item_slack_cards_item_id_conversation_id_pk": {
3868
3676
  "name": "junior_review_item_slack_cards_item_id_conversation_id_pk",
3869
- "columns": [
3870
- "item_id",
3871
- "conversation_id"
3872
- ]
3677
+ "columns": ["item_id", "conversation_id"]
3873
3678
  }
3874
3679
  },
3875
3680
  "uniqueConstraints": {},
@@ -4125,12 +3930,8 @@
4125
3930
  "name": "junior_review_items_added_by_conversation_id_junior_conversations_conversation_id_fk",
4126
3931
  "tableFrom": "junior_review_items",
4127
3932
  "tableTo": "junior_conversations",
4128
- "columnsFrom": [
4129
- "added_by_conversation_id"
4130
- ],
4131
- "columnsTo": [
4132
- "conversation_id"
4133
- ],
3933
+ "columnsFrom": ["added_by_conversation_id"],
3934
+ "columnsTo": ["conversation_id"],
4134
3935
  "onDelete": "cascade",
4135
3936
  "onUpdate": "no action"
4136
3937
  },
@@ -4138,12 +3939,8 @@
4138
3939
  "name": "junior_review_items_automation_id_junior_automations_id_fk",
4139
3940
  "tableFrom": "junior_review_items",
4140
3941
  "tableTo": "junior_automations",
4141
- "columnsFrom": [
4142
- "automation_id"
4143
- ],
4144
- "columnsTo": [
4145
- "id"
4146
- ],
3942
+ "columnsFrom": ["automation_id"],
3943
+ "columnsTo": ["id"],
4147
3944
  "onDelete": "set null",
4148
3945
  "onUpdate": "no action"
4149
3946
  },
@@ -4151,12 +3948,8 @@
4151
3948
  "name": "junior_review_items_closed_by_user_id_junior_users_id_fk",
4152
3949
  "tableFrom": "junior_review_items",
4153
3950
  "tableTo": "junior_users",
4154
- "columnsFrom": [
4155
- "closed_by_user_id"
4156
- ],
4157
- "columnsTo": [
4158
- "id"
4159
- ],
3951
+ "columnsFrom": ["closed_by_user_id"],
3952
+ "columnsTo": ["id"],
4160
3953
  "onDelete": "set null",
4161
3954
  "onUpdate": "no action"
4162
3955
  }
@@ -4386,12 +4179,8 @@
4386
4179
  "name": "junior_snapshots_workspace_id_junior_workspaces_id_fk",
4387
4180
  "tableFrom": "junior_snapshots",
4388
4181
  "tableTo": "junior_workspaces",
4389
- "columnsFrom": [
4390
- "workspace_id"
4391
- ],
4392
- "columnsTo": [
4393
- "id"
4394
- ],
4182
+ "columnsFrom": ["workspace_id"],
4183
+ "columnsTo": ["id"],
4395
4184
  "onDelete": "cascade",
4396
4185
  "onUpdate": "no action"
4397
4186
  }
@@ -4468,12 +4257,7 @@
4468
4257
  "compositePrimaryKeys": {
4469
4258
  "junior_stats_date_namespace_metric_name_pk": {
4470
4259
  "name": "junior_stats_date_namespace_metric_name_pk",
4471
- "columns": [
4472
- "date",
4473
- "namespace",
4474
- "metric",
4475
- "name"
4476
- ]
4260
+ "columns": ["date", "namespace", "metric", "name"]
4477
4261
  }
4478
4262
  },
4479
4263
  "uniqueConstraints": {},
@@ -4614,12 +4398,8 @@
4614
4398
  "name": "junior_workspace_repos_workspace_id_junior_workspaces_id_fk",
4615
4399
  "tableFrom": "junior_workspace_repos",
4616
4400
  "tableTo": "junior_workspaces",
4617
- "columnsFrom": [
4618
- "workspace_id"
4619
- ],
4620
- "columnsTo": [
4621
- "id"
4622
- ],
4401
+ "columnsFrom": ["workspace_id"],
4402
+ "columnsTo": ["id"],
4623
4403
  "onDelete": "cascade",
4624
4404
  "onUpdate": "no action"
4625
4405
  }
@@ -4627,11 +4407,7 @@
4627
4407
  "compositePrimaryKeys": {
4628
4408
  "junior_workspace_repos_workspace_id_provider_repo_pk": {
4629
4409
  "name": "junior_workspace_repos_workspace_id_provider_repo_pk",
4630
- "columns": [
4631
- "workspace_id",
4632
- "provider",
4633
- "repo"
4634
- ]
4410
+ "columns": ["workspace_id", "provider", "repo"]
4635
4411
  }
4636
4412
  },
4637
4413
  "uniqueConstraints": {},
@@ -4717,4 +4493,4 @@
4717
4493
  "schemas": {},
4718
4494
  "tables": {}
4719
4495
  }
4720
- }
4496
+ }