@fuzdev/fuz_app 0.155.1 → 0.157.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 (145) hide show
  1. package/dist/actions/CLAUDE.md +27 -14
  2. package/dist/actions/action_codegen.d.ts +10 -3
  3. package/dist/actions/action_codegen.d.ts.map +1 -1
  4. package/dist/actions/action_codegen.js +52 -13
  5. package/dist/actions/action_event.d.ts.map +1 -1
  6. package/dist/actions/action_event.js +13 -11
  7. package/dist/actions/action_rpc.d.ts +4 -3
  8. package/dist/actions/action_rpc.d.ts.map +1 -1
  9. package/dist/actions/action_rpc.js +4 -3
  10. package/dist/actions/action_spec.d.ts +102 -206
  11. package/dist/actions/action_spec.d.ts.map +1 -1
  12. package/dist/actions/action_spec.js +18 -96
  13. package/dist/actions/action_types.d.ts +4 -4
  14. package/dist/actions/action_types.d.ts.map +1 -1
  15. package/dist/actions/action_types.js +2 -2
  16. package/dist/actions/broadcast_api.d.ts.map +1 -1
  17. package/dist/actions/broadcast_api.js +6 -5
  18. package/dist/actions/compile_action_registry.d.ts +11 -6
  19. package/dist/actions/compile_action_registry.d.ts.map +1 -1
  20. package/dist/actions/compile_action_registry.js +15 -9
  21. package/dist/actions/perform_action.d.ts +4 -4
  22. package/dist/actions/perform_action.d.ts.map +1 -1
  23. package/dist/actions/perform_action.js +11 -11
  24. package/dist/auth/CLAUDE.md +1 -1
  25. package/dist/auth/account_action_specs.d.ts +50 -23
  26. package/dist/auth/account_action_specs.d.ts.map +1 -1
  27. package/dist/auth/account_action_specs.js +18 -8
  28. package/dist/auth/account_route_schema.d.ts +10 -10
  29. package/dist/auth/account_schema.d.ts +21 -21
  30. package/dist/auth/actor_lookup_action_specs.d.ts +7 -7
  31. package/dist/auth/actor_search_action_specs.d.ts +6 -6
  32. package/dist/auth/admin_action_specs.d.ts +98 -98
  33. package/dist/auth/app_settings_schema.d.ts +2 -2
  34. package/dist/auth/audit_log_route_schema.d.ts +1 -1
  35. package/dist/auth/audit_log_schema.d.ts +44 -44
  36. package/dist/auth/auth_guard_resolver.d.ts +2 -2
  37. package/dist/auth/auth_guard_resolver.js +2 -2
  38. package/dist/auth/bootstrap_route_schema.d.ts +4 -4
  39. package/dist/auth/cell_action_specs.d.ts +241 -241
  40. package/dist/auth/cell_actions.js +3 -3
  41. package/dist/auth/cell_audit_action_specs.d.ts +14 -14
  42. package/dist/auth/cell_audit_metadata.d.ts +6 -6
  43. package/dist/auth/cell_field_action_specs.d.ts +38 -38
  44. package/dist/auth/cell_field_audit_metadata.d.ts +4 -4
  45. package/dist/auth/cell_grant_action_specs.d.ts +61 -61
  46. package/dist/auth/cell_grant_audit_metadata.d.ts +10 -10
  47. package/dist/auth/cell_item_action_specs.d.ts +50 -50
  48. package/dist/auth/cell_item_audit_metadata.d.ts +5 -5
  49. package/dist/auth/invite_schema.d.ts +6 -6
  50. package/dist/auth/role_grant_offer_action_specs.d.ts +120 -120
  51. package/dist/auth/role_grant_offer_notifications.d.ts +66 -66
  52. package/dist/auth/role_grant_offer_schema.d.ts +6 -6
  53. package/dist/auth/self_service_role_action_specs.d.ts +2 -2
  54. package/dist/auth/signup_route_schema.d.ts +2 -2
  55. package/dist/http/CLAUDE.md +26 -17
  56. package/dist/http/auth_shape.d.ts +51 -17
  57. package/dist/http/auth_shape.d.ts.map +1 -1
  58. package/dist/http/auth_shape.js +101 -52
  59. package/dist/http/error_schemas.d.ts +15 -8
  60. package/dist/http/error_schemas.d.ts.map +1 -1
  61. package/dist/http/error_schemas.js +4 -9
  62. package/dist/http/jsonrpc_errors.d.ts +11 -4
  63. package/dist/http/jsonrpc_errors.d.ts.map +1 -1
  64. package/dist/http/jsonrpc_errors.js +11 -4
  65. package/dist/http/jsonrpc_helpers.d.ts.map +1 -1
  66. package/dist/http/jsonrpc_helpers.js +2 -1
  67. package/dist/http/route_spec.d.ts +37 -19
  68. package/dist/http/route_spec.d.ts.map +1 -1
  69. package/dist/http/route_spec.js +54 -24
  70. package/dist/http/schema_helpers.d.ts +27 -24
  71. package/dist/http/schema_helpers.d.ts.map +1 -1
  72. package/dist/http/schema_helpers.js +24 -19
  73. package/dist/http/surface.d.ts.map +1 -1
  74. package/dist/http/surface.js +7 -3
  75. package/dist/primitive_schemas.d.ts +16 -5
  76. package/dist/primitive_schemas.d.ts.map +1 -1
  77. package/dist/primitive_schemas.js +26 -4
  78. package/dist/primitive_schemas_fuz.d.ts +67 -0
  79. package/dist/primitive_schemas_fuz.d.ts.map +1 -0
  80. package/dist/primitive_schemas_fuz.js +47 -0
  81. package/dist/realtime/sse.d.ts +3 -3
  82. package/dist/realtime/sse.d.ts.map +1 -1
  83. package/dist/realtime/sse.js +4 -4
  84. package/dist/schema_issues.d.ts +91 -4
  85. package/dist/schema_issues.d.ts.map +1 -1
  86. package/dist/schema_issues.js +262 -1
  87. package/dist/schema_meta.d.ts +24 -8
  88. package/dist/schema_meta.d.ts.map +1 -1
  89. package/dist/schema_meta.js +31 -10
  90. package/dist/server/serve_fact_route.d.ts.map +1 -1
  91. package/dist/server/serve_fact_route.js +2 -1
  92. package/dist/testing/CLAUDE.md +23 -17
  93. package/dist/testing/admin_integration.d.ts.map +1 -1
  94. package/dist/testing/admin_integration.js +3 -2
  95. package/dist/testing/adversarial_404.d.ts +2 -2
  96. package/dist/testing/adversarial_404.d.ts.map +1 -1
  97. package/dist/testing/adversarial_404.js +8 -5
  98. package/dist/testing/adversarial_input.js +1 -1
  99. package/dist/testing/adversarial_input_cases.d.ts +18 -23
  100. package/dist/testing/adversarial_input_cases.d.ts.map +1 -1
  101. package/dist/testing/adversarial_input_cases.js +51 -46
  102. package/dist/testing/assertions.d.ts +6 -5
  103. package/dist/testing/assertions.d.ts.map +1 -1
  104. package/dist/testing/assertions.js +9 -4
  105. package/dist/testing/cross_backend/action_manifest.d.ts +2 -1
  106. package/dist/testing/cross_backend/action_manifest.d.ts.map +1 -1
  107. package/dist/testing/cross_backend/action_manifest.js +3 -3
  108. package/dist/testing/cross_backend/cell_crud.d.ts.map +1 -1
  109. package/dist/testing/cross_backend/cell_crud.js +3 -8
  110. package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
  111. package/dist/testing/cross_backend/conformance_table.js +5 -4
  112. package/dist/testing/cross_backend/cross_rpc.d.ts +4 -2
  113. package/dist/testing/cross_backend/cross_rpc.d.ts.map +1 -1
  114. package/dist/testing/cross_backend/cross_rpc.js +6 -4
  115. package/dist/testing/cross_backend/rpc_success_fixtures.d.ts.map +1 -1
  116. package/dist/testing/cross_backend/sse_round_trip.d.ts.map +1 -1
  117. package/dist/testing/cross_backend/sse_round_trip.js +3 -2
  118. package/dist/testing/cross_backend/testing_reset_actions.d.ts +8 -8
  119. package/dist/testing/error_coverage.d.ts +9 -17
  120. package/dist/testing/error_coverage.d.ts.map +1 -1
  121. package/dist/testing/error_coverage.js +20 -3
  122. package/dist/testing/integration_helpers.d.ts.map +1 -1
  123. package/dist/testing/integration_helpers.js +7 -6
  124. package/dist/testing/rpc_envelope_cases.d.ts +3 -3
  125. package/dist/testing/rpc_envelope_cases.d.ts.map +1 -1
  126. package/dist/testing/rpc_envelope_cases.js +1 -1
  127. package/dist/testing/rpc_helpers.d.ts +12 -8
  128. package/dist/testing/rpc_helpers.d.ts.map +1 -1
  129. package/dist/testing/rpc_helpers.js +18 -15
  130. package/dist/testing/schema_generators.d.ts +75 -40
  131. package/dist/testing/schema_generators.d.ts.map +1 -1
  132. package/dist/testing/schema_generators.js +273 -99
  133. package/dist/testing/sse_round_trip.d.ts.map +1 -1
  134. package/dist/testing/sse_round_trip.js +4 -3
  135. package/dist/ui/admin_accounts_state.svelte.d.ts +10 -10
  136. package/dist/ui/admin_accounts_state.svelte.d.ts.map +1 -1
  137. package/dist/ui/admin_invites_state.svelte.d.ts +1 -1
  138. package/dist/ui/admin_invites_state.svelte.d.ts.map +1 -1
  139. package/dist/ui/admin_sessions_state.svelte.d.ts +2 -2
  140. package/dist/ui/admin_sessions_state.svelte.d.ts.map +1 -1
  141. package/dist/ui/role_grant_offers_state.svelte.d.ts +6 -6
  142. package/dist/zod.d.ts +23 -5
  143. package/dist/zod.d.ts.map +1 -1
  144. package/dist/zod.js +2 -2
  145. package/package.json +6 -6
