@lucern/contracts 0.3.0-alpha.11 → 0.3.0-alpha.13
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/dist/auth-context.contract.js +13 -1
- package/dist/auth-context.contract.js.map +1 -1
- package/dist/auth-session.contract.js +13 -1
- package/dist/auth-session.contract.js.map +1 -1
- package/dist/auth.contract.d.ts +1 -1
- package/dist/auth.contract.js +13 -1
- package/dist/auth.contract.js.map +1 -1
- package/dist/component-boundary.contract.js +1 -0
- package/dist/component-boundary.contract.js.map +1 -1
- package/dist/function-registry/beliefs.d.ts +10 -10
- package/dist/function-registry/beliefs.js +53 -2
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +6 -6
- package/dist/function-registry/coding.js +53 -2
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +3 -3
- package/dist/function-registry/context.js +53 -2
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +3 -3
- package/dist/function-registry/contracts.js +53 -2
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +9 -9
- package/dist/function-registry/coordination.js +53 -2
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +6 -6
- package/dist/function-registry/edges.js +53 -2
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +8 -8
- package/dist/function-registry/evidence.js +53 -2
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +15 -15
- package/dist/function-registry/graph.js +53 -2
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +2 -2
- package/dist/function-registry/helpers.js +53 -2
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +56 -16
- package/dist/function-registry/identity.js +75 -4
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +1 -1
- package/dist/function-registry/index.js +53 -2
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +2 -2
- package/dist/function-registry/judgments.js +53 -2
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +1 -1
- package/dist/function-registry/legacy.js +53 -2
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +4 -4
- package/dist/function-registry/lenses.js +53 -2
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +3 -3
- package/dist/function-registry/manifest.js +1 -0
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/nodes.d.ts +8 -8
- package/dist/function-registry/nodes.js +53 -2
- package/dist/function-registry/nodes.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +11 -11
- package/dist/function-registry/ontologies.js +53 -2
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +3 -3
- package/dist/function-registry/pipeline.js +53 -2
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +12 -12
- package/dist/function-registry/questions.js +53 -2
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +4 -4
- package/dist/function-registry/tasks.js +53 -2
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +7 -7
- package/dist/function-registry/topics.js +53 -2
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +2 -2
- package/dist/function-registry/worktrees.d.ts +11 -11
- package/dist/function-registry/worktrees.js +53 -2
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/generated/convexSchemas.js +4 -3
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/infisicalRuntimeEnv.js +357 -0
- package/dist/generated/infisicalRuntimeEnv.js.map +1 -1
- package/dist/generated/schema-manifest.json +88 -3
- package/dist/generated/tableOwnership.d.ts +2 -1
- package/dist/generated/tableOwnership.js +2 -0
- package/dist/generated/tableOwnership.js.map +1 -1
- package/dist/generated/tier-expectations.json +6 -3
- package/dist/index.d.ts +3 -2
- package/dist/index.js +726 -19
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.d.ts +44 -0
- package/dist/infisical-runtime.contract.js +52 -0
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +44 -0
- package/dist/manifests/infisical-runtime-manifest.js +52 -0
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/manifests/tenant-client-manifest.d.ts +8 -3
- package/dist/manifests/tenant-client-manifest.js +18 -1
- package/dist/manifests/tenant-client-manifest.js.map +1 -1
- package/dist/permit-principal-projection.contract.d.ts +74 -0
- package/dist/permit-principal-projection.contract.js +160 -0
- package/dist/permit-principal-projection.contract.js.map +1 -0
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/index.js +36 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +85 -10
- package/dist/schemas/manifest.js +36 -1
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/tables/controlPlane/accessControl.d.ts +2 -2
- package/dist/schemas/tables/controlPlane/accessControl.js +6 -1
- package/dist/schemas/tables/controlPlane/accessControl.js.map +1 -1
- package/dist/schemas/tables/kernel/events.d.ts +21 -0
- package/dist/schemas/tables/kernel/events.js +43 -0
- package/dist/schemas/tables/kernel/events.js.map +1 -0
- package/dist/{sdk-tools.contract-BNklQDfB.d.ts → sdk-tools.contract-CKmSsrZ2.d.ts} +1 -1
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +45 -1
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +22 -2
- package/dist/tenant-bootstrap-seed.contract.js +15 -2
- package/dist/tenant-bootstrap-seed.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.defaults.d.ts +1 -1
- package/dist/tenant-bootstrap-seed.defaults.js +30 -12
- package/dist/tenant-bootstrap-seed.defaults.js.map +1 -1
- package/dist/tenant-client.contract.d.ts +8 -3
- package/dist/tenant-client.contract.js +18 -1
- package/dist/tenant-client.contract.js.map +1 -1
- package/dist/{tool-contracts-BevD9Ho2.d.ts → tool-contracts-C_xvM9q2.d.ts} +4 -2
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +46 -2
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +1 -1
|
@@ -193,6 +193,21 @@ declare const KERNEL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
193
193
|
lockedBy: zod.ZodString;
|
|
194
194
|
lockedAt: zod.ZodNumber;
|
|
195
195
|
createdAt: zod.ZodNumber;
|
|
196
|
+
}>, TableContract<{
|
|
197
|
+
eventId: zod.ZodString;
|
|
198
|
+
type: zod.ZodString;
|
|
199
|
+
version: zod.ZodString;
|
|
200
|
+
timestamp: zod.ZodNumber;
|
|
201
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
202
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
203
|
+
topicId: zod.ZodString;
|
|
204
|
+
resourceId: zod.ZodString;
|
|
205
|
+
resourceType: zod.ZodString;
|
|
206
|
+
actorId: zod.ZodString;
|
|
207
|
+
actorType: zod.ZodEnum<["human", "agent", "service"]>;
|
|
208
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
209
|
+
correlationId: zod.ZodOptional<zod.ZodString>;
|
|
210
|
+
expiresAt: zod.ZodNumber;
|
|
196
211
|
}>, TableContract<{
|
|
197
212
|
sessionId: ConvexIdSchema<"deliberationSessions">;
|
|
198
213
|
topicId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -3512,7 +3527,7 @@ declare const CONTROL_PLANE_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
3512
3527
|
lastSeenAt: zod.ZodOptional<zod.ZodNumber>;
|
|
3513
3528
|
}>, TableContract<{
|
|
3514
3529
|
syncKey: zod.ZodString;
|
|
3515
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
3530
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
3516
3531
|
objectId: zod.ZodString;
|
|
3517
3532
|
operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
|
|
3518
3533
|
payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
@@ -3577,7 +3592,7 @@ declare const CONTROL_PLANE_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
3577
3592
|
updatedAt: zod.ZodNumber;
|
|
3578
3593
|
}>, TableContract<{
|
|
3579
3594
|
syncKey: zod.ZodString;
|
|
3580
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
3595
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
3581
3596
|
objectId: zod.ZodString;
|
|
3582
3597
|
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
3583
3598
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -5516,6 +5531,21 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
|
|
|
5516
5531
|
lockedBy: zod.ZodString;
|
|
5517
5532
|
lockedAt: zod.ZodNumber;
|
|
5518
5533
|
createdAt: zod.ZodNumber;
|
|
5534
|
+
}>, TableContract<{
|
|
5535
|
+
eventId: zod.ZodString;
|
|
5536
|
+
type: zod.ZodString;
|
|
5537
|
+
version: zod.ZodString;
|
|
5538
|
+
timestamp: zod.ZodNumber;
|
|
5539
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
5540
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
5541
|
+
topicId: zod.ZodString;
|
|
5542
|
+
resourceId: zod.ZodString;
|
|
5543
|
+
resourceType: zod.ZodString;
|
|
5544
|
+
actorId: zod.ZodString;
|
|
5545
|
+
actorType: zod.ZodEnum<["human", "agent", "service"]>;
|
|
5546
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
5547
|
+
correlationId: zod.ZodOptional<zod.ZodString>;
|
|
5548
|
+
expiresAt: zod.ZodNumber;
|
|
5519
5549
|
}>, TableContract<{
|
|
5520
5550
|
sessionId: ConvexIdSchema<"deliberationSessions">;
|
|
5521
5551
|
topicId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8835,7 +8865,7 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
|
|
|
8835
8865
|
lastSeenAt: zod.ZodOptional<zod.ZodNumber>;
|
|
8836
8866
|
}>, TableContract<{
|
|
8837
8867
|
syncKey: zod.ZodString;
|
|
8838
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
8868
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
8839
8869
|
objectId: zod.ZodString;
|
|
8840
8870
|
operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
|
|
8841
8871
|
payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
@@ -8900,7 +8930,7 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
|
|
|
8900
8930
|
updatedAt: zod.ZodNumber;
|
|
8901
8931
|
}>, TableContract<{
|
|
8902
8932
|
syncKey: zod.ZodString;
|
|
8903
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
8933
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
8904
8934
|
objectId: zod.ZodString;
|
|
8905
8935
|
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
8906
8936
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -10840,6 +10870,21 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
10840
10870
|
lockedBy: zod.ZodString;
|
|
10841
10871
|
lockedAt: zod.ZodNumber;
|
|
10842
10872
|
createdAt: zod.ZodNumber;
|
|
10873
|
+
}>, TableContract<{
|
|
10874
|
+
eventId: zod.ZodString;
|
|
10875
|
+
type: zod.ZodString;
|
|
10876
|
+
version: zod.ZodString;
|
|
10877
|
+
timestamp: zod.ZodNumber;
|
|
10878
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
10879
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
10880
|
+
topicId: zod.ZodString;
|
|
10881
|
+
resourceId: zod.ZodString;
|
|
10882
|
+
resourceType: zod.ZodString;
|
|
10883
|
+
actorId: zod.ZodString;
|
|
10884
|
+
actorType: zod.ZodEnum<["human", "agent", "service"]>;
|
|
10885
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
10886
|
+
correlationId: zod.ZodOptional<zod.ZodString>;
|
|
10887
|
+
expiresAt: zod.ZodNumber;
|
|
10843
10888
|
}>, TableContract<{
|
|
10844
10889
|
sessionId: ConvexIdSchema<"deliberationSessions">;
|
|
10845
10890
|
topicId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -14158,7 +14203,7 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
14158
14203
|
lastSeenAt: zod.ZodOptional<zod.ZodNumber>;
|
|
14159
14204
|
}>, TableContract<{
|
|
14160
14205
|
syncKey: zod.ZodString;
|
|
14161
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
14206
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
14162
14207
|
objectId: zod.ZodString;
|
|
14163
14208
|
operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
|
|
14164
14209
|
payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
@@ -14223,7 +14268,7 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
|
|
|
14223
14268
|
updatedAt: zod.ZodNumber;
|
|
14224
14269
|
}>, TableContract<{
|
|
14225
14270
|
syncKey: zod.ZodString;
|
|
14226
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
14271
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
14227
14272
|
objectId: zod.ZodString;
|
|
14228
14273
|
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
14229
14274
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -16427,6 +16472,21 @@ declare function listTableContractsByName(name: string): (TableContract<{
|
|
|
16427
16472
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
16428
16473
|
traceId: zod.ZodOptional<zod.ZodString>;
|
|
16429
16474
|
createdAt: zod.ZodNumber;
|
|
16475
|
+
}> | TableContract<{
|
|
16476
|
+
eventId: zod.ZodString;
|
|
16477
|
+
type: zod.ZodString;
|
|
16478
|
+
version: zod.ZodString;
|
|
16479
|
+
timestamp: zod.ZodNumber;
|
|
16480
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
16481
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
16482
|
+
topicId: zod.ZodString;
|
|
16483
|
+
resourceId: zod.ZodString;
|
|
16484
|
+
resourceType: zod.ZodString;
|
|
16485
|
+
actorId: zod.ZodString;
|
|
16486
|
+
actorType: zod.ZodEnum<["human", "agent", "service"]>;
|
|
16487
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
16488
|
+
correlationId: zod.ZodOptional<zod.ZodString>;
|
|
16489
|
+
expiresAt: zod.ZodNumber;
|
|
16430
16490
|
}> | TableContract<{
|
|
16431
16491
|
beliefId: zod.ZodString;
|
|
16432
16492
|
belief: zod.ZodNumber;
|
|
@@ -19626,7 +19686,7 @@ declare function listTableContractsByName(name: string): (TableContract<{
|
|
|
19626
19686
|
retiredAt: zod.ZodOptional<zod.ZodNumber>;
|
|
19627
19687
|
}> | TableContract<{
|
|
19628
19688
|
syncKey: zod.ZodString;
|
|
19629
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
19689
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
19630
19690
|
objectId: zod.ZodString;
|
|
19631
19691
|
operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
|
|
19632
19692
|
payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
@@ -19645,7 +19705,7 @@ declare function listTableContractsByName(name: string): (TableContract<{
|
|
|
19645
19705
|
lastHandledAt: zod.ZodOptional<zod.ZodNumber>;
|
|
19646
19706
|
}> | TableContract<{
|
|
19647
19707
|
syncKey: zod.ZodString;
|
|
19648
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
19708
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
19649
19709
|
objectId: zod.ZodString;
|
|
19650
19710
|
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
19651
19711
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -21747,6 +21807,21 @@ declare function getTableContract(name: string, component?: string): TableContra
|
|
|
21747
21807
|
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
|
|
21748
21808
|
traceId: zod.ZodOptional<zod.ZodString>;
|
|
21749
21809
|
createdAt: zod.ZodNumber;
|
|
21810
|
+
}> | TableContract<{
|
|
21811
|
+
eventId: zod.ZodString;
|
|
21812
|
+
type: zod.ZodString;
|
|
21813
|
+
version: zod.ZodString;
|
|
21814
|
+
timestamp: zod.ZodNumber;
|
|
21815
|
+
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
21816
|
+
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
21817
|
+
topicId: zod.ZodString;
|
|
21818
|
+
resourceId: zod.ZodString;
|
|
21819
|
+
resourceType: zod.ZodString;
|
|
21820
|
+
actorId: zod.ZodString;
|
|
21821
|
+
actorType: zod.ZodEnum<["human", "agent", "service"]>;
|
|
21822
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
21823
|
+
correlationId: zod.ZodOptional<zod.ZodString>;
|
|
21824
|
+
expiresAt: zod.ZodNumber;
|
|
21750
21825
|
}> | TableContract<{
|
|
21751
21826
|
beliefId: zod.ZodString;
|
|
21752
21827
|
belief: zod.ZodNumber;
|
|
@@ -24946,7 +25021,7 @@ declare function getTableContract(name: string, component?: string): TableContra
|
|
|
24946
25021
|
retiredAt: zod.ZodOptional<zod.ZodNumber>;
|
|
24947
25022
|
}> | TableContract<{
|
|
24948
25023
|
syncKey: zod.ZodString;
|
|
24949
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
25024
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
24950
25025
|
objectId: zod.ZodString;
|
|
24951
25026
|
operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
|
|
24952
25027
|
payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
@@ -24965,7 +25040,7 @@ declare function getTableContract(name: string, component?: string): TableContra
|
|
|
24965
25040
|
lastHandledAt: zod.ZodOptional<zod.ZodNumber>;
|
|
24966
25041
|
}> | TableContract<{
|
|
24967
25042
|
syncKey: zod.ZodString;
|
|
24968
|
-
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
25043
|
+
objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment", "attribute_binding", "policy_bundle"]>;
|
|
24969
25044
|
objectId: zod.ZodString;
|
|
24970
25045
|
tenantId: zod.ZodOptional<zod.ZodString>;
|
|
24971
25046
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
package/dist/schemas/manifest.js
CHANGED
|
@@ -486,6 +486,35 @@ var systemLogs = defineTable({
|
|
|
486
486
|
{ kind: "index", name: "by_source", columns: ["source"] }
|
|
487
487
|
]
|
|
488
488
|
});
|
|
489
|
+
var domainEvents = defineTable({
|
|
490
|
+
name: "domainEvents",
|
|
491
|
+
component: "kernel",
|
|
492
|
+
category: "events",
|
|
493
|
+
shape: z.object({
|
|
494
|
+
"eventId": z.string(),
|
|
495
|
+
"type": z.string(),
|
|
496
|
+
"version": z.string(),
|
|
497
|
+
"timestamp": z.number(),
|
|
498
|
+
"tenantId": z.string().optional(),
|
|
499
|
+
"workspaceId": z.string().optional(),
|
|
500
|
+
"topicId": z.string(),
|
|
501
|
+
"resourceId": z.string(),
|
|
502
|
+
"resourceType": z.string(),
|
|
503
|
+
"actorId": z.string(),
|
|
504
|
+
"actorType": z.enum(["human", "agent", "service"]),
|
|
505
|
+
"data": z.record(z.any()),
|
|
506
|
+
"correlationId": z.string().optional(),
|
|
507
|
+
"expiresAt": z.number()
|
|
508
|
+
}),
|
|
509
|
+
indices: [
|
|
510
|
+
{ kind: "index", name: "by_eventId", columns: ["eventId"] },
|
|
511
|
+
{ kind: "index", name: "by_topic_timestamp", columns: ["topicId", "timestamp"] },
|
|
512
|
+
{ kind: "index", name: "by_tenant_workspace_timestamp", columns: ["tenantId", "workspaceId", "timestamp"] },
|
|
513
|
+
{ kind: "index", name: "by_type_timestamp", columns: ["type", "timestamp"] },
|
|
514
|
+
{ kind: "index", name: "by_resource", columns: ["resourceType", "resourceId", "timestamp"] },
|
|
515
|
+
{ kind: "index", name: "by_expiresAt", columns: ["expiresAt"] }
|
|
516
|
+
]
|
|
517
|
+
});
|
|
489
518
|
var beliefConfidence = defineTable({
|
|
490
519
|
name: "beliefConfidence",
|
|
491
520
|
component: "kernel",
|
|
@@ -3793,7 +3822,9 @@ var permitObjectType = z.enum([
|
|
|
3793
3822
|
"group",
|
|
3794
3823
|
"resource_instance",
|
|
3795
3824
|
"relationship_tuple",
|
|
3796
|
-
"role_assignment"
|
|
3825
|
+
"role_assignment",
|
|
3826
|
+
"attribute_binding",
|
|
3827
|
+
"policy_bundle"
|
|
3797
3828
|
]);
|
|
3798
3829
|
var permitOutboxOperation = z.enum([
|
|
3799
3830
|
"upsert",
|
|
@@ -3899,7 +3930,10 @@ var permitPrincipalAliases = defineTable({
|
|
|
3899
3930
|
}),
|
|
3900
3931
|
indices: [
|
|
3901
3932
|
{ kind: "index", name: "by_principalId", columns: ["principalId"] },
|
|
3933
|
+
{ kind: "index", name: "by_provider_subject", columns: ["provider", "providerSubjectId"] },
|
|
3934
|
+
{ kind: "index", name: "by_provider_project_subject", columns: ["provider", "providerProjectId", "providerSubjectId"] },
|
|
3902
3935
|
{ kind: "index", name: "by_tenant_provider_subject", columns: ["tenantId", "provider", "providerSubjectId"] },
|
|
3936
|
+
{ kind: "index", name: "by_tenant_provider_project_subject", columns: ["tenantId", "provider", "providerProjectId", "providerSubjectId"] },
|
|
3903
3937
|
{
|
|
3904
3938
|
kind: "index",
|
|
3905
3939
|
name: "by_tenant_provider_alias",
|
|
@@ -5108,6 +5142,7 @@ var KERNEL_TABLE_CONTRACTS = [
|
|
|
5108
5142
|
decisionParticipants,
|
|
5109
5143
|
decisionRiskLedger,
|
|
5110
5144
|
decisionSnapshots,
|
|
5145
|
+
domainEvents,
|
|
5111
5146
|
deliberationContributions,
|
|
5112
5147
|
deliberationSessions,
|
|
5113
5148
|
stakeholderGroups,
|