@fuzdev/fuz_app 0.163.0 → 0.165.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 (199) hide show
  1. package/README.md +2 -1
  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 +4 -0
  5. package/dist/actions/action_spec.d.ts +3 -3
  6. package/dist/actions/action_spec.d.ts.map +1 -1
  7. package/dist/auth/CLAUDE.md +1 -1
  8. package/dist/auth/account_route_schema.d.ts +3 -27
  9. package/dist/auth/account_route_schema.d.ts.map +1 -1
  10. package/dist/auth/account_route_schema.js +6 -20
  11. package/dist/auth/admin_action_specs.d.ts +56 -56
  12. package/dist/auth/audit_log_route_schema.d.ts +1 -1
  13. package/dist/auth/audit_log_route_schema.d.ts.map +1 -1
  14. package/dist/auth/audit_log_route_schema.js +4 -5
  15. package/dist/auth/audit_log_schema.d.ts +18 -18
  16. package/dist/auth/bootstrap_route_schema.d.ts +1 -30
  17. package/dist/auth/bootstrap_route_schema.d.ts.map +1 -1
  18. package/dist/auth/bootstrap_route_schema.js +3 -8
  19. package/dist/auth/daemon_token.d.ts +4 -4
  20. package/dist/auth/daemon_token.d.ts.map +1 -1
  21. package/dist/auth/daemon_token.js +3 -3
  22. package/dist/auth/daemon_token_middleware.d.ts +1 -1
  23. package/dist/auth/daemon_token_middleware.d.ts.map +1 -1
  24. package/dist/auth/daemon_token_middleware.js +5 -5
  25. package/dist/auth/middleware.js +4 -4
  26. package/dist/auth/role_grant_offer_action_specs.d.ts +2 -2
  27. package/dist/auth/signup_route_schema.d.ts.map +1 -1
  28. package/dist/auth/signup_route_schema.js +3 -7
  29. package/dist/db/CLAUDE.md +2 -1
  30. package/dist/db/file_fact_url.d.ts +11 -6
  31. package/dist/db/file_fact_url.d.ts.map +1 -1
  32. package/dist/db/file_fact_url.js +5 -5
  33. package/dist/db/schema_ready.d.ts +0 -5
  34. package/dist/db/schema_ready.d.ts.map +1 -1
  35. package/dist/db/schema_ready.js +0 -5
  36. package/dist/http/CLAUDE.md +105 -71
  37. package/dist/http/auth_shape.d.ts +48 -29
  38. package/dist/http/auth_shape.d.ts.map +1 -1
  39. package/dist/http/auth_shape.js +12 -85
  40. package/dist/http/body_limit.d.ts +12 -0
  41. package/dist/http/body_limit.d.ts.map +1 -1
  42. package/dist/http/body_limit.js +15 -0
  43. package/dist/http/body_limit_schema.d.ts +20 -0
  44. package/dist/http/body_limit_schema.d.ts.map +1 -0
  45. package/dist/http/body_limit_schema.js +20 -0
  46. package/dist/http/common_routes.d.ts +1 -1
  47. package/dist/http/common_routes.d.ts.map +1 -1
  48. package/dist/http/common_routes.js +11 -14
  49. package/dist/http/db_routes.d.ts.map +1 -1
  50. package/dist/http/db_routes.js +59 -69
  51. package/dist/http/dev_route_error_check.d.ts +70 -0
  52. package/dist/http/dev_route_error_check.d.ts.map +1 -0
  53. package/dist/http/dev_route_error_check.js +119 -0
  54. package/dist/http/error_schemas.d.ts +365 -189
  55. package/dist/http/error_schemas.d.ts.map +1 -1
  56. package/dist/http/error_schemas.js +256 -149
  57. package/dist/http/health_schema.d.ts +10 -6
  58. package/dist/http/health_schema.d.ts.map +1 -1
  59. package/dist/http/health_schema.js +3 -3
  60. package/dist/http/middleware_spec.d.ts +8 -3
  61. package/dist/http/middleware_spec.d.ts.map +1 -1
  62. package/dist/http/origin.d.ts +12 -43
  63. package/dist/http/origin.d.ts.map +1 -1
  64. package/dist/http/origin.js +10 -6
  65. package/dist/http/route_error_check.d.ts +179 -0
  66. package/dist/http/route_error_check.d.ts.map +1 -0
  67. package/dist/http/route_error_check.js +283 -0
  68. package/dist/http/route_errors.d.ts +80 -0
  69. package/dist/http/route_errors.d.ts.map +1 -0
  70. package/dist/http/route_errors.js +83 -0
  71. package/dist/http/route_spec.d.ts +33 -17
  72. package/dist/http/route_spec.d.ts.map +1 -1
  73. package/dist/http/route_spec.js +48 -62
  74. package/dist/http/schema_helpers.d.ts +15 -34
  75. package/dist/http/schema_helpers.d.ts.map +1 -1
  76. package/dist/http/schema_helpers.js +11 -47
  77. package/dist/http/surface.d.ts +19 -12
  78. package/dist/http/surface.d.ts.map +1 -1
  79. package/dist/http/surface.js +25 -38
  80. package/dist/http/surface_query.d.ts +11 -2
  81. package/dist/http/surface_query.d.ts.map +1 -1
  82. package/dist/http/surface_query.js +7 -1
  83. package/dist/primitive_schemas_fuz.d.ts +17 -3
  84. package/dist/primitive_schemas_fuz.d.ts.map +1 -1
  85. package/dist/primitive_schemas_fuz.js +13 -3
  86. package/dist/rate_limiter.d.ts +13 -0
  87. package/dist/rate_limiter.d.ts.map +1 -1
  88. package/dist/rate_limiter.js +20 -2
  89. package/dist/schema_issues.d.ts +29 -11
  90. package/dist/schema_issues.d.ts.map +1 -1
  91. package/dist/schema_issues.js +11 -10
  92. package/dist/schema_meta.d.ts +8 -1
  93. package/dist/schema_meta.d.ts.map +1 -1
  94. package/dist/schema_meta.js +2 -1
  95. package/dist/server/app_server.d.ts +3 -1
  96. package/dist/server/app_server.d.ts.map +1 -1
  97. package/dist/server/app_server.js +24 -10
  98. package/dist/server/serve_fact_route.d.ts.map +1 -1
  99. package/dist/server/serve_fact_route.js +8 -31
  100. package/dist/server/surface_route.d.ts.map +1 -1
  101. package/dist/server/surface_route.js +5 -6
  102. package/dist/server/x_accel.d.ts +12 -7
  103. package/dist/server/x_accel.d.ts.map +1 -1
  104. package/dist/server/x_accel.js +7 -9
  105. package/dist/testing/CLAUDE.md +105 -61
  106. package/dist/testing/admin_integration.js +2 -2
  107. package/dist/testing/adversarial_404.d.ts +4 -18
  108. package/dist/testing/adversarial_404.d.ts.map +1 -1
  109. package/dist/testing/adversarial_404.js +20 -52
  110. package/dist/testing/adversarial_headers.d.ts +3 -4
  111. package/dist/testing/adversarial_headers.d.ts.map +1 -1
  112. package/dist/testing/adversarial_headers.js +8 -6
  113. package/dist/testing/adversarial_input.d.ts.map +1 -1
  114. package/dist/testing/adversarial_input.js +20 -19
  115. package/dist/testing/assertions.d.ts +46 -14
  116. package/dist/testing/assertions.d.ts.map +1 -1
  117. package/dist/testing/assertions.js +73 -16
  118. package/dist/testing/attack_surface.d.ts +17 -35
  119. package/dist/testing/attack_surface.d.ts.map +1 -1
  120. package/dist/testing/attack_surface.js +36 -95
  121. package/dist/testing/auth_apps.d.ts.map +1 -1
  122. package/dist/testing/auth_apps.js +2 -1
  123. package/dist/testing/cross_backend/action_manifest.d.ts +126 -56
  124. package/dist/testing/cross_backend/action_manifest.d.ts.map +1 -1
  125. package/dist/testing/cross_backend/action_manifest.js +11 -11
  126. package/dist/testing/cross_backend/action_manifest_parity.d.ts +1 -1
  127. package/dist/testing/cross_backend/action_manifest_parity.d.ts.map +1 -1
  128. package/dist/testing/cross_backend/cell_crud.d.ts.map +1 -1
  129. package/dist/testing/cross_backend/cell_crud.js +2 -1
  130. package/dist/testing/cross_backend/conformance_table.js +1 -1
  131. package/dist/testing/cross_backend/fact_serving.js +3 -3
  132. package/dist/testing/cross_backend/in_process_setup.d.ts +7 -3
  133. package/dist/testing/cross_backend/in_process_setup.d.ts.map +1 -1
  134. package/dist/testing/cross_backend/in_process_setup.js +11 -4
  135. package/dist/testing/cross_backend/origin_conformance.d.ts +278 -102
  136. package/dist/testing/cross_backend/origin_conformance.d.ts.map +1 -1
  137. package/dist/testing/cross_backend/origin_conformance.js +21 -21
  138. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
  139. package/dist/testing/cross_backend/rust_spine_consumer_surface.js +7 -1
  140. package/dist/testing/cross_backend/setup.d.ts +13 -0
  141. package/dist/testing/cross_backend/setup.d.ts.map +1 -1
  142. package/dist/testing/cross_backend/setup.js +24 -7
  143. package/dist/testing/cross_backend/spine_suites.d.ts +3 -2
  144. package/dist/testing/cross_backend/spine_suites.d.ts.map +1 -1
  145. package/dist/testing/cross_backend/spine_suites.js +5 -2
  146. package/dist/testing/cross_backend/standard.d.ts +31 -0
  147. package/dist/testing/cross_backend/standard.d.ts.map +1 -1
  148. package/dist/testing/cross_backend/standard.js +9 -3
  149. package/dist/testing/cross_backend/testing_origin_check.d.ts +147 -71
  150. package/dist/testing/cross_backend/testing_origin_check.d.ts.map +1 -1
  151. package/dist/testing/cross_backend/testing_origin_check.js +16 -13
  152. package/dist/testing/cross_backend/testing_reset_actions.d.ts +70 -27
  153. package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
  154. package/dist/testing/data_exposure.d.ts +7 -0
  155. package/dist/testing/data_exposure.d.ts.map +1 -1
  156. package/dist/testing/data_exposure.js +8 -7
  157. package/dist/testing/error_coverage.d.ts +53 -61
  158. package/dist/testing/error_coverage.d.ts.map +1 -1
  159. package/dist/testing/error_coverage.js +86 -119
  160. package/dist/testing/integration.d.ts +28 -1
  161. package/dist/testing/integration.d.ts.map +1 -1
  162. package/dist/testing/integration.js +54 -29
  163. package/dist/testing/integration_helpers.d.ts +37 -9
  164. package/dist/testing/integration_helpers.d.ts.map +1 -1
  165. package/dist/testing/integration_helpers.js +75 -40
  166. package/dist/testing/middleware.d.ts +3 -5
  167. package/dist/testing/middleware.d.ts.map +1 -1
  168. package/dist/testing/middleware.js +5 -4
  169. package/dist/testing/middleware_gate_probes.d.ts +90 -0
  170. package/dist/testing/middleware_gate_probes.d.ts.map +1 -0
  171. package/dist/testing/middleware_gate_probes.js +179 -0
  172. package/dist/testing/rate_limiting.d.ts +1 -1
  173. package/dist/testing/rate_limiting.d.ts.map +1 -1
  174. package/dist/testing/rate_limiting.js +5 -4
  175. package/dist/testing/round_trip.d.ts +7 -0
  176. package/dist/testing/round_trip.d.ts.map +1 -1
  177. package/dist/testing/round_trip.js +8 -5
  178. package/dist/testing/schema_generators.d.ts +40 -11
  179. package/dist/testing/schema_generators.d.ts.map +1 -1
  180. package/dist/testing/schema_generators.js +71 -17
  181. package/dist/testing/stubs.d.ts +10 -1
  182. package/dist/testing/stubs.d.ts.map +1 -1
  183. package/dist/testing/stubs.js +15 -5
  184. package/dist/testing/surface_invariants.d.ts +36 -115
  185. package/dist/testing/surface_invariants.d.ts.map +1 -1
  186. package/dist/testing/surface_invariants.js +106 -269
  187. package/dist/testing/transports/raw_http.d.ts +10 -2
  188. package/dist/testing/transports/raw_http.d.ts.map +1 -1
  189. package/dist/testing/transports/raw_http.js +10 -4
  190. package/dist/ui/CLAUDE.md +4 -2
  191. package/dist/ui/auth_state.svelte.d.ts.map +1 -1
  192. package/dist/ui/auth_state.svelte.js +2 -8
  193. package/dist/ui/backend_probe.svelte.js +3 -3
  194. package/dist/ui/table_state.svelte.d.ts.map +1 -1
  195. package/dist/ui/table_state.svelte.js +1 -8
  196. package/dist/ui/ui_fetch.d.ts +12 -2
  197. package/dist/ui/ui_fetch.d.ts.map +1 -1
  198. package/dist/ui/ui_fetch.js +22 -4
  199. package/package.json +1 -1
