@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,84 +1,4 @@
1
1
  import '../assert_dev_env.js';
2
- /**
3
- * Test-binary RPC actions for cross-process integration tests.
4
- *
5
- * The daemon-token-authed actions bundled by `create_testing_actions`:
6
- * **`_testing_reset`** (DB wipe + keeper re-seed), **`_testing_drain_effects`**
7
- * (audit barrier), **`_testing_mint_session`** (forge an
8
- * expired-by-construction server-side session for the expiry conformance
9
- * cases), **`_testing_put_fact`** (seed an embedded fact for the fact-serving
10
- * suite), **`_testing_schema_snapshot`** (introspect the live schema for
11
- * cross-impl parity diffing against a Rust backend's `fuz_db` snapshot),
12
- * **`_testing_migration_tracker`** (dump the `schema_version` tracker rows for
13
- * cross-impl migration-identity parity — the provenance half the snapshot gate
14
- * excludes by design), and **`_testing_flood_notifications`** (queue a burst
15
- * of notifications onto the caller's own WebSocket connection, to push its
16
- * outbound queue past its byte budget).
17
- *
18
- * Two further daemon-token actions live here but are **not** bundled by
19
- * `create_testing_actions`, and are appended at the full-mount layer
20
- * (`build_full_spine_rpc_actions`) instead: **`_testing_action_manifest`**
21
- * (dump the live RPC registry for cross-impl method-set + auth-shape parity —
22
- * it must enumerate *every* mounted method, so it goes where the complete list
23
- * exists) and **`_testing_shorten_credential_expiry`** (pull an account's
24
- * credential expiries in to seconds from now, shorten-only, for the
25
- * credential-deadline cases) — the latter kept out of the bundle so a consumer
26
- * whose Rust binary doesn't mount its mirror keeps a green manifest gate.
27
- * `_testing_origin_check`, mounted the same way, lives in the hono-free
28
- * `testing_origin_check.ts`.
29
- *
30
- * `_testing_reset` — full DB wipe + keeper re-seed + optional
31
- * secondary-account seeding. The
32
- * handler first fires the consumer-supplied domain-state callback (domain
33
- * rows depend on auth rows, so a domain table with a restricting FK to
34
- * `actor` empties before the rows it references go), then wipes every
35
- * auth-namespace row (no keeper-preserve filter),
36
- * flips `bootstrap_lock` back to its post-bootstrap shape, seeds a
37
- * fresh keeper account inline (reusing `create_test_account_with_credentials`
38
- * so cross-process matches in-process write semantics), queues the
39
- * daemon-token cache refresh to point at the new keeper once the reset
40
- * commits, and seeds any caller-requested `extra_accounts` (also
41
- * direct-inserted at this setup step). The
42
- * new keeper + secondary credentials return as the action output so
43
- * the per-test fixture closes over them.
44
- *
45
- * In-process and cross-process keeper lifetimes match: both modes run
46
- * against a freshly bootstrapped keeper per test, so mutation-cascade
47
- * tests (password change, revoke-all, hardcoded-username signup
48
- * uniqueness) and direct keeper-vs-admin probes work uniformly
49
- * cross-process.
50
- *
51
- * **Keeper ≠ admin.** The `keeper` and `admin` roles are independent.
52
- * Keeper authorizes daemon-token / bootstrap paths; admin authorizes
53
- * the user-facing admin RPC surface. `_testing_reset` seeds the keeper
54
- * account with `[ROLE_KEEPER, ROLE_ADMIN]` by default — matching the
55
- * production `bootstrap_account` flow — plus any roles passed via
56
- * `extra_keeper_roles`. Tests probing the keeper-vs-admin separation
57
- * (a keeper-only account must 403 on admin RPCs) declare a secondary
58
- * via `extra_accounts: [{username, roles: [ROLE_KEEPER]}]` so the
59
- * account is seeded at this same bootstrap-equivalent step.
60
- *
61
- * **No free-form runtime bypass.** There is no action for arbitrary
62
- * direct role grants: a runtime bypass would let tests skip the
63
- * production consent flow's side-effects (audit emit, WS fan-out) and
64
- * silently mask bugs in those paths. The bypass that does exist —
65
- * `extra_accounts` — is framed as bootstrap-time seeding, the same
66
- * shape `bootstrap_account` itself uses to grant the initial
67
- * `KEEPER` + `ADMIN` pair. Tests that want a role on a *post-bootstrap*
68
- * account must route through `role_grant_offer_create` +
69
- * `role_grant_offer_accept` (the production path); they observe the
70
- * full event chain.
71
- *
72
- * Production safety: this module lives under `cross_backend/` and starts
73
- * with `import '../assert_dev_env.js';` — production bundles either
74
- * tree-shake the module out or throw at startup. The Rust mirror
75
- * (`fuz_testing` crate) ships a parallel action; `cargo xtask
76
- * check-release` blocks `fuz_testing` from entering production dep
77
- * graphs.
78
- *
79
- * @module
80
- */
81
- import { z } from 'zod';
82
2
  import { type RpcAction } from '../../actions/action_types.js';
