@fuzdev/fuz_app 0.165.0 → 0.167.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 (119) hide show
  1. package/dist/actions/CLAUDE.md +3 -3
  2. package/dist/actions/action_codegen.d.ts +10 -1
  3. package/dist/actions/action_codegen.d.ts.map +1 -1
  4. package/dist/actions/action_codegen.js +17 -8
  5. package/dist/actions/action_event_data.d.ts +1 -1
  6. package/dist/actions/action_rpc.d.ts.map +1 -1
  7. package/dist/actions/action_rpc.js +24 -15
  8. package/dist/actions/action_spec.d.ts +2 -2
  9. package/dist/actions/perform_action.d.ts +2 -1
  10. package/dist/actions/perform_action.d.ts.map +1 -1
  11. package/dist/auth/CLAUDE.md +10 -8
  12. package/dist/auth/account_action_specs.d.ts +8 -8
  13. package/dist/auth/account_route_schema.d.ts +197 -164
  14. package/dist/auth/account_route_schema.d.ts.map +1 -1
  15. package/dist/auth/account_route_schema.js +19 -17
  16. package/dist/auth/account_routes.d.ts.map +1 -1
  17. package/dist/auth/account_routes.js +285 -294
  18. package/dist/auth/admin_action_specs.d.ts +64 -64
  19. package/dist/auth/audit_log_route_schema.d.ts +16 -8
  20. package/dist/auth/audit_log_route_schema.d.ts.map +1 -1
  21. package/dist/auth/audit_log_route_schema.js +4 -3
  22. package/dist/auth/audit_log_routes.d.ts +1 -1
  23. package/dist/auth/audit_log_routes.d.ts.map +1 -1
  24. package/dist/auth/audit_log_routes.js +112 -111
  25. package/dist/auth/audit_log_schema.d.ts +22 -22
  26. package/dist/auth/bootstrap_route_schema.d.ts +46 -69
  27. package/dist/auth/bootstrap_route_schema.d.ts.map +1 -1
  28. package/dist/auth/bootstrap_route_schema.js +8 -7
  29. package/dist/auth/bootstrap_routes.d.ts.map +1 -1
  30. package/dist/auth/bootstrap_routes.js +100 -98
  31. package/dist/auth/cell_action_specs.d.ts +6092 -1092
  32. package/dist/auth/cell_action_specs.d.ts.map +1 -1
  33. package/dist/auth/cell_action_specs.js +96 -97
  34. package/dist/auth/cell_actions.d.ts.map +1 -1
  35. package/dist/auth/cell_actions.js +1 -0
  36. package/dist/auth/cell_audit_action_specs.d.ts +301 -69
  37. package/dist/auth/cell_audit_action_specs.d.ts.map +1 -1
  38. package/dist/auth/cell_audit_action_specs.js +21 -16
  39. package/dist/auth/cell_audit_actions.js +2 -2
  40. package/dist/auth/cell_audit_events.d.ts +2 -2
  41. package/dist/auth/cell_audit_events.d.ts.map +1 -1
  42. package/dist/auth/cell_audit_metadata.d.ts +93 -30
  43. package/dist/auth/cell_audit_metadata.d.ts.map +1 -1
  44. package/dist/auth/cell_audit_metadata.js +15 -14
  45. package/dist/auth/cell_authorize.d.ts +3 -3
  46. package/dist/auth/cell_authorize.js +3 -3
  47. package/dist/auth/cell_data_schema.d.ts +17 -9
  48. package/dist/auth/cell_data_schema.d.ts.map +1 -1
  49. package/dist/auth/cell_data_schema.js +9 -7
  50. package/dist/auth/cell_field_action_specs.d.ts +697 -130
  51. package/dist/auth/cell_field_action_specs.d.ts.map +1 -1
  52. package/dist/auth/cell_field_action_specs.js +25 -27
  53. package/dist/auth/cell_field_actions.d.ts.map +1 -1
  54. package/dist/auth/cell_field_actions.js +2 -0
  55. package/dist/auth/cell_field_audit_metadata.d.ts +49 -13
  56. package/dist/auth/cell_field_audit_metadata.d.ts.map +1 -1
  57. package/dist/auth/cell_field_audit_metadata.js +6 -6
  58. package/dist/auth/cell_grant_action_specs.d.ts +1044 -208
  59. package/dist/auth/cell_grant_action_specs.d.ts.map +1 -1
  60. package/dist/auth/cell_grant_action_specs.js +36 -33
  61. package/dist/auth/cell_grant_actions.js +2 -2
  62. package/dist/auth/cell_grant_audit_metadata.d.ts +188 -40
  63. package/dist/auth/cell_grant_audit_metadata.d.ts.map +1 -1
  64. package/dist/auth/cell_grant_audit_metadata.js +12 -11
  65. package/dist/auth/cell_item_action_specs.d.ts +949 -175
  66. package/dist/auth/cell_item_action_specs.d.ts.map +1 -1
  67. package/dist/auth/cell_item_action_specs.js +30 -34
  68. package/dist/auth/cell_item_actions.js +1 -1
  69. package/dist/auth/cell_item_audit_metadata.d.ts +68 -19
  70. package/dist/auth/cell_item_audit_metadata.d.ts.map +1 -1
  71. package/dist/auth/cell_item_audit_metadata.js +9 -9
  72. package/dist/auth/cell_relation_list_limit.d.ts +1 -2
  73. package/dist/auth/cell_relation_list_limit.d.ts.map +1 -1
  74. package/dist/auth/cell_relation_list_limit.js +3 -8
  75. package/dist/auth/role_grant_offer_action_specs.d.ts +4 -4
  76. package/dist/auth/signup_route_schema.d.ts +9 -4
  77. package/dist/auth/signup_route_schema.d.ts.map +1 -1
  78. package/dist/auth/signup_route_schema.js +5 -3
  79. package/dist/auth/signup_routes.d.ts.map +1 -1
  80. package/dist/auth/signup_routes.js +170 -170
  81. package/dist/db/cell_moderation.d.ts +6 -7
  82. package/dist/db/cell_moderation.d.ts.map +1 -1
  83. package/dist/db/cell_moderation.js +6 -7
  84. package/dist/http/CLAUDE.md +48 -3
  85. package/dist/http/common_routes.d.ts +1 -1
  86. package/dist/http/common_routes.d.ts.map +1 -1
  87. package/dist/http/common_routes.js +13 -11
  88. package/dist/http/db_routes.d.ts.map +1 -1
  89. package/dist/http/db_routes.js +25 -28
  90. package/dist/http/error_schemas.d.ts +5 -1
  91. package/dist/http/error_schemas.d.ts.map +1 -1
  92. package/dist/http/error_schemas.js +5 -1
  93. package/dist/http/route_result.d.ts +101 -0
  94. package/dist/http/route_result.d.ts.map +1 -0
  95. package/dist/http/route_result.js +56 -0
  96. package/dist/http/route_spec.d.ts +110 -6
  97. package/dist/http/route_spec.d.ts.map +1 -1
  98. package/dist/http/route_spec.js +82 -14
  99. package/dist/rate_limiter.d.ts +0 -9
  100. package/dist/rate_limiter.d.ts.map +1 -1
  101. package/dist/rate_limiter.js +0 -15
  102. package/dist/server/serve_fact_route.d.ts.map +1 -1
  103. package/dist/server/serve_fact_route.js +23 -21
  104. package/dist/server/surface_route.d.ts +1 -1
  105. package/dist/server/surface_route.d.ts.map +1 -1
  106. package/dist/server/surface_route.js +4 -2
  107. package/dist/testing/CLAUDE.md +5 -3
  108. package/dist/testing/adversarial_404.d.ts.map +1 -1
  109. package/dist/testing/adversarial_404.js +12 -7
  110. package/dist/testing/cross_backend/cell_crud.js +2 -2
  111. package/dist/testing/cross_backend/cell_relations.js +2 -2
  112. package/dist/testing/cross_backend/login_security.d.ts.map +1 -1
  113. package/dist/testing/cross_backend/login_security.js +3 -2
  114. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
  115. package/dist/testing/cross_backend/rust_spine_consumer_surface.js +2 -6
  116. package/dist/testing/stubs.d.ts +14 -3
  117. package/dist/testing/stubs.d.ts.map +1 -1
  118. package/dist/testing/stubs.js +21 -6
  119. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"cell_item_action_specs.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_item_action_specs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,yFAAyF;AACzF,eAAO,MAAM,6CAA6C,EACzD,yCAAkD,CAAC;AAEpD;;;;;;;;;GASG;AACH,eAAO,MAAM,8BAA8B,EAAG,0BAAmC,CAAC;AAIlF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,4DAEF,CAAC;AAC5B,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ;;;;;kBAKnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAIhD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;kBAO9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAA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;;;CAWJ,CAAC;AAEtC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYF,CAAC;AAEtC,0EAA0E;AAC1E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAC"}
