@fuzdev/fuz_app 0.155.1 → 0.156.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 (131) hide show
  1. package/dist/actions/CLAUDE.md +27 -14
  2. package/dist/actions/action_codegen.d.ts +10 -3
  3. package/dist/actions/action_codegen.d.ts.map +1 -1
  4. package/dist/actions/action_codegen.js +52 -13
  5. package/dist/actions/action_event.d.ts.map +1 -1
  6. package/dist/actions/action_event.js +13 -11
  7. package/dist/actions/action_rpc.d.ts +4 -3
  8. package/dist/actions/action_rpc.d.ts.map +1 -1
  9. package/dist/actions/action_rpc.js +4 -3
  10. package/dist/actions/action_spec.d.ts +102 -206
  11. package/dist/actions/action_spec.d.ts.map +1 -1
  12. package/dist/actions/action_spec.js +18 -96
  13. package/dist/actions/action_types.d.ts +4 -4
  14. package/dist/actions/action_types.d.ts.map +1 -1
  15. package/dist/actions/action_types.js +2 -2
  16. package/dist/actions/broadcast_api.d.ts.map +1 -1
  17. package/dist/actions/broadcast_api.js +6 -5
  18. package/dist/actions/compile_action_registry.d.ts +11 -6
  19. package/dist/actions/compile_action_registry.d.ts.map +1 -1
  20. package/dist/actions/compile_action_registry.js +15 -9
  21. package/dist/actions/perform_action.d.ts +4 -4
  22. package/dist/actions/perform_action.d.ts.map +1 -1
  23. package/dist/actions/perform_action.js +11 -11
  24. package/dist/auth/CLAUDE.md +1 -1
  25. package/dist/auth/account_action_specs.d.ts +50 -23
  26. package/dist/auth/account_action_specs.d.ts.map +1 -1
  27. package/dist/auth/account_action_specs.js +18 -8
  28. package/dist/auth/account_route_schema.d.ts +10 -10
  29. package/dist/auth/account_schema.d.ts +21 -21
  30. package/dist/auth/actor_lookup_action_specs.d.ts +7 -7
  31. package/dist/auth/actor_search_action_specs.d.ts +6 -6
  32. package/dist/auth/admin_action_specs.d.ts +98 -98
  33. package/dist/auth/app_settings_schema.d.ts +2 -2
  34. package/dist/auth/audit_log_route_schema.d.ts +1 -1
  35. package/dist/auth/audit_log_schema.d.ts +44 -44
  36. package/dist/auth/auth_guard_resolver.d.ts +2 -2
  37. package/dist/auth/auth_guard_resolver.js +2 -2
  38. package/dist/auth/bootstrap_route_schema.d.ts +4 -4
  39. package/dist/auth/cell_action_specs.d.ts +241 -241
  40. package/dist/auth/cell_actions.js +3 -3
  41. package/dist/auth/cell_audit_action_specs.d.ts +14 -14
  42. package/dist/auth/cell_audit_metadata.d.ts +6 -6
  43. package/dist/auth/cell_field_action_specs.d.ts +38 -38
  44. package/dist/auth/cell_field_audit_metadata.d.ts +4 -4
  45. package/dist/auth/cell_grant_action_specs.d.ts +61 -61
  46. package/dist/auth/cell_grant_audit_metadata.d.ts +10 -10
  47. package/dist/auth/cell_item_action_specs.d.ts +50 -50
  48. package/dist/auth/cell_item_audit_metadata.d.ts +5 -5
  49. package/dist/auth/invite_schema.d.ts +6 -6
  50. package/dist/auth/role_grant_offer_action_specs.d.ts +120 -120
  51. package/dist/auth/role_grant_offer_notifications.d.ts +66 -66
  52. package/dist/auth/role_grant_offer_schema.d.ts +6 -6
  53. package/dist/auth/self_service_role_action_specs.d.ts +2 -2
  54. package/dist/auth/signup_route_schema.d.ts +2 -2
  55. package/dist/http/CLAUDE.md +9 -8
  56. package/dist/http/auth_shape.d.ts +54 -17
  57. package/dist/http/auth_shape.d.ts.map +1 -1
  58. package/dist/http/auth_shape.js +104 -52
  59. package/dist/http/error_schemas.d.ts +6 -4
  60. package/dist/http/error_schemas.d.ts.map +1 -1
  61. package/dist/http/error_schemas.js +4 -9
  62. package/dist/http/jsonrpc_errors.d.ts +11 -4
  63. package/dist/http/jsonrpc_errors.d.ts.map +1 -1
  64. package/dist/http/jsonrpc_errors.js +11 -4
  65. package/dist/http/jsonrpc_helpers.d.ts.map +1 -1
  66. package/dist/http/jsonrpc_helpers.js +2 -1
  67. package/dist/http/route_spec.d.ts +3 -2
  68. package/dist/http/route_spec.d.ts.map +1 -1
  69. package/dist/http/route_spec.js +20 -8
  70. package/dist/http/schema_helpers.d.ts +24 -20
  71. package/dist/http/schema_helpers.d.ts.map +1 -1
  72. package/dist/http/schema_helpers.js +24 -19
  73. package/dist/primitive_schemas.d.ts +10 -3
  74. package/dist/primitive_schemas.d.ts.map +1 -1
  75. package/dist/primitive_schemas.js +10 -2
  76. package/dist/primitive_schemas_fuz.d.ts +69 -0
  77. package/dist/primitive_schemas_fuz.d.ts.map +1 -0
  78. package/dist/primitive_schemas_fuz.js +49 -0
  79. package/dist/realtime/sse.d.ts +3 -3
  80. package/dist/realtime/sse.d.ts.map +1 -1
  81. package/dist/realtime/sse.js +4 -4
  82. package/dist/schema_issues.d.ts +91 -4
  83. package/dist/schema_issues.d.ts.map +1 -1
  84. package/dist/schema_issues.js +262 -1
  85. package/dist/schema_meta.d.ts +24 -8
  86. package/dist/schema_meta.d.ts.map +1 -1
  87. package/dist/schema_meta.js +31 -10
  88. package/dist/server/serve_fact_route.d.ts.map +1 -1
  89. package/dist/server/serve_fact_route.js +2 -1
  90. package/dist/testing/CLAUDE.md +17 -11
  91. package/dist/testing/adversarial_input_cases.d.ts +18 -23
  92. package/dist/testing/adversarial_input_cases.d.ts.map +1 -1
  93. package/dist/testing/adversarial_input_cases.js +51 -46
  94. package/dist/testing/cross_backend/action_manifest.d.ts +2 -1
  95. package/dist/testing/cross_backend/action_manifest.d.ts.map +1 -1
  96. package/dist/testing/cross_backend/action_manifest.js +3 -3
  97. package/dist/testing/cross_backend/cell_crud.d.ts.map +1 -1
  98. package/dist/testing/cross_backend/cell_crud.js +3 -8
  99. package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
  100. package/dist/testing/cross_backend/conformance_table.js +5 -4
  101. package/dist/testing/cross_backend/cross_rpc.d.ts +4 -2
  102. package/dist/testing/cross_backend/cross_rpc.d.ts.map +1 -1
  103. package/dist/testing/cross_backend/cross_rpc.js +6 -4
  104. package/dist/testing/cross_backend/rpc_success_fixtures.d.ts.map +1 -1
  105. package/dist/testing/cross_backend/sse_round_trip.d.ts.map +1 -1
  106. package/dist/testing/cross_backend/sse_round_trip.js +3 -2
  107. package/dist/testing/cross_backend/testing_reset_actions.d.ts +8 -8
  108. package/dist/testing/integration_helpers.d.ts.map +1 -1
  109. package/dist/testing/integration_helpers.js +4 -3
  110. package/dist/testing/rpc_envelope_cases.d.ts +3 -3
  111. package/dist/testing/rpc_envelope_cases.d.ts.map +1 -1
  112. package/dist/testing/rpc_envelope_cases.js +1 -1
  113. package/dist/testing/rpc_helpers.d.ts +12 -8
  114. package/dist/testing/rpc_helpers.d.ts.map +1 -1
  115. package/dist/testing/rpc_helpers.js +18 -15
  116. package/dist/testing/schema_generators.d.ts +75 -40
  117. package/dist/testing/schema_generators.d.ts.map +1 -1
  118. package/dist/testing/schema_generators.js +273 -99
  119. package/dist/testing/sse_round_trip.d.ts.map +1 -1
  120. package/dist/testing/sse_round_trip.js +4 -3
  121. package/dist/ui/admin_accounts_state.svelte.d.ts +10 -10
  122. package/dist/ui/admin_accounts_state.svelte.d.ts.map +1 -1
  123. package/dist/ui/admin_invites_state.svelte.d.ts +1 -1
  124. package/dist/ui/admin_invites_state.svelte.d.ts.map +1 -1
  125. package/dist/ui/admin_sessions_state.svelte.d.ts +2 -2
  126. package/dist/ui/admin_sessions_state.svelte.d.ts.map +1 -1
  127. package/dist/ui/role_grant_offers_state.svelte.d.ts +6 -6
  128. package/dist/zod.d.ts +23 -5
  129. package/dist/zod.d.ts.map +1 -1
  130. package/dist/zod.js +2 -2
  131. package/package.json +6 -6
