@fuzdev/fuz_app 0.168.1 → 0.170.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 (239) hide show
  1. package/dist/actions/CLAUDE.md +17 -19
  2. package/dist/actions/action_codegen.d.ts +32 -23
  3. package/dist/actions/action_codegen.d.ts.map +1 -1
  4. package/dist/actions/action_codegen.js +101 -80
  5. package/dist/actions/action_event.d.ts +0 -8
  6. package/dist/actions/action_event.d.ts.map +1 -1
  7. package/dist/actions/action_event.js +7 -6
  8. package/dist/actions/action_event_data.d.ts +18 -18
  9. package/dist/actions/action_rpc.d.ts +1 -1
  10. package/dist/actions/action_rpc.js +1 -1
  11. package/dist/actions/action_spec.d.ts +8 -10
  12. package/dist/actions/action_spec.d.ts.map +1 -1
  13. package/dist/actions/action_spec.js +1 -1
  14. package/dist/actions/action_types.d.ts +4 -4
  15. package/dist/actions/action_types.d.ts.map +1 -1
  16. package/dist/actions/action_types.js +2 -2
  17. package/dist/actions/broadcast_api.d.ts +2 -2
  18. package/dist/actions/broadcast_api.js +4 -4
  19. package/dist/actions/compile_action_registry.d.ts +6 -7
  20. package/dist/actions/compile_action_registry.d.ts.map +1 -1
  21. package/dist/actions/compile_action_registry.js +8 -9
  22. package/dist/actions/perform_action.d.ts +6 -6
  23. package/dist/actions/perform_action.d.ts.map +1 -1
  24. package/dist/actions/perform_action.js +11 -10
  25. package/dist/actions/socket.svelte.d.ts +1 -1
  26. package/dist/actions/socket.svelte.js +2 -2
  27. package/dist/auth/CLAUDE.md +11 -11
  28. package/dist/auth/account_action_specs.d.ts +11 -11
  29. package/dist/auth/account_action_specs.js +1 -1
  30. package/dist/auth/account_route_schema.d.ts +18 -18
  31. package/dist/auth/account_route_schema.js +1 -1
  32. package/dist/auth/account_routes.js +1 -1
  33. package/dist/auth/account_schema.d.ts +38 -40
  34. package/dist/auth/account_schema.d.ts.map +1 -1
  35. package/dist/auth/account_schema.js +7 -8
  36. package/dist/auth/actor_lookup_action_specs.d.ts +7 -7
  37. package/dist/auth/actor_lookup_action_specs.js +1 -1
  38. package/dist/auth/actor_search_action_specs.d.ts +6 -6
  39. package/dist/auth/actor_search_action_specs.js +1 -1
  40. package/dist/auth/admin_action_specs.d.ts +166 -166
  41. package/dist/auth/admin_action_specs.js +1 -1
  42. package/dist/auth/app_settings_schema.d.ts +3 -3
  43. package/dist/auth/app_settings_schema.d.ts.map +1 -1
  44. package/dist/auth/app_settings_schema.js +1 -1
  45. package/dist/auth/audit_emitter.d.ts +6 -7
  46. package/dist/auth/audit_emitter.d.ts.map +1 -1
  47. package/dist/auth/audit_emitter.js +11 -22
  48. package/dist/auth/audit_log_ddl.d.ts +1 -1
  49. package/dist/auth/audit_log_ddl.js +1 -1
  50. package/dist/auth/audit_log_queries.d.ts +0 -13
  51. package/dist/auth/audit_log_queries.d.ts.map +1 -1
  52. package/dist/auth/audit_log_queries.js +3 -3
  53. package/dist/auth/audit_log_route_schema.d.ts +1 -1
  54. package/dist/auth/audit_log_route_schema.js +1 -1
  55. package/dist/auth/audit_log_schema.d.ts +69 -70
  56. package/dist/auth/audit_log_schema.d.ts.map +1 -1
  57. package/dist/auth/audit_log_schema.js +2 -2
  58. package/dist/auth/auth_ddl.d.ts +1 -1
  59. package/dist/auth/auth_ddl.js +1 -1
  60. package/dist/auth/bootstrap_route_schema.d.ts +4 -4
  61. package/dist/auth/bootstrap_route_schema.js +1 -1
  62. package/dist/auth/cell_action_specs.d.ts +466 -466
  63. package/dist/auth/cell_action_specs.js +1 -1
  64. package/dist/auth/cell_actions.d.ts +2 -2
  65. package/dist/auth/cell_actions.js +5 -5
  66. package/dist/auth/cell_audit_action_specs.d.ts +14 -14
  67. package/dist/auth/cell_audit_action_specs.js +1 -1
  68. package/dist/auth/cell_audit_metadata.d.ts +8 -8
  69. package/dist/auth/cell_audit_metadata.js +1 -1
  70. package/dist/auth/cell_field_action_specs.d.ts +55 -55
  71. package/dist/auth/cell_field_action_specs.js +1 -1
  72. package/dist/auth/cell_field_audit_metadata.d.ts +4 -4
  73. package/dist/auth/cell_field_audit_metadata.js +1 -1
  74. package/dist/auth/cell_grant_action_specs.d.ts +61 -61
  75. package/dist/auth/cell_grant_action_specs.js +1 -1
  76. package/dist/auth/cell_grant_audit_metadata.d.ts +10 -10
  77. package/dist/auth/cell_grant_audit_metadata.js +1 -1
  78. package/dist/auth/cell_item_action_specs.d.ts +76 -76
  79. package/dist/auth/cell_item_action_specs.js +1 -1
  80. package/dist/auth/cell_item_audit_metadata.d.ts +5 -5
  81. package/dist/auth/cell_item_audit_metadata.js +1 -1
  82. package/dist/auth/invite_schema.d.ts +11 -11
  83. package/dist/auth/invite_schema.d.ts.map +1 -1
  84. package/dist/auth/invite_schema.js +1 -1
  85. package/dist/auth/name_schema.js +1 -1
  86. package/dist/auth/password.js +1 -1
  87. package/dist/auth/request_context.js +2 -2
  88. package/dist/auth/role_grant_offer_action_specs.d.ts +182 -182
  89. package/dist/auth/role_grant_offer_action_specs.js +1 -1
  90. package/dist/auth/role_grant_offer_ddl.d.ts +1 -1
  91. package/dist/auth/role_grant_offer_ddl.js +1 -1
  92. package/dist/auth/role_grant_offer_notifications.d.ts +107 -107
  93. package/dist/auth/role_grant_offer_notifications.d.ts.map +1 -1
  94. package/dist/auth/role_grant_offer_notifications.js +3 -4
  95. package/dist/auth/role_grant_offer_schema.d.ts +9 -9
  96. package/dist/auth/role_grant_offer_schema.d.ts.map +1 -1
  97. package/dist/auth/role_grant_offer_schema.js +1 -1
  98. package/dist/auth/self_service_role_action_specs.d.ts +2 -2
  99. package/dist/auth/self_service_role_action_specs.js +1 -1
  100. package/dist/auth/self_service_role_actions.d.ts +1 -1
  101. package/dist/auth/self_service_role_actions.js +1 -1
  102. package/dist/auth/signup_route_schema.d.ts +2 -2
  103. package/dist/auth/signup_route_schema.js +1 -1
  104. package/dist/auth/token_scope.d.ts +8 -8
  105. package/dist/db/file_fact_url.d.ts +1 -1
  106. package/dist/env/env_schemas.d.ts +1 -2
  107. package/dist/env/env_schemas.d.ts.map +1 -1
  108. package/dist/env/env_schemas.js +3 -4
  109. package/dist/http/CLAUDE.md +30 -32
  110. package/dist/http/auth_shape.d.ts +17 -52
  111. package/dist/http/auth_shape.d.ts.map +1 -1
  112. package/dist/http/auth_shape.js +19 -61
  113. package/dist/http/db_routes.d.ts +1 -1
  114. package/dist/http/db_routes.d.ts.map +1 -1
  115. package/dist/http/db_routes.js +1 -1
  116. package/dist/http/error_schemas.d.ts +36 -36
  117. package/dist/http/jsonrpc.d.ts +11 -11
  118. package/dist/http/jsonrpc_helpers.js +1 -1
  119. package/dist/http/route_error_check.d.ts +2 -2
  120. package/dist/http/route_error_check.d.ts.map +1 -1
  121. package/dist/http/route_error_check.js +2 -3
  122. package/dist/http/route_errors.d.ts +4 -4
  123. package/dist/http/route_errors.d.ts.map +1 -1
  124. package/dist/http/route_errors.js +0 -13
  125. package/dist/http/route_spec.d.ts +33 -36
  126. package/dist/http/route_spec.d.ts.map +1 -1
  127. package/dist/http/route_spec.js +21 -22
  128. package/dist/http/schema_helpers.d.ts +75 -67
  129. package/dist/http/schema_helpers.d.ts.map +1 -1
  130. package/dist/http/schema_helpers.js +54 -76
  131. package/dist/http/surface.d.ts.map +1 -1
  132. package/dist/http/surface.js +6 -8
  133. package/dist/primitive_schemas.d.ts +162 -112
  134. package/dist/primitive_schemas.d.ts.map +1 -1
  135. package/dist/primitive_schemas.js +129 -161
  136. package/dist/realtime/sse.d.ts +3 -3
  137. package/dist/realtime/sse.d.ts.map +1 -1
  138. package/dist/realtime/sse.js +2 -2
  139. package/dist/schema_issues.d.ts +41 -146
  140. package/dist/schema_issues.d.ts.map +1 -1
  141. package/dist/schema_issues.js +39 -322
  142. package/dist/schema_meta.d.ts +63 -136
  143. package/dist/schema_meta.d.ts.map +1 -1
  144. package/dist/schema_meta.js +37 -184
  145. package/dist/sensitivity.d.ts +3 -5
  146. package/dist/sensitivity.d.ts.map +1 -1
  147. package/dist/sensitivity.js +3 -5
  148. package/dist/server/serve_fact_route.js +1 -1
  149. package/dist/server/surface_route.js +1 -1
  150. package/dist/testing/CLAUDE.md +23 -25
  151. package/dist/testing/adversarial_headers.js +2 -2
  152. package/dist/testing/adversarial_input_cases.d.ts +19 -18
  153. package/dist/testing/adversarial_input_cases.d.ts.map +1 -1
  154. package/dist/testing/adversarial_input_cases.js +29 -42
  155. package/dist/testing/assertions.d.ts +2 -2
  156. package/dist/testing/assertions.d.ts.map +1 -1
  157. package/dist/testing/assertions.js +3 -3
  158. package/dist/testing/cross_backend/account_lifecycle.js +2 -2
  159. package/dist/testing/cross_backend/action_manifest.d.ts +10 -9
  160. package/dist/testing/cross_backend/action_manifest.d.ts.map +1 -1
  161. package/dist/testing/cross_backend/action_manifest.js +4 -3
  162. package/dist/testing/cross_backend/cell_crud.js +1 -1
  163. package/dist/testing/cross_backend/conformance_case.d.ts +96 -114
  164. package/dist/testing/cross_backend/conformance_case.d.ts.map +1 -1
  165. package/dist/testing/cross_backend/conformance_case.js +0 -256
  166. package/dist/testing/cross_backend/conformance_rpc_auth.d.ts +0 -62
  167. package/dist/testing/cross_backend/conformance_rpc_auth.d.ts.map +1 -1
  168. package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
  169. package/dist/testing/cross_backend/conformance_table.js +3 -3
  170. package/dist/testing/cross_backend/cross_rpc.d.ts +3 -4
  171. package/dist/testing/cross_backend/cross_rpc.d.ts.map +1 -1
  172. package/dist/testing/cross_backend/cross_rpc.js +4 -4
  173. package/dist/testing/cross_backend/differential.js +2 -2
  174. package/dist/testing/cross_backend/fact_serving.js +1 -1
  175. package/dist/testing/cross_backend/identity_parity.js +9 -9
  176. package/dist/testing/cross_backend/origin_conformance.d.ts +9 -9
  177. package/dist/testing/cross_backend/query_shape.js +1 -1
  178. package/dist/testing/cross_backend/rpc_success_fixtures.d.ts.map +1 -1
  179. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts +1 -1
  180. package/dist/testing/cross_backend/setup.d.ts +26 -4
  181. package/dist/testing/cross_backend/setup.d.ts.map +1 -1
  182. package/dist/testing/cross_backend/setup.js +7 -8
  183. package/dist/testing/cross_backend/sse_round_trip.js +2 -2
  184. package/dist/testing/cross_backend/testing_origin_check.d.ts +12 -12
  185. package/dist/testing/cross_backend/testing_reset_actions.d.ts +608 -201
  186. package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
  187. package/dist/testing/cross_backend/testing_reset_actions.js +46 -55
  188. package/dist/testing/cross_backend/token_lifetime.js +3 -3
  189. package/dist/testing/cross_backend/wire_shapes.js +1 -1
  190. package/dist/testing/cross_backend/ws_outbound_overflow.d.ts.map +1 -1
  191. package/dist/testing/cross_backend/ws_outbound_overflow.js +35 -0
  192. package/dist/testing/cross_backend/ws_round_trip.js +1 -1
  193. package/dist/testing/data_exposure.d.ts.map +1 -1
  194. package/dist/testing/data_exposure.js +1 -1
  195. package/dist/testing/integration.js +2 -2
  196. package/dist/testing/integration_helpers.d.ts.map +1 -1
  197. package/dist/testing/integration_helpers.js +2 -2
  198. package/dist/testing/middleware.d.ts.map +1 -1
  199. package/dist/testing/middleware.js +2 -2
  200. package/dist/testing/rpc_attack_surface.js +1 -1
  201. package/dist/testing/rpc_envelope_cases.d.ts +3 -3
  202. package/dist/testing/rpc_envelope_cases.d.ts.map +1 -1
  203. package/dist/testing/rpc_envelope_cases.js +1 -1
  204. package/dist/testing/rpc_helpers.d.ts +12 -14
  205. package/dist/testing/rpc_helpers.d.ts.map +1 -1
  206. package/dist/testing/rpc_helpers.js +9 -11
  207. package/dist/testing/schema_generators.d.ts +67 -60
  208. package/dist/testing/schema_generators.d.ts.map +1 -1
  209. package/dist/testing/schema_generators.js +144 -151
  210. package/dist/testing/schema_introspect.d.ts +438 -78
  211. package/dist/testing/schema_introspect.d.ts.map +1 -1
  212. package/dist/testing/schema_introspect.js +26 -26
  213. package/dist/testing/sse_round_trip.d.ts.map +1 -1
  214. package/dist/testing/sse_round_trip.js +2 -2
  215. package/dist/testing/surface_invariants.d.ts +1 -1
  216. package/dist/testing/surface_invariants.js +1 -1
  217. package/dist/testing/transports/bootstrap.d.ts +1 -1
  218. package/dist/testing/transports/bootstrap.d.ts.map +1 -1
  219. package/dist/testing/transports/bootstrap.js +1 -1
  220. package/dist/ui/BootstrapForm.svelte +1 -2
  221. package/dist/ui/BootstrapForm.svelte.d.ts.map +1 -1
  222. package/dist/ui/SignupForm.svelte +1 -2
  223. package/dist/ui/SignupForm.svelte.d.ts.map +1 -1
  224. package/dist/ui/admin_accounts_state.svelte.d.ts +5 -5
  225. package/dist/ui/admin_accounts_state.svelte.d.ts.map +1 -1
  226. package/dist/ui/admin_invites_state.svelte.d.ts +1 -1
  227. package/dist/ui/admin_invites_state.svelte.d.ts.map +1 -1
  228. package/dist/ui/admin_sessions_state.svelte.d.ts +2 -2
  229. package/dist/ui/admin_sessions_state.svelte.d.ts.map +1 -1
  230. package/dist/ui/form_state.svelte.d.ts +1 -1
  231. package/dist/ui/form_state.svelte.js +1 -1
  232. package/dist/ui/role_grant_offers_state.svelte.d.ts +1 -1
  233. package/package.json +7 -9
  234. package/dist/primitive_schemas_fuz.d.ts +0 -178
  235. package/dist/primitive_schemas_fuz.d.ts.map +0 -1
  236. package/dist/primitive_schemas_fuz.js +0 -149
  237. package/dist/zod.d.ts +0 -101
  238. package/dist/zod.d.ts.map +0 -1
  239. package/dist/zod.js +0 -195