@@ -580,33 +580,76 @@ export declare const testing_action_manifest_action_spec: {
580
580
  };
581
581
  readonly side_effects: false;
582
582
  readonly input: z.ZodVoid;
583
- readonly output: z.ZodObject<{
584
- methods: z.ZodArray<z.ZodObject<{
585
- method: z.ZodString;
586
- input: z.ZodEnum<{
587
- object: "object";
588
- void: "void";
589
- }>;
590
- side_effects: z.ZodBoolean;
591
- account: z.ZodEnum<{
592
- optional: "optional";
593
- none: "none";
594
- required: "required";
595
- }>;
596
- actor: z.ZodEnum<{
597
- optional: "optional";
598
- none: "none";
599
- required: "required";
600
- }>;
601
- roles: z.ZodArray<z.ZodString>;
602
- credential_types: z.ZodArray<z.ZodString>;
603
- rate_limit: z.ZodNullable<z.ZodEnum<{
604
- account: "account";
605
- ip: "ip";
606
- both: "both";
607
- }>>;
608
- }, z.core.$strict>>;
609
- }, z.core.$strict>;
583
+ readonly output: import("@fuzdev/fuz_schema/schema.js").Schema<{
584
+ methods: {
585
+ input: "object" | "void";
586
+ account: "optional" | "none" | "required";
587
+ actor: "optional" | "none" | "required";
588
+ roles: string[];
589
+ credential_types: string[];
590
+ method: string;
591
+ side_effects: boolean;
592
+ rate_limit: "account" | "ip" | "both" | null;
593
+ }[];
594
+ }, {
595
+ methods: {
596
+ input: "object" | "void";
597
+ account: "optional" | "none" | "required";
598
+ actor: "optional" | "none" | "required";
599
+ roles: string[];
600
+ credential_types: string[];
601
+ method: string;
602
+ side_effects: boolean;
603
+ rate_limit: "account" | "ip" | "both" | null;
604
+ }[];
605
+ }, "object", {
606
+ methods: import("@fuzdev/fuz_schema/schema.js").Schema<{
607
+ input: "object" | "void";
608
+ account: "optional" | "none" | "required";
609
+ actor: "optional" | "none" | "required";
610
+ roles: string[];
611
+ credential_types: string[];
612
+ method: string;
613
+ side_effects: boolean;
614
+ rate_limit: "account" | "ip" | "both" | null;
615
+ }[], {
616
+ input: "object" | "void";
617
+ account: "optional" | "none" | "required";
618
+ actor: "optional" | "none" | "required";
619
+ roles: string[];
620
+ credential_types: string[];
621
+ method: string;
622
+ side_effects: boolean;
623
+ rate_limit: "account" | "ip" | "both" | null;
624
+ }[], "array", import("@fuzdev/fuz_schema/schema.js").Schema<{
625
+ input: "object" | "void";
626
+ account: "optional" | "none" | "required";
627
+ actor: "optional" | "none" | "required";
628
+ roles: string[];
629
+ credential_types: string[];
630
+ method: string;
631
+ side_effects: boolean;
632
+ rate_limit: "account" | "ip" | "both" | null;
633
+ }, {
634
+ input: "object" | "void";
635
+ account: "optional" | "none" | "required";
636
+ actor: "optional" | "none" | "required";
637
+ roles: string[];
638
+ credential_types: string[];
639
+ method: string;
640
+ side_effects: boolean;
641
+ rate_limit: "account" | "ip" | "both" | null;
642
+ }, "object", {
643
+ method: import("@fuzdev/fuz_schema/schema.js").Schema<string, string, "string", undefined>;
644
+ input: import("@fuzdev/fuz_schema/schema.js").Schema<"object" | "void", "object" | "void", "one_of", readonly ["void", "object"]>;
645
+ side_effects: import("@fuzdev/fuz_schema/schema.js").Schema<boolean, boolean, "boolean", undefined>;
646
+ account: import("@fuzdev/fuz_schema/schema.js").Schema<"optional" | "none" | "required", "optional" | "none" | "required", "one_of", readonly ["none", "optional", "required"]>;
647
+ actor: import("@fuzdev/fuz_schema/schema.js").Schema<"optional" | "none" | "required", "optional" | "none" | "required", "one_of", readonly ["none", "optional", "required"]>;
648
+ roles: import("@fuzdev/fuz_schema/schema.js").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.js").Schema<string, string, "string", undefined>>;
649
+ credential_types: import("@fuzdev/fuz_schema/schema.js").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.js").Schema<string, string, "string", undefined>>;
650
+ rate_limit: import("@fuzdev/fuz_schema/schema.js").Schema<"account" | "ip" | "both" | null, "account" | "ip" | "both" | null, "nullable", import("@fuzdev/fuz_schema/schema.js").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.js").Schema<"account" | "ip" | "both", "account" | "ip" | "both", "one_of", readonly ["ip", "account", "both"]>>>;
651
+ }>>;
652
+ }>;
610
653
  readonly async: true;
