@fuzdev/fuz_app 0.165.0 → 0.166.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 (66) hide show
  1. package/dist/actions/CLAUDE.md +2 -2
  2. package/dist/actions/action_event_data.d.ts +1 -1
  3. package/dist/actions/action_rpc.d.ts.map +1 -1
  4. package/dist/actions/action_rpc.js +24 -15
  5. package/dist/actions/action_spec.d.ts +2 -2
  6. package/dist/actions/perform_action.d.ts +2 -1
  7. package/dist/actions/perform_action.d.ts.map +1 -1
  8. package/dist/auth/account_action_specs.d.ts +8 -8
  9. package/dist/auth/account_route_schema.d.ts +197 -164
  10. package/dist/auth/account_route_schema.d.ts.map +1 -1
  11. package/dist/auth/account_route_schema.js +19 -17
  12. package/dist/auth/account_routes.d.ts.map +1 -1
  13. package/dist/auth/account_routes.js +285 -294
  14. package/dist/auth/admin_action_specs.d.ts +64 -64
  15. package/dist/auth/audit_log_route_schema.d.ts +16 -8
  16. package/dist/auth/audit_log_route_schema.d.ts.map +1 -1
  17. package/dist/auth/audit_log_route_schema.js +4 -3
  18. package/dist/auth/audit_log_routes.d.ts +1 -1
  19. package/dist/auth/audit_log_routes.d.ts.map +1 -1
  20. package/dist/auth/audit_log_routes.js +112 -111
  21. package/dist/auth/audit_log_schema.d.ts +22 -22
  22. package/dist/auth/bootstrap_route_schema.d.ts +46 -69
  23. package/dist/auth/bootstrap_route_schema.d.ts.map +1 -1
  24. package/dist/auth/bootstrap_route_schema.js +8 -7
  25. package/dist/auth/bootstrap_routes.d.ts.map +1 -1
  26. package/dist/auth/bootstrap_routes.js +100 -98
  27. package/dist/auth/role_grant_offer_action_specs.d.ts +4 -4
  28. package/dist/auth/signup_route_schema.d.ts +9 -4
  29. package/dist/auth/signup_route_schema.d.ts.map +1 -1
  30. package/dist/auth/signup_route_schema.js +5 -3
  31. package/dist/auth/signup_routes.d.ts.map +1 -1
  32. package/dist/auth/signup_routes.js +170 -170
  33. package/dist/http/CLAUDE.md +48 -3
  34. package/dist/http/common_routes.d.ts +1 -1
  35. package/dist/http/common_routes.d.ts.map +1 -1
  36. package/dist/http/common_routes.js +13 -11
  37. package/dist/http/db_routes.d.ts.map +1 -1
  38. package/dist/http/db_routes.js +25 -28
  39. package/dist/http/error_schemas.d.ts +5 -1
  40. package/dist/http/error_schemas.d.ts.map +1 -1
  41. package/dist/http/error_schemas.js +5 -1
  42. package/dist/http/route_result.d.ts +101 -0
  43. package/dist/http/route_result.d.ts.map +1 -0
  44. package/dist/http/route_result.js +56 -0
  45. package/dist/http/route_spec.d.ts +110 -6
  46. package/dist/http/route_spec.d.ts.map +1 -1
  47. package/dist/http/route_spec.js +82 -14
  48. package/dist/rate_limiter.d.ts +0 -9
  49. package/dist/rate_limiter.d.ts.map +1 -1
  50. package/dist/rate_limiter.js +0 -15
  51. package/dist/server/serve_fact_route.d.ts.map +1 -1
  52. package/dist/server/serve_fact_route.js +23 -21
  53. package/dist/server/surface_route.d.ts +1 -1
  54. package/dist/server/surface_route.d.ts.map +1 -1
  55. package/dist/server/surface_route.js +4 -2
  56. package/dist/testing/CLAUDE.md +5 -3
  57. package/dist/testing/adversarial_404.d.ts.map +1 -1
  58. package/dist/testing/adversarial_404.js +12 -7
  59. package/dist/testing/cross_backend/login_security.d.ts.map +1 -1
  60. package/dist/testing/cross_backend/login_security.js +3 -2
  61. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
  62. package/dist/testing/cross_backend/rust_spine_consumer_surface.js +2 -6
  63. package/dist/testing/stubs.d.ts +14 -3
  64. package/dist/testing/stubs.d.ts.map +1 -1
  65. package/dist/testing/stubs.js +21 -6
  66. package/package.json +1 -1