@@ -1,16 +1,6 @@
1
1
  import './assert_dev_env.js';
2
- /**
3
- * Schema-driven value generation helpers for testing.
4
- *
5
- * Walks Zod schemas to generate valid values for route params, request bodies,
6
- * and URL paths. Used by adversarial input, adversarial 404, and round-trip
7
- * validation test suites.
8
- *
9
- * @module
10
- */
11
- import { z } from 'zod';
12
- import { type ZodFieldInfo } from '../zod.js';
13
- import type { ValidationSchema } from '../schema_issues.js';
2
+ import { type SchemaFieldInfo } from '../zod.js';
3
+ import { type ParseAnyResult, type ValidationSchema } from '../schema_issues.js';
14
4
  /**
15
5
  * The JSON Schema of a field's input side — where its format, pattern and
16
6
  * bounds live. Takes a Zod or a `@fuzdev/fuz_schema` field.
@@ -62,14 +52,45 @@ export declare const detect_json_schema_format: (json: Record<string, unknown>)
62
52
  * `'email'`), `'pattern'` for a regex, or `null`.
63
53
  */
64
54
  export declare const detect_format: (field_schema: ValidationSchema) => string | null;
65
- /** Generate a valid-ish value for a field based on its base type. */
66
- export declare const generate_valid_value: (field: ZodFieldInfo, field_schema: z.ZodType) => unknown;
55
+ /** An object schema's fields and the schema of each, of either library. */
56
+ export interface ObjectSchemaView {
57
+ /** The fields, in declaration order. */
58
+ fields: Array<SchemaFieldInfo>;
59
+ /** The schema of the field named `name`, or `undefined` when there is none. */
60
+ field_schema: (name: string) => ValidationSchema | undefined;
61
+ }
62
+ /**
63
+ * The fields of an object schema of either library and the schema of each,
64
+ * through its wrappers: the `ZodObject` inside a Zod schema
65
+ * (`zod_unwrap_to_object`, `zod_extract_fields`), or a `@fuzdev/fuz_schema`
66
+ * schema whose innermost layer is an object schema (`get_schema_entries`,
67
+ * `get_schema_fields`).
68
+ *
69
+ * @param schema - an object schema, possibly wrapped, Zod or fuz_schema
70
+ * @param label - names the schema in the error
71
+ * @throws Error naming `label` when `schema` is no object schema, or of neither library
72
+ */
73
+ export declare const to_object_schema_view: (schema: ValidationSchema, label: string) => ObjectSchemaView;
74
+ /**
75
+ * Generate a valid-ish value for a field based on its base type.
76
+ *
77
+ * @param field - the field's info, from `to_object_schema_view` or `zod_extract_fields`
78
+ * @param field_schema - the field's schema, Zod or `@fuzdev/fuz_schema`
79
+ * @returns the value, checked by the caller against the whole schema
80
+ */
81
+ export declare const generate_valid_value: (field: SchemaFieldInfo, field_schema: ValidationSchema) => unknown;
82
+ /** What `generate_valid_object` returns: the object and its last parse. */
83
+ export interface GeneratedObject {
84
+ value: Record<string, unknown>;
85
+ /** The last `parse_any` of `value` against the schema — the caller decides whether a failure throws. */
86
+ result: ParseAnyResult<unknown>;
87
+ }
67
88
  /**
68
89
  * Generate a valid object for an object schema: its required and defaulted
69
90
  * fields first; when `schema` still refuses it, each optional field alone on
70
91
  * top of those, in declaration order, taking the first that parses; and
71
92
  * failing that, the optional fields added one at a time, in declaration
72
- * order, until it parses. The fill covers a `.refine()` over optional fields
93
+ * order, until it parses. The fill covers a refine over optional fields
73
94
  * (at least one of, exactly one of, both of), which the required-only object
74
95
  * can't satisfy, and the single-field pass keeps an unrelated optional field
75
96
  * declared ahead of the refined ones (an `acting`, a note) out of the object.
@@ -77,16 +98,16 @@ export declare const generate_valid_value: (field: ZodFieldInfo, field_schema: z
77
98
  * Shared by the top-level body generators and `generate_valid_value`'s
78
99
  * nested-object case, so a refined object validates the same way at any depth.
79
100
  *
80
- * @param object_schema - the unwrapped object whose fields are generated
101
+ * @param object_schema - the object whose fields are generated: a Zod or
102
+ * `@fuzdev/fuz_schema` object schema, possibly wrapped
81
103
  * @param schema - the schema the object must satisfy, refinements included
82
104
  * (`object_schema` or a schema wrapping it)
83
- * @returns the generated object and its last `safeParse` result — the caller
105
+ * @returns the generated object and its last `parse_any` result — the caller
84
106
  * decides whether a failure throws
107
+ * @throws Error when `object_schema` is no object schema, or either schema is
108
+ * of neither library
85
109
  */