83
3
  import type { AppDeps } from '../../auth/deps.js';
84
4
  import type { AuditEmitter } from '../../auth/audit_emitter.js';
@@ -120,41 +40,238 @@ export declare const testing_reset_action_spec: {
120
40
  readonly credential_types: readonly ["daemon_token"];
121
41
  };
122
42
  readonly side_effects: true;
123
- readonly input: z.ZodObject<{
124
- extra_keeper_roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
125
- extra_accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
126
- username: z.ZodString;
127
- password_value: z.ZodOptional<z.ZodString>;
128
- roles: z.ZodArray<z.ZodString>;
129
- }, z.core.$strict>>>;
130
- extra_actors: z.ZodOptional<z.ZodArray<z.ZodString>>;
131
- }, z.core.$strict>;
132
- readonly output: z.ZodObject<{
133
- account: z.ZodObject<{
134
- 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>>;
135
- username: z.ZodString;
136
- }, z.core.$strict>;
137
- actor: z.ZodObject<{
138
- 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>>;
139
- }, z.core.$strict>;
140
- api_token: z.ZodString;
141
- session_cookie: z.ZodString;
142
- extra_accounts: z.ZodArray<z.ZodObject<{
143
- account: z.ZodObject<{
144
- 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>>;
145
- username: z.ZodString;
146
- }, z.core.$strict>;
147
- actor: z.ZodObject<{
148
- 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>>;
149
- }, z.core.$strict>;
150
- api_token: z.ZodString;
151
- session_cookie: z.ZodString;
152
- }, z.core.$strict>>;
153
- extra_actors: z.ZodArray<z.ZodObject<{
154
- 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>>;
155
- name: z.ZodString;
156
- }, z.core.$strict>>;
157
- }, z.core.$strict>;
43
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
44
+ extra_accounts?: {
45
+ username: string;
46
+ roles: string[];
47
+ password_value?: string | undefined;
48
+ }[] | undefined;
49
+ extra_actors?: string[] | undefined;
50
+ extra_keeper_roles?: string[] | undefined;
51
+ }, {
52
+ extra_accounts?: {
53
+ username: string;
54
+ roles: string[];
55
+ password_value?: string | undefined;
56
+ }[] | undefined;
57
+ extra_actors?: string[] | undefined;
58
+ extra_keeper_roles?: string[] | undefined;
59
+ }, "object", {
60
+ extra_keeper_roles: import("@fuzdev/fuz_schema/schema.ts").Schema<string[] | undefined, string[] | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
61
+ extra_accounts: import("@fuzdev/fuz_schema/schema.ts").Schema<{
62
+ username: string;
63
+ roles: string[];
64
+ password_value?: string | undefined;
65
+ }[] | undefined, {
66
+ username: string;
67
+ roles: string[];
68
+ password_value?: string | undefined;
69
+ }[] | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{
70
+ username: string;
71
+ roles: string[];
72
+ password_value?: string | undefined;
73
+ }[], {
74
+ username: string;
75
+ roles: string[];
76
+ password_value?: string | undefined;
77
+ }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
78
+ username: string;
79
+ roles: string[];
80
+ password_value?: string | undefined;
81
+ }, {
82
+ username: string;
83
+ roles: string[];
84
+ password_value?: string | undefined;
85
+ }, "object", {
86
+ username: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
87
+ password_value: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
88
+ roles: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
89
+ }>>>>;
90
+ /**
91
+ * Additional actor names to seed on the **keeper** account, beyond
92
+ * its single bootstrap actor. Drives the multi-actor `acting`
93
+ * selector branches (omitted `acting` + >1 actor ⇒ `actor_required`
94
+ * with the `available[]` list) that are otherwise unreachable
95
+ * cross-process — account creation only ever mints one actor, and no
96
+ * production wire path adds a second. Bootstrap-cradle seeding, same
97
+ * rationale as `extra_accounts`.
98
+ */
99
+ extra_actors: import("@fuzdev/fuz_schema/schema.ts").Schema<string[] | undefined, string[] | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
100
+ }>;
101
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
102
+ api_token: string;
103
+ account: {
104
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
105
+ username: string;
106
+ };
107
+ actor: {
108
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
109
+ };
110
+ session_cookie: string;
111
+ extra_accounts: {
112
+ api_token: string;
113
+ account: {
114
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
115
+ username: string;
116
+ };
117
+ actor: {
118
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
119
+ };
120
+ session_cookie: string;
121
+ }[];
122
+ extra_actors: {
123
+ name: string;
124
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
125
+ }[];
126
+ }, {
127
+ api_token: string;
128
+ account: {
129
+ id: string;
130
+ username: string;
131
+ };
132
+ actor: {
133
+ id: string;
134
+ };
135
+ session_cookie: string;
136
+ extra_accounts: {
137
+ api_token: string;
138
+ account: {
139
+ id: string;
140
+ username: string;
141
+ };
142
+ actor: {
143
+ id: string;
144
+ };
145
+ session_cookie: string;
146
+ }[];
147
+ extra_actors: {
148
+ name: string;
149
+ id: string;
150
+ }[];
151
+ }, "object", {
152
+ extra_accounts: import("@fuzdev/fuz_schema/schema.ts").Schema<{
153
+ api_token: string;
154
+ account: {
155
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
156
+ username: string;
157
+ };
158
+ actor: {
159
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
160
+ };
161
+ session_cookie: string;
162
+ }[], {
163
+ api_token: string;
164
+ account: {
165
+ id: string;
166
+ username: string;
167
+ };
168
+ actor: {
169
+ id: string;
170
+ };
171
+ session_cookie: string;
172
+ }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
173
+ api_token: string;
174
+ account: {
175
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
176
+ username: string;
177
+ };
178
+ actor: {
179
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
180
+ };
181
+ session_cookie: string;
182
+ }, {
183
+ api_token: string;
184
+ account: {
185
+ id: string;
186
+ username: string;
187
+ };
188
+ actor: {
189
+ id: string;
190
+ };
191
+ session_cookie: string;
192
+ }, "object", {
193
+ account: import("@fuzdev/fuz_schema/schema.ts").Schema<{
194
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
195
+ username: string;
196
+ }, {
197
+ id: string;
198
+ username: string;
199
+ }, "object", {
200
+ id: 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">)[]> & {
201
+ readonly '~types'?: {
202
+ readonly input: string;
203
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
204
+ } | undefined;
205
+ };
206
+ username: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
207
+ }>;
208
+ actor: import("@fuzdev/fuz_schema/schema.ts").Schema<{
209
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
210
+ }, {
211
+ id: string;
212
+ }, "object", {
213
+ id: 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">)[]> & {
214
+ readonly '~types'?: {
215
+ readonly input: string;
216
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
217
+ } | undefined;
218
+ };
219
+ }>;
220
+ api_token: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
221
+ session_cookie: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
222
+ }>>;
223
+ /** The keeper's additional actors (from input `extra_actors`), in order. */
224
+ extra_actors: import("@fuzdev/fuz_schema/schema.ts").Schema<{
225
+ name: string;
226
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
227
+ }[], {
228
+ name: string;
229
+ id: string;
230
+ }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
231
+ name: string;
232
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
233
+ }, {
234
+ name: string;
235
+ id: string;
236
+ }, "object", {
237
+ id: 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">)[]> & {
238
+ readonly '~types'?: {
239
+ readonly input: string;
240
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
241
+ } | undefined;
242
+ };
243
+ name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
244
+ }>>;
245
+ account: import("@fuzdev/fuz_schema/schema.ts").Schema<{
246
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
247
+ username: string;
248
+ }, {
249
+ id: string;
250
+ username: string;
251
+ }, "object", {
252
+ id: 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">)[]> & {
253
+ readonly '~types'?: {
254
+ readonly input: string;
255
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
256
+ } | undefined;
257
+ };
258
+ username: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
259
+ }>;
260
+ actor: import("@fuzdev/fuz_schema/schema.ts").Schema<{
261
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
262
+ }, {
263
+ id: string;
264
+ }, "object", {
265
+ id: 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">)[]> & {
266
+ readonly '~types'?: {
267
+ readonly input: string;
268
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
269
+ } | undefined;
270
+ };
271
+ }>;
272
+ api_token: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
273
+ session_cookie: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
274
+ }>;
158
275
  readonly async: true;
