@intx/db 0.3.0 → 0.4.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.
- package/README.md +11 -0
- package/dist/approval-store.d.ts +7 -0
- package/dist/approval-store.js +13 -0
- package/dist/backfill-principal-keys.d.ts +9 -0
- package/dist/backfill-principal-keys.js +51 -0
- package/dist/client.d.ts +27 -2
- package/dist/client.js +6 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.js +2 -0
- package/dist/connection.js +1 -0
- package/dist/credential-resolution.d.ts +54 -5
- package/dist/credential-resolution.js +109 -0
- package/dist/index.d.ts +11 -5
- package/dist/index.js +10 -4
- package/dist/model-source-resolution.d.ts +6 -5
- package/dist/model-source-resolution.js +42 -13
- package/dist/parse-row.d.ts +39 -8
- package/dist/parse-row.js +8 -0
- package/dist/principal-key-store.d.ts +51 -0
- package/dist/principal-key-store.js +82 -0
- package/dist/principal-store.d.ts +44 -0
- package/dist/principal-store.js +67 -0
- package/dist/schema/approvals.js +5 -0
- package/dist/schema/git-tokens.js +1 -1
- package/dist/schema/index.d.ts +2 -0
- package/dist/schema/index.js +2 -0
- package/dist/schema/principal-keys.d.ts +126 -0
- package/dist/schema/principal-keys.js +28 -0
- package/dist/schema/sidecar-allocation.d.ts +19 -40
- package/dist/schema/sidecar-allocation.js +4 -8
- package/dist/schema/sidecar.d.ts +0 -17
- package/dist/schema/sidecar.js +4 -12
- package/dist/schema/tenants.js +13 -3
- package/dist/schema/workflow-probe.d.ts +358 -0
- package/dist/schema/workflow-probe.js +51 -0
- package/dist/schema/workflow-run-dispatch.d.ts +17 -0
- package/dist/schema/workflow-run-dispatch.js +7 -0
- package/dist/schema/workflow-run.d.ts +27 -0
- package/dist/schema/workflow-run.js +8 -0
- package/dist/sender-key-resolver.d.ts +91 -0
- package/dist/sender-key-resolver.js +184 -0
- package/dist/sidecar-allocation-store.d.ts +38 -3
- package/dist/sidecar-allocation-store.js +224 -22
- package/dist/signer-identity.d.ts +12 -0
- package/dist/signer-identity.js +15 -0
- package/dist/tenant-hierarchy.d.ts +2 -0
- package/dist/tenant-hierarchy.js +27 -0
- package/dist/workflow-probe-store.d.ts +47 -0
- package/dist/workflow-probe-store.js +124 -0
- package/dist/workflow-run-dispatch-store.d.ts +3 -0
- package/dist/workflow-run-dispatch-store.js +12 -2
- package/migrations/0085_add_approval_run_idx.sql +1 -0
- package/migrations/0086_cool_human_cannonball.sql +1 -0
- package/migrations/0087_drop_sidecar_placement.sql +3 -0
- package/migrations/0088_thick_sprite.sql +32 -0
- package/migrations/0089_tense_selene.sql +13 -0
- package/migrations/0090_tenant_domain_lower_unique.sql +2 -0
- package/migrations/0091_workflow_run_dispatch_sender_address.sql +21 -0
- package/migrations/0092_sidecar_destroy_failed.sql +4 -0
- package/migrations/0093_sidecar_initialization.sql +2 -0
- package/migrations/meta/0085_snapshot.json +4111 -0
- package/migrations/meta/0086_snapshot.json +4117 -0
- package/migrations/meta/0087_snapshot.json +4100 -0
- package/migrations/meta/0088_snapshot.json +4286 -0
- package/migrations/meta/0089_snapshot.json +4376 -0
- package/migrations/meta/0090_snapshot.json +4387 -0
- package/migrations/meta/0091_snapshot.json +4397 -0
- package/migrations/meta/0092_snapshot.json +4397 -0
- package/migrations/meta/0093_snapshot.json +4407 -0
- package/migrations/meta/_journal.json +63 -0
- package/package.json +6 -5
|
@@ -589,6 +589,69 @@
|
|
|
589
589
|
"when": 1787169492000,
|
|
590
590
|
"tag": "0084_delete_orphaned_credential_grants",
|
|
591
591
|
"breakpoints": true
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"idx": 85,
|
|
595
|
+
"version": "7",
|
|
596
|
+
"when": 1787528583748,
|
|
597
|
+
"tag": "0085_add_approval_run_idx",
|
|
598
|
+
"breakpoints": true
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"idx": 86,
|
|
602
|
+
"version": "7",
|
|
603
|
+
"when": 1788412751293,
|
|
604
|
+
"tag": "0086_cool_human_cannonball",
|
|
605
|
+
"breakpoints": true
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"idx": 87,
|
|
609
|
+
"version": "7",
|
|
610
|
+
"when": 1787862143742,
|
|
611
|
+
"tag": "0087_drop_sidecar_placement",
|
|
612
|
+
"breakpoints": true
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"idx": 88,
|
|
616
|
+
"version": "7",
|
|
617
|
+
"when": 1788200236163,
|
|
618
|
+
"tag": "0088_thick_sprite",
|
|
619
|
+
"breakpoints": true
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"idx": 89,
|
|
623
|
+
"version": "7",
|
|
624
|
+
"when": 1788617577404,
|
|
625
|
+
"tag": "0089_tense_selene",
|
|
626
|
+
"breakpoints": true
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"idx": 90,
|
|
630
|
+
"version": "7",
|
|
631
|
+
"when": 1788736070428,
|
|
632
|
+
"tag": "0090_tenant_domain_lower_unique",
|
|
633
|
+
"breakpoints": true
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"idx": 91,
|
|
637
|
+
"version": "7",
|
|
638
|
+
"when": 1788849155396,
|
|
639
|
+
"tag": "0091_workflow_run_dispatch_sender_address",
|
|
640
|
+
"breakpoints": true
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"idx": 92,
|
|
644
|
+
"version": "7",
|
|
645
|
+
"when": 1788967084060,
|
|
646
|
+
"tag": "0092_sidecar_destroy_failed",
|
|
647
|
+
"breakpoints": true
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"idx": 93,
|
|
651
|
+
"version": "7",
|
|
652
|
+
"when": 1789466440782,
|
|
653
|
+
"tag": "0093_sidecar_initialization",
|
|
654
|
+
"breakpoints": true
|
|
592
655
|
}
|
|
593
656
|
]
|
|
594
657
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intx/db",
|
|
3
3
|
"description": "Client, schema, migrations, and row parsers for the hub's PostgreSQL database",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"license": "LGPL-2.1-only",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@intx/authz": "0.
|
|
21
|
-
"@intx/crypto": "0.
|
|
22
|
-
"@intx/
|
|
23
|
-
"@intx/
|
|
20
|
+
"@intx/authz": "0.4.0",
|
|
21
|
+
"@intx/crypto": "0.4.0",
|
|
22
|
+
"@intx/hub-common": "0.4.0",
|
|
23
|
+
"@intx/log": "0.4.0",
|
|
24
|
+
"@intx/types": "0.4.0",
|
|
24
25
|
"arktype": "^2.1.29",
|
|
25
26
|
"drizzle-orm": "^0.45.1",
|
|
26
27
|
"postgres": "^3.4.8"
|