86
- export declare const generate_valid_object: (object_schema: z.ZodObject, schema: z.ZodType) => {
87
- value: Record<string, unknown>;
88
- result: z.ZodSafeParseResult<unknown>;
89
- };
110
+ export declare const generate_valid_object: (object_schema: ValidationSchema, schema: ValidationSchema) => GeneratedObject;
90
111
  /**
91
112
  * A valid object that carries `field`, built from `base`, a valid object of
92
113
  * `object_schema` — the body a case breaking `field` changes, so the case
@@ -97,14 +118,17 @@ export declare const generate_valid_object: (object_schema: z.ZodObject, schema:
97
118
  * replaces `base`'s optional fields, refilled the same way around it (an
98
119
  * exactly-one-of rule: adding `slug` means dropping `id`).
99
120
  *
100
- * @param object_schema - the unwrapped object `base` is an instance of
121
+ * @param object_schema - the object schema `base` is an instance of, Zod or
122
+ * `@fuzdev/fuz_schema`, possibly wrapped
101
123
  * @param schema - the schema the object must satisfy, refinements included
102
124
  * @param base - a valid object, the generated or seeded base
103
125
  * @param field - the field the object must carry
104
126
  * @returns the object, or `null` when no object the generator can build
105
127
  * carries the field and passes `schema`
128
+ * @throws Error when `object_schema` is no object schema, or either schema is
129
+ * of neither library
106
130
  */