159
276
  readonly description: "Test-binary only — wipe auth tables, re-bootstrap a fresh keeper (+ optional extras), fire the domain-state reset.";
160
277
  };
@@ -197,11 +314,17 @@ export declare const testing_drain_effects_action_spec: {
197
314
  readonly credential_types: readonly ["daemon_token"];
198
315
  };
199
316
  readonly side_effects: false;
200
- readonly input: z.ZodVoid;
201
- readonly output: z.ZodObject<{
202
- ok: z.ZodBoolean;
203
- tracked: z.ZodBoolean;
204
- }, z.core.$strict>;
317
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
318
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
319
+ ok: boolean;
320
+ tracked: boolean;
321
+ }, {
322
+ ok: boolean;
323
+ tracked: boolean;
324
+ }, "object", {
325
+ ok: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
326
+ tracked: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
327
+ }>;
205
328
  readonly async: true;
206
329
  readonly description: "Test-binary only — await in-flight fire-and-forget audit writes so a following audit_log_list read is authoritative.";
207
330
  };
@@ -209,7 +332,7 @@ export declare const testing_drain_effects_action_spec: {
209
332
  * `_testing_mint_session` — mint an expired-by-construction server-side
210
333
  * session for an existing account and return its signed cookie value.
211
334
  *
212
- * `expires_in_seconds` is **constrained negative** (`z.number().int().negative()`)
335
+ * `expires_in_seconds` is **constrained negative** (a safe integer at most `-1`)
213
336
  * so the action is structurally incapable of minting a *usable* session: it
214
337
  * can only produce an already-backdated, already-dead `auth_session` row. The
215
338
  * daemon-token gate + loopback binding already fence the backdoor, but the
@@ -245,13 +368,28 @@ export declare const testing_mint_session_action_spec: {
245
368
  readonly credential_types: readonly ["daemon_token"];
246
369
  };
247
370
  readonly side_effects: true;
248
- readonly input: z.ZodObject<{
249
- account_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>>;
250
- expires_in_seconds: z.ZodNumber;
251
- }, z.core.$strict>;
252
- readonly output: z.ZodObject<{
253
- session_cookie: z.ZodString;
254
- }, z.core.$strict>;
371
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
372
+ account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
373
+ expires_in_seconds: number;
374
+ }, {
375
+ account_id: string;
376
+ expires_in_seconds: number;
377
+ }, "object", {
378
+ account_id: 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">)[]> & {
379
+ readonly '~types'?: {
380
+ readonly input: string;
381
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
382
+ } | undefined;
383
+ };
384
+ expires_in_seconds: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
385
+ }>;
386
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
387
+ session_cookie: string;
388
+ }, {
389
+ session_cookie: string;
390
+ }, "object", {
391
+ session_cookie: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
392
+ }>;
255
393
  readonly async: true;