@@ -9,10 +9,10 @@
9
9
  *
10
10
  * @module
11
11
  */
12
- import { z } from 'zod';
13
- import { Uuid, bounded_string } from '../primitive_schemas.js';
12
+ import { meta } from '@fuzdev/fuz_schema/meta.ts';
13
+ import { array, boolean, brand, literal, object, optional, pipe, regex } from '@fuzdev/fuz_schema/schema.ts';
14
14
  import { FRACTIONAL_INDEX_LENGTH_MAX, FRACTIONAL_INDEX_REGEX } from '@fuzdev/fuz_util/fractional_index.ts';
15
- import { ActingActor } from '../http/auth_shape.js';
15
+ import { ActingActor, bounded_string, Timestamp, Uuid } from '../primitive_schemas_fuz.js';
16
16
  import { CellRelationListLimit } from './cell_relation_list_limit.js';
17
17
  // -- Error reasons ----------------------------------------------------------
18
18
  /** Error reason — `cell_item_list` got neither or both of `parent_id` and `child_id`. */
@@ -37,24 +37,22 @@ export const ERROR_CELL_ITEM_POSITION_TAKEN = 'cell_item_position_taken';
37
37
  * contract; the no-trailing-`'0'` invariant lives in the helper, not the
38
38
  * wire.