@@ -1,26 +1,20 @@
1
1
  /**
2
- * Reusable validator-schema primitives — `bounded_string`, `Username`,
3
- * `Email`, the branded `Uuid` and `Datetime` with their factories, and the
4
- * hash schema `FactHashSchema`. Lives at
5
- * the top level (not inside `auth/` or `http/`) because these shapes don't
6
- * depend on or imply any domain — accounts hold a username and email, but
7
- * invites, password resets, cells, and other surfaces all reach for the same
8
- * primitives without going through auth.
9
- *
10
- * Split out from `auth/account_schema.ts` so the auth module shrinks to
11
- * entity types + client-safe JSON shapes (its real responsibility) and
12
- * non-auth consumers can import these primitives without dragging the
13
- * auth domain along. Future cross-domain primitives (phone, slug) land
14
- * here too; a URL is `Url` from `@fuzdev/fuz_util/url.ts`.
2
+ * Reusable validator-schema primitives, in `@fuzdev/fuz_schema` —
3
+ * `bounded_string`, `Username` with `UsernameCanonical` and
4
+ * `UsernameProvided`, `Email`, the branded `Uuid` with its factory,
5
+ * `Timestamp`, the hash schemas `FactHashSchema` and `Blake3Hash`, and
6
+ * `ActingActor`. Lives at the top level (not inside `auth/` or `http/`)
7
+ * because these shapes don't depend on or imply any domain — accounts hold a
8
+ * username and email, but invites, password resets, cells, and other surfaces
9
+ * all reach for the same primitives without going through auth. A URL is
10
+ * `Url` from `@fuzdev/fuz_util/url.ts`.
15
11
  *
16
12
  * Client-safe: nothing here imports `@fuzdev/blake3-wasm`, so wire schemas
17
13
  * that validate a hash don't pull the WASM binary into a bundle.
18
14
  *
19
15
  * @module
20
16
  */