@@ -12,7 +12,6 @@
12
12
  * @module
13
13
  */
14
14
  import { type Infer } from '@fuzdev/fuz_schema/schema.ts';
15
- import type { RouteSpec } from '../http/route_spec.js';
16
15
  /** Input for `GET /api/account/status`, `literal(null)`. No parameters — caller is the subject. */
17
16
  export declare const AccountStatusInput: import("@fuzdev/fuz_schema/schema.ts").Schema<null, null, "literal", null>;
18
17
  export type AccountStatusInput = Infer<typeof AccountStatusInput>;
@@ -229,13 +228,13 @@ export type PasswordChangeInput = Infer<typeof PasswordChangeInput>;
229
228
  * returned so the UI can summarize the revoke-all cascade.
230
229
  */
231
230
  export declare const PasswordChangeOutput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
231
+ ok: true;
232
232
  sessions_revoked: number;
233
233
  tokens_revoked: number;
234
- ok: true;
235
234
  }, {
235
+ ok: true;
236
236
  sessions_revoked: number;
237
237
  tokens_revoked: number;
238
- ok: true;
239
238
  }, "object", {
240
239
  ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
241
240
  sessions_revoked: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
@@ -257,9 +256,9 @@ export declare const DEFAULT_MAX_SESSIONS = 5;
257
256
  export declare const DEFAULT_MAX_TOKENS = 10;
258
257
  /**
259
258
  * The `GET /status` route shape minus its handler — pure hono-free data.
260
- * `create_account_status_route_spec` spreads this and attaches the live handler
261
- * (which reads the account id off the request context); surface generation
262
- * spreads it with a stub handler.
259
+ * `create_account_status_route_spec` attaches the live handler to it
260
+ * (`attach_route_handler`), which reads the account id off the request
261
+ * context; surface generation attaches a stub.
263
262
  *
264
263
  * The path is **relative** like the sibling account shapes (`/login`,
265
264
  * `/verify`), so it composes under `prefix_route_specs('/api/account', …)` into
@@ -267,165 +266,156 @@ export declare const DEFAULT_MAX_TOKENS = 10;
267
266
  * account surface serves `/status`, matching the Rust `account_router`);
268
267
  * mirror Rust by mounting it as part of the account family, not separately.
269
268
  */
270
- export declare const account_status_route_shape: {
271
- method: "GET";
272
- path: string;
273
- auth: {
274
- account: "none";
275
- actor: "none";
269
+ export declare const account_status_route_shape: import("../http/route_spec.js").RouteShape<readonly [import("../http/error_schemas.js").RestErrorDef<401, "authentication_required", {
270
+ readonly bootstrap_available: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean | undefined, boolean | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>>>;
271
+ }>], import("@fuzdev/fuz_schema/schema.ts").Schema<{
272
+ account: {
273
+ email: string | null;
274
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
275
+ created_at: string;
276
+ username: string;
277
+ email_verified: boolean;
278
+ };
279
+ actor: {
280
+ name: string;
281
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
282
+ } | null;
283
+ role_grants: {
284
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
285
+ created_at: string;
286
+ expires_at: string | null;
287
+ role: string;
288
+ scope_kind: string | null;
289
+ scope_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
290
+ granted_by: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
291
+ }[];
292
+ }, {
293
+ account: {
294
+ email: string | null;
295
+ id: string;
296
+ created_at: string;
297
+ username: string;
298
+ email_verified: boolean;
276
299
  };
277
- reads_credential: true;
278
- description: string;
279
- input: import("@fuzdev/fuz_schema/schema.ts").Schema<null, null, "literal", null>;
280
- output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
281
- account: {
282
- email: string | null;
283
- id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
284
- created_at: string;
285
- username: string;
286
- email_verified: boolean;
300
+ actor: {
301
+ name: string;
302
+ id: string;
303
+ } | null;
304
+ role_grants: {
305
+ id: string;
306
+ created_at: string;
307
+ expires_at: string | null;
308
+ role: string;
309
+ scope_kind: string | null;
310
+ scope_id: string | null;
311
+ granted_by: string | null;
312
+ }[];
313
+ }, "object", {
314
+ account: import("@fuzdev/fuz_schema/schema.ts").Schema<{
315
+ email: string | null;
316
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
317
+ created_at: string;
318
+ username: string;
319
+ email_verified: boolean;
320
+ }, {
321
+ email: string | null;
322
+ id: string;
323
+ created_at: string;
324
+ username: string;
325
+ email_verified: boolean;
326
+ }, "object", {
327
+ 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
328
+ readonly '~types'?: {
329
+ readonly input: string;
330
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
331
+ } | undefined;
287
332
  };
288
- actor: {
289
- name: string;
290
- id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
291
- } | null;
292
- role_grants: {
293
- id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
294
- created_at: string;
295
- expires_at: string | null;
296
- role: string;
297
- scope_kind: string | null;
298
- scope_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
299
- granted_by: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
300
- }[];
333
+ username: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
334
+ email: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
335
+ email_verified: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
336
+ created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
337
+ }>;
338
+ actor: import("@fuzdev/fuz_schema/schema.ts").Schema<{
339
+ name: string;
340
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
341
+ } | null, {
342
+ name: string;
343
+ id: string;
344
+ } | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{
345
+ name: string;
346
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
301
347
  }, {
302
- account: {
303
- email: string | null;
304
- id: string;
305
- created_at: string;
306
- username: string;
307
- email_verified: boolean;
348
+ name: string;
349
+ id: string;
350
+ }, "object", {
351
+ 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
352
+ readonly '~types'?: {
353
+ readonly input: string;
354
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
355
+ } | undefined;
308
356
  };
309
- actor: {
310
- name: string;
311
- id: string;
312
- } | null;
313
- role_grants: {
314
- id: string;
315
- created_at: string;
316
- expires_at: string | null;
317
- role: string;
318
- scope_kind: string | null;
319
- scope_id: string | null;
320
- granted_by: string | null;
321
- }[];
357
+ name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
358
+ }>>>;
359
+ role_grants: import("@fuzdev/fuz_schema/schema.ts").Schema<{
360
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
361
+ created_at: string;
362
+ expires_at: string | null;
363
+ role: string;
364
+ scope_kind: string | null;
365
+ scope_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
366
+ granted_by: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
367
+ }[], {
368
+ id: string;
369
+ created_at: string;
370
+ expires_at: string | null;
371
+ role: string;
372
+ scope_kind: string | null;
373
+ scope_id: string | null;
374
+ granted_by: string | null;
375
+ }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
376
+ id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
377
+ created_at: string;
378
+ expires_at: string | null;
379
+ role: string;
380
+ scope_kind: string | null;
381
+ scope_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
382
+ granted_by: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
383
+ }, {
384
+ id: string;
385
+ created_at: string;
386
+ expires_at: string | null;
387
+ role: string;
388
+ scope_kind: string | null;
389
+ scope_id: string | null;
390
+ granted_by: string | null;
322
391
  }, "object", {
323
- account: import("@fuzdev/fuz_schema/schema.ts").Schema<{
324
- email: string | null;
325
- id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
326
- created_at: string;
327
- username: string;
328
- email_verified: boolean;
329
- }, {
330
- email: string | null;
331
- id: string;
332
- created_at: string;
333
- username: string;
334
- email_verified: boolean;
335
- }, "object", {
336
- 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
337
- readonly '~types'?: {
338
- readonly input: string;
339
- readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
340
- } | undefined;
341
- };
342
- username: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
343
- email: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
344
- email_verified: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
345
- created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
346
- }>;
347
- actor: import("@fuzdev/fuz_schema/schema.ts").Schema<{
348
- name: string;
349
- id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
350
- } | null, {
351
- name: string;
352
- id: string;
353
- } | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{
354
- name: string;
355
- id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
356
- }, {
357
- name: string;
358
- id: string;
359
- }, "object", {
360
- 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
361
- readonly '~types'?: {
362
- readonly input: string;
363
- readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
364
- } | undefined;
365
- };
366
- name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
367
- }>>>;
368
- role_grants: import("@fuzdev/fuz_schema/schema.ts").Schema<{
369
- id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
370
- created_at: string;
371
- expires_at: string | null;
372
- role: string;
373
- scope_kind: string | null;
374
- scope_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
375
- granted_by: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
376
- }[], {
377
- id: string;
378
- created_at: string;
379
- expires_at: string | null;
380
- role: string;
381
- scope_kind: string | null;
382
- scope_id: string | null;
383
- granted_by: string | null;
384
- }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
385
- id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
386
- created_at: string;
387
- expires_at: string | null;
388
- role: string;
389
- scope_kind: string | null;
390
- scope_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
391
- granted_by: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
392
- }, {
393
- id: string;
394
- created_at: string;
395
- expires_at: string | null;
396
- role: string;
397
- scope_kind: string | null;
398
- scope_id: string | null;
399
- granted_by: string | null;
400
- }, "object", {
401
- 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
402
- readonly '~types'?: {
403
- readonly input: string;
404
- readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
405
- } | undefined;
406
- };
407
- role: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
408
- scope_kind: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>>;
409
- scope_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null, string | null, "nullable", 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
410
- readonly '~types'?: {
411
- readonly input: string;
412
- readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
413
- } | undefined;
414
- }>>;
415
- created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
416
- expires_at: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
417
- granted_by: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null, string | null, "nullable", 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
418
- readonly '~types'?: {
419
- readonly input: string;
420
- readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
421
- } | undefined;
422
- }>>;
392
+ 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
393
+ readonly '~types'?: {
394
+ readonly input: string;
395
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
396
+ } | undefined;
397
+ };
398
+ role: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
399
+ scope_kind: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>>;
400
+ scope_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null, string | null, "nullable", 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
401
+ readonly '~types'?: {
402
+ readonly input: string;
403
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
404
+ } | undefined;
423
405
  }>>;