@@ -53,7 +53,7 @@
53
53
  */
54
54
  import { rpc_action } from '../actions/action_types.js';
55
55
  import { jsonrpc_errors, dev_only } from '../http/jsonrpc_errors.js';
56
- import { is_schema_validation_error } from '../schema_issues.js';
56
+ import { is_schema_validation_error, to_wire_issues } from '../schema_issues.js';
57
57
  import { is_pg_unique_violation } from '../db/pg_error.js';
58
58
  import { has_scoped_role } from './request_context.js';
59
59
  import { ROLE_ADMIN } from './role_schema.js';
@@ -184,7 +184,7 @@ export const create_cell_actions = (deps) => {
184
184
  }
185
185
  catch (err) {
186
186
  if (is_schema_validation_error(err)) {
187
- throw jsonrpc_errors.invalid_params('cell.data shape validation failed', dev_only({ issues: err.issues }));
187
+ throw jsonrpc_errors.invalid_params('cell.data shape validation failed', dev_only(() => ({ issues: to_wire_issues(err.issues, data) })));
188
188
  }
189
189
  throw err;
190
190
  }
@@ -203,7 +203,7 @@ export const create_cell_actions = (deps) => {
203
203
  }
204
204
  catch (err) {
205
205
  if (is_schema_validation_error(err)) {
206
- throw jsonrpc_errors.invalid_params('cell.policy validation failed', dev_only({ issues: err.issues }));
206
+ throw jsonrpc_errors.invalid_params('cell.policy validation failed', dev_only(() => ({ issues: to_wire_issues(err.issues, policy) })));
207
207
  }
208
208
  throw err;
209
209
  }