256
394
  readonly description: string;
257
395
  };
@@ -296,15 +434,39 @@ export declare const testing_put_fact_action_spec: {
296
434
  readonly credential_types: readonly ["daemon_token"];
297
435
  };
298
436
  readonly side_effects: true;
299
- readonly input: z.ZodObject<{
300
- content: z.ZodString;
301
- content_type: z.ZodOptional<z.ZodString>;
302
- holder: 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>>>;
303
- external_url: z.ZodOptional<z.ZodString>;
304
- }, z.core.$strict>;
305
- readonly output: z.ZodObject<{
306
- hash: z.ZodString & z.ZodType<import("@fuzdev/fuz_util/hash_schemas.js").FactHash, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_util/hash_schemas.js").FactHash, string>>;
307
- }, z.core.$strict>;
437
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
438
+ content: string;
439
+ external_url?: string | undefined;
440
+ content_type?: string | undefined;
441
+ holder?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined;
442
+ }, {
443
+ content: string;
444
+ external_url?: string | undefined;
445
+ content_type?: string | undefined;
446
+ holder?: string | undefined;
447
+ }, "object", {
448
+ content: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
449
+ content_type: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
450
+ holder: 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">)[]> & {
451
+ readonly '~types'?: {
452
+ readonly input: string;
453
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
454
+ } | undefined;
455
+ }>>;
456
+ external_url: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
457
+ }>;
458
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
459
+ hash: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "FactHash">;
460
+ }, {
461
+ hash: string;
462
+ }, "object", {
463
+ hash: 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">)[]> & {
464
+ readonly '~types'?: {
465
+ readonly input: string;
466
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
467
+ } | undefined;
468
+ };
469
+ }>;
308
470
  readonly async: true;