611
654
  readonly description: string;
612
655
  };
@@ -1 +1 @@
1
- {"version":3,"file":"testing_reset_actions.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/testing_reset_actions.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAO3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAsB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;CAYJ,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,uCAAuC,QAAO,SAGzD,CAAC;AAEH,0FAA0F;AAC1F,eAAO,MAAM,6CAA6C,IAAI,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,6CAA6C,KAAK,CAAC;AAShE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;CA2BZ,CAAC;AAE/C,2FAA2F;AAC3F,eAAO,MAAM,+CAA+C,QAAO,SAYhE,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaF,CAAC;AAkB/C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qCAAqC,GACjD,SAAS,aAAa,CAAC,SAAS,CAAC,KAC/B,SAMF,CAAC;AAEF,4CAA4C;AAC5C,MAAM,WAAW,2BAA2B;IAC3C;;;;;OAKG;IACH,QAAQ,CAAC,eAAe,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IACjD;;;;;;OAMG;IACH,QAAQ,CAAC,kBAAkB,EAAE,gBAAgB,CAAC;IAC9C;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CACxD;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,GAClC,MAAM,OAAO,EACb,SAAS,2BAA2B,KAClC,KAAK,CAAC,SAAS,CAwJjB,CAAC"}
1
+ {"version":3,"file":"testing_reset_actions.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/testing_reset_actions.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,kBAAkB,EAAE,gBAAgB,CAAC;IAC9C;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CACxD;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,GAClC,MAAM,OAAO,EACb,SAAS,2BAA2B,KAClC,KAAK,CAAC,SAAS,CAwJjB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import './assert_dev_env.js';
2
2
  import type { AppSurfaceSpec } from '../http/surface.js';
3
+ import { type RouteParamValues } from './schema_generators.js';
3
4
  import type { SetupTest } from './cross_backend/setup.js';
4
5
  /**
5
6
  * Recursively collect all property names from a JSON Schema.
@@ -63,6 +64,12 @@ export interface DataExposureTestOptions {
63
64
  * (`'/path method_name params'` for params the server pushes over WebSocket).
64
65
  */
65
66
  skip_routes?: Array<string>;
67
+ /**
68
+ * Path param values for specific routes (`'METHOD /path'` → param name →
69
+ * value), used before the generated ones — needed for a `{re}` param whose
70
+ * pattern refuses the generated value. See `RouteParamValues`.
71
+ */
72
+ param_values?: RouteParamValues;
66
73
  }