@@ -37,34 +37,34 @@ import { z } from 'zod';
37
37
  * consumers use.
38
38
  */
39
39
  export declare const CellAuditEventJson: z.ZodObject<{
40
- id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
40
+ id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
41
41
  seq: z.ZodNumber;
42
42
  event_type: z.ZodString;
43
43
  outcome: z.ZodEnum<{
44
44
  success: "success";
45
45
  failure: "failure";
46
46
  }>;
47
- actor_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
47
+ actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
48
48
  created_at: z.ZodString;
49
49
  }, z.core.$strict>;
50
50
  export type CellAuditEventJson = z.infer<typeof CellAuditEventJson>;
51
51
  /** Page size for `cell_audit_list`. Single page at MVP; no cursor wire. */
52
52
  export declare const CELL_AUDIT_LIST_DEFAULT_LIMIT = 50;
53
53
  export declare const CellAuditListInput: z.ZodObject<{
54
- cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
55
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
54
+ cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
55
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
56
56
  }, z.core.$strict>;
57
57
  export type CellAuditListInput = z.infer<typeof CellAuditListInput>;
58
58
  export declare const CellAuditListOutput: z.ZodObject<{
59
59
  events: z.ZodArray<z.ZodObject<{
60
- id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
60
+ id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
61
61
  seq: z.ZodNumber;
62
62
  event_type: z.ZodString;
63
63
  outcome: z.ZodEnum<{
64
64
  success: "success";
65
65
  failure: "failure";
66
66
  }>;
67
- actor_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
67
+ actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
68
68
  created_at: z.ZodString;
69
69
  }, z.core.$strict>>;
70
70
  }, z.core.$strict>;