309
471
  readonly description: string;
310
472
  };
@@ -368,13 +530,23 @@ export declare const testing_flood_notifications_action_spec: {
368
530
  readonly credential_types: readonly ["daemon_token"];
369
531
  };
370
532
  readonly side_effects: false;
371
- readonly input: z.ZodObject<{
372
- count: z.ZodNumber;
373
- size: z.ZodNumber;
374
- }, z.core.$strict>;
375
- readonly output: z.ZodObject<{
376
- queued: z.ZodNumber;
377
- }, z.core.$strict>;
533
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
534
+ count: number;
535
+ size: number;
536
+ }, {
537
+ count: number;
538
+ size: number;
539
+ }, "object", {
540
+ count: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
541
+ size: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
542
+ }>;
543
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
544
+ queued: number;
545
+ }, {
546
+ queued: number;
547
+ }, "object", {
548
+ queued: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
549
+ }>;
378
550
  readonly async: true;
379
551
  readonly error_reasons: readonly ["no_connection"];
380
552
  readonly description: string;
@@ -411,35 +583,225 @@ export declare const testing_schema_snapshot_action_spec: {
411
583
  readonly credential_types: readonly ["daemon_token"];
412
584
  };
413
585
  readonly side_effects: false;
414
- readonly input: z.ZodObject<{
415
- exclude_tables: z.ZodOptional<z.ZodArray<z.ZodString>>;
416
- }, z.core.$strict>;
417
- readonly output: z.ZodObject<{
418
- tables: z.ZodRecord<z.ZodString, z.ZodObject<{
419
- columns: z.ZodRecord<z.ZodString, z.ZodObject<{
420
- data_type: z.ZodString;
421
- udt_name: z.ZodString;
422
- is_nullable: z.ZodBoolean;
423
- column_default: z.ZodNullable<z.ZodString>;
424
- is_identity: z.ZodBoolean;
425
- }, z.core.$strip>>;
426
- indexes: z.ZodArray<z.ZodObject<{
427
- name: z.ZodString;
428
- definition: z.ZodString;
429
- }, z.core.$strip>>;
430
- constraints: z.ZodArray<z.ZodObject<{
431
- name: z.ZodString;
432
- type: z.ZodString;
433
- definition: z.ZodString;
434
- }, z.core.$strip>>;
435
- }, z.core.$strip>>;
436
- sequences: z.ZodRecord<z.ZodString, z.ZodObject<{
437
- data_type: z.ZodString;
438
- }, z.core.$strip>>;
439
- enums: z.ZodRecord<z.ZodString, z.ZodObject<{
440
- labels: z.ZodArray<z.ZodString>;
441
- }, z.core.$strip>>;
442
- }, z.core.$strip>;
586
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
587
+ exclude_tables?: string[] | undefined;
588
+ }, {
589
+ exclude_tables?: string[] | undefined;
590
+ }, "object", {
591
+ exclude_tables: import("@fuzdev/fuz_schema/schema.ts").Schema<string[] | undefined, string[] | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
592
+ }>;
593
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
594
+ tables: Record<string, {
595
+ columns: Record<string, {
596
+ data_type: string;
597
+ is_nullable: boolean;
598
+ udt_name: string;
599
+ column_default: string | null;
600
+ is_identity: boolean;
601
+ }>;
602
+ indexes: {
603
+ name: string;
604
+ definition: string;
605
+ }[];
606
+ constraints: {
607
+ name: string;
608
+ type: string;
609
+ definition: string;
610
+ }[];
611
+ }>;
612
+ sequences: Record<string, {
613
+ data_type: string;
614
+ }>;
615
+ enums: Record<string, {
616
+ labels: string[];
617
+ }>;
618
+ }, {
619
+ tables: Record<string, {
620
+ columns: Record<string, {
621
+ data_type: string;
622
+ is_nullable: boolean;
623
+ udt_name: string;
624
+ column_default: string | null;
625
+ is_identity: boolean;
626
+ }>;
627
+ indexes: {
628
+ name: string;
629
+ definition: string;
630
+ }[];
631
+ constraints: {
632
+ name: string;
633
+ type: string;
634
+ definition: string;
635
+ }[];
636
+ }>;
637
+ sequences: Record<string, {
638
+ data_type: string;
639
+ }>;
640
+ enums: Record<string, {
641
+ labels: string[];
642
+ }>;
643
+ }, "strip_object", {
644
+ tables: import("@fuzdev/fuz_schema/schema.ts").Schema<Record<string, {
645
+ columns: Record<string, {
646
+ data_type: string;
647
+ is_nullable: boolean;
648
+ udt_name: string;
649
+ column_default: string | null;
650
+ is_identity: boolean;
651
+ }>;
652
+ indexes: {
653
+ name: string;
654
+ definition: string;
655
+ }[];
656
+ constraints: {
657
+ name: string;
658
+ type: string;
659
+ definition: string;
660
+ }[];
661
+ }>, Record<string, {
662
+ columns: Record<string, {
663
+ data_type: string;
664
+ is_nullable: boolean;
665
+ udt_name: string;
666
+ column_default: string | null;
667
+ is_identity: boolean;
668
+ }>;
669
+ indexes: {
670
+ name: string;
671
+ definition: string;
672
+ }[];
673
+ constraints: {
674
+ name: string;
675
+ type: string;
676
+ definition: string;
677
+ }[];
678
+ }>, "record", import("@fuzdev/fuz_schema/schema.ts").Schema<{
679
+ columns: Record<string, {
680
+ data_type: string;
681
+ is_nullable: boolean;
682
+ udt_name: string;
683
+ column_default: string | null;
684
+ is_identity: boolean;
685
+ }>;
686
+ indexes: {
687
+ name: string;
688
+ definition: string;
689
+ }[];
690
+ constraints: {
691
+ name: string;
692
+ type: string;
693
+ definition: string;
694
+ }[];
695
+ }, {
696
+ columns: Record<string, {
697
+ data_type: string;
698
+ is_nullable: boolean;
699
+ udt_name: string;
700
+ column_default: string | null;
701
+ is_identity: boolean;
702
+ }>;
703
+ indexes: {
704
+ name: string;
705
+ definition: string;
706
+ }[];
707
+ constraints: {
708
+ name: string;
709
+ type: string;
710
+ definition: string;
711
+ }[];
712
+ }, "strip_object", {
713
+ columns: import("@fuzdev/fuz_schema/schema.ts").Schema<Record<string, {
714
+ data_type: string;
715
+ is_nullable: boolean;
716
+ udt_name: string;
717
+ column_default: string | null;
718
+ is_identity: boolean;
719
+ }>, Record<string, {
720
+ data_type: string;
721
+ is_nullable: boolean;
722
+ udt_name: string;
723
+ column_default: string | null;
724
+ is_identity: boolean;
725
+ }>, "record", import("@fuzdev/fuz_schema/schema.ts").Schema<{
726
+ data_type: string;
727
+ is_nullable: boolean;
728
+ udt_name: string;
729
+ column_default: string | null;
730
+ is_identity: boolean;
731
+ }, {
732
+ data_type: string;
733
+ is_nullable: boolean;
734
+ udt_name: string;
735
+ column_default: string | null;
736
+ is_identity: boolean;
737
+ }, "strip_object", {
738
+ data_type: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
739
+ udt_name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
740
+ is_nullable: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
741
+ column_default: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
742
+ is_identity: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
743
+ }>>;
744
+ indexes: import("@fuzdev/fuz_schema/schema.ts").Schema<{
745
+ name: string;
746
+ definition: string;
747
+ }[], {
748
+ name: string;
749
+ definition: string;
750
+ }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
751
+ name: string;
752
+ definition: string;
753
+ }, {
754
+ name: string;
755
+ definition: string;
756
+ }, "strip_object", {
757
+ name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
758
+ definition: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
759
+ }>>;
760
+ constraints: import("@fuzdev/fuz_schema/schema.ts").Schema<{
761
+ name: string;
762
+ type: string;
763
+ definition: string;
764
+ }[], {
765
+ name: string;
766
+ type: string;
767
+ definition: string;
768
+ }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
769
+ name: string;
770
+ type: string;
771
+ definition: string;
772
+ }, {
773
+ name: string;
774
+ type: string;
775
+ definition: string;
776
+ }, "strip_object", {
777
+ name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
778
+ type: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
779
+ definition: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
780
+ }>>;
781
+ }>>;
782
+ sequences: import("@fuzdev/fuz_schema/schema.ts").Schema<Record<string, {
783
+ data_type: string;
784
+ }>, Record<string, {
785
+ data_type: string;
786
+ }>, "record", import("@fuzdev/fuz_schema/schema.ts").Schema<{
787
+ data_type: string;
788
+ }, {
789
+ data_type: string;
790
+ }, "strip_object", {
791
+ data_type: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
792
+ }>>;
793
+ enums: import("@fuzdev/fuz_schema/schema.ts").Schema<Record<string, {
794
+ labels: string[];
795
+ }>, Record<string, {
796
+ labels: string[];
797
+ }>, "record", import("@fuzdev/fuz_schema/schema.ts").Schema<{
798
+ labels: string[];
799
+ }, {
800
+ labels: string[];
801
+ }, "strip_object", {
802
+ labels: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
803
+ }>>;
804
+ }>;
443
805
  readonly async: true;