107
- export declare const generate_valid_object_with_field: (object_schema: z.ZodObject, schema: z.ZodType, base: Record<string, unknown>, field: ZodFieldInfo) => Record<string, unknown> | null;
131
+ export declare const generate_valid_object_with_field: (object_schema: ValidationSchema, schema: ValidationSchema, base: Record<string, unknown>, field: SchemaFieldInfo) => Record<string, unknown> | null;
108
132
  /**
109
133
  * A string a URL-sourced field accepts — a route param or a query value, which
110
134
  * arrive as strings whatever the schema parses them into. The nil UUID for a
@@ -114,18 +138,23 @@ export declare const generate_valid_object_with_field: (object_schema: z.ZodObje
114
138
  * integer whose minimum is above one), and a string synthesized from the
115
139
  * field's constraints.
116
140
  *
117
- * @param field - the field's info, from `zod_extract_fields`
118
- * @param field_schema - the field's schema
141
+ * @param field - the field's info, from `to_object_schema_view` or `zod_extract_fields`
142
+ * @param field_schema - the field's schema, Zod or `@fuzdev/fuz_schema`
119
143
  * @returns the string, or `null` when no candidate passes
120
144
  */
121
- export declare const generate_valid_string_param: (field: ZodFieldInfo, field_schema: z.ZodType) => string | null;
145
+ export declare const generate_valid_string_param: (field: SchemaFieldInfo, field_schema: ValidationSchema) => string | null;
122
146
  /**
123
- * Format Zod issues as `path: message` pairs for a generator's error message.
124
- *
125
- * @param error - the failed parse's error
126
- * @returns the issues, comma-separated
147
+ * The input a body is generated for: `null` for a void or null input
148
+ * (`is_void_schema`, `is_null_schema`), which takes no body, else its object
149
+ * view (`to_object_schema_view`).
150
+ *
151
+ * @param input_schema - a route's or action's input schema, Zod or `@fuzdev/fuz_schema`
152
+ * @param label - names the input in the error
153
+ * @throws Error naming `label` when the input is of neither library, or is
154
+ * neither void, null, nor an object schema — no body can be generated for
155
+ * it, and no body is not the same as one the generator can't build
127
156
  */
