@fuzdev/fuz_app 0.179.0 → 0.181.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 (358) hide show
  1. package/dist/actions/CLAUDE.md +14 -14
  2. package/dist/actions/action_rpc.d.ts +14 -5
  3. package/dist/actions/action_rpc.d.ts.map +1 -1
  4. package/dist/actions/action_rpc.js +53 -46
  5. package/dist/actions/action_types.d.ts +15 -12
  6. package/dist/actions/action_types.d.ts.map +1 -1
  7. package/dist/actions/perform_action.d.ts +4 -4
  8. package/dist/actions/perform_action.d.ts.map +1 -1
  9. package/dist/actions/perform_action.js +6 -6
  10. package/dist/actions/register_action_ws.d.ts +6 -2
  11. package/dist/actions/register_action_ws.d.ts.map +1 -1
  12. package/dist/actions/register_action_ws.js +14 -3
  13. package/dist/actions/ws_socket_session.js +1 -1
  14. package/dist/auth/CLAUDE.md +36 -30
  15. package/dist/auth/account_actions.d.ts.map +1 -1
  16. package/dist/auth/account_actions.js +18 -1
  17. package/dist/auth/account_queries.d.ts +69 -0
  18. package/dist/auth/account_queries.d.ts.map +1 -1
  19. package/dist/auth/account_queries.js +82 -0
  20. package/dist/auth/account_route_schema.d.ts +26 -16
  21. package/dist/auth/account_route_schema.d.ts.map +1 -1
  22. package/dist/auth/account_route_schema.js +10 -24
  23. package/dist/auth/account_routes.d.ts +4 -6
  24. package/dist/auth/account_routes.d.ts.map +1 -1
  25. package/dist/auth/account_routes.js +86 -66
  26. package/dist/auth/admin_actions.d.ts.map +1 -1
  27. package/dist/auth/admin_actions.js +63 -14
  28. package/dist/auth/api_token_queries.d.ts +16 -7
  29. package/dist/auth/api_token_queries.d.ts.map +1 -1
  30. package/dist/auth/api_token_queries.js +18 -18
  31. package/dist/auth/audit_log_route_schema.d.ts +1 -1
  32. package/dist/auth/audit_log_route_schema.d.ts.map +1 -1
  33. package/dist/auth/audit_log_routes.d.ts +1 -1
  34. package/dist/auth/audit_log_routes.d.ts.map +1 -1
  35. package/dist/auth/audit_log_routes.js +10 -12
  36. package/dist/auth/audit_log_schema.js +4 -4
  37. package/dist/auth/bearer_auth.d.ts +4 -3
  38. package/dist/auth/bearer_auth.d.ts.map +1 -1
  39. package/dist/auth/bearer_auth.js +35 -31
  40. package/dist/auth/bootstrap_account.d.ts +65 -37
  41. package/dist/auth/bootstrap_account.d.ts.map +1 -1
  42. package/dist/auth/bootstrap_account.js +115 -66
  43. package/dist/auth/bootstrap_route_schema.d.ts +6 -2
  44. package/dist/auth/bootstrap_route_schema.d.ts.map +1 -1
  45. package/dist/auth/bootstrap_route_schema.js +7 -2
  46. package/dist/auth/bootstrap_routes.d.ts +50 -33
  47. package/dist/auth/bootstrap_routes.d.ts.map +1 -1
  48. package/dist/auth/bootstrap_routes.js +109 -87
  49. package/dist/auth/bootstrap_token_store.d.ts +60 -0
  50. package/dist/auth/bootstrap_token_store.d.ts.map +1 -0
  51. package/dist/auth/bootstrap_token_store.js +39 -0
  52. package/dist/auth/credential_headers.d.ts +71 -0
  53. package/dist/auth/credential_headers.d.ts.map +1 -0
  54. package/dist/auth/credential_headers.js +100 -0
  55. package/dist/auth/daemon_token.d.ts +13 -1
  56. package/dist/auth/daemon_token.d.ts.map +1 -1
  57. package/dist/auth/daemon_token.js +14 -2
  58. package/dist/auth/daemon_token_middleware.d.ts +10 -11
  59. package/dist/auth/daemon_token_middleware.d.ts.map +1 -1
  60. package/dist/auth/daemon_token_middleware.js +27 -29
  61. package/dist/auth/deps.d.ts +0 -11
  62. package/dist/auth/deps.d.ts.map +1 -1
  63. package/dist/auth/invite_queries.d.ts +18 -0
  64. package/dist/auth/invite_queries.d.ts.map +1 -1
  65. package/dist/auth/invite_queries.js +24 -0
  66. package/dist/auth/request_context.d.ts +26 -5
  67. package/dist/auth/request_context.d.ts.map +1 -1
  68. package/dist/auth/request_context.js +17 -10
  69. package/dist/auth/role_grant_offer_action_specs.d.ts +1 -1
  70. package/dist/auth/role_grant_offer_action_specs.d.ts.map +1 -1
  71. package/dist/auth/role_grant_offer_action_specs.js +3 -2
  72. package/dist/auth/role_grant_offer_actions.d.ts.map +1 -1
  73. package/dist/auth/role_grant_offer_actions.js +37 -14
  74. package/dist/auth/role_grant_offer_ddl.d.ts +7 -1
  75. package/dist/auth/role_grant_offer_ddl.d.ts.map +1 -1
  76. package/dist/auth/role_grant_offer_ddl.js +9 -2
  77. package/dist/auth/role_grant_offer_queries.d.ts +56 -3
  78. package/dist/auth/role_grant_offer_queries.d.ts.map +1 -1
  79. package/dist/auth/role_grant_offer_queries.js +93 -8
  80. package/dist/auth/role_grant_queries.d.ts +7 -0
  81. package/dist/auth/role_grant_queries.d.ts.map +1 -1
  82. package/dist/auth/role_grant_queries.js +8 -0
  83. package/dist/auth/session_cookie.d.ts +105 -25
  84. package/dist/auth/session_cookie.d.ts.map +1 -1
  85. package/dist/auth/session_cookie.js +124 -15
  86. package/dist/auth/session_middleware.d.ts +83 -54
  87. package/dist/auth/session_middleware.d.ts.map +1 -1
  88. package/dist/auth/session_middleware.js +92 -66
  89. package/dist/auth/session_queries.d.ts +64 -4
  90. package/dist/auth/session_queries.d.ts.map +1 -1
  91. package/dist/auth/session_queries.js +53 -4
  92. package/dist/auth/signup_route_schema.d.ts +5 -5
  93. package/dist/auth/signup_route_schema.d.ts.map +1 -1
  94. package/dist/auth/signup_route_schema.js +4 -4
  95. package/dist/auth/signup_routes.d.ts.map +1 -1
  96. package/dist/auth/signup_routes.js +17 -14
  97. package/dist/auth/token_scope.d.ts +5 -7
  98. package/dist/auth/token_scope.d.ts.map +1 -1
  99. package/dist/auth/token_scope.js +5 -8
  100. package/dist/dev/setup.d.ts +6 -1
  101. package/dist/dev/setup.d.ts.map +1 -1
  102. package/dist/dev/setup.js +42 -34
  103. package/dist/hono_context.d.ts +21 -0
  104. package/dist/hono_context.d.ts.map +1 -1
  105. package/dist/hono_context.js +17 -0
  106. package/dist/http/CLAUDE.md +150 -43
  107. package/dist/http/auth_shape.d.ts +3 -3
  108. package/dist/http/common_routes.js +1 -1
  109. package/dist/http/db_routes.d.ts +4 -3
  110. package/dist/http/db_routes.d.ts.map +1 -1
  111. package/dist/http/db_routes.js +14 -14
  112. package/dist/http/dev_route_error_check.d.ts +6 -3
  113. package/dist/http/dev_route_error_check.d.ts.map +1 -1
  114. package/dist/http/dev_route_error_check.js +6 -3
  115. package/dist/http/dev_set_cookie_check.d.ts +53 -0
  116. package/dist/http/dev_set_cookie_check.d.ts.map +1 -0
  117. package/dist/http/dev_set_cookie_check.js +80 -0
  118. package/dist/http/error_schemas.d.ts +36 -1
  119. package/dist/http/error_schemas.d.ts.map +1 -1
  120. package/dist/http/error_schemas.js +39 -2
  121. package/dist/http/header_lines.d.ts +42 -0
  122. package/dist/http/header_lines.d.ts.map +1 -0
  123. package/dist/http/header_lines.js +80 -0
  124. package/dist/http/host.d.ts +12 -9
  125. package/dist/http/host.d.ts.map +1 -1
  126. package/dist/http/host.js +25 -20
  127. package/dist/http/origin.d.ts +7 -22
  128. package/dist/http/origin.d.ts.map +1 -1
  129. package/dist/http/origin.js +11 -25
  130. package/dist/http/proxy.d.ts +1 -0
  131. package/dist/http/proxy.d.ts.map +1 -1
  132. package/dist/http/proxy.js +3 -0
  133. package/dist/http/request_headers.d.ts +95 -0
  134. package/dist/http/request_headers.d.ts.map +1 -0
  135. package/dist/http/request_headers.js +110 -0
  136. package/dist/http/request_target.d.ts +134 -0
  137. package/dist/http/request_target.d.ts.map +1 -0
  138. package/dist/http/request_target.js +193 -0
  139. package/dist/http/route_error_check.d.ts +4 -11
  140. package/dist/http/route_error_check.d.ts.map +1 -1
  141. package/dist/http/route_error_check.js +4 -21
  142. package/dist/http/route_result.d.ts +127 -23
  143. package/dist/http/route_result.d.ts.map +1 -1
  144. package/dist/http/route_result.js +97 -19
  145. package/dist/http/route_spec.d.ts +298 -82
  146. package/dist/http/route_spec.d.ts.map +1 -1
  147. package/dist/http/route_spec.js +548 -71
  148. package/dist/http/simple_request.d.ts +19 -14
  149. package/dist/http/simple_request.d.ts.map +1 -1
  150. package/dist/http/simple_request.js +17 -29
  151. package/dist/http/surface.d.ts +2 -0
  152. package/dist/http/surface.d.ts.map +1 -1
  153. package/dist/http/surface.js +4 -1
  154. package/dist/realtime/outbound_budget.d.ts +1 -2
  155. package/dist/realtime/outbound_budget.d.ts.map +1 -1
  156. package/dist/realtime/outbound_budget.js +1 -2
  157. package/dist/realtime/sse.d.ts +47 -17
  158. package/dist/realtime/sse.d.ts.map +1 -1
  159. package/dist/realtime/sse.js +115 -93
  160. package/dist/realtime/sse_constants.d.ts +7 -1
  161. package/dist/realtime/sse_constants.d.ts.map +1 -1
  162. package/dist/realtime/sse_constants.js +12 -1
  163. package/dist/realtime/sse_registry.d.ts +3 -3
  164. package/dist/realtime/sse_registry.js +3 -3
  165. package/dist/runtime/deps.d.ts +20 -4
  166. package/dist/runtime/deps.d.ts.map +1 -1
  167. package/dist/runtime/mock.d.ts +7 -1
  168. package/dist/runtime/mock.d.ts.map +1 -1
  169. package/dist/runtime/mock.js +33 -3
  170. package/dist/runtime/node.d.ts.map +1 -1
  171. package/dist/runtime/node.js +2 -1
  172. package/dist/runtime/secure_file.d.ts +71 -10
  173. package/dist/runtime/secure_file.d.ts.map +1 -1
  174. package/dist/runtime/secure_file.js +91 -11
  175. package/dist/server/app_backend.d.ts +0 -8
  176. package/dist/server/app_backend.d.ts.map +1 -1
  177. package/dist/server/app_backend.js +1 -3
  178. package/dist/server/app_server.d.ts +28 -17
  179. package/dist/server/app_server.d.ts.map +1 -1
  180. package/dist/server/app_server.js +52 -34
  181. package/dist/server/serve_fact_route.d.ts.map +1 -1
  182. package/dist/server/serve_fact_route.js +49 -45
  183. package/dist/server/static.d.ts +20 -0
  184. package/dist/server/static.d.ts.map +1 -1
  185. package/dist/server/static.js +56 -8
  186. package/dist/server/unmatched_route.d.ts +42 -0
  187. package/dist/server/unmatched_route.d.ts.map +1 -0
  188. package/dist/server/unmatched_route.js +64 -0
  189. package/dist/testing/CLAUDE.md +404 -1200
  190. package/dist/testing/app_server.d.ts +3 -1
  191. package/dist/testing/app_server.d.ts.map +1 -1
  192. package/dist/testing/app_server.js +4 -10
  193. package/dist/testing/auth_apps.d.ts.map +1 -1
  194. package/dist/testing/auth_apps.js +2 -1
  195. package/dist/testing/cross_backend/account_lifecycle.d.ts +11 -4
  196. package/dist/testing/cross_backend/account_lifecycle.d.ts.map +1 -1
  197. package/dist/testing/cross_backend/account_lifecycle.js +277 -6
  198. package/dist/testing/cross_backend/build_test_backend_paths.d.ts +4 -1
  199. package/dist/testing/cross_backend/build_test_backend_paths.d.ts.map +1 -1
  200. package/dist/testing/cross_backend/build_test_backend_paths.js +1 -1
  201. package/dist/testing/cross_backend/capabilities.d.ts +68 -5
  202. package/dist/testing/cross_backend/capabilities.d.ts.map +1 -1
  203. package/dist/testing/cross_backend/capabilities.js +20 -4
  204. package/dist/testing/cross_backend/cell_gated_create.js +1 -1
  205. package/dist/testing/cross_backend/conformance_case.d.ts +63 -21
  206. package/dist/testing/cross_backend/conformance_case.d.ts.map +1 -1
  207. package/dist/testing/cross_backend/conformance_table.d.ts +54 -12
  208. package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
  209. package/dist/testing/cross_backend/conformance_table.js +179 -23
  210. package/dist/testing/cross_backend/cookie_attributes.js +1 -1
  211. package/dist/testing/cross_backend/create_dual_spawn_global_setup.d.ts +7 -1
  212. package/dist/testing/cross_backend/create_dual_spawn_global_setup.d.ts.map +1 -1
  213. package/dist/testing/cross_backend/create_dual_spawn_global_setup.js +3 -3
  214. package/dist/testing/cross_backend/credential_conformance.d.ts +196 -0
  215. package/dist/testing/cross_backend/credential_conformance.d.ts.map +1 -0
  216. package/dist/testing/cross_backend/credential_conformance.js +296 -0
  217. package/dist/testing/cross_backend/credential_conformance.json +1284 -0
  218. package/dist/testing/cross_backend/credential_conformance_wire.d.ts +40 -0
  219. package/dist/testing/cross_backend/credential_conformance_wire.d.ts.map +1 -0
  220. package/dist/testing/cross_backend/credential_conformance_wire.js +293 -0
  221. package/dist/testing/cross_backend/credential_header_robustness.d.ts +1 -3
  222. package/dist/testing/cross_backend/credential_header_robustness.d.ts.map +1 -1
  223. package/dist/testing/cross_backend/credential_header_robustness.js +24 -55
  224. package/dist/testing/cross_backend/credential_wire.d.ts +112 -0
  225. package/dist/testing/cross_backend/credential_wire.d.ts.map +1 -0
  226. package/dist/testing/cross_backend/credential_wire.js +188 -0
  227. package/dist/testing/cross_backend/default_backend_configs.d.ts.map +1 -1
  228. package/dist/testing/cross_backend/default_backend_configs.js +22 -2
  229. package/dist/testing/cross_backend/default_spine_surface.js +1 -1
  230. package/dist/testing/cross_backend/differential.d.ts +1 -1
  231. package/dist/testing/cross_backend/differential.d.ts.map +1 -1
  232. package/dist/testing/cross_backend/differential.js +3 -2
  233. package/dist/testing/cross_backend/differential_normalize.d.ts +23 -6
  234. package/dist/testing/cross_backend/differential_normalize.d.ts.map +1 -1
  235. package/dist/testing/cross_backend/differential_normalize.js +11 -5
  236. package/dist/testing/cross_backend/full_spine_mount.d.ts +1 -0
  237. package/dist/testing/cross_backend/full_spine_mount.d.ts.map +1 -1
  238. package/dist/testing/cross_backend/full_spine_mount.js +7 -0
  239. package/dist/testing/cross_backend/identity_parity.d.ts.map +1 -1
  240. package/dist/testing/cross_backend/identity_parity.js +4 -0
  241. package/dist/testing/cross_backend/in_process_setup.d.ts.map +1 -1
  242. package/dist/testing/cross_backend/in_process_setup.js +78 -4
  243. package/dist/testing/cross_backend/login_security.d.ts.map +1 -1
  244. package/dist/testing/cross_backend/login_security.js +13 -10
  245. package/dist/testing/cross_backend/peer_ping_ws.d.ts +1 -1
  246. package/dist/testing/cross_backend/peer_ping_ws.js +2 -2
  247. package/dist/testing/cross_backend/request_header_conformance.d.ts +174 -0
  248. package/dist/testing/cross_backend/request_header_conformance.d.ts.map +1 -0
  249. package/dist/testing/cross_backend/request_header_conformance.js +196 -0
  250. package/dist/testing/cross_backend/request_header_conformance.json +1158 -0
  251. package/dist/testing/cross_backend/request_header_conformance_wire.d.ts +39 -0
  252. package/dist/testing/cross_backend/request_header_conformance_wire.d.ts.map +1 -0
  253. package/dist/testing/cross_backend/request_header_conformance_wire.js +284 -0
  254. package/dist/testing/cross_backend/request_target_conformance.d.ts +298 -0
  255. package/dist/testing/cross_backend/request_target_conformance.d.ts.map +1 -0
  256. package/dist/testing/cross_backend/request_target_conformance.js +186 -0
  257. package/dist/testing/cross_backend/request_target_conformance.json +3765 -0
  258. package/dist/testing/cross_backend/request_target_conformance_wire.d.ts +32 -0
  259. package/dist/testing/cross_backend/request_target_conformance_wire.d.ts.map +1 -0
  260. package/dist/testing/cross_backend/request_target_conformance_wire.js +278 -0
  261. package/dist/testing/cross_backend/role_grant_offer_lifecycle.d.ts.map +1 -1
  262. package/dist/testing/cross_backend/role_grant_offer_lifecycle.js +173 -1
  263. package/dist/testing/cross_backend/role_grant_offer_notification_ws.d.ts.map +1 -1
  264. package/dist/testing/cross_backend/role_grant_offer_notification_ws.js +2 -1
  265. package/dist/testing/cross_backend/rpc_adversarial.d.ts +6 -4
  266. package/dist/testing/cross_backend/rpc_adversarial.d.ts.map +1 -1
  267. package/dist/testing/cross_backend/rpc_adversarial.js +5 -2
  268. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts +6 -7
  269. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
  270. package/dist/testing/cross_backend/rust_spine_consumer_surface.js +4 -5
  271. package/dist/testing/cross_backend/session_cap.d.ts.map +1 -1
  272. package/dist/testing/cross_backend/session_cap.js +56 -29
  273. package/dist/testing/cross_backend/session_cookie_effect.d.ts +43 -0
  274. package/dist/testing/cross_backend/session_cookie_effect.d.ts.map +1 -0
  275. package/dist/testing/cross_backend/session_cookie_effect.js +103 -0
  276. package/dist/testing/cross_backend/session_login.d.ts +24 -0
  277. package/dist/testing/cross_backend/session_login.d.ts.map +1 -0
  278. package/dist/testing/cross_backend/session_login.js +31 -0
  279. package/dist/testing/cross_backend/setup.d.ts +117 -0
  280. package/dist/testing/cross_backend/setup.d.ts.map +1 -1
  281. package/dist/testing/cross_backend/setup.js +193 -9
  282. package/dist/testing/cross_backend/simple_request.d.ts.map +1 -1
  283. package/dist/testing/cross_backend/simple_request.js +5 -0
  284. package/dist/testing/cross_backend/spine_suites.d.ts +9 -1
  285. package/dist/testing/cross_backend/spine_suites.d.ts.map +1 -1
  286. package/dist/testing/cross_backend/spine_suites.js +88 -5
  287. package/dist/testing/cross_backend/spine_surface_constants.d.ts +1 -1
  288. package/dist/testing/cross_backend/spine_surface_constants.d.ts.map +1 -1
  289. package/dist/testing/cross_backend/spine_surface_constants.js +1 -0
  290. package/dist/testing/cross_backend/sse_round_trip.d.ts +8 -5
  291. package/dist/testing/cross_backend/sse_round_trip.d.ts.map +1 -1
  292. package/dist/testing/cross_backend/sse_round_trip.js +205 -64
  293. package/dist/testing/cross_backend/testing_backdoor.d.ts.map +1 -1
  294. package/dist/testing/cross_backend/testing_backdoor.js +5 -2
  295. package/dist/testing/cross_backend/testing_credential_read.d.ts +165 -0
  296. package/dist/testing/cross_backend/testing_credential_read.d.ts.map +1 -0
  297. package/dist/testing/cross_backend/testing_credential_read.js +175 -0
  298. package/dist/testing/cross_backend/testing_reset_actions.d.ts +19 -0
  299. package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
  300. package/dist/testing/cross_backend/testing_reset_actions.js +22 -6
  301. package/dist/testing/cross_backend/token_lifetime.d.ts.map +1 -1
  302. package/dist/testing/cross_backend/token_lifetime.js +58 -2
  303. package/dist/testing/cross_backend/transport_composition.d.ts +2 -4
  304. package/dist/testing/cross_backend/transport_composition.d.ts.map +1 -1
  305. package/dist/testing/cross_backend/transport_composition.js +13 -10
  306. package/dist/testing/cross_backend/ts_spine_backend_config.d.ts.map +1 -1
  307. package/dist/testing/cross_backend/ts_spine_backend_config.js +5 -3
  308. package/dist/testing/cross_backend/ws_endpoint.d.ts +11 -1
  309. package/dist/testing/cross_backend/ws_endpoint.d.ts.map +1 -1
  310. package/dist/testing/cross_backend/ws_endpoint.js +19 -2
  311. package/dist/testing/cross_backend/ws_role_gated.d.ts.map +1 -1
  312. package/dist/testing/cross_backend/ws_role_gated.js +2 -3
  313. package/dist/testing/cross_backend/ws_round_trip.d.ts.map +1 -1
  314. package/dist/testing/cross_backend/ws_round_trip.js +28 -12
  315. package/dist/testing/cross_backend/xfail.d.ts +44 -11
  316. package/dist/testing/cross_backend/xfail.d.ts.map +1 -1
  317. package/dist/testing/cross_backend/xfail.js +68 -23
  318. package/dist/testing/data_exposure.d.ts.map +1 -1
  319. package/dist/testing/data_exposure.js +4 -3
  320. package/dist/testing/integration.d.ts +1 -2
  321. package/dist/testing/integration.d.ts.map +1 -1
  322. package/dist/testing/integration.js +14 -8
  323. package/dist/testing/integration_helpers.d.ts +50 -3
  324. package/dist/testing/integration_helpers.d.ts.map +1 -1
  325. package/dist/testing/integration_helpers.js +87 -9
  326. package/dist/testing/middleware.d.ts +2 -0
  327. package/dist/testing/middleware.d.ts.map +1 -1
  328. package/dist/testing/middleware.js +9 -2
  329. package/dist/testing/round_trip.d.ts +6 -2
  330. package/dist/testing/round_trip.d.ts.map +1 -1
  331. package/dist/testing/round_trip.js +17 -6
  332. package/dist/testing/rpc_envelope_cases.d.ts.map +1 -1
  333. package/dist/testing/rpc_envelope_cases.js +7 -0
  334. package/dist/testing/rpc_helpers.d.ts +4 -2
  335. package/dist/testing/rpc_helpers.d.ts.map +1 -1
  336. package/dist/testing/rpc_helpers.js +6 -1
  337. package/dist/testing/rpc_round_trip.d.ts +13 -2
  338. package/dist/testing/rpc_round_trip.d.ts.map +1 -1
  339. package/dist/testing/rpc_round_trip.js +25 -6
  340. package/dist/testing/schema_generators.d.ts +2 -2
  341. package/dist/testing/schema_generators.d.ts.map +1 -1
  342. package/dist/testing/schema_generators.js +4 -4
  343. package/dist/testing/stubs.d.ts +2 -2
  344. package/dist/testing/stubs.d.ts.map +1 -1
  345. package/dist/testing/stubs.js +8 -8
  346. package/dist/testing/transports/fetch_transport.d.ts +6 -3
  347. package/dist/testing/transports/fetch_transport.d.ts.map +1 -1
  348. package/dist/testing/transports/fetch_transport.js +31 -19
  349. package/dist/testing/transports/raw_http.d.ts +61 -1
  350. package/dist/testing/transports/raw_http.d.ts.map +1 -1
  351. package/dist/testing/transports/raw_http.js +61 -1
  352. package/dist/testing/transports/ws_raw_client.d.ts +20 -0
  353. package/dist/testing/transports/ws_raw_client.d.ts.map +1 -1
  354. package/dist/testing/transports/ws_raw_client.js +10 -4
  355. package/dist/testing/transports/ws_transport.d.ts +21 -1
  356. package/dist/testing/transports/ws_transport.d.ts.map +1 -1
  357. package/dist/testing/transports/ws_transport.js +58 -20
  358. package/package.json +5 -5