424
- }>;
425
- errors: import("../http/error_schemas.js").RestErrorDef<401, "authentication_required", {
426
- readonly bootstrap_available: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean | undefined, boolean | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>>>;
427
- }>[];
428
- };
406
+ created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
407
+ expires_at: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
408
+ granted_by: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null, string | null, "nullable", 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
409
+ readonly '~types'?: {
410
+ readonly input: string;
411
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
412
+ } | undefined;
413
+ }>>;
414
+ }>>;
415
+ }>, {
416
+ readonly account: "none";
417
+ readonly actor: "none";
418
+ }, undefined>;
429
419
  /** Option inputs that shape the account route metadata (not its handlers). */
430
420
  export interface AccountRouteShapeOptions {
431
421
  /** Whether a per-account login rate limiter is wired — toggles `/password`'s `rate_limit`. */
@@ -434,12 +424,55 @@ export interface AccountRouteShapeOptions {
434
424
  /**
435
425
  * The four account route shapes (`/verify`, `/login`, `/logout`, `/password`)
436
426
  * minus their handlers — pure hono-free data. `create_account_route_specs`
437
- * spreads each and attaches the live handler; cross-process surface builders
438
- * spread them with stub handlers. Single source of truth — the shapes can't
439
- * drift between the live routes and the surface.
427
+ * attaches the live handler to each (`attach_route_handler`); cross-process
428
+ * surface builders attach stubs (`stub_route_spec`). Single source of truth —
429
+ * the shapes can't drift between the live routes and the surface.
440
430
  *
441
431
  * Returns a fixed 4-tuple `[verify, login, logout, password]` so destructuring
442
- * yields non-optional shapes under `noUncheckedIndexedAccess`.
432
+ * yields non-optional shapes under `noUncheckedIndexedAccess`, each with the
433
+ * types `attach_route_handler` checks its handler against.
443
434
  */
444
- export declare const create_account_route_shapes: (options: AccountRouteShapeOptions) => [Omit<RouteSpec, "handler">, Omit<RouteSpec, "handler">, Omit<RouteSpec, "handler">, Omit<RouteSpec, "handler">];
435
+ export declare const create_account_route_shapes: (options: AccountRouteShapeOptions) => readonly [import("../http/route_spec.js").RouteShape<[], import("@fuzdev/fuz_schema/schema.ts").Schema<null, null, "literal", null>, {
436
+ readonly account: "required";
437
+ readonly actor: "none";
438
+ readonly required_scope: "surface:account_verify";
439
+ }, undefined>, import("../http/route_spec.js").RouteShape<readonly [import("../http/error_schemas.js").RestErrorDef<401, "invalid_credentials", Record<never, never>>], import("@fuzdev/fuz_schema/schema.ts").Schema<{
440
+ ok: true;
441
+ }, {
442
+ ok: true;
443
+ }, "object", {
444
+ ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
445
+ }>, {
446
+ readonly account: "none";
447
+ readonly actor: "none";
448
+ }, "both">, import("../http/route_spec.js").RouteShape<[], import("@fuzdev/fuz_schema/schema.ts").Schema<{
449
+ username: string;
450
+ ok: true;
451
+ }, {
452
+ username: string;
453
+ ok: true;
454
+ }, "object", {
455
+ ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
456
+ username: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
457
+ }>, {
458
+ readonly account: "required";
459
+ readonly actor: "none";
460
+ readonly credential_types: readonly ["session"];
461
+ }, undefined>, import("../http/route_spec.js").RouteShape<readonly [import("../http/error_schemas.js").RestErrorDef<401, "invalid_credentials", Record<never, never>>], import("@fuzdev/fuz_schema/schema.ts").Schema<{
462
+ ok: true;
463
+ sessions_revoked: number;
464
+ tokens_revoked: number;
465
+ }, {
466
+ ok: true;
467
+ sessions_revoked: number;
468
+ tokens_revoked: number;
469
+ }, "object", {
470
+ ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
471
+ sessions_revoked: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
472
+ tokens_revoked: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
473
+ }>, {
474
+ readonly account: "required";
475
+ readonly actor: "none";
476
+ readonly credential_types: readonly ["session"];
477
+ }, "ip" | "both">];
445
478
  //# sourceMappingURL=account_route_schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"account_route_schema.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/account_route_schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EASN,KAAK,KAAK,EACV,MAAM,8BAA8B,CAAC;AAKtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMvD,mGAAmG;AACnG,eAAO,MAAM,kBAAkB,4EAA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;;GAUG;AACH,eAAO,MAAM,2BAA2B,GAAI,SAAS,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6DlE,CAAC"}
@@ -15,6 +15,7 @@ import { array, integer, literal, min_value, nullable, number, object, pipe } fr
15
15
  import { ActorSummaryJson, RoleGrantSummaryJson, SessionAccountJson } from './account_schema.js';
16
16
  import { UsernameCanonical, UsernameProvided } from '../primitive_schemas_fuz.js';
17
17
  import { Password, PasswordProvided } from './password.js';
18
+ import { define_route_shape } from '../http/route_spec.js';
18
19
  import { REST_AUTHENTICATION_REQUIRED_BOOTSTRAP, REST_INVALID_CREDENTIALS } from '../http/error_schemas.js';
19
20
  /** Input for `GET /api/account/status`, `literal(null)`. No parameters — caller is the subject. */
20
21
  export const AccountStatusInput = literal(null);
@@ -82,9 +83,9 @@ export const DEFAULT_MAX_SESSIONS = 5;
82
83
  export const DEFAULT_MAX_TOKENS = 10;
83
84
  /**
84
85
  * The `GET /status` route shape minus its handler — pure hono-free data.
85
- * `create_account_status_route_spec` spreads this and attaches the live handler
86
- * (which reads the account id off the request context); surface generation
87
- * spreads it with a stub handler.
86
+ * `create_account_status_route_spec` attaches the live handler to it
87
+ * (`attach_route_handler`), which reads the account id off the request
88
+ * context; surface generation attaches a stub.
88
89
  *
89
90
  * The path is **relative** like the sibling account shapes (`/login`,
90
91
  * `/verify`), so it composes under `prefix_route_specs('/api/account', …)` into
@@ -92,7 +93,7 @@ export const DEFAULT_MAX_TOKENS = 10;
92
93
  * account surface serves `/status`, matching the Rust `account_router`);
93
94
  * mirror Rust by mounting it as part of the account family, not separately.
94
95
  */
95
- export const account_status_route_shape = {
96
+ export const account_status_route_shape = define_route_shape({
96
97
  method: 'GET',
97
98
  path: '/status',
98
99
  auth: { account: 'none', actor: 'none' },
@@ -103,19 +104,20 @@ export const account_status_route_shape = {
103
104
  input: AccountStatusInput,
104
105
  output: AccountStatusOutput,
105
106
  errors: [REST_AUTHENTICATION_REQUIRED_BOOTSTRAP]
106
- };
107
+ });
107
108
  /**
108
109
  * The four account route shapes (`/verify`, `/login`, `/logout`, `/password`)
109
110
  * minus their handlers — pure hono-free data. `create_account_route_specs`
110
- * spreads each and attaches the live handler; cross-process surface builders
111
- * spread them with stub handlers. Single source of truth — the shapes can't
112
- * drift between the live routes and the surface.
111
+ * attaches the live handler to each (`attach_route_handler`); cross-process
112
+ * surface builders attach stubs (`stub_route_spec`). Single source of truth —
113
+ * the shapes can't drift between the live routes and the surface.
113
114
  *
114
115
  * Returns a fixed 4-tuple `[verify, login, logout, password]` so destructuring
115
- * yields non-optional shapes under `noUncheckedIndexedAccess`.
116
+ * yields non-optional shapes under `noUncheckedIndexedAccess`, each with the
117
+ * types `attach_route_handler` checks its handler against.
116
118
  */
117
119
  export const create_account_route_shapes = (options) => [
118
- {
120
+ define_route_shape({
119
121
  method: 'GET',
120
122
  path: '/verify',
121
123
  // a non-RPC surface: the probe answers 200 for the account behind a
@@ -129,8 +131,8 @@ export const create_account_route_shapes = (options) => [
129
131
  description: 'Session-validity probe for nginx auth_request (empty body; 200, 401, or 403 for a narrowed token)',
130
132
  input: literal(null),
131
133
  output: literal(null)
132
- },
133
- {
134
+ }),
135
+ define_route_shape({
134
136
  method: 'POST',
135
137
  path: '/login',
136
138
  auth: { account: 'none', actor: 'none' },
@@ -144,8 +146,8 @@ export const create_account_route_shapes = (options) => [
144
146
  // database connection.
145
147
  transaction: false,
146
148
  errors: [REST_INVALID_CREDENTIALS]
147
- },
148
- {
149
+ }),
150
+ define_route_shape({
149
151
  method: 'POST',
150
152
  path: '/logout',
151
153
  // `credential_types: ['session']` — see `docs/security.md` §Credential-channel gating.
@@ -156,8 +158,8 @@ export const create_account_route_shapes = (options) => [
156
158
  description: 'Revoke current session and clear cookie',
157
159
  input: LogoutInput,
158
160
  output: LogoutOutput
159
- },
160
- {
161
+ }),
162
+ define_route_shape({
161
163
  method: 'POST',
162
164
  path: '/password',
163
165
  // `credential_types: ['session']` — see `docs/security.md` §Credential-channel gating.
@@ -172,5 +174,5 @@ export const create_account_route_shapes = (options) => [
172
174
  transaction: false,
173
175
  // a wrong current password answers `invalid_credentials`, as login does
174
176
  errors: [REST_INVALID_CREDENTIALS]
175
- }
177
+ })
176
178
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"account_routes.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/account_routes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AA4B1D,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAIxE,OAAO,EAGN,KAAK,WAAW,EAEhB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAQlD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,gCAAgC,GAAI,UAAU,oBAAoB,KAAG,SAmFhF,CAAC;AAEH,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACpC,yDAAyD;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8FAA8F;IAC9F,gBAAgB,CAAC,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC;CAC1C;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,uBAAuB;IACvC,eAAe,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB;IACnE;;;;;;;OAOG;IACH,qBAAqB,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1C,4FAA4F;IAC5F,0BAA0B,EAAE,WAAW,GAAG,IAAI,CAAC;IAC/C,2FAA2F;IA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