@lucern/contracts 0.3.0-alpha.11 → 0.3.0-alpha.12

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.
@@ -3512,7 +3512,7 @@ declare const CONTROL_PLANE_TABLE_CONTRACTS: readonly [TableContract<{
3512
3512
  lastSeenAt: zod.ZodOptional<zod.ZodNumber>;
3513
3513
  }>, TableContract<{
3514
3514
  syncKey: zod.ZodString;
3515
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
3515
+ 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
3516
  objectId: zod.ZodString;
3517
3517
  operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
3518
3518
  payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
@@ -3577,7 +3577,7 @@ declare const CONTROL_PLANE_TABLE_CONTRACTS: readonly [TableContract<{
3577
3577
  updatedAt: zod.ZodNumber;
3578
3578
  }>, TableContract<{
3579
3579
  syncKey: zod.ZodString;
3580
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
3580
+ 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
3581
  objectId: zod.ZodString;
3582
3582
  tenantId: zod.ZodOptional<zod.ZodString>;
3583
3583
  workspaceId: zod.ZodOptional<zod.ZodString>;
@@ -8835,7 +8835,7 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
8835
8835
  lastSeenAt: zod.ZodOptional<zod.ZodNumber>;
8836
8836
  }>, TableContract<{
8837
8837
  syncKey: zod.ZodString;
8838
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
8838
+ 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
8839
  objectId: zod.ZodString;
8840
8840
  operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
8841
8841
  payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
@@ -8900,7 +8900,7 @@ declare const TABLE_CONTRACTS_BY_COMPONENT: {
8900
8900
  updatedAt: zod.ZodNumber;
8901
8901
  }>, TableContract<{
8902
8902
  syncKey: zod.ZodString;
8903
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
8903
+ 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
8904
  objectId: zod.ZodString;
8905
8905
  tenantId: zod.ZodOptional<zod.ZodString>;
8906
8906
  workspaceId: zod.ZodOptional<zod.ZodString>;
@@ -14158,7 +14158,7 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
14158
14158
  lastSeenAt: zod.ZodOptional<zod.ZodNumber>;
14159
14159
  }>, TableContract<{
14160
14160
  syncKey: zod.ZodString;
14161
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
14161
+ 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
14162
  objectId: zod.ZodString;
14163
14163
  operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
14164
14164
  payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
@@ -14223,7 +14223,7 @@ declare const ALL_TABLE_CONTRACTS: readonly [TableContract<{
14223
14223
  updatedAt: zod.ZodNumber;
14224
14224
  }>, TableContract<{
14225
14225
  syncKey: zod.ZodString;
14226
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
14226
+ 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
14227
  objectId: zod.ZodString;
14228
14228
  tenantId: zod.ZodOptional<zod.ZodString>;
14229
14229
  workspaceId: zod.ZodOptional<zod.ZodString>;
@@ -19626,7 +19626,7 @@ declare function listTableContractsByName(name: string): (TableContract<{
19626
19626
  retiredAt: zod.ZodOptional<zod.ZodNumber>;
19627
19627
  }> | TableContract<{
19628
19628
  syncKey: zod.ZodString;
19629
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
19629
+ 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
19630
  objectId: zod.ZodString;
19631
19631
  operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
19632
19632
  payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
@@ -19645,7 +19645,7 @@ declare function listTableContractsByName(name: string): (TableContract<{
19645
19645
  lastHandledAt: zod.ZodOptional<zod.ZodNumber>;
19646
19646
  }> | TableContract<{
19647
19647
  syncKey: zod.ZodString;
19648
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
19648
+ 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
19649
  objectId: zod.ZodString;
19650
19650
  tenantId: zod.ZodOptional<zod.ZodString>;
19651
19651
  workspaceId: zod.ZodOptional<zod.ZodString>;
@@ -24946,7 +24946,7 @@ declare function getTableContract(name: string, component?: string): TableContra
24946
24946
  retiredAt: zod.ZodOptional<zod.ZodNumber>;
24947
24947
  }> | TableContract<{
24948
24948
  syncKey: zod.ZodString;
24949
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
24949
+ 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
24950
  objectId: zod.ZodString;
24951
24951
  operation: zod.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
24952
24952
  payload: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
@@ -24965,7 +24965,7 @@ declare function getTableContract(name: string, component?: string): TableContra
24965
24965
  lastHandledAt: zod.ZodOptional<zod.ZodNumber>;
24966
24966
  }> | TableContract<{
24967
24967
  syncKey: zod.ZodString;
24968
- objectType: zod.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
24968
+ 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
24969
  objectId: zod.ZodString;
24970
24970
  tenantId: zod.ZodOptional<zod.ZodString>;
24971
24971
  workspaceId: zod.ZodOptional<zod.ZodString>;
@@ -3793,7 +3793,9 @@ var permitObjectType = z.enum([
3793
3793
  "group",
3794
3794
  "resource_instance",
3795
3795
  "relationship_tuple",
3796
- "role_assignment"
3796
+ "role_assignment",
3797
+ "attribute_binding",
3798
+ "policy_bundle"
3797
3799
  ]);
3798
3800
  var permitOutboxOperation = z.enum([
3799
3801
  "upsert",