67
74
  /**
68
75
  * Composable data exposure test suite.
@@ -1 +1 @@
1
- {"version":3,"file":"data_exposure.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/testing/data_exposure.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAwB7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAsBzD,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,0BAA0B,CAAC;AAIvE;;;;;;;;GAQG;AACH,eAAO,MAAM,kCAAkC,GAAI,QAAQ,OAAO,KAAG,GAAG,CAAC,MAAM,CAmC9E,CAAC;AA0HF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,yCAAyC,GACrD,gBAAgB,cAAc,EAC9B,mBAAkB,aAA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AC,KACjC,IAOF,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wCAAwC,GACpD,gBAAgB,cAAc,EAC9B,oBAAmB,aAAa,CAAC,MAAM,CAA8B,EACrE,cAAc,aAAa,CAAC,MAAM,CAAC,KACjC,IAYF,CAAC;AAIF,kDAAkD;AAClD,MAAM,WAAW,uBAAuB;IACvC,kEAAkE;IAClE,UAAU,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B,2FAA2F;IAC3F,gBAAgB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACzC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC1C;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC;CAChC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B,GAAI,SAAS,uBAAuB,KAAG,IAiM/E,CAAC"}
@@ -19,6 +19,7 @@ import './assert_dev_env.js';
19
19
  * @module
20
20
  */