128
- export declare const format_zod_issues: (error: z.ZodError) => string;
157
+ export declare const to_body_input: (input_schema: ValidationSchema, label: string) => ObjectSchemaView | null;
129
158
  /**
130
159
  * The `Content-Type` a well-formed request to a route sends: `application/json`,
131
160
  * or `application/octet-stream` for a `raw_body` route. Every `POST` route
@@ -156,16 +185,22 @@ export declare const to_route_content_type: (route: {
156
185
  * The synthesized value is percent-encoded, and a value containing `/` is
157
186
  * refused (it would silently add a path segment and route elsewhere) —
158
187
  * both fall back to `test_<name>`.
188
+ *
189
+ * @param path - the route path, its params as `:name`
190
+ * @param params_schema - the route's params schema, a Zod or `@fuzdev/fuz_schema` object schema
191
+ * @throws Error when `params_schema` is no object schema, or of neither library
159
192
  */
160
- export declare const resolve_valid_path: (path: string, params_schema?: z.ZodObject) => string;
193
+ export declare const resolve_valid_path: (path: string, params_schema?: ValidationSchema) => string;
161
194
  /**
162
- * Generate a valid request body for a route's input schema.
163
- *
164
- * @returns a generated body that passes `safeParse`, or `undefined` for null /
165
- * non-object schemas
166
- * @throws Error if the generated body fails `input_schema.safeParse` — catches
167
- * broken `generate_valid_value` logic early with a descriptive Zod-issues
168
- * summary instead of a confusing 400 in downstream tests.
195
+ * Generate a valid request body for a route's or action's input schema.
196
+ *
197
+ * @param input_schema - the input schema, Zod or `@fuzdev/fuz_schema`
198
+ * @returns a generated body that passes the schema, or `undefined` for a void
199
+ * or null input, which takes no body
200
+ * @throws Error if the input is of neither library, or is neither void, null,
201
+ * nor an object schema, or if the generated body fails the input — catching
202
+ * broken `generate_valid_value` logic early with the parse's issues instead
203
+ * of a confusing 400 in downstream tests
169
204
  */
170
- export declare const generate_valid_body: (input_schema: z.ZodType) => Record<string, unknown> | undefined;
205
+ export declare const generate_valid_body: (input_schema: ValidationSchema) => Record<string, unknown> | undefined;
171
206
  //# sourceMappingURL=schema_generators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema_generators.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/testing/schema_generators.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAE7B;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAKN,KAAK,YAAY,EACjB,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,oBAAoB,GAAI,cAAc,gBAAgB,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAe3F,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAAM,GAAG,IAWlF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,cAAc,gBAAgB,KAAG,MAAM,GAAG,IACV,CAAC;AAmH/D,qEAAqE;AACrE,eAAO,MAAM,oBAAoB,GAAI,OAAO,YAAY,EAAE,cAAc,CAAC,CAAC,OAAO,KAAG,OAgGnF,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,e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