444
806
  readonly description: "Test-binary only — introspect the live schema into a normalized snapshot for cross-impl parity diffing.";
445
807
  };
@@ -473,14 +835,42 @@ export declare const testing_migration_tracker_action_spec: {
473
835
  readonly credential_types: readonly ["daemon_token"];
474
836
  };
475
837
  readonly side_effects: false;
476
- readonly input: z.ZodVoid;
477
- readonly output: z.ZodObject<{
478
- entries: z.ZodArray<z.ZodObject<{
479
- namespace: z.ZodString;
480
- name: z.ZodString;
481
- sequence: z.ZodNumber;
482
- }, z.core.$strip>>;
483
- }, z.core.$strip>;
838
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
839
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
840
+ entries: {
841
+ name: string;
842
+ namespace: string;
843
+ sequence: number;
844
+ }[];
845
+ }, {
846
+ entries: {
847
+ name: string;
848
+ namespace: string;
849
+ sequence: number;
850
+ }[];
851
+ }, "strip_object", {
852
+ entries: import("@fuzdev/fuz_schema/schema.ts").Schema<{
853
+ name: string;
854
+ namespace: string;
855
+ sequence: number;
856
+ }[], {
857
+ name: string;
858
+ namespace: string;
859
+ sequence: number;
860
+ }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
861
+ name: string;
862
+ namespace: string;
863
+ sequence: number;
864
+ }, {
865
+ name: string;
866
+ namespace: string;
867
+ sequence: number;
868
+ }, "strip_object", {
869
+ namespace: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
870
+ name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
871
+ sequence: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
872
+ }>>;
873
+ }>;
484
874
  readonly async: true;