39
39
  */
40
- export const CellItemPosition = bounded_string({ min: 1, max: FRACTIONAL_INDEX_LENGTH_MAX })
41
- .regex(FRACTIONAL_INDEX_REGEX)
42
- .brand('CellItemPosition');
40
+ export const CellItemPosition = brand(pipe(bounded_string({ min: 1, max: FRACTIONAL_INDEX_LENGTH_MAX }), regex(FRACTIONAL_INDEX_REGEX)), 'CellItemPosition');
43
41
  /**
44
42
  * Wire-format for a `cell_item` row.
45
43
  *
46
44
  * `position` is branded `CellItemPosition` so consumers that round-trip
47
45
  * the value back into a `position_after` / `position` input field don't
48
46
  * need a cast at every call site. Wire ingress is validated by the
49
- * `CellItemPosition` Zod schema (alphabet + length); wire egress trusts
47
+ * `CellItemPosition` schema (alphabet + length); wire egress trusts
50
48
  * the DB CHECK constraint that backs `cell_item.position`, so the
51
49
  * server-side `to_item_json` casts a raw string from `CellItemRow`.
52
50
  */
53
- export const ItemJson = z.strictObject({
51
+ export const ItemJson = object({
54
52
  parent_id: Uuid,
55
53
  position: CellItemPosition,
56
54
  child_id: Uuid,
57
- created_at: z.string()
55
+ created_at: Timestamp
58
56
  });
59
57
  // -- cell_item_insert -------------------------------------------------------
60
58
  /**
@@ -63,37 +61,37 @@ export const ItemJson = z.strictObject({
63
61
  * client-side. Returns `cell_item_position_taken` on `(parent_id,
64
62
  * position)` unique violation; client refreshes bracket and retries.
65
63
  */
66
- export const CellItemInsertInput = z.strictObject({
67
- parent_id: Uuid.meta({ description: 'Cell to insert into.' }),
68
- child_id: Uuid.meta({ description: 'Cell to insert as a child.' }),
69
- position: CellItemPosition.meta({
64
+ export const CellItemInsertInput = object({
65
+ parent_id: meta(Uuid, { description: 'Cell to insert into.' }),
66
+ child_id: meta(Uuid, { description: 'Cell to insert as a child.' }),
67
+ position: meta(CellItemPosition, {
70
68
  description: 'Fractional-indexing key. Client-computed via `fractional_index_between`.'
71
69
  }),
72
70
  acting: ActingActor
73
71
  });
74
- export const CellItemInsertOutput = z.strictObject({ item: ItemJson });
72
+ export const CellItemInsertOutput = object({ item: ItemJson });
75
73
  // -- cell_item_move ---------------------------------------------------------
76
74
  /**
77
75
  * Input for `cell_item_move`. Move within the same parent (cross-parent
78
76
  * moves are a future extension).
79
77
  */
80
- export const CellItemMoveInput = z.strictObject({
81
- parent_id: Uuid.meta({ description: 'Parent cell.' }),
82
- position: CellItemPosition.meta({ description: 'Current position of the row to move.' }),
83
- new_position: CellItemPosition.meta({ description: 'New fractional-indexing key.' }),
78
+ export const CellItemMoveInput = object({
79
+ parent_id: meta(Uuid, { description: 'Parent cell.' }),
80
+ position: meta(CellItemPosition, { description: 'Current position of the row to move.' }),
81
+ new_position: meta(CellItemPosition, { description: 'New fractional-indexing key.' }),
84
82
  acting: ActingActor
85
83
  });
86
- export const CellItemMoveOutput = z.strictObject({ item: ItemJson });
84
+ export const CellItemMoveOutput = object({ item: ItemJson });
87
85
  // -- cell_item_delete -------------------------------------------------------
88
86
  /** Input for `cell_item_delete`. Idempotent on the slot key. */
89
- export const CellItemDeleteInput = z.strictObject({
90
- parent_id: Uuid.meta({ description: 'Parent cell.' }),
91
- position: CellItemPosition.meta({ description: 'Slot to delete.' }),
87
+ export const CellItemDeleteInput = object({
88
+ parent_id: meta(Uuid, { description: 'Parent cell.' }),
89
+ position: meta(CellItemPosition, { description: 'Slot to delete.' }),
92
90
  acting: ActingActor
93
91
  });
94
- export const CellItemDeleteOutput = z.strictObject({
95
- ok: z.literal(true),
96
- deleted: z.boolean()
92
+ export const CellItemDeleteOutput = object({
93
+ ok: literal(true),
94
+ deleted: boolean
97
95
  });
98
96
  // -- cell_item_list ---------------------------------------------------------
99
97
  /**
@@ -110,23 +108,21 @@ export const CellItemDeleteOutput = z.strictObject({
110
108
  * `position_after` (return rows with `position > position_after`); the
111
109
  * reverse listing has no cursor, oldest item first.
112
110
  */
113
- export const CellItemListInput = z
114
- .strictObject({
115
- parent_id: Uuid.optional().meta({
111
+ export const CellItemListInput = meta(object({
112
+ parent_id: meta(optional(Uuid), {
116
113
  description: 'List forward items whose parent is this cell.'
117
114
  }),
118
- child_id: Uuid.optional().meta({
115
+ child_id: meta(optional(Uuid), {
119
116
  description: 'List reverse parents whose child is this cell.'
120
117
  }),
121
- position_after: CellItemPosition.optional().meta({
118
+ position_after: meta(optional(CellItemPosition), {
122
119
  description: 'Cursor for forward pagination — return rows whose position > this.'
123
120
  }),
124
121
  limit: CellRelationListLimit,
125
122
  acting: ActingActor
126
- })
127
- .meta({ empty_input_handler_guarded: true });
128
- export const CellItemListOutput = z.strictObject({
129
- items: z.array(ItemJson)
123
+ }), { empty_input_handler_guarded: true });
124
+ export const CellItemListOutput = object({
125
+ items: array(ItemJson)
130
126
  });
131
127
  // -- Action specs -----------------------------------------------------------
132
128
  export const cell_item_insert_action_spec = {
@@ -40,7 +40,7 @@ export const to_item_json = (row) => ({
40
40
  parent_id: row.parent_id,
41
41
  // `cell.position` is a DB-shape string; brand at the wire boundary so
42
42
  // consumers can round-trip it without casting (the DB CHECK constraint
43
- // is the runtime validator on egress, the Zod brand is the validator
43
+ // is the runtime validator on egress, the `CellItemPosition` schema is the validator
44
44
  // on ingress).
45
45
  position: row.position,
46
46
  child_id: row.child_id,
@@ -6,30 +6,79 @@
6
6
  *
7
7
  * @module
8
8
  */
9
- import { z } from 'zod';
9
+ import { type Infer } from '@fuzdev/fuz_schema/schema.ts';
10
10
  /** Metadata envelope for `cell_item_insert`. */
11
- export declare const CellItemInsertAuditMetadata: z.ZodObject<{
12
- parent_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>>;
13
- position: z.ZodString;
14
- child_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>>;
15
- }, z.core.$loose>;
16
- export type CellItemInsertAuditMetadata = z.infer<typeof CellItemInsertAuditMetadata>;
11
+ export declare const CellItemInsertAuditMetadata: import("@fuzdev/fuz_schema/schema.ts").Schema<{
12
+ parent_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
13
+ position: string;
14
+ child_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
15
+ } & Record<string, unknown>, {
16
+ parent_id: string;
17
+ position: string;
18
+ child_id: string;
19
+ } & Record<string, unknown>, "loose_object", {
20
+ parent_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">)[]> & {
21
+ readonly '~types'?: {
22
+ readonly input: string;
23
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
24
+ } | undefined;
25
+ };
26
+ position: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
27
+ child_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">)[]> & {
28
+ readonly '~types'?: {
29
+ readonly input: string;
30
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
31
+ } | undefined;
32
+ };
33
+ }>;
34
+ export type CellItemInsertAuditMetadata = Infer<typeof CellItemInsertAuditMetadata>;
17
35
  /**
18
36
  * Metadata envelope for `cell_item_move`. Carries both old and new
19
37
  * position so the audit trail shows the reorder without a join back to
20
38
  * the live row.
21
39
  */
22
- export declare const CellItemMoveAuditMetadata: z.ZodObject<{
23
- parent_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>>;
24
- position_old: z.ZodString;
25
- position_new: z.ZodString;
26
- }, z.core.$loose>;
27
- export type CellItemMoveAuditMetadata = z.infer<typeof CellItemMoveAuditMetadata>;
40
+ export declare const CellItemMoveAuditMetadata: import("@fuzdev/fuz_schema/schema.ts").Schema<{
41
+ parent_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
42
+ position_old: string;
43
+ position_new: string;
44
+ } & Record<string, unknown>, {
45
+ parent_id: string;
46
+ position_old: string;
47
+ position_new: string;
48
+ } & Record<string, unknown>, "loose_object", {
49
+ parent_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">)[]> & {
50
+ readonly '~types'?: {
51
+ readonly input: string;
52
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
53
+ } | undefined;
54
+ };
55
+ position_old: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
56
+ position_new: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
57
+ }>;
58
+ export type CellItemMoveAuditMetadata = Infer<typeof CellItemMoveAuditMetadata>;
28
59
  /** Metadata envelope for `cell_item_delete`. */
29
- export declare const CellItemDeleteAuditMetadata: z.ZodObject<{
30
- parent_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>>;
31
- position: z.ZodString;
32
- child_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>>;
33
- }, z.core.$loose>;
34
- export type CellItemDeleteAuditMetadata = z.infer<typeof CellItemDeleteAuditMetadata>;
60
+ export declare const CellItemDeleteAuditMetadata: import("@fuzdev/fuz_schema/schema.ts").Schema<{
61
+ parent_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
62
+ position: string;
63
+ child_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
64
+ } & Record<string, unknown>, {
65
+ parent_id: string;
66
+ position: string;
67
+ child_id: string;
68
+ } & Record<string, unknown>, "loose_object", {
69
+ parent_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">)[]> & {
70
+ readonly '~types'?: {
71
+ readonly input: string;
72
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
73
+ } | undefined;
74
+ };
75
+ position: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
76
+ child_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">)[]> & {
77
+ readonly '~types'?: {
78
+ readonly input: string;
79
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
80
+ } | undefined;
81
+ };
82
+ }>;
83
+ export type CellItemDeleteAuditMetadata = Infer<typeof CellItemDeleteAuditMetadata>;
35
84
  //# sourceMappingURL=cell_item_audit_metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cell_item_audit_metadata.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_item_audit_metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,gDAAgD;AAChD,eAAO,MAAM,2BAA2B;;;;iBAItC,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,gDAAgD;AAChD,eAAO,MAAM,2BAA2B;;;;iBAItC,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
1
+ {"version":3,"file":"cell_item_audit_metadata.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_item_audit_metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAwB,KAAK,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAIhF,gDAAgD;AAChD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAItC,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEpF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;EAIpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAEhF,gDAAgD;AAChD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAItC,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -6,12 +6,12 @@
6
6
  *
7
7
  * @module
8
8
  */
9
- import { z } from 'zod';
10
- import { Uuid } from '../primitive_schemas.js';
9
+ import { loose_object, string } from '@fuzdev/fuz_schema/schema.ts';
10
+ import { Uuid } from '../primitive_schemas_fuz.js';
11
11
  /** Metadata envelope for `cell_item_insert`. */
12
- export const CellItemInsertAuditMetadata = z.looseObject({
12
+ export const CellItemInsertAuditMetadata = loose_object({
13
13
  parent_id: Uuid,
14
- position: z.string(),
14
+ position: string,
15
15
  child_id: Uuid
16
16
  });
17
17
  /**
@@ -19,14 +19,14 @@ export const CellItemInsertAuditMetadata = z.looseObject({
19
19
  * position so the audit trail shows the reorder without a join back to
20
20
  * the live row.
21
21
  */
22
- export const CellItemMoveAuditMetadata = z.looseObject({
22
+ export const CellItemMoveAuditMetadata = loose_object({
23
23
  parent_id: Uuid,
24
- position_old: z.string(),
25
- position_new: z.string()
24
+ position_old: string,
25
+ position_new: string
26
26
  });
27
27
  /** Metadata envelope for `cell_item_delete`. */
28
- export const CellItemDeleteAuditMetadata = z.looseObject({
28
+ export const CellItemDeleteAuditMetadata = loose_object({
29
29
  parent_id: Uuid,
30
- position: z.string(),
30
+ position: string,
31
31
  child_id: Uuid
32
32
  });
@@ -10,11 +10,10 @@
10
10
  *
11
11
  * @module
12
12
  */
13
- import { z } from 'zod';
14
13
  /** Cap on a relation-list page, forward and reverse alike. */
15
14
  export declare const CELL_RELATION_LIST_LIMIT_MAX = 500;
16
15
  /** The page size a relation list that omits `limit` gets, forward and reverse alike. */
17
16
  export declare const CELL_RELATION_LIST_LIMIT_DEFAULT = 50;
18
17
  /** The `limit` input of `cell_field_list` and `cell_item_list`. */
19
- export declare const CellRelationListLimit: z.ZodOptional<z.ZodNumber>;
18
+ export declare const CellRelationListLimit: import("@fuzdev/fuz_schema/schema.ts").Schema<number | undefined, number | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>>>;
20
19
  //# sourceMappingURL=cell_relation_list_limit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cell_relation_list_limit.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_relation_list_limit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,8DAA8D;AAC9D,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD,wFAAwF;AACxF,eAAO,MAAM,gCAAgC,KAAK,CAAC;AAEnD,mEAAmE;AACnE,eAAO,MAAM,qBAAqB,4BAQ/B,CAAC"}
1
+ {"version":3,"file":"cell_relation_list_limit.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_relation_list_limit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAYH,8DAA8D;AAC9D,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD,wFAAwF;AACxF,eAAO,MAAM,gCAAgC,KAAK,CAAC;AAEnD,mEAAmE;AACnE,eAAO,MAAM,qBAAqB,2SAKjC,CAAC"}
@@ -10,18 +10,13 @@
10
10
  *
11
11
  * @module
12
12
  */
13
- import { z } from 'zod';
13
+ import { meta } from '@fuzdev/fuz_schema/meta.ts';
14
+ import { integer, max_value, min_value, number, optional, pipe } from '@fuzdev/fuz_schema/schema.ts';
14
15
  /** Cap on a relation-list page, forward and reverse alike. */
15
16
  export const CELL_RELATION_LIST_LIMIT_MAX = 500;
16
17
  /** The page size a relation list that omits `limit` gets, forward and reverse alike. */
17
18
  export const CELL_RELATION_LIST_LIMIT_DEFAULT = 50;
18
19
  /** The `limit` input of `cell_field_list` and `cell_item_list`. */
19
- export const CellRelationListLimit = z
20
- .number()
21
- .int()
22
- .positive()
23
- .max(CELL_RELATION_LIST_LIMIT_MAX)
24
- .optional()
25
- .meta({
20
+ export const CellRelationListLimit = meta(optional(pipe(number, integer, min_value(1), max_value(CELL_RELATION_LIST_LIMIT_MAX))), {
26
21
  description: `The most edges a page holds, each one whose other end the caller can view — forward and reverse alike: default ${CELL_RELATION_LIST_LIMIT_DEFAULT}, max ${CELL_RELATION_LIST_LIMIT_MAX}.`
27
22
  });
@@ -1232,11 +1232,11 @@ export declare const RoleGrantAssignInput: import("@fuzdev/fuz_schema/schema.ts"
1232
1232
  export type RoleGrantAssignInput = Infer<typeof RoleGrantAssignInput>;
1233
1233
  /** Output for `role_grant_assign`, a `@fuzdev/fuz_schema` schema. */
1234
1234
  export declare const RoleGrantAssignOutput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
1235
- role_grant_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
1236
1235
  ok: true;
1236
+ role_grant_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
1237
1237
  }, {
1238
- role_grant_id: string;
1239
1238
  ok: true;
1239
+ role_grant_id: string;
1240
1240
  }, "object", {
1241
1241
  ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
1242
1242
  role_grant_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">)[]> & {
@@ -2484,11 +2484,11 @@ export declare const role_grant_assign_action_spec: {
2484
2484
  }>>;
2485
2485
  }>>;
2486
2486
  output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
2487
- role_grant_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
2488
2487
  ok: true;
2488
+ role_grant_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
2489
2489
  }, {
2490
- role_grant_id: string;
2491
2490
  ok: true;
2491
+ role_grant_id: string;
2492
2492
  }, "object", {
2493
2493
  ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
2494
2494
  role_grant_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">)[]> & {
@@ -12,7 +12,8 @@
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';
15
+ import { type RouteShape } from '../http/route_spec.js';
16
+ import { REST_NO_MATCHING_INVITE, REST_SIGNUP_CONFLICT } from '../http/error_schemas.js';
16
17
  /**
17
18
  * Input for `POST /signup`, a `@fuzdev/fuz_schema` schema. `email` is optional
18
19
  * (absent or `null` = no email) and must match any referenced invite.
@@ -95,9 +96,13 @@ export interface SignupRouteShapeOptions {
95
96
  }
96
97
  /**
97
98
  * The `POST /signup` route shape minus its handler — pure hono-free data.
98
- * `create_signup_route_specs` spreads this and attaches the live handler;
99
- * cross-process surface builders spread it with a stub handler. Single source
99
+ * `create_signup_route_specs` attaches the live handler to it
100
+ * (`attach_route_handler`); cross-process surface builders attach a stub
101
+ * (`stub_route_spec`). Single source
100
102
  * of truth — the shape can't drift between the live route and the surface.
101
103
  */
102
- export declare const create_signup_route_shape: (options: SignupRouteShapeOptions) => Omit<RouteSpec, "handler">;
104
+ export declare const create_signup_route_shape: (options: SignupRouteShapeOptions) => RouteShape<readonly [typeof REST_NO_MATCHING_INVITE, typeof REST_SIGNUP_CONFLICT], typeof SignupOutput, {
105
+ account: "none";
106
+ actor: "none";
107
+ }, "both" | "ip">;
103
108
  //# sourceMappingURL=signup_route_schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"signup_route_schema.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/signup_route_schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAuC,KAA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4E;AAC5E,MAAM,WAAW,uBAAuB;IACvC,iFAAiF;IACjF,2BAA2B,EAAE,OAAO,CAAC;CACrC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,GACrC,SAAS,uBAAuB,KAC9B,UAAU,CACZ,SAAS,CAAC,OAAO,uBAAuB,EAAE,OAAO,oBAAoB,CAAC,EACtE,OAAO,YAAY,EACnB;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAClC,MAAM,GAAG,IAAI,CAaX,CAAC"}
@@ -14,6 +14,7 @@
14
14
  import { literal, nullable, object, optional } from '@fuzdev/fuz_schema/schema.ts';
15
15
  import { Email, Username, UsernameCanonical, Uuid } from '../primitive_schemas_fuz.js';
16
16
  import { Password } from './password.js';
17
+ import { define_route_shape } from '../http/route_spec.js';
17
18
  import { REST_NO_MATCHING_INVITE, REST_SIGNUP_CONFLICT } from '../http/error_schemas.js';
18
19
  /**
19
20
  * Input for `POST /signup`, a `@fuzdev/fuz_schema` schema. `email` is optional
@@ -39,11 +40,12 @@ export const SignupOutput = object({
39
40
  });
40
41
  /**
41
42
  * The `POST /signup` route shape minus its handler — pure hono-free data.
42
- * `create_signup_route_specs` spreads this and attaches the live handler;
43
- * cross-process surface builders spread it with a stub handler. Single source
43
+ * `create_signup_route_specs` attaches the live handler to it
44
+ * (`attach_route_handler`); cross-process surface builders attach a stub
45
+ * (`stub_route_spec`). Single source
44
46
  * of truth — the shape can't drift between the live route and the surface.
45
47
  */
46
- export const create_signup_route_shape = (options) => ({
48
+ export const create_signup_route_shape = (options) => define_route_shape({
47
49
  method: 'POST',
48
50
  path: '/signup',
49
51
  auth: { account: 'none', actor: 'none' },
@@ -1 +1 @@
1
- {"version":3,"file":"signup_routes.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/signup_routes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAaH,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,uBAA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