21
- import { z } from 'zod';
22
- import type { Branded } from '@fuzdev/fuz_schema/schema.ts';
23
- import { type FactHash } from '@fuzdev/fuz_util/hash_schemas.ts';
17
+ import { string, type Infer, type PipeSchema } from '@fuzdev/fuz_schema/schema.ts';
24
18
  /** Length bounds for `bounded_string`, in UTF-16 code units. */
25
19
  export interface BoundedStringOptions {
26
20
  /** Shortest string admitted. Omit for no lower bound. */
@@ -34,27 +28,15 @@ export interface BoundedStringOptions {
34
28
  * A string schema whose length is bounded in UTF-16 code units — what
35
29
  * `String.length` measures, and what the Rust spine counts
36
30
  * (`encode_utf16().count()`), so an astral-plane character costs two on both.
37
- * Every `.min()` / `.max()` length bound on a wire string in the package is
38
- * built here, bar a bare `.min(1)`, which reads the same in either count.
39
- *
40
- * Zod's `.min()` / `.max()` alone don't pin the unit: depending on the
41
- * installed Zod they count code units or Unicode code points, and the peer
42
- * range admits both. The schema still carries them — they are what puts
43
- * `minLength` / `maxLength` in the generated JSON Schema — and a check beside
44
- * them settles the verdict on `String.length`: it adds the over-`max` or
45
- * under-`min` issue when Zod raised none, and withdraws one Zod raised for a
46
- * string that is within the bound in units. The issue it adds has the fields
47
- * of Zod's own and, like Zod's, lets the checks chained after it run, so a
48
- * refusal reads the same whichever count Zod used.
31
+ * fuz_schema's `min_length` / `max_length` read `String.length`. Every length
32
+ * bound on a wire string in the package is built here. Its JSON Schema
33
+ * carries `minLength` / `maxLength`; `max_message` replaces fuz_schema's
34
+ * message on the over-`max` issue.
49
35
  *
50
- * Returns a plain `ZodString`, so format checks, `.brand()`, `.nullish()` and
51
- * `.meta()` chain as usual. Don't chain a further `.min()` / `.max()` — pass
52
- * the bound here.
53
- *
54
- * @param options - the bounds, in UTF-16 code units
36
+ * @param options - the bounds, in UTF-16 code units, and the max message
55
37
  * @returns the bounded string schema
56
38
  */
57
- export declare const bounded_string: (options: BoundedStringOptions) => z.ZodString;
39
+ export declare const bounded_string: (options: BoundedStringOptions) => PipeSchema<string, typeof string>;
58
40
  /** Minimum username length (must have start + middle + end characters). */
59
41
  export declare const USERNAME_LENGTH_MIN = 3;
60
42
  /** Maximum username length (matches GitHub's limit). The grammar is ASCII, so units and characters agree. */
@@ -71,14 +53,48 @@ export declare const USERNAME_PROVIDED_LENGTH_MAX = 255;
71
53
  * Username for account creation — starts with letter, alphanumeric/dash/underscore middle, ends with alphanumeric. No @ or . allowed.
72
54
  *
73
55
  * Canonicalized to lowercase at parse time. The regex rejects whitespace
74
- * outright, so `.trim()` is unnecessary here. Storage is canonical across
75
- * every creation site (bootstrap, signup, admin-create, invite acceptance)
76
- * because the schema is the single source of truth — eliminates the
77
- * per-caller `trim().toLowerCase()` ritual and keeps the
78
- * `LOWER(username) = LOWER($1)` lookup contract simple.
56
+ * outright, so no trim is needed. Storage is canonical across every creation
57
+ * site (bootstrap, signup, admin-create, invite acceptance) because the
58
+ * schema is the single source of truth — eliminates the per-caller
59
+ * `trim().toLowerCase()` ritual and keeps the `LOWER(username) = LOWER($1)`
60
+ * lookup contract simple. A string outside the bounds and off the grammar
61
+ * gets the length issue alone.
62
+ */
63
+ export declare const Username: PipeSchema<string, PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
64
+ export type Username = Infer<typeof Username>;
65
+ /**
66
+ * A username's canonical grammar, `USERNAME_REGEX` in lowercase: a lowercase
67
+ * letter, then lowercase letters, digits, `_` or `-`, ending in a lowercase
68
+ * letter or digit. What `Username` outputs, and what an `account` row holds
69
+ * (its `account_username_lowercase` CHECK).
70
+ */
71
+ export declare const USERNAME_CANONICAL_REGEX: RegExp;
72
+ /**
73
+ * A username as an account row holds it, the `username` of an output: the
74
+ * bounds of `Username` and `USERNAME_CANONICAL_REGEX`, no transform. A
75
+ * username in any other case fails, where `Username` lowercases it.
79
76
  */
80
- export declare const Username: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
81
- export type Username = z.infer<typeof Username>;
77
+ export declare const UsernameCanonical: PipeSchema<string, PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
78
+ export type UsernameCanonical = Infer<typeof UsernameCanonical>;
79
+ /**
80
+ * Username submitted for login or lookup — minimal validation, for
81
+ * forward-compatibility if the creation grammar changes: at least one and at
82
+ * most `USERNAME_PROVIDED_LENGTH_MAX` UTF-16 code units, measured before
83
+ * trimming, holding a character that isn't whitespace.
84
+ *
85
+ * Canonicalized to `.trim().toLowerCase()` at parse time, so login's
86
+ * per-account rate-limit key and its lookup see one value whatever the casing
87
+ * or surrounding whitespace, as `Username` canonicalizes what is stored.
88
+ *
89
+ * A whitespace-only identifier is refused, not canonicalized to `""` and left
90
+ * to fall through to a lookup-miss 401: an empty identifier is malformed
91
+ * input, not a wrong credential, and the Rust spine's `account_login` refuses
92
+ * it too. JS `\s` is exactly the set `trim` removes (ECMA-262's WhiteSpace and
93
+ * LineTerminator), so the `regex` ahead of the transform refuses what would
94
+ * trim to nothing.
95
+ */
96
+ export declare const UsernameProvided: PipeSchema<string, PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
97
+ export type UsernameProvided = Infer<typeof UsernameProvided>;
82
98
  /**
83
99
  * Maximum email length in **bytes** — RFC 5321 §4.5.3.1.3 path-length limit
84
100
  * (the limit is octets). `Email` bounds the UTF-8 byte length, matching the
@@ -107,11 +123,11 @@ export declare const EMAIL_LENGTH_MAX = 254;
107
123
  * language, is quadratic: it tries every `.` as the split.
108
124
  */
109
125
  export declare const EMAIL_REGEX: RegExp;
110
- /** The message of an email over `EMAIL_LENGTH_MAX` bytes, on either schema library's `Email`. */
126
+ /** The message of an email over `EMAIL_LENGTH_MAX` bytes, on `Email`. */
111
127
  export declare const EMAIL_LENGTH_MESSAGE = "Email must be at most 254 bytes";
112
128
  /**
113
- * Whether `s` is at most `EMAIL_LENGTH_MAX` bytes in UTF-8, the bound both
114
- * `Email` schemas check.
129
+ * Whether `s` is at most `EMAIL_LENGTH_MAX` bytes in UTF-8, the bound `Email`
130
+ * checks.
115
131
  *
116
132
  * `s.length` (UTF-16 units) is a cheap upper bound that short-circuits the
117
133
  * `encode` on absurd inputs: a valid (<= 254-byte) address is necessarily
@@ -124,85 +140,119 @@ export declare const EMAIL_LENGTH_MESSAGE = "Email must be at most 254 bytes";
124
140
  export declare const is_email_within_length_max: (s: string) => boolean;
125
141
  /**
126
142
  * Email validation. Every current consumer pairs it with `Username` (signup,
127
- * invites, audit log), so the two live together with the other Zod
128
- * primitives.
143
+ * invites, audit log), so the two live together with the other primitives.
129
144
  *
130
145
  * Deliberately permissive — a structural shape check (`EMAIL_REGEX` plus the
131
146
  * `EMAIL_LENGTH_MAX` byte bound), not RFC 5322 conformance or deliverability
132
- * (real delivery is proven by a confirmation email). Replaces Zod's stricter
133
- * `z.email()` so the rule is one explicit regex the Rust spine's
134
- * `is_valid_email` mirrors; `z.email()`'s internal regex (2+ char TLD, no
135
- * consecutive dots) was brittle to keep in cross-impl parity and rejected
136
- * addresses like `a@b.c`. The length bound is the UTF-8 **byte** count (RFC
137
- * 5321 measures octets), so a multibyte address is bounded identically to the
138
- * Rust spine's `s.len()` rather than diverging on JS's UTF-16 `.length`. No
139
- * transform: case is preserved and surrounding whitespace is rejected (not
140
- * trimmed), so storage is verbatim and the case-insensitive lookup rides the
141
- * DB-side `LOWER(email)`.
147
+ * (real delivery is proven by a confirmation email). The rule is one explicit
148
+ * regex the Rust spine's `is_valid_email` mirrors, looser than grammars
149
+ * requiring a 2+ char TLD and no consecutive dots, which reject addresses like
150
+ * `a@b.c`. The length bound is the UTF-8 **byte** count (RFC 5321
151
+ * measures octets), so a multibyte address is bounded identically to the
152
+ * Rust spine's `s.len()`. No transform: case is preserved and surrounding
153
+ * whitespace is rejected (not trimmed), so storage is verbatim and the
154
+ * case-insensitive lookup rides the DB-side `LOWER(email)`.
142
155
  *
143
- * The byte bound runs first and aborts, so an address past it gets the
144
- * length issue alone and is never read by the regex.
156
+ * The `max_length` ahead of the grammar refuses a string past the bound in
157
+ * UTF-16 code units, which is past it in bytes too, before the regex reads
158
+ * it, and the `check` after it the multibyte address within the units but
159
+ * past the bytes, both with `EMAIL_LENGTH_MESSAGE`. Its JSON Schema carries
160
+ * the bound as `maxLength`.
145
161
  */
146
- export declare const Email: z.ZodString;
147
- export type Email = z.infer<typeof Email>;
162
+ export declare const Email: PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
163
+ export type Email = Infer<typeof Email>;
148
164
  /** Returns a new random (v4) `Uuid`. */
149
165
  export declare const create_uuid: () => Uuid;
150
166
  /**
151
- * Branded UUID schema. Accepts either case and outputs lowercase — the form
152
- * Postgres renders a `uuid` in and every id the server mints — so a parsed id
153
- * compares equal to the same id read back from the database. The Rust spine
154
- * canonicalizes the same way, and its grammar is this one, the fuz_schema
155
- * twin's in `primitive_schemas_fuz.ts`: `z.uuid()` with the max UUID taken in
156
- * any case. Issues and JSON Schema keep `format: 'uuid'`; only the `pattern`
157
- * differs from a bare `z.uuid()`'s, rendered or on a Zod issue (the wire
158
- * issue drops it).
159
- *
160
- * `pattern` is a `$ZodUUIDDef` field that `z.uuid()` honors (its default
161
- * applies only when none is given) but whose public params type omits it,
162
- * hence the cast on the params.
163
- *
164
- * `.toLowerCase()` rather than `.transform()`: an overwrite keeps the output
165
- * type and stays invisible to `z.toJSONSchema`, where a transform would leave
166
- * no input schema to render.
167
- *
168
- * The output type is fuz_schema's `Branded<string, 'Uuid'>`, the twin's, by a
169
- * cast as on `FactHashSchema`: Zod's `.brand('Uuid')` would output Zod's own
170
- * brand, which a fuz_schema `Uuid` isn't assignable to.
167
+ * The UUID grammar of RFC 9562, in either case: five groups of hex digits,
168
+ * 8-4-4-4-12, with a version from 1 to 8 and the RFC's variant, or the nil or
169
+ * the max UUID, read case-insensitively as RFC 9562 §4 reads a UUID. The same
170
+ * source as the pattern fuz_schema's `uuid` renders to JSON Schema, which a
171
+ * test holds it to, and the grammar of the Rust spine's `is_valid_uuid`.
172
+ */
173
+ export declare const UUID_REGEX: RegExp;
174
+ /**
175
+ * Branded UUID schema: a UUID of RFC 9562 in either case, fuz_schema's `uuid`
176
+ * (whose grammar is `UUID_REGEX`), output in lowercase — the form Postgres renders a `uuid` in and every id
177
+ * the server mints — so a parsed id compares equal to the same id read back
178
+ * from the database. The Rust spine canonicalizes the same way. The brand
179
+ * goes outside the `to_lower_case`, which outputs a new string.
171
180
  */
172
- export declare const Uuid: z.ZodUUID & z.ZodType<Branded<string, 'Uuid'>, string>;
173
- export type Uuid = z.infer<typeof Uuid>;
181
+ export declare const Uuid: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
182
+ readonly '~types'?: {
183
+ readonly input: string;
184
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
185
+ } | undefined;
186
+ };
187
+ export type Uuid = Infer<typeof Uuid>;
174
188
  /** `Uuid` that defaults to a fresh `create_uuid()` when the input is `undefined`. */
175
- export declare const UuidWithDefault: z.ZodDefault<z.ZodUUID & z.ZodType<Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<Branded<string, "Uuid">, string>>>;
176
- export type UuidWithDefault = z.infer<typeof UuidWithDefault>;
177
- /**
178
- * Branded datetime schema, zod's default `z.iso.datetime()`: an RFC 3339 date
179
- * and time in UTC with a real calendar date, `Z` and no offset, and a fraction
180
- * of any length or none. Zod 4.6 requires the seconds; earlier zod 4, which
181
- * the `zod` peer range admits, also takes `HH:MMZ`. fuz_schema's
182
- * `iso_datetime` is this grammar with the seconds required and the fraction
183
- * capped at 9 digits.
184
- */
185
- export declare const Datetime: z.core.$ZodBranded<z.ZodISODateTime, "Datetime", "out">;
186
- export type Datetime = z.infer<typeof Datetime>;
187
- /** Returns an ISO 8601 datetime string for the current time. */
188
- export declare const get_datetime_now: () => Datetime;
189
- /** `Datetime` that defaults to `get_datetime_now()` when the input is `undefined`. */
190
- export declare const DatetimeNow: z.ZodDefault<z.core.$ZodBranded<z.ZodISODateTime, "Datetime", "out">>;
191
- export type DatetimeNow = z.infer<typeof DatetimeNow>;
192
- /**
193
- * Wire-form schema for a `blake3:`-prefixed fact hash, whose output is
189
+ export declare const UuidWithDefault: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string | undefined, "with_default_fn", import("@fuzdev/fuz_schema/schema.ts").SchemaDefaultFnDef<import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
190
+ readonly '~types'?: {
191
+ readonly input: string;
192
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
193
+ } | undefined;
194
+ }>>;
195
+ export type UuidWithDefault = Infer<typeof UuidWithDefault>;
196
+ /**
197
+ * A timestamp on the wire: a date and time of RFC 3339 in UTC, fuz_schema's
198
+ * `iso_datetime`, which both spines' `YYYY-MM-DDTHH:MM:SSZ`
199
+ * (`iso8601_timestamp_column`) and a `toISOString()` stamp satisfy. Not
200
+ * branded.
201
+ */
202
+ export declare const Timestamp: PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
203
+ export type Timestamp = Infer<typeof Timestamp>;
204
+ /**
205
+ * A `blake3:`-prefixed fact hash on the wire: `FACT_HASH_EXACT`, its output
194
206
  * `FactHash` from `@fuzdev/fuz_util/hash_schemas.ts` — the type
195
- * `fact_hash_bytes`, `fact_hash_stream`, and `FactStore` use — so a parsed
207
+ * `fact_hash_bytes`, `fact_hash_stream`, and `FactStore` take — so a parsed
196
208
  * value passes straight to them. Client-side (cell payloads) and server-side
197
- * (DB-row hashes) consumers reuse this same schema.
209
+ * (DB-row hashes) consumers reuse this same schema. Its JSON Schema is the
210
+ * `pattern`.
211
+ */
212
+ export declare const FactHashSchema: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "FactHash">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
213
+ readonly '~types'?: {
214
+ readonly input: string;
215
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
216
+ } | undefined;
217
+ };
218
+ /** A BLAKE3 hex hash's grammar: 64 lowercase hex characters (256-bit output). */
219
+ export declare const BLAKE3_HASH_REGEX: RegExp;
220
+ /** The message of a string off `BLAKE3_HASH_REGEX`. */
221
+ export declare const BLAKE3_HASH_MESSAGE = "Expected a 64-character lowercase hex blake3 hash";
222
+ /**
223
+ * A BLAKE3 hex hash: `BLAKE3_HASH_REGEX`, whose issue carries
224
+ * `BLAKE3_HASH_MESSAGE`. A value that is no string gets fuz_schema's message.
225
+ */
226
+ export declare const Blake3Hash: PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
227
+ export type Blake3Hash = Infer<typeof Blake3Hash>;
228
+ /** The `description` of `ActingActor`. */
229
+ export declare const ACTING_ACTOR_DESCRIPTION = "Actor on the authenticated account that this request acts as. Omit on single-actor accounts; required on multi-actor.";
230
+ /**
231
+ * `acting` field shared by every input that needs the caller's acting actor.
232
+ * Declaring `acting: ActingActor` on a route or action input signals to the
233
+ * dispatcher's authorization phase to resolve an actor against the
234
+ * authenticated account: it runs `resolve_acting_actor`, builds the
235
+ * actor-bound `RequestContext`, and loads role_grants before auth guards fire.
198
236
  *
199
- * The output type is a cast over a plain regex check: Zod's `.brand('FactHash')`
200
- * would output Zod's own brand, which doesn't fit fuz_util's fuz_schema-branded
201
- * `FactHash`, and a `.transform` or `z.custom` that produced the right type
202
- * makes `z.toJSONSchema` throw, as neither can be represented in JSON Schema.
203
- * The cast costs nothing at runtime and keeps the `ZodString` API and the
204
- * `pattern` in the generated JSON Schema, so `.meta()`, `.nullable()`, and
205
- * `z.array()` compose as before.
206
- */
207
- export declare const FactHashSchema: z.ZodString & z.ZodType<FactHash, string>;
237
+ * Resolution rules: omitted + 1 actor → use it; omitted + multiple actors →
238
+ * `actor_required` with the available list; supplied + on the account → use
239
+ * it; supplied + foreign actor → `actor_not_on_account`.
240
+ *
241
+ * Account-grain routes — input doesn't declare `acting` and auth doesn't
242
+ * require role_grants — skip resolution entirely; their `RequestContext.actor`
243
+ * is `null` and the audit envelope's `actor_id` stays null.
244
+ *
245
+ * Paired with `RouteAuth` (`http/auth_shape.ts`) by registry-time invariant
246
+ * 2: `auth.actor !== 'none'` ⟺ input (or query, on REST GETs) declares
247
+ * `acting?: ActingActor`. The dispatcher finds it by reference
248
+ * (`input_schema_declares_acting`), so an input declares this export, not a
249
+ * copy of it.
250
+ */
251
+ export declare const ActingActor: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
252
+ readonly '~types'?: {
253
+ readonly input: string;
254
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
255
+ } | undefined;
256
+ }>>;
257
+ export type ActingActor = Infer<typeof ActingActor>;
208
258
  //# sourceMappingURL=primitive_schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"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