485
875
  readonly description: string;
486
876
  };
@@ -534,14 +924,31 @@ export declare const testing_shorten_credential_expiry_action_spec: {
534
924
  readonly credential_types: readonly ["daemon_token"];
535
925
  };
536
926
  readonly side_effects: true;
537
- readonly input: z.ZodObject<{
538
- account_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>>;
539
- seconds: z.ZodNumber;
540
- }, z.core.$strict>;
541
- readonly output: z.ZodObject<{
542
- sessions: z.ZodNumber;
543
- api_tokens: z.ZodNumber;
544
- }, z.core.$strict>;
927
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
928
+ account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
929
+ seconds: number;
930
+ }, {
931
+ account_id: string;
932
+ seconds: number;
933
+ }, "object", {
934
+ account_id: 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">)[]> & {
935
+ readonly '~types'?: {
936
+ readonly input: string;
937
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
938
+ } | undefined;
939
+ };
940
+ seconds: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
941
+ }>;
942
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
943
+ sessions: number;
944
+ api_tokens: number;
945
+ }, {
946
+ sessions: number;
947
+ api_tokens: number;
948
+ }, "object", {
949
+ sessions: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
950
+ api_tokens: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
951
+ }>;
545
952
  readonly async: true;
546
953
  readonly description: string;