21
21
  import { describe, test, beforeAll, assert } from 'vitest';
22
+ import { format_route_key } from '../http/surface_query.js';
22
23
  import { ROLE_ADMIN, ROLE_KEEPER } from '../auth/role_schema.js';
23
24
  import { create_test_request_headers } from './test_origin.js';
24
25
  import { resolve_valid_path, generate_valid_body, to_route_content_type } from './schema_generators.js';
@@ -88,7 +89,7 @@ const collect_output_schema_entries = (surface_source) => {
88
89
  const entries = [];
89
90
  for (const r of surface_source.route_specs) {
90
91
  entries.push({
91
- key: `${r.method} ${r.path}`,
92
+ key: format_route_key(r),
92
93
  kind: 'route',
93
94
  schema: r.output,
94
95
  elevated: is_elevated_auth(r.auth)
@@ -253,10 +254,10 @@ export const describe_data_exposure_tests = (options) => {
253
254
  test('unauthenticated error responses contain no sensitive fields', async () => {
254
255
  const protected_specs = route_specs.filter((s) => !is_public_auth(s.auth));
255
256
  for (const spec of protected_specs) {
256
- const route_key = `${spec.method} ${spec.path}`;
257
+ const route_key = format_route_key(spec);
257
258
  if (skip_set.has(route_key))
258
259
  continue;
259
- const url = resolve_valid_path(spec.path, spec.params);
260
+ const url = resolve_valid_path(spec.path, spec.params, options.param_values?.[route_key]);
260
261
  const res = await fixture.transport(url, {
261
262
  method: spec.method,
262
263
  headers: create_test_request_headers({
@@ -282,10 +283,10 @@ export const describe_data_exposure_tests = (options) => {
282
283
  test('admin routes return 403 for non-admin user', async () => {
283
284
  const admin_specs = route_specs.filter((s) => s.auth.roles?.includes('admin') ?? false);
284
285
  for (const spec of admin_specs) {
285
- const route_key = `${spec.method} ${spec.path}`;
286
+ const route_key = format_route_key(spec);
286
287
  if (skip_set.has(route_key))
287
288
  continue;
288
- const url = resolve_valid_path(spec.path, spec.params);
289
+ const url = resolve_valid_path(spec.path, spec.params, options.param_values?.[route_key]);
289
290
  const res = await fixture.transport(url, {
290
291
  method: spec.method,
291
292
  headers: {
@@ -318,12 +319,12 @@ export const describe_data_exposure_tests = (options) => {
318
319
  return 0;
319
320
  });
320
321
  for (const spec of sorted_specs) {
321
- const route_key = `${spec.method} ${spec.path}`;
322
+ const route_key = format_route_key(spec);
322
323
  if (skip_set.has(route_key))
323
324
  continue;
324
325
  // keeper auth (daemon token) is strictly more privileged than admin
325
326
  const is_elevated = is_elevated_auth(spec.auth);
326
- const url = resolve_valid_path(spec.path, spec.params);
327
+ const url = resolve_valid_path(spec.path, spec.params, options.param_values?.[route_key]);
327
328
  const body = generate_valid_body(spec.input);
328
329
  const headers = pick_auth_headers(spec, fixture, authed_account, admin_account);
329
330
  const request_init = {
@@ -1,29 +1,13 @@
1
1
  import './assert_dev_env.js';
2
2
  import type { RouteSpec } from '../http/route_spec.js';
3
- import type { ValidationSchema } from '../schema_issues.js';
4
- /**
5
- * Extract declared error code values from an error response schema.
6
- *
7
- * Recognizes schemas shaped like `z.object({error: z.literal(...)})` or
8
- * `z.object({error: z.enum([...])})` (incl. `looseObject`/`strictObject`),
9
- * and the `@fuzdev/fuz_schema` forms `object({error: literal(...)})` or
10
- * `object({error: one_of([...])})` (any object kind, under any wrappers —
11
- * `get_schema_entries`; the `error` entry itself read as given, as the Zod
12
- * field is). Returns the set of declared code values, or `null` if the schema
13
- * doesn't expose a literal/enum `error` field (e.g., bare `ApiError` with
14
- * `z.string()`).
15
- *
16
- * Used by coverage reporting to split a single declared status into per-code
17
- * rows when the route's error schema names specific codes.
18
- */
19
- export declare const extract_declared_error_codes: (schema: ValidationSchema) => Array<string> | null;
20
- /** Uncovered entry — either a status-level row (no `code`) or a specific-code row. */
3
+ import { type RouteErrorMap } from '../http/route_errors.js';
4
+ /** Uncovered entry — a declared code at a status of a route, never observed. */
21
5
  export interface UncoveredEntry {
22
6
  method: string;
23
7
  path: string;
24
8
  status: number;
25
- /** Declared code value missing, when the status's error schema names specific codes. */
26
- code?: string;
9
+ /** The declared code missing. */
10
+ code: string;
27
11
  }
28
12
  /** Options controlling which routes/statuses are considered for coverage. */
29
13
  export interface CoverageFilterOptions {
@@ -36,66 +20,75 @@ export interface CoverageFilterOptions {
36
20
  * Tracks which route × status (and route × status × code) combinations have
37
21
  * been exercised in tests.
38
22
  *
39
- * Use `record()` to log an observed status (optionally with the body's `error`
40
- * code), or `assert_and_record()` to combine response validation with tracking
41
- * (auto-extracts `body.error` from the response when present).
23
+ * Use `record()` to log an observed status with the body's `error` code (`null`
24
+ * for none), or `assert_and_record()` to combine response validation with
25
+ * tracking (reads `body.error` from the response).
42
26
  * After all tests, call `uncovered()` to find declared error paths never
43
27
  * exercised.
44
28
  *
45
- * An observation recorded without a code still satisfies "any-code" coverage
46
- * requirements for the same status — i.e., if a caller records just the status,
47
- * all declared codes for that status are considered covered. Per-code tracking
48
- * is additive: callers who know the body's `error` value should pass it to get
49
- * precise per-code gap reporting on routes with literal/enum error schemas.
29
+ * An observation with a code covers exactly that (route, status, code): a
30
+ * `forbidden_origin` 403 leaves a declared `credential_type_required` 403
31
+ * uncovered. An observation recorded with a `null` code — a response that
32
+ * carries none — satisfies the "any-code" rule for its status: every code
33
+ * declared there counts as covered.
50
34
  */
51
35
  export declare class ErrorCoverageCollector {
52
36
  /**
53
- * Observed keys: `"METHOD /spec-path:STATUS"` or `"METHOD /spec-path:STATUS:CODE"`.
54
- *
55
- * Both shapes coexist — the code-less key marks the status as covered at any
56
- * code; a code-bearing key adds per-code precision.
37
+ * Each route's error map, keyed `METHOD path` (`AppSurfaceSpec.route_error_maps`),
38
+ * which the declared paths and the response checks read; without one, a
39
+ * route's own map without middleware.
40
+ */
41
+ readonly route_error_maps: ReadonlyMap<string, RouteErrorMap> | null;
42
+ /**
43
+ * @param route_error_maps - each route's error map, keyed `METHOD path` (`AppSurfaceSpec.route_error_maps`)
44
+ */
45
+ constructor(route_error_maps?: ReadonlyMap<string, RouteErrorMap> | null);
46
+ /**
47
+ * Observed keys: `"METHOD /spec-path:STATUS:CODE"` for an observation with a
48
+ * code, `"METHOD /spec-path:STATUS"` for one without, which covers every
49
+ * code declared at the status.
57
50
  */
58
51
  readonly observed: Set<string>;
59
52
  /**
60
- * Record an observed error status (optionally with the body's `error` code) for a route.
53
+ * Record an observed error status and its body's `error` code for a route.
61
54
  *
62
55
  * Resolves the concrete request path back to the spec template path
63
- * (e.g., `/api/accounts/abc` → `/api/accounts/:id`). When `code` is provided,
64
- * it is stored alongside the status for per-code coverage tracking.
56
+ * (e.g., `/api/accounts/abc` → `/api/accounts/:id`). A `code` covers that
57
+ * code alone; `null`, for a response that truly carries no code, covers
58
+ * every code declared at the status — so any-code coverage is asked for,
59
+ * never had by leaving the code out.
65
60
  *
66
61
  * @param path - request path (may be concrete)
67
- * @param code - observed body `error` code (pass when the route's error
68
- * schema declares specific codes via `z.literal` or `z.enum`)
69
- * @mutates `this.observed` - adds the resolved `"METHOD /spec-path:STATUS"`
70
- * key (and the `:CODE` variant when `code` is provided).
62
+ * @param code - the body's `error` code, or `null` when the response has none
63
+ * @mutates `this.observed` - adds `"METHOD /spec-path:STATUS:CODE"` for a
64
+ * code, `"METHOD /spec-path:STATUS"` for `null`.
71
65
  */
72
- record(route_specs: Array<RouteSpec>, method: string, path: string, status: number, code?: string): void;
66
+ record(route_specs: Array<RouteSpec>, method: string, path: string, status: number, code: string | null): void;
73
67
  /**
74
68
  * Validate a response against its route spec and record the status.
75
69
  *
76
- * Wraps `assert_response_matches_spec` and records the status code. For
77
- * error responses, auto-extracts `body.error` from the JSON body (via a
78
- * cloned response, so the original stream stays usable) and records it
79
- * for per-code coverage. Pass an explicit `code` to override the
80
- * auto-extracted value or when the body was already consumed.
70
+ * Wraps `assert_response_matches_spec` and records the status with the
71
+ * body's `error` code, read from a clone so the original stream stays
72
+ * usable; a body with no string `error` records `null`. Pass `code` when
73
+ * the body was already consumed.
81
74
  *
82
- * @param code - observed body `error` code (override; if omitted and the
83
- * response body is a JSON object with a string `error` field, that value
84
- * is auto-extracted)
75
+ * @param code - the body's `error` code, or `null` when it has none; read
76
+ * from the body when omitted
85
77
  * @mutates `this.observed` - via `record` after `assert_response_matches_spec`
86
78
  * succeeds.
87
79
  * @throws Error if the response body fails the route spec's declared
88
- * schemas (propagated from `assert_response_matches_spec`).
80
+ * schemas (propagated from `assert_response_matches_spec`), or if the
81
+ * body was consumed and no `code` was given.
89
82
  */
90
- assert_and_record(route_specs: Array<RouteSpec>, method: string, path: string, response: Response, code?: string): Promise<void>;
83
+ assert_and_record(route_specs: Array<RouteSpec>, method: string, path: string, response: Response, code?: string | null): Promise<void>;
91
84
  /**
92
85
  * Find declared error paths that were never observed.
93
86
  *
94
- * Computes the declared set from `merge_error_schemas` for each route spec.
95
- * For statuses whose error schema names specific codes (via `z.literal` or
96
- * `z.enum`), reports per-code rows; otherwise reports one row per status.
97
- * A status-only observation (no code) satisfies all declared codes for that
98
- * status — the "any-code" rule.
87
+ * Computes the declared set from each route's error map
88
+ * (`resolve_route_error_map`, `this.route_error_maps`): one row per declared code
89
+ * at each status. An observation with a code covers that row alone; a
90
+ * status-only observation (a `null` code) covers every row at its status — the
91
+ * "any-code" rule.
99
92
  */
100
93
  uncovered(route_specs: Array<RouteSpec>, options?: CoverageFilterOptions): Array<UncoveredEntry>;
101
94
  }
@@ -113,12 +106,11 @@ export interface ErrorCoverageOptions extends CoverageFilterOptions {
113
106
  /**
114
107
  * Assert error coverage meets a minimum threshold.
115
108
  *
116
- * Computes the ratio of exercised error paths to total declared error paths.
117
- * For routes whose status error schema names specific codes (`z.literal` or
118
- * `z.enum`), each declared code counts as one coverage path; for schemas
119
- * without declared codes (`ApiError`/`z.string()`), the status counts as one
120
- * path. A status-only observation covers all declared codes for that status
121
- * (the "any-code" rule).
109
+ * Computes the ratio of exercised error paths to total declared error paths,
110
+ * each declared code at each status of a route's error map
111
+ * (`collector.route_error_maps`) one path. An observation with a code covers
112
+ * that path alone; a status-only observation (a `null` code) covers every declared code at
113
+ * its status (the "any-code" rule).
122
114
  *
123
115
  * When `min_coverage` is 0 (default), logs coverage info without failing.
124
116
  * When > 0, fails if coverage is below the threshold.
@@ -1 +1 @@
1
- {"version":3,"file":"error_coverage.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/testing/error_coverage.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAoB7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4BAA4B,GAAI,QAAQ,gBAAgB,KAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAoBvF,CAAC;AAEF,sFAAsF;AACtF,MAAM,WAAW,cAAc;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,wFAAwF;IACxF,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AA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