@@ -0,0 +1,39 @@
1
+ import '../assert_dev_env.js';
2
+ import { type BackendCapabilities } from './capabilities.js';
3
+ import type { SetupTest } from './setup.js';
4
+ /** The `{foreign_host}` the wire leg sends — a name no backend answers to. */
5
+ export declare const REQUEST_HEADER_WIRE_FOREIGN_HOST = "rebind.example";
6
+ /** The `{foreign_origin}` the wire leg sends — an origin no backend allows. */
7
+ export declare const REQUEST_HEADER_WIRE_FOREIGN_ORIGIN = "https://evil.example";
8
+ /** Options for `describe_request_header_conformance_wire_cross_tests`. */
9
+ export interface RequestHeaderConformanceWireCrossTestOptions {
10
+ /**
11
+ * Per-test fixture producer (cross-process), seeding the accounts of
12
+ * `create_credential_wire_seed` and no `extra_actors`.
13
+ */
14
+ readonly setup_test: SetupTest;
15
+ /**
16
+ * `ws` gates the upgrade leg, `ws_account_actions` its `account_verify`
17
+ * frame on each accepted socket, `ws_refusal_body` whether a refused
18
+ * upgrade's code is read, `ws_upgrade_runtime_refusals` the rows that
19
+ * expect the runtime's own refusal, and `host_gate` the rows the host gate
20
+ * refuses.
21
+ */
22
+ readonly capabilities: BackendCapabilities;
23
+ /** Base URL the spawned backend is reachable at (e.g. `http://localhost:1178`). */
24
+ readonly base_url: string;
25
+ /** The spine's session cookie name (`handle.config.cookie_name`). */
26
+ readonly cookie_name: string;
27
+ /** A valid daemon token (keeper) — `handle.daemon_token`. */
28
+ readonly daemon_token: string;
29
+ /** An origin the backend's allowlist admits. Default the origin of `base_url`. */
30
+ readonly origin?: string;
31
+ /** JSON-RPC endpoint path. Default `SPINE_RPC_PATH`. */
32
+ readonly rpc_path?: string;
33
+ /** WebSocket endpoint path. Default `SPINE_WS_PATH`. */
34
+ readonly ws_path?: string;
35
+ /** REST login route path. Default `SPINE_ACCOUNT_LOGIN_PATH`. */
36
+ readonly login_path?: string;
37
+ }
38
+ export declare const describe_request_header_conformance_wire_cross_tests: (options: RequestHeaderConformanceWireCrossTestOptions) => void;
39
+ //# sourceMappingURL=request_header_conformance_wire.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request_header_conformance_wire.d.ts","sourceRoot":"","sources":["../../../src/lib/testing/cross_backend/request_header_conformance_wire.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAkE9B,OAAO,EAAW,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAmBtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,8EAA8E;AAC9E,eAAO,MAAM,gCAAgC,mBAAmB,CAAC;AAEjE,+EAA+E;AAC/E,eAAO,MAAM,kCAAkC,yBAAyB,CAAC;AAEzE,0EAA0E;AAC1E,MAAM,WAAW,4CAA4C;IAC5D;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC;IAC/B;;;;;;OAMG;IACH,QAAQ,CAAC,YAAY,EAAE,mBAAmB,CAAC;IAC3C,mFAAmF;IACnF,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,6DAA6D;IAC7D,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,kFAAkF;IAClF,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,wDAAwD;IACxD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,wDAAwD;IACxD,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC7B;AAmCD,eAAO,MAAM,oDAAoD,GAChE,SAAS,4CAA4C,KACnD,IAgQF,CAAC"}
@@ -0,0 +1,284 @@
1
+ import '../assert_dev_env.js';
2
+ /**
3
+ * The request header conformance table over raw sockets: each wire row's
4
+ * header lines sent to the live backend as they are written, and the real
5
+ * outcome asserted — which gate refused the request, with which code, or which
6
+ * credential authenticated it.
7
+ *
8
+ * Where the unit legs read the lines with each spine's readers, this sends
9
+ * them: the runtime's HTTP parser, its view of repeated and empty lines (on
10
+ * `@hono/node-server` a WebSocket upgrade's `Headers` are rebuilt from Node's
11
+ * deduplicated view), and the whole middleware chain sit between the bytes
12
+ * and the answer. It is what proves the gates read the lines the client sent
13
+ * on every runtime and on every path, the upgrade included. It needs no
14
+ * backdoor.
15
+ *
16
+ * Every wire row is sent:
17
+ *
18
+ * - as an RPC `POST` of `account_verify` — `post`: the refusal's status and
19
+ * code, or the credential the answering account names (`null` for a 401);
20
+ * - when the row carries a `Content-Type` line, also as a `POST` to the login
21
+ * route with a wrong password — the second site that checks a JSON body's
22
+ * content type: the same refusal, or the route's own 401;
23
+ * - as a WebSocket upgrade (`capabilities.ws`) — `upgrade`: the refusal's
24
+ * status (and its code where the runtime sends a refusal's body,
25
+ * `capabilities.ws_refusal_body`), a 401 for no credential, or a `101` whose
26
+ * socket answers `account_verify` as the credential named
27
+ * (`capabilities.ws_account_actions`; without it the `101` alone). A row
28
+ * naming an `upgrade_runtime_refusal` the backend declares
29
+ * (`capabilities.ws_upgrade_runtime_refusals`) instead expects that
30
+ * runtime's answer: a 400 before the app runs, never a `101`.
31
+ *
32
+ * The leg adds a `Host` naming the server to a row with no `Host` line, and
33
+ * `Content-Type: application/json` to the `POST`s of a row with no
34
+ * `Content-Type` line. The accounts are `credential_wire.ts`'s.
35
+ *
36
+ * **What it needs of a backend**: what `credential_conformance_wire.ts`
37
+ * needs — `account_verify` on `rpc_path` and on the socket, the login route,
38
+ * the seeded accounts, no `extra_actors` — and an allowlist admitting
39
+ * `origin` (default the origin of `base_url`) and refusing
40
+ * `REQUEST_HEADER_WIRE_FOREIGN_ORIGIN`. The rows the table expects the host
41
+ * gate to refuse run where `capabilities.host_gate` says the gate is on, and
42
+ * the gate must refuse `REQUEST_HEADER_WIRE_FOREIGN_HOST`; a backend with the
43
+ * gate off declares `false`, and those rows show as skipped tests.
44
+ *
45
+ * Raw-socket by necessity, so **cross-process only**.
46
+ *
47
+ * @module
48
+ */
49
+ import { assert, describe } from 'vitest';
50
+ import { ERROR_FORBIDDEN_HOST, ERROR_FORBIDDEN_ORIGIN, ERROR_UNSUPPORTED_CONTENT_TYPE } from '../../http/error_schemas.js';
51
+ import { raw_http_error_code, raw_http_exchange, raw_http_parse_response, raw_http_request, RAW_HTTP_READ_TIMEOUT_MS } from '../transports/raw_http.js';
52
+ import { connect_raw_ws } from '../transports/ws_raw_client.js';
53
+ import { test_if } from './capabilities.js';
54
+ import { CREDENTIAL_SESSION_ACCOUNT_USERNAME, credential_of_verify_response, format_authenticated_credential, read_credential_wire_accounts, send_raw_upgrade, send_raw_verify, verify_socket_credential } from './credential_wire.js';
55
+ import { fill_request_header_conformance_placeholders, load_request_header_conformance, request_header_values } from './request_header_conformance.js';
56
+ import { SPINE_ACCOUNT_LOGIN_PATH, SPINE_RPC_PATH, SPINE_WS_PATH } from './spine_surface_constants.js';
57
+ /** The `{foreign_host}` the wire leg sends — a name no backend answers to. */
58
+ export const REQUEST_HEADER_WIRE_FOREIGN_HOST = 'rebind.example';
59
+ /** The `{foreign_origin}` the wire leg sends — an origin no backend allows. */
60
+ export const REQUEST_HEADER_WIRE_FOREIGN_ORIGIN = 'https://evil.example';
61
+ /** The suite's name, in a throw naming a missing requirement. */
62
+ const SUITE = 'describe_request_header_conformance_wire_cross_tests';
63
+ /** The status each refusal code answers with. */
64
+ const REFUSAL_STATUS = {
65
+ [ERROR_FORBIDDEN_HOST]: 403,
66
+ [ERROR_FORBIDDEN_ORIGIN]: 403,
67
+ [ERROR_UNSUPPORTED_CONTENT_TYPE]: 415
68
+ };
69
+ /** The status `@hono/node-server` answers an upgrade it can't build a URL for, before the app runs. */
70
+ const RUNTIME_REFUSAL_STATUS = 400;
71
+ const format_outcome = (outcome) => 'refused' in outcome ? `refused ${outcome.refused}` : String(outcome.authenticates);
72
+ /** Whether the table expects the host gate to refuse `outcome`. */
73
+ const is_host_gate_refusal = (outcome) => 'refused' in outcome && outcome.refused === ERROR_FORBIDDEN_HOST;
74
+ export const describe_request_header_conformance_wire_cross_tests = (options) => {
75
+ const { setup_test, capabilities, base_url, cookie_name, daemon_token } = options;
76
+ const rpc_path = options.rpc_path ?? SPINE_RPC_PATH;
77
+ const ws_path = options.ws_path ?? SPINE_WS_PATH;
78
+ const login_path = options.login_path ?? SPINE_ACCOUNT_LOGIN_PATH;
79
+ const url = new URL(base_url);
80
+ const host = url.host;
81
+ const origin = options.origin ?? url.origin;
82
+ const table = load_request_header_conformance();
83
+ /** The table's wire rows, filled with this fixture's live credentials. */
84
+ const wire_checks = (accounts) => {
85
+ const placeholders = {
86
+ cookie_name,
87
+ session_cookie: accounts.session.session_cookie,
88
+ api_token: accounts.bearer.api_token,
89
+ daemon_token,
90
+ host,
91
+ foreign_host: REQUEST_HEADER_WIRE_FOREIGN_HOST,
92
+ origin,
93
+ foreign_origin: REQUEST_HEADER_WIRE_FOREIGN_ORIGIN
94
+ };
95
+ const checks = [];
96
+ for (const row of table.rows) {
97
+ if (row.post === undefined || row.upgrade === undefined)
98
+ continue;
99
+ const lines = row.lines.map((line) => fill_request_header_conformance_placeholders(line, placeholders));
100
+ checks.push({
101
+ row,
102
+ post: row.post,
103
+ upgrade: row.upgrade,
104
+ lines,
105
+ has_host: request_header_values(lines, 'host').length > 0,
106
+ has_content_type: request_header_values(lines, 'content-type').length > 0
107
+ });
108
+ }
109
+ return checks;
110
+ };
111
+ /** The lines a `POST` of `check` carries: the default content type when the row has none. */
112
+ const post_lines = (check) => check.has_content_type ? check.lines : ['Content-Type: application/json', ...check.lines];
113
+ /**
114
+ * A refusal response against its expected code: the status, and the code
115
+ * when the body is there to read it.
116
+ *
117
+ * @param body_optional - the runtime may drop the body (a Node upgrade refusal)
118
+ */
119
+ const check_refusal = (response, code, body_optional) => {
120
+ const status = REFUSAL_STATUS[code];
121
+ if (response.status !== status) {
122
+ return [`expected ${status} ${code}, got ${response.status} (${response.body.slice(0, 80)})`];
123
+ }
124
+ if (body_optional && response.body === '')
125
+ return [];
126
+ const got = raw_http_error_code(response);
127
+ return got === code ? [] : [`expected the code ${code}, got ${String(got)}`];
128
+ };
129
+ /** Send one row as an RPC `POST`. */
130
+ const check_post = async (check, accounts) => {
131
+ const { received, response } = await send_raw_verify({
132
+ base_url,
133
+ rpc_path,
134
+ host: check.has_host ? null : host,
135
+ header_lines: post_lines(check)
136
+ });
137
+ if (!response)
138
+ return [`no whole response (${received.slice(0, 80)})`];
139
+ if ('refused' in check.post)
140
+ return check_refusal(response, check.post.refused, false);
141
+ const credential = credential_of_verify_response(response, accounts, rpc_path, SUITE);
142
+ return credential === check.post.authenticates
143
+ ? []
144
+ : [
145
+ `expected ${String(check.post.authenticates)} to authenticate, ` +
146
+ `got ${format_authenticated_credential(credential)}`
147
+ ];
148
+ };
149
+ /** Send one row as a login with a wrong password: the post's refusal, else the route's 401. */
150
+ const check_login = async (check) => {
151
+ const { received } = await raw_http_exchange(base_url, raw_http_request({
152
+ method: 'POST',
153
+ path: login_path,
154
+ host: check.has_host ? null : host,
155
+ header_lines: [...post_lines(check), 'Connection: close'],
156
+ body: JSON.stringify({
157
+ username: CREDENTIAL_SESSION_ACCOUNT_USERNAME,
158
+ password: 'request-header-conformance-wrong-password'
159
+ })
160
+ }), { read_timeout_ms: RAW_HTTP_READ_TIMEOUT_MS });
161
+ const response = raw_http_parse_response(received);
162
+ if (!response)
163
+ return [`login: no whole response (${received.slice(0, 80)})`];
164
+ if ('refused' in check.post) {
165
+ return check_refusal(response, check.post.refused, false).map((f) => `login: ${f}`);
166
+ }
167
+ return response.status === 401
168
+ ? []
169
+ : [`login: expected the route's own 401, got ${response.status}`];
170
+ };
171
+ /** Send one row as a WebSocket upgrade. */
172
+ const check_upgrade = async (check, accounts) => {
173
+ const runtime = check.row.upgrade_runtime_refusal;
174
+ const expected = check.upgrade;
175
+ const host_line = check.has_host ? null : host;
176
+ if ((runtime !== undefined && capabilities.ws_upgrade_runtime_refusals.includes(runtime)) ||
177
+ 'refused' in expected ||
178
+ expected.authenticates === null) {
179
+ const { received, response } = await send_raw_upgrade({
180
+ base_url,
181
+ ws_path,
182
+ host: host_line,
183
+ header_lines: check.lines
184
+ });
185
+ if (!response)
186
+ return [`no whole response (${received.slice(0, 80)})`];
187
+ if (runtime !== undefined && capabilities.ws_upgrade_runtime_refusals.includes(runtime)) {
188
+ return response.status === RUNTIME_REFUSAL_STATUS && response.body === ''
189
+ ? []
190
+ : [
191
+ `expected the runtime's bodiless ${RUNTIME_REFUSAL_STATUS} (${runtime}, declared by ` +
192
+ `ws_upgrade_runtime_refusals), got ${response.status} (${response.body.slice(0, 80)})`
193
+ ];
194
+ }
195
+ if ('refused' in expected) {
196
+ return check_refusal(response, expected.refused, !capabilities.ws_refusal_body);
197
+ }
198
+ return response.status === 401 ? [] : [`expected 401, got ${response.status}`];
199
+ }
200
+ let client;
201
+ try {
202
+ client = await connect_raw_ws({
203
+ port: Number(url.port),
204
+ hostname: url.hostname,
205
+ host: host_line,
206
+ path: ws_path,
207
+ header_lines: check.lines
208
+ });
209
+ }
210
+ catch (error) {
211
+ return [`expected 101: ${error instanceof Error ? error.message : String(error)}`];
212
+ }
213
+ try {
214
+ if (!capabilities.ws_account_actions)
215
+ return [];
216
+ const verified = await verify_socket_credential(client, accounts, ws_path, SUITE);
217
+ if ('failure' in verified)
218
+ return [verified.failure];
219
+ return verified.credential === expected.authenticates
220
+ ? []
221
+ : [
222
+ `expected the socket to be ${expected.authenticates}'s, ` +
223
+ `got ${format_authenticated_credential(verified.credential)}`
224
+ ];
225
+ }
226
+ finally {
227
+ client.destroy();
228
+ }
229
+ };
230
+ /** Send every row of `checks` as an RPC `POST` (and a login, when it carries a `Content-Type`). */
231
+ const run_post_rows = async (checks, accounts) => {
232
+ const failures = [];
233
+ for (const check of checks) {
234
+ const label = `${check.row.name} [post, expected ${format_outcome(check.post)}]`;
235
+ for (const failure of await check_post(check, accounts)) {
236
+ failures.push(`${label}: ${failure}`);
237
+ }
238
+ if (!check.has_content_type)
239
+ continue;
240
+ for (const failure of await check_login(check)) {
241
+ failures.push(`${label}: ${failure}`);
242
+ }
243
+ }
244
+ return failures;
245
+ };
246
+ /** Send every row of `checks` as a WebSocket upgrade. */
247
+ const run_upgrade_rows = async (checks, accounts) => {
248
+ const failures = [];
249
+ for (const check of checks) {
250
+ const label = `${check.row.name} [upgrade, expected ${format_outcome(check.upgrade)}]`;
251
+ for (const failure of await check_upgrade(check, accounts)) {
252
+ failures.push(`${label}: ${failure}`);
253
+ }
254
+ }
255
+ return failures;
256
+ };
257
+ describe('request header conformance on the wire', () => {
258
+ // Each leg runs in two tests: the rows the host gate refuses, gated on
259
+ // `capabilities.host_gate`, and the rest.
260
+ for (const host_gate_rows of [false, true]) {
261
+ const which = host_gate_rows
262
+ ? 'every row the host gate refuses'
263
+ : 'every row the host gate passes';
264
+ test_if(!host_gate_rows || capabilities.host_gate, `${which} answers an RPC POST and a login as the table says`, async () => {
265
+ const fixture = await setup_test();
266
+ const accounts = read_credential_wire_accounts(fixture);
267
+ const checks = wire_checks(accounts).filter((check) => is_host_gate_refusal(check.post) === host_gate_rows);
268
+ const failures = await run_post_rows(checks, accounts);
269
+ assert.ok(checks.length > 0, 'the table has wire rows');
270
+ assert.ok(failures.length === 0, `${failures.length} request header conformance rows disagree on a POST:\n${failures.join('\n')}`);
271
+ });
272
+ test_if(capabilities.ws && (!host_gate_rows || capabilities.host_gate), `${which} answers a WebSocket upgrade as the table says`, async () => {
273
+ const fixture = await setup_test();
274
+ assert.strictEqual(fixture.extra_actors.length, 0, "the suite's setup_test must seed no extra_actors: the upgrades carry no acting selector");
275
+ const accounts = read_credential_wire_accounts(fixture);
276
+ const checks = wire_checks(accounts).filter((check) => is_host_gate_refusal(check.upgrade) === host_gate_rows);
277
+ const failures = await run_upgrade_rows(checks, accounts);
278
+ assert.ok(checks.length > 0, 'the table has wire rows');
279
+ assert.ok(failures.length === 0, `${failures.length} request header conformance rows disagree on a WebSocket upgrade:\n` +
280
+ failures.join('\n'));
281
+ });
282
+ }
283
+ });
284
+ };
@@ -0,0 +1,298 @@
1
+ import '../assert_dev_env.js';
2
+ import { type Infer } from '@fuzdev/fuz_schema/schema.ts';
3
+ /** A refusal in the table: the reader's `PercentDecodeError`. */
4
+ export declare const RequestTargetConformanceRefused: import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
5
+ refused: import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["malformed_escape", "invalid_utf8"]>;
6
+ }>;
7
+ export type RequestTargetConformanceRefused = Infer<typeof RequestTargetConformanceRefused>;
8
+ /** One row of the `query` section. */
9
+ export declare const RequestTargetConformanceQueryRow: import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
10
+ name: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
11
+ query: import("@fuzdev/fuz_schema/schema.ts").NullableSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
12
+ read: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
13
+ pairs: import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string[], import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>>;
14
+ }>, import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
15
+ refused: import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["malformed_escape", "invalid_utf8"]>;
16
+ }>]>;
17
+ }>;
18
+ export type RequestTargetConformanceQueryRow = Infer<typeof RequestTargetConformanceQueryRow>;
19
+ /** One row of the `param` section. */
20
+ export declare const RequestTargetConformanceParamRow: import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
21
+ name: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
22
+ segment: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
23
+ read: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
24
+ value: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
25
+ }>, import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
26
+ refused: import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["malformed_escape", "invalid_utf8"]>;
27
+ }>]>;
28
+ }>;
29
+ export type RequestTargetConformanceParamRow = Infer<typeof RequestTargetConformanceParamRow>;
30
+ /**
31
+ * Who sends a wire row: the keeper's session cookie, no credential, or the
32
+ * session cookie's name with a value that doesn't verify — the cookie the
33
+ * session middleware clears under the auth scope.
34
+ */
35
+ export declare const REQUEST_TARGET_CONFORMANCE_PRINCIPALS: readonly ["keeper_session", "none", "invalid_session"];
36
+ /** The backend capabilities a wire row may require. */
37
+ export declare const REQUEST_TARGET_CONFORMANCE_REQUIREMENTS: readonly ["ws", "sse", "account_status", "fact_serving", "fact_serving_admin_hash", "spine_fallback"];
38
+ /** The media types a wire row may pin on a bodiless answer: JSON, or plain text. */
39
+ export declare const REQUEST_TARGET_CONFORMANCE_MEDIA: readonly ["json", "text"];
40
+ /** What a wire row's answer must carry. */
41
+ export declare const RequestTargetConformanceExpect: import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
42
+ status: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>;
43
+ /** The REST error body's `error` code. */
44
+ error: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
45
+ /** The JSON-RPC envelope: its `id`, and on an error its `code` and `data.reason`. */
46
+ jsonrpc: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
47
+ id: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").StringSchema, import("@fuzdev/fuz_schema/schema.ts").NumberSchema, import("@fuzdev/fuz_schema/schema.ts").LiteralSchema<null>]>;
48
+ code: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>>;
49
+ reason: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
50
+ }>>;
51
+ /**
52
+ * The `Allow` header's methods, compared as a set (a router orders them its
53
+ * own way); `[]` is an answer with no `Allow`.
54
+ */
55
+ allow: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>;
56
+ /** The body byte for byte, under a `text/plain` `Content-Type`. */
57
+ text: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
58
+ /** The `Content-Type`'s kind, for an answer with no body to read — a `HEAD`'s. */
59
+ media: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["json", "text"]>>;
60
+ /** Whether the answer clears the session cookie (`true`) or leaves it alone (`false`). */
61
+ clears_session: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").BooleanSchema>;
62
+ }>;
63
+ export type RequestTargetConformanceExpect = Infer<typeof RequestTargetConformanceExpect>;
64
+ /** One row of the `wire` section. */
65
+ export declare const RequestTargetConformanceWireRow: import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
66
+ name: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
67
+ method: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
68
+ target: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
69
+ as: import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["keeper_session", "none", "invalid_session"]>;
70
+ /** An `Origin` line to send; none when absent. */
71
+ origin: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
72
+ /** The `Host` to send in place of the backend's own. */
73
+ host: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
74
+ /**
75
+ * Header lines to send as written (`name: value`) — a `POST`'s
76
+ * `Content-Type`, so a row reaches the router and not a content-type gate.
77
+ */
78
+ headers: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>;
79
+ upgrade: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").BooleanSchema>;
80
+ /** The capabilities a backend must declare, every one, to be sent the row. */
81
+ requires: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<("ws" | "sse" | "fact_serving" | "fact_serving_admin_hash" | "account_status" | "spine_fallback")[], import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["ws", "sse", "account_status", "fact_serving", "fact_serving_admin_hash", "spine_fallback"]>>>>;
82
+ expect: import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
83
+ status: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>;
84
+ /** The REST error body's `error` code. */
85
+ error: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
86
+ /** The JSON-RPC envelope: its `id`, and on an error its `code` and `data.reason`. */
87
+ jsonrpc: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
88
+ id: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").StringSchema, import("@fuzdev/fuz_schema/schema.ts").NumberSchema, import("@fuzdev/fuz_schema/schema.ts").LiteralSchema<null>]>;
89
+ code: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>>;
90
+ reason: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
91
+ }>>;
92
+ /**
93
+ * The `Allow` header's methods, compared as a set (a router orders them its
94
+ * own way); `[]` is an answer with no `Allow`.
95
+ */
96
+ allow: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>;
97
+ /** The body byte for byte, under a `text/plain` `Content-Type`. */
98
+ text: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
99
+ /** The `Content-Type`'s kind, for an answer with no body to read — a `HEAD`'s. */
100
+ media: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["json", "text"]>>;
101
+ /** Whether the answer clears the session cookie (`true`) or leaves it alone (`false`). */
102
+ clears_session: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").BooleanSchema>;
103
+ }>;
104
+ /**
105
+ * The answer on a backend whose runtime resolves dot segments before the
106
+ * app sees the request (`BackendCapabilities.runtime_resolves_dot_segments`);
107
+ * `expect` is then the answer where the path reaches the router raw.
108
+ */
109
+ expect_where_dot_segments_resolved: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
110
+ status: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>;
111
+ /** The REST error body's `error` code. */
112
+ error: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
113
+ /** The JSON-RPC envelope: its `id`, and on an error its `code` and `data.reason`. */
114
+ jsonrpc: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
115
+ id: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").StringSchema, import("@fuzdev/fuz_schema/schema.ts").NumberSchema, import("@fuzdev/fuz_schema/schema.ts").LiteralSchema<null>]>;
116
+ code: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>>;
117
+ reason: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
118
+ }>>;
119
+ /**
120
+ * The `Allow` header's methods, compared as a set (a router orders them its
121
+ * own way); `[]` is an answer with no `Allow`.
122
+ */
123
+ allow: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>;
124
+ /** The body byte for byte, under a `text/plain` `Content-Type`. */
125
+ text: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
126
+ /** The `Content-Type`'s kind, for an answer with no body to read — a `HEAD`'s. */
127
+ media: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["json", "text"]>>;
128
+ /** Whether the answer clears the session cookie (`true`) or leaves it alone (`false`). */
129
+ clears_session: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").BooleanSchema>;
130
+ }>>;
131
+ note: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
132
+ }>;
133
+ export type RequestTargetConformanceWireRow = Infer<typeof RequestTargetConformanceWireRow>;
134
+ /** The table, a `@fuzdev/fuz_schema` `object`. */
135
+ export declare const RequestTargetConformance: import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
136
+ query: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<{
137
+ name: string;
138
+ query: string | null;
139
+ read: {
140
+ pairs: string[][];
141
+ } | {
142
+ refused: "malformed_escape" | "invalid_utf8";
143
+ };
144
+ }[], import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
145
+ name: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
146
+ query: import("@fuzdev/fuz_schema/schema.ts").NullableSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
147
+ read: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
148
+ pairs: import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string[], import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>>;
149
+ }>, import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
150
+ refused: import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["malformed_escape", "invalid_utf8"]>;
151
+ }>]>;
152
+ }>>>;
153
+ param: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<{
154
+ name: string;
155
+ segment: string;
156
+ read: {
157
+ refused: "malformed_escape" | "invalid_utf8";
158
+ } | {
159
+ value: string;
160
+ };
161
+ }[], import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
162
+ name: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
163
+ segment: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
164
+ read: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
165
+ value: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
166
+ }>, import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
167
+ refused: import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["malformed_escape", "invalid_utf8"]>;
168
+ }>]>;
169
+ }>>>;
170
+ wire: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<{
171
+ name: string;
172
+ method: string;
173
+ target: string;
174
+ as: "none" | "keeper_session" | "invalid_session";
175
+ expect: {
176
+ status: number;
177
+ error?: string | undefined;
178
+ jsonrpc?: {
179
+ id: string | number | null;
180
+ code?: number | undefined;
181
+ reason?: string | undefined;
182
+ } | undefined;
183
+ allow?: string[] | undefined;
184
+ text?: string | undefined;
185
+ media?: "json" | "text" | undefined;
186
+ clears_session?: boolean | undefined;
187
+ };
188
+ origin?: string | undefined;
189
+ host?: string | undefined;
190
+ headers?: string[] | undefined;
191
+ upgrade?: boolean | undefined;
192
+ requires?: ("ws" | "sse" | "fact_serving" | "fact_serving_admin_hash" | "account_status" | "spine_fallback")[] | undefined;
193
+ expect_where_dot_segments_resolved?: {
194
+ status: number;
195
+ error?: string | undefined;
196
+ jsonrpc?: {
197
+ id: string | number | null;
198
+ code?: number | undefined;
199
+ reason?: string | undefined;
200
+ } | undefined;
201
+ allow?: string[] | undefined;
202
+ text?: string | undefined;
203
+ media?: "json" | "text" | undefined;
204
+ clears_session?: boolean | undefined;
205
+ } | undefined;
206
+ note?: string | undefined;
207
+ }[], import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
208
+ name: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
209
+ method: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
210
+ target: import("@fuzdev/fuz_schema/schema.ts").StringSchema;
211
+ as: import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["keeper_session", "none", "invalid_session"]>;
212
+ /** An `Origin` line to send; none when absent. */
213
+ origin: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
214
+ /** The `Host` to send in place of the backend's own. */
215
+ host: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
216
+ /**
217
+ * Header lines to send as written (`name: value`) — a `POST`'s
218
+ * `Content-Type`, so a row reaches the router and not a content-type gate.
219
+ */
220
+ headers: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>;
221
+ upgrade: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").BooleanSchema>;
222
+ /** The capabilities a backend must declare, every one, to be sent the row. */
223
+ requires: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<("ws" | "sse" | "fact_serving" | "fact_serving_admin_hash" | "account_status" | "spine_fallback")[], import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["ws", "sse", "account_status", "fact_serving", "fact_serving_admin_hash", "spine_fallback"]>>>>;
224
+ expect: import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
225
+ status: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>;
226
+ /** The REST error body's `error` code. */
227
+ error: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
228
+ /** The JSON-RPC envelope: its `id`, and on an error its `code` and `data.reason`. */
229
+ jsonrpc: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
230
+ id: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").StringSchema, import("@fuzdev/fuz_schema/schema.ts").NumberSchema, import("@fuzdev/fuz_schema/schema.ts").LiteralSchema<null>]>;
231
+ code: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>>;
232
+ reason: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
233
+ }>>;
234
+ /**
235
+ * The `Allow` header's methods, compared as a set (a router orders them its
236
+ * own way); `[]` is an answer with no `Allow`.
237
+ */
238
+ allow: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>;
239
+ /** The body byte for byte, under a `text/plain` `Content-Type`. */
240
+ text: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
241
+ /** The `Content-Type`'s kind, for an answer with no body to read — a `HEAD`'s. */
242
+ media: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["json", "text"]>>;
243
+ /** Whether the answer clears the session cookie (`true`) or leaves it alone (`false`). */
244
+ clears_session: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").BooleanSchema>;
245
+ }>;
246
+ /**
247
+ * The answer on a backend whose runtime resolves dot segments before the
248
+ * app sees the request (`BackendCapabilities.runtime_resolves_dot_segments`);
249
+ * `expect` is then the answer where the path reaches the router raw.
250
+ */
251
+ expect_where_dot_segments_resolved: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
252
+ status: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>;
253
+ /** The REST error body's `error` code. */
254
+ error: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
255
+ /** The JSON-RPC envelope: its `id`, and on an error its `code` and `data.reason`. */
256
+ jsonrpc: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ObjectSchema<{
257
+ id: import("@fuzdev/fuz_schema/schema.ts").UnionSchema<readonly [import("@fuzdev/fuz_schema/schema.ts").StringSchema, import("@fuzdev/fuz_schema/schema.ts").NumberSchema, import("@fuzdev/fuz_schema/schema.ts").LiteralSchema<null>]>;
258
+ code: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").NumberSchema>>;
259
+ reason: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
260
+ }>>;
261
+ /**
262
+ * The `Allow` header's methods, compared as a set (a router orders them its
263
+ * own way); `[]` is an answer with no `Allow`.
264
+ */
265
+ allow: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").ArraySchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>>;
266
+ /** The body byte for byte, under a `text/plain` `Content-Type`. */
267
+ text: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
268
+ /** The `Content-Type`'s kind, for an answer with no body to read — a `HEAD`'s. */
269
+ media: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").OneOfSchema<readonly ["json", "text"]>>;
270
+ /** Whether the answer clears the session cookie (`true`) or leaves it alone (`false`). */
271
+ clears_session: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").BooleanSchema>;
272
+ }>>;
273
+ note: import("@fuzdev/fuz_schema/schema.ts").OptionalSchema<import("@fuzdev/fuz_schema/schema.ts").StringSchema>;
274
+ }>>>;
275
+ }>;
276
+ export type RequestTargetConformance = Infer<typeof RequestTargetConformance>;
277
+ /** The placeholder names a wire target may use, each written `{name}` in the table. */
278
+ export declare const REQUEST_TARGET_CONFORMANCE_PLACEHOLDERS: readonly ["rpc_path", "ws_path", "account_status_path", "account_login_path", "sse_path", "health_path"];
279
+ /** A placeholder name — see `REQUEST_TARGET_CONFORMANCE_PLACEHOLDERS`. */
280
+ export type RequestTargetConformancePlaceholder = (typeof REQUEST_TARGET_CONFORMANCE_PLACEHOLDERS)[number];
281
+ /** The value each placeholder takes on one backend. */
282
+ export type RequestTargetConformancePlaceholders = Readonly<Record<RequestTargetConformancePlaceholder, string>>;
283
+ /** The committed table, resolved relative to this module. */
284
+ export declare const REQUEST_TARGET_CONFORMANCE_URL: URL;
285
+ /**
286
+ * Read and parse the committed table, and check every row name is unique
287
+ * within its section.
288
+ *
289
+ * @throws Error when the file is off the schema, or a section repeats a name
290
+ */
291
+ export declare const load_request_target_conformance: () => RequestTargetConformance;
292
+ /**
293
+ * Fill a wire target's `{placeholders}`.
294
+ *
295
+ * @throws Error on a placeholder this backend has no value for
296
+ */
297
+ export declare const fill_request_target_conformance_placeholders: (target: string, placeholders: RequestTargetConformancePlaceholders) => string;
298
+ //# sourceMappingURL=request_target_conformance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request_target_conformance.d.ts","sourceRoot":"","sources":["../../../src/lib/testing/cross_backend/request_target_conformance.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAkD9B,OAAO,EAgBN,KAAK,KAAK,EACV,MAAM,8BAA8B,CAAC;AAItC,iEAAiE;AACjE,eAAO,MAAM,+BAA+B;;EAAqD,CAAC;AAClG,MAAM,MAAM,+BAA+B,GAAG,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAE5F,sCAAsC;AACtC,eAAO,MAAM,gCAAgC;;;;;;;;EAO3C,CAAC;AACH,MAAM,MAAM,gCAAgC,GAAG,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE9F,sCAAsC;AACtC,eAAO,MAAM,gCAAgC;;;;;;;;EAI3C,CAAC;AACH,MAAM,MAAM,gCAAgC,GAAG,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE9F;;;;GAIG;AACH,eAAO,MAAM,qCAAqC,wDAIxC,CAAC;AAEX,uDAAuD;AACvD,eAAO,MAAM,uCAAuC,uGAO1C,CAAC;AAEX,oFAAoF;AACpF,eAAO,MAAM,gCAAgC,2BAA4B,CAAC;AAE1E,2CAA2C;AAC3C,eAAO,MAAM,8BAA8B;;IAE1C,0CAA0C;;IAE1C,qFAAqF;;;;;;IAQrF;;;OAGG;;IAEH,mEAAmE;;IAEnE,kFAAkF;;IAElF,0FAA0F;;EAEzF,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAE1F,qCAAqC;AACrC,eAAO,MAAM,+BAA+B;;;;;IAK3C,kDAAkD;;IAElD,wDAAwD;;IAExD;;;OAGG;;;IAGH,8EAA8E;;;;QAxC9E,0CAA0C;;QAE1C,qFAAqF;;;;;;QAQrF;;;WAGG;;QAEH,mEAAmE;;QAEnE,kFAAkF;;QAElF,0FAA0F;;;IAwB1F;;;;OAIG;;;QA/CH,0CAA0C;;QAE1C,qFAAqF;;;;;;QAQrF;;;WAGG;;QAEH,mEAAmE;;QAEnE,kFAAkF;;QAElF,0FAA0F;;;;EA+BzF,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAE5F,kDAAkD;AAClD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAxBpC,kDAAkD;;QAElD,wDAAwD;;QAExD;;;WAGG;;;QAGH,8EAA8E;;;;YAxC9E,0CAA0C;;YAE1C,qFAAqF;;;;;;YAQrF;;;eAGG;;YAEH,mEAAmE;;YAEnE,kFAAkF;;YAElF,0FAA0F;;;QAwB1F;;;;WAIG;;;YA/CH,0CAA0C;;YAE1C,qFAAqF;;;;;;YAQrF;;;eAGG;;YAEH,mEAAmE;;YAEnE,kFAAkF;;YAElF,0FAA0F;;;;;EAuCzF,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE9E,uFAAuF;AACvF,eAAO,MAAM,uCAAuC,0GAO1C,CAAC;AAEX,0EAA0E;AAC1E,MAAM,MAAM,mCAAmC,GAC9C,CAAC,OAAO,uCAAuC,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,uDAAuD;AACvD,MAAM,MAAM,oCAAoC,GAAG,QAAQ,CAC1D,MAAM,CAAC,mCAAmC,EAAE,MAAM,CAAC,CACnD,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,8BAA8B,EAAE,GAG5C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,QAAO,wBAelD,CAAC;AAIF;;;;GAIG;AACH,eAAO,MAAM,4CAA4C,GACxD,QAAQ,MAAM,EACd,cAAc,oCAAoC,KAChD,MAMA,CAAC"}