547
954
  };
@@ -579,8 +986,8 @@ export declare const testing_action_manifest_action_spec: {
579
986
  readonly credential_types: readonly ["daemon_token"];
580
987
  };
581
988
  readonly side_effects: false;
582
- readonly input: z.ZodVoid;
583
- readonly output: import("@fuzdev/fuz_schema/schema.js").Schema<{
989
+ readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
990
+ readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
584
991
  methods: {
585
992
  input: "object" | "void";
586
993
  account: "optional" | "none" | "required";
@@ -603,7 +1010,7 @@ export declare const testing_action_manifest_action_spec: {
603
1010
  rate_limit: "account" | "ip" | "both" | null;
604
1011
  }[];
605
1012
  }, "object", {
606
- methods: import("@fuzdev/fuz_schema/schema.js").Schema<{
1013
+ methods: import("@fuzdev/fuz_schema/schema.ts").Schema<{
607
1014
  input: "object" | "void";
608
1015
  account: "optional" | "none" | "required";
609
1016
  actor: "optional" | "none" | "required";
@@ -621,7 +1028,7 @@ export declare const testing_action_manifest_action_spec: {
621
1028
  method: string;
622
1029
  side_effects: boolean;
623
1030
  rate_limit: "account" | "ip" | "both" | null;
624
- }[], "array", import("@fuzdev/fuz_schema/schema.js").Schema<{
1031
+ }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
625
1032
  input: "object" | "void";
626
1033
  account: "optional" | "none" | "required";
627
1034
  actor: "optional" | "none" | "required";
@@ -640,14 +1047,14 @@ export declare const testing_action_manifest_action_spec: {
640
1047
  side_effects: boolean;
641
1048
  rate_limit: "account" | "ip" | "both" | null;
642
1049
  }, "object", {
643
- method: import("@fuzdev/fuz_schema/schema.js").Schema<string, string, "string", undefined>;
644
- input: import("@fuzdev/fuz_schema/schema.js").Schema<"object" | "void", "object" | "void", "one_of", readonly ["void", "object"]>;
645
- side_effects: import("@fuzdev/fuz_schema/schema.js").Schema<boolean, boolean, "boolean", undefined>;
646
- account: import("@fuzdev/fuz_schema/schema.js").Schema<"optional" | "none" | "required", "optional" | "none" | "required", "one_of", readonly ["none", "optional", "required"]>;
647
- actor: import("@fuzdev/fuz_schema/schema.js").Schema<"optional" | "none" | "required", "optional" | "none" | "required", "one_of", readonly ["none", "optional", "required"]>;
648
- roles: import("@fuzdev/fuz_schema/schema.js").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.js").Schema<string, string, "string", undefined>>;
649
- credential_types: import("@fuzdev/fuz_schema/schema.js").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.js").Schema<string, string, "string", undefined>>;
650
- rate_limit: import("@fuzdev/fuz_schema/schema.js").Schema<"account" | "ip" | "both" | null, "account" | "ip" | "both" | null, "nullable", import("@fuzdev/fuz_schema/schema.js").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.js").Schema<"account" | "ip" | "both", "account" | "ip" | "both", "one_of", readonly ["ip", "account", "both"]>>>;
1050
+ method: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
1051
+ input: import("@fuzdev/fuz_schema/schema.ts").Schema<"object" | "void", "object" | "void", "one_of", readonly ["void", "object"]>;
1052
+ side_effects: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
1053
+ account: import("@fuzdev/fuz_schema/schema.ts").Schema<"optional" | "none" | "required", "optional" | "none" | "required", "one_of", readonly ["none", "optional", "required"]>;
1054
+ actor: import("@fuzdev/fuz_schema/schema.ts").Schema<"optional" | "none" | "required", "optional" | "none" | "required", "one_of", readonly ["none", "optional", "required"]>;
1055
+ roles: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
1056
+ credential_types: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
1057
+ rate_limit: import("@fuzdev/fuz_schema/schema.ts").Schema<"account" | "ip" | "both" | null, "account" | "ip" | "both" | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<"account" | "ip" | "both", "account" | "ip" | "both", "one_of", readonly ["ip", "account", "both"]>>>;
651
1058
  }>>;
652
1059
  }>;
653
1060
  readonly async: true;