@@ -79,19 +79,19 @@ export declare const cell_audit_list_action_spec: {
79
79
  };
80
80
  side_effects: false;
81
81
  input: z.ZodObject<{
82
- cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
83
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
82
+ cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
83
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
84
84
  }, z.core.$strict>;
85
85
  output: z.ZodObject<{
86
86
  events: z.ZodArray<z.ZodObject<{
87
- id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
87
+ id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
88
88
  seq: z.ZodNumber;
89
89
  event_type: z.ZodString;
90
90
  outcome: z.ZodEnum<{
91
91
  success: "success";
92
92
  failure: "failure";
93
93
  }>;
94
- actor_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
94
+ actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
95
95
  created_at: z.ZodString;
96
96
  }, z.core.$strict>>;
97
97
  }, z.core.$strict>;
@@ -109,19 +109,19 @@ export declare const all_cell_audit_action_specs: readonly [{
109
109
  };
110
110
  side_effects: false;
111
111
  input: z.ZodObject<{
112
- cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
113
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
112
+ cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
113
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
114
114
  }, z.core.$strict>;
115
115
  output: z.ZodObject<{
116
116
  events: z.ZodArray<z.ZodObject<{
117
- id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
117
+ id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
118
118
  seq: z.ZodNumber;
119
119
  event_type: z.ZodString;
120
120
  outcome: z.ZodEnum<{
121
121
  success: "success";
122
122
  failure: "failure";
123
123
  }>;
124
- actor_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
124
+ actor_id: z.ZodNullable<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
125
125
  created_at: z.ZodString;
126
126
  }, z.core.$strict>>;
127
127
  }, z.core.$strict>;
@@ -18,7 +18,7 @@ import { z } from 'zod';
18
18
  * churn.
19
19
  */
20
20
  export declare const CellAuditMetadata: z.ZodObject<{
21
- cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
21
+ cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
22
22
  kind: z.ZodOptional<z.ZodString>;
23
23
  path: z.ZodOptional<z.ZodString>;
24
24
  }, z.core.$loose>;
@@ -38,8 +38,8 @@ export type CellAuditMetadata = z.infer<typeof CellAuditMetadata>;
38
38
  * dropped silently (D8).
39
39
  */
40
40
  export declare const CellCloneAuditMetadata: z.ZodObject<{
41
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
42
- new_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
41
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
42
+ new_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
43
43
  deep: z.ZodBoolean;
44
44
  item_count: z.ZodNumber;
45
45
  kind: z.ZodOptional<z.ZodString>;
@@ -52,8 +52,8 @@ export type CellCloneAuditMetadata = z.infer<typeof CellCloneAuditMetadata>;
52
52
  * applied (`'approved'` | `'rejected'`).
53
53
  */
54
54
  export declare const CellModerateAuditMetadata: z.ZodObject<{
55
- cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
56
- root_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
55
+ cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
56
+ root_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
57
57
  moderation: z.ZodEnum<{
58
58
  rejected: "rejected";
59
59
  approved: "approved";
@@ -66,7 +66,7 @@ export type CellModerateAuditMetadata = z.infer<typeof CellModerateAuditMetadata
66
66
  * replaced, so the audit trail carries every policy a root has had.
67
67
  */
68
68
  export declare const CellPolicySetAuditMetadata: z.ZodObject<{
69
- cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
69
+ cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
70
70
  policy: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
71
71
  previous_policy: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
72
72
  }, z.core.$loose>;
@@ -23,9 +23,9 @@ export declare const CellFieldName: z.core.$ZodBranded<z.ZodString, "CellFieldNa
23
23
  export type CellFieldName = z.infer<typeof CellFieldName>;
24
24
  /** Wire-format for a `cell_field` row. ISO `created_at`, branded UUIDs. */
25
25
  export declare const FieldJson: z.ZodObject<{
26
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
26
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
27
27
  name: z.ZodString;
28
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
28
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
29
29
  created_at: z.ZodString;
30
30
  }, z.core.$strict>;
31
31
  export type FieldJson = z.infer<typeof FieldJson>;
@@ -34,17 +34,17 @@ export type FieldJson = z.infer<typeof FieldJson>;
34
34
  * the same input updates `target_id` and bumps `created_at`.
35
35
  */
36
36
  export declare const CellFieldSetInput: z.ZodObject<{
37
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
37
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
38
38
  name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
39
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
40
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
39
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
40
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
41
41
  }, z.core.$strict>;
42
42
  export type CellFieldSetInput = z.infer<typeof CellFieldSetInput>;
43
43
  export declare const CellFieldSetOutput: z.ZodObject<{
44
44
  field: z.ZodObject<{
45
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
45
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
46
46
  name: z.ZodString;
47
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
47
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
48
48
  created_at: z.ZodString;
49
49
  }, z.core.$strict>;
50
50
  }, z.core.$strict>;
@@ -54,9 +54,9 @@ export type CellFieldSetOutput = z.infer<typeof CellFieldSetOutput>;
54
54
  * returned even when no row matched.
55
55
  */
56
56
  export declare const CellFieldDeleteInput: z.ZodObject<{
57
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
57
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
58
58
  name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
59
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
59
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
60
60
  }, z.core.$strict>;
61
61
  export type CellFieldDeleteInput = z.infer<typeof CellFieldDeleteInput>;
62
62
  export declare const CellFieldDeleteOutput: z.ZodObject<{
@@ -78,18 +78,18 @@ export type CellFieldDeleteOutput = z.infer<typeof CellFieldDeleteOutput>;
78
78
  * listing has no cursor, oldest field first.
79
79
  */
80
80
  export declare const CellFieldListInput: z.ZodObject<{
81
- source_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
82
- target_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
81
+ source_id: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
82
+ target_id: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
83
83
  name_after: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">>;
84
84
  limit: z.ZodOptional<z.ZodNumber>;
85
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
85
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
86
86
  }, z.core.$strict>;
87
87
  export type CellFieldListInput = z.infer<typeof CellFieldListInput>;
88
88
  export declare const CellFieldListOutput: z.ZodObject<{
89
89
  fields: z.ZodArray<z.ZodObject<{
90
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
90
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
91
91
  name: z.ZodString;
92
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
92
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
93
93
  created_at: z.ZodString;
94
94
  }, z.core.$strict>>;
95
95
  }, z.core.$strict>;
@@ -104,16 +104,16 @@ export declare const cell_field_set_action_spec: {
104
104
  };
105
105
  side_effects: true;
106
106
  input: z.ZodObject<{
107
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
107
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
108
108
  name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
109
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
110
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
109
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
110
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
111
111
  }, z.core.$strict>;
112
112
  output: z.ZodObject<{
113
113
  field: z.ZodObject<{
114
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
114
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
115
115
  name: z.ZodString;
116
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
116
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
117
117
  created_at: z.ZodString;
118
118
  }, z.core.$strict>;
119
119
  }, z.core.$strict>;
@@ -130,9 +130,9 @@ export declare const cell_field_delete_action_spec: {
130
130
  };
131
131
  side_effects: true;
132
132
  input: z.ZodObject<{
133
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
133
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
134
134
  name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
135
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
135
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
136
136
  }, z.core.$strict>;
137
137
  output: z.ZodObject<{
138
138
  ok: z.ZodLiteral<true>;
@@ -151,17 +151,17 @@ export declare const cell_field_list_action_spec: {
151
151
  };
152
152
  side_effects: false;
153
153
  input: z.ZodObject<{
154
- source_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
155
- target_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
154
+ source_id: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
155
+ target_id: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
156
156
  name_after: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">>;
157
157
  limit: z.ZodOptional<z.ZodNumber>;
158
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
158
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
159
159
  }, z.core.$strict>;
160
160
  output: z.ZodObject<{
161
161
  fields: z.ZodArray<z.ZodObject<{
162
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
162
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
163
163
  name: z.ZodString;
164
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
164
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
165
165
  created_at: z.ZodString;
166
166
  }, z.core.$strict>>;
167
167
  }, z.core.$strict>;
@@ -180,16 +180,16 @@ export declare const all_cell_field_action_specs: readonly [{
180
180
  };
181
181
  side_effects: true;
182
182
  input: z.ZodObject<{
183
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
183
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
184
184
  name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
185
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
186
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
185
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
186
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
187
187
  }, z.core.$strict>;
188
188
  output: z.ZodObject<{
189
189
  field: z.ZodObject<{
190
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
190
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
191
191
  name: z.ZodString;
192
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
192
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
193
193
  created_at: z.ZodString;
194
194
  }, z.core.$strict>;
195
195
  }, z.core.$strict>;
@@ -205,9 +205,9 @@ export declare const all_cell_field_action_specs: readonly [{
205
205
  };
206
206
  side_effects: true;
207
207
  input: z.ZodObject<{
208
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
208
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
209
209
  name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
210
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
210
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
211
211
  }, z.core.$strict>;
212
212
  output: z.ZodObject<{
213
213
  ok: z.ZodLiteral<true>;
@@ -225,17 +225,17 @@ export declare const all_cell_field_action_specs: readonly [{
225
225
  };
226
226
  side_effects: false;
227
227
  input: z.ZodObject<{
228
- source_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
229
- target_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
228
+ source_id: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
229
+ target_id: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
230
230
  name_after: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">>;
231
231
  limit: z.ZodOptional<z.ZodNumber>;
232
- acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
232
+ acting: z.ZodOptional<z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>>;
233
233
  }, z.core.$strict>;
234
234
  output: z.ZodObject<{
235
235
  fields: z.ZodArray<z.ZodObject<{
236
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
236
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
237
237
  name: z.ZodString;
238
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
238
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
239
239
  created_at: z.ZodString;
240
240
  }, z.core.$strict>>;
241
241
  }, z.core.$strict>;
@@ -15,16 +15,16 @@ import { z } from 'zod';
15
15
  * if needed.
16
16
  */
17
17
  export declare const CellFieldSetAuditMetadata: z.ZodObject<{
18
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
18
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
19
19
  name: z.ZodString;
20
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
20
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
21
21
  }, z.core.$loose>;
22
22
  export type CellFieldSetAuditMetadata = z.infer<typeof CellFieldSetAuditMetadata>;
23
23
  /** Metadata envelope for `cell_field_delete`. */
24
24
  export declare const CellFieldDeleteAuditMetadata: z.ZodObject<{
25
- source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
25
+ source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
26
26
  name: z.ZodString;
27
- target_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
27
+ target_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
28
28
  }, z.core.$loose>;
29
29
  export type CellFieldDeleteAuditMetadata = z.infer<typeof CellFieldDeleteAuditMetadata>;
30
30
  //# sourceMappingURL=cell_field_audit_metadata.d.ts.map