@fuzdev/fuz_app 0.162.0 → 0.164.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.
- package/README.md +2 -1
- package/dist/actions/action_event_data.d.ts +1 -1
- package/dist/actions/action_rpc.d.ts.map +1 -1
- package/dist/actions/action_rpc.js +4 -0
- package/dist/actions/action_spec.d.ts +3 -3
- package/dist/actions/action_spec.d.ts.map +1 -1
- package/dist/auth/CLAUDE.md +39 -36
- package/dist/auth/account_action_specs.d.ts +441 -115
- package/dist/auth/account_action_specs.d.ts.map +1 -1
- package/dist/auth/account_action_specs.js +47 -46
- package/dist/auth/account_route_schema.d.ts +98 -62
- package/dist/auth/account_route_schema.d.ts.map +1 -1
- package/dist/auth/account_route_schema.js +45 -45
- package/dist/auth/account_routes.js +1 -1
- package/dist/auth/account_schema.d.ts +54 -27
- package/dist/auth/account_schema.d.ts.map +1 -1
- package/dist/auth/account_schema.js +16 -18
- package/dist/auth/admin_action_specs.d.ts +76 -76
- package/dist/auth/admin_action_specs.js +2 -4
- package/dist/auth/admin_actions.d.ts +4 -4
- package/dist/auth/admin_actions.d.ts.map +1 -1
- package/dist/auth/admin_actions.js +3 -3
- package/dist/auth/all_cell_actions.d.ts +3 -3
- package/dist/auth/all_cell_actions.d.ts.map +1 -1
- package/dist/auth/all_cell_actions.js +1 -1
- package/dist/auth/api_token.d.ts +4 -4
- package/dist/auth/api_token.d.ts.map +1 -1
- package/dist/auth/api_token.js +3 -3
- package/dist/auth/audit_log_route_schema.d.ts +1 -1
- package/dist/auth/audit_log_route_schema.d.ts.map +1 -1
- package/dist/auth/audit_log_route_schema.js +4 -5
- package/dist/auth/audit_log_schema.d.ts +46 -66
- package/dist/auth/audit_log_schema.d.ts.map +1 -1
- package/dist/auth/audit_log_schema.js +34 -30
- package/dist/auth/bootstrap_route_schema.d.ts +146 -52
- package/dist/auth/bootstrap_route_schema.d.ts.map +1 -1
- package/dist/auth/bootstrap_route_schema.js +33 -19
- package/dist/auth/cell_grant_action_specs.d.ts +1 -1
- package/dist/auth/cell_grant_action_specs.js +1 -1
- package/dist/auth/cell_grant_actions.d.ts +4 -4
- package/dist/auth/cell_grant_actions.d.ts.map +1 -1
- package/dist/auth/cell_grant_actions.js +1 -1
- package/dist/auth/credential_type_schema.d.ts +16 -29
- package/dist/auth/credential_type_schema.d.ts.map +1 -1
- package/dist/auth/credential_type_schema.js +14 -18
- package/dist/auth/daemon_token.d.ts +4 -4
- package/dist/auth/daemon_token.d.ts.map +1 -1
- package/dist/auth/daemon_token.js +3 -3
- package/dist/auth/daemon_token_middleware.d.ts +1 -1
- package/dist/auth/daemon_token_middleware.d.ts.map +1 -1
- package/dist/auth/daemon_token_middleware.js +5 -5
- package/dist/auth/grant_path_schema.d.ts +15 -29
- package/dist/auth/grant_path_schema.d.ts.map +1 -1
- package/dist/auth/grant_path_schema.js +13 -17
- package/dist/auth/middleware.js +4 -4
- package/dist/auth/migrations.js +1 -1
- package/dist/auth/name_schema.d.ts +7 -6
- package/dist/auth/name_schema.d.ts.map +1 -1
- package/dist/auth/name_schema.js +8 -9
- package/dist/auth/password.d.ts +15 -7
- package/dist/auth/password.d.ts.map +1 -1
- package/dist/auth/password.js +16 -9
- package/dist/auth/role_grant_offer_action_specs.d.ts +2 -2
- package/dist/auth/role_grant_offer_action_specs.js +2 -2
- package/dist/auth/role_grant_offer_actions.d.ts +4 -4
- package/dist/auth/role_grant_offer_actions.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_actions.js +3 -3
- package/dist/auth/role_grant_offer_notifications.js +2 -2
- package/dist/auth/role_grant_offer_schema.d.ts +2 -2
- package/dist/auth/role_grant_offer_schema.js +2 -2
- package/dist/auth/role_schema.d.ts +47 -55
- package/dist/auth/role_schema.d.ts.map +1 -1
- package/dist/auth/role_schema.js +29 -35
- package/dist/auth/scope_kind_schema.d.ts +22 -26
- package/dist/auth/scope_kind_schema.d.ts.map +1 -1
- package/dist/auth/scope_kind_schema.js +19 -19
- package/dist/auth/self_service_role_action_specs.js +1 -1
- package/dist/auth/self_service_role_actions.d.ts +6 -6
- package/dist/auth/self_service_role_actions.d.ts.map +1 -1
- package/dist/auth/self_service_role_actions.js +7 -6
- package/dist/auth/signup_route_schema.d.ts +71 -21
- package/dist/auth/signup_route_schema.d.ts.map +1 -1
- package/dist/auth/signup_route_schema.js +17 -19
- package/dist/auth/standard_rpc_actions.d.ts +1 -1
- package/dist/auth/standard_rpc_actions.js +1 -1
- package/dist/auth/token_lifetime.d.ts +33 -9
- package/dist/auth/token_lifetime.d.ts.map +1 -1
- package/dist/auth/token_lifetime.js +8 -7
- package/dist/auth/token_scope.d.ts +99 -25
- package/dist/auth/token_scope.d.ts.map +1 -1
- package/dist/auth/token_scope.js +57 -35
- package/dist/db/CLAUDE.md +2 -1
- package/dist/db/file_fact_url.d.ts +11 -6
- package/dist/db/file_fact_url.d.ts.map +1 -1
- package/dist/db/file_fact_url.js +5 -5
- package/dist/db/schema_ready.d.ts +0 -5
- package/dist/db/schema_ready.d.ts.map +1 -1
- package/dist/db/schema_ready.js +0 -5
- package/dist/http/CLAUDE.md +104 -71
- package/dist/http/auth_shape.d.ts +48 -29
- package/dist/http/auth_shape.d.ts.map +1 -1
- package/dist/http/auth_shape.js +12 -85
- package/dist/http/body_limit.d.ts +12 -0
- package/dist/http/body_limit.d.ts.map +1 -1
- package/dist/http/body_limit.js +15 -0
- package/dist/http/body_limit_schema.d.ts +20 -0
- package/dist/http/body_limit_schema.d.ts.map +1 -0
- package/dist/http/body_limit_schema.js +20 -0
- package/dist/http/common_routes.d.ts +1 -1
- package/dist/http/common_routes.d.ts.map +1 -1
- package/dist/http/common_routes.js +11 -14
- package/dist/http/db_routes.d.ts.map +1 -1
- package/dist/http/db_routes.js +59 -69
- package/dist/http/dev_route_error_check.d.ts +70 -0
- package/dist/http/dev_route_error_check.d.ts.map +1 -0
- package/dist/http/dev_route_error_check.js +119 -0
- package/dist/http/error_schemas.d.ts +365 -189
- package/dist/http/error_schemas.d.ts.map +1 -1
- package/dist/http/error_schemas.js +256 -149
- package/dist/http/health_schema.d.ts +10 -6
- package/dist/http/health_schema.d.ts.map +1 -1
- package/dist/http/health_schema.js +3 -3
- package/dist/http/middleware_spec.d.ts +8 -3
- package/dist/http/middleware_spec.d.ts.map +1 -1
- package/dist/http/origin.d.ts +12 -43
- package/dist/http/origin.d.ts.map +1 -1
- package/dist/http/origin.js +10 -6
- package/dist/http/route_error_check.d.ts +158 -0
- package/dist/http/route_error_check.d.ts.map +1 -0
- package/dist/http/route_error_check.js +247 -0
- package/dist/http/route_errors.d.ts +80 -0
- package/dist/http/route_errors.d.ts.map +1 -0
- package/dist/http/route_errors.js +83 -0
- package/dist/http/route_spec.d.ts +33 -17
- package/dist/http/route_spec.d.ts.map +1 -1
- package/dist/http/route_spec.js +48 -62
- package/dist/http/schema_helpers.d.ts +0 -33
- package/dist/http/schema_helpers.d.ts.map +1 -1
- package/dist/http/schema_helpers.js +0 -45
- package/dist/http/surface.d.ts +19 -12
- package/dist/http/surface.d.ts.map +1 -1
- package/dist/http/surface.js +25 -38
- package/dist/http/surface_query.d.ts +11 -2
- package/dist/http/surface_query.d.ts.map +1 -1
- package/dist/http/surface_query.js +7 -1
- package/dist/primitive_schemas.d.ts +2 -19
- package/dist/primitive_schemas.d.ts.map +1 -1
- package/dist/primitive_schemas.js +2 -20
- package/dist/primitive_schemas_fuz.d.ts +39 -5
- package/dist/primitive_schemas_fuz.d.ts.map +1 -1
- package/dist/primitive_schemas_fuz.js +36 -7
- package/dist/rate_limiter.d.ts +13 -0
- package/dist/rate_limiter.d.ts.map +1 -1
- package/dist/rate_limiter.js +20 -2
- package/dist/schema_issues.d.ts +29 -11
- package/dist/schema_issues.d.ts.map +1 -1
- package/dist/schema_issues.js +11 -10
- package/dist/schema_meta.d.ts +8 -1
- package/dist/schema_meta.d.ts.map +1 -1
- package/dist/schema_meta.js +2 -1
- package/dist/server/app_server.d.ts +3 -1
- package/dist/server/app_server.d.ts.map +1 -1
- package/dist/server/app_server.js +24 -10
- package/dist/server/serve_fact_route.d.ts.map +1 -1
- package/dist/server/serve_fact_route.js +8 -31
- package/dist/server/surface_route.d.ts.map +1 -1
- package/dist/server/surface_route.js +5 -6
- package/dist/server/x_accel.d.ts +12 -7
- package/dist/server/x_accel.d.ts.map +1 -1
- package/dist/server/x_accel.js +7 -9
- package/dist/testing/CLAUDE.md +55 -44
- package/dist/testing/admin_integration.d.ts +3 -3
- package/dist/testing/admin_integration.d.ts.map +1 -1
- package/dist/testing/admin_integration.js +2 -2
- package/dist/testing/adversarial_404.d.ts +4 -18
- package/dist/testing/adversarial_404.d.ts.map +1 -1
- package/dist/testing/adversarial_404.js +19 -51
- package/dist/testing/adversarial_headers.d.ts +3 -4
- package/dist/testing/adversarial_headers.d.ts.map +1 -1
- package/dist/testing/adversarial_headers.js +8 -6
- package/dist/testing/adversarial_input.d.ts.map +1 -1
- package/dist/testing/adversarial_input.js +18 -17
- package/dist/testing/assertions.d.ts +33 -11
- package/dist/testing/assertions.d.ts.map +1 -1
- package/dist/testing/assertions.js +52 -12
- package/dist/testing/attack_surface.d.ts +5 -35
- package/dist/testing/attack_surface.d.ts.map +1 -1
- package/dist/testing/attack_surface.js +29 -91
- package/dist/testing/auth_apps.d.ts.map +1 -1
- package/dist/testing/auth_apps.js +2 -1
- package/dist/testing/cross_backend/action_manifest.d.ts +126 -56
- package/dist/testing/cross_backend/action_manifest.d.ts.map +1 -1
- package/dist/testing/cross_backend/action_manifest.js +11 -11
- package/dist/testing/cross_backend/action_manifest_parity.d.ts +1 -1
- package/dist/testing/cross_backend/action_manifest_parity.d.ts.map +1 -1
- package/dist/testing/cross_backend/cell_crud.d.ts.map +1 -1
- package/dist/testing/cross_backend/cell_crud.js +2 -1
- package/dist/testing/cross_backend/conformance_table.js +1 -1
- package/dist/testing/cross_backend/default_spine_surface.d.ts +2 -2
- package/dist/testing/cross_backend/default_spine_surface.d.ts.map +1 -1
- package/dist/testing/cross_backend/default_spine_surface.js +2 -2
- package/dist/testing/cross_backend/fact_serving.js +3 -3
- package/dist/testing/cross_backend/identity_parity.d.ts.map +1 -1
- package/dist/testing/cross_backend/identity_parity.js +39 -6
- package/dist/testing/cross_backend/origin_conformance.d.ts +278 -102
- package/dist/testing/cross_backend/origin_conformance.d.ts.map +1 -1
- package/dist/testing/cross_backend/origin_conformance.js +21 -21
- package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts +3 -3
- package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
- package/dist/testing/cross_backend/rust_spine_consumer_surface.js +7 -1
- package/dist/testing/cross_backend/setup.d.ts +14 -1
- package/dist/testing/cross_backend/setup.d.ts.map +1 -1
- package/dist/testing/cross_backend/setup.js +68 -48
- package/dist/testing/cross_backend/spine_suites.d.ts +3 -3
- package/dist/testing/cross_backend/spine_suites.d.ts.map +1 -1
- package/dist/testing/cross_backend/standard.d.ts +4 -4
- package/dist/testing/cross_backend/standard.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_origin_check.d.ts +147 -71
- package/dist/testing/cross_backend/testing_origin_check.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_origin_check.js +16 -13
- package/dist/testing/cross_backend/testing_reset_actions.d.ts +70 -27
- package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
- package/dist/testing/cross_backend/token_lifetime.d.ts.map +1 -1
- package/dist/testing/cross_backend/token_lifetime.js +34 -1
- package/dist/testing/data_exposure.d.ts.map +1 -1
- package/dist/testing/data_exposure.js +5 -4
- package/dist/testing/error_coverage.d.ts +24 -34
- package/dist/testing/error_coverage.d.ts.map +1 -1
- package/dist/testing/error_coverage.js +46 -89
- package/dist/testing/integration.d.ts.map +1 -1
- package/dist/testing/integration.js +6 -14
- package/dist/testing/integration_helpers.d.ts +37 -9
- package/dist/testing/integration_helpers.d.ts.map +1 -1
- package/dist/testing/integration_helpers.js +86 -40
- package/dist/testing/middleware.d.ts +3 -5
- package/dist/testing/middleware.d.ts.map +1 -1
- package/dist/testing/middleware.js +5 -4
- package/dist/testing/rate_limiting.d.ts +1 -1
- package/dist/testing/rate_limiting.d.ts.map +1 -1
- package/dist/testing/rate_limiting.js +5 -4
- package/dist/testing/round_trip.d.ts.map +1 -1
- package/dist/testing/round_trip.js +5 -3
- package/dist/testing/schema_generators.d.ts +10 -3
- package/dist/testing/schema_generators.d.ts.map +1 -1
- package/dist/testing/schema_generators.js +23 -11
- package/dist/testing/stubs.d.ts +10 -1
- package/dist/testing/stubs.d.ts.map +1 -1
- package/dist/testing/stubs.js +15 -5
- package/dist/testing/surface_invariants.d.ts +36 -115
- package/dist/testing/surface_invariants.d.ts.map +1 -1
- package/dist/testing/surface_invariants.js +106 -269
- package/dist/testing/token_scope_fixtures.d.ts +24 -0
- package/dist/testing/token_scope_fixtures.d.ts.map +1 -0
- package/dist/testing/token_scope_fixtures.js +49 -0
- package/dist/testing/transports/bootstrap.d.ts +1 -1
- package/dist/testing/transports/bootstrap.d.ts.map +1 -1
- package/dist/testing/transports/bootstrap.js +13 -12
- package/dist/ui/BootstrapForm.svelte +4 -2
- package/dist/ui/BootstrapForm.svelte.d.ts.map +1 -1
- package/dist/ui/CLAUDE.md +4 -2
- package/dist/ui/SignupForm.svelte +4 -2
- package/dist/ui/SignupForm.svelte.d.ts.map +1 -1
- package/dist/ui/auth_state.svelte.d.ts.map +1 -1
- package/dist/ui/auth_state.svelte.js +2 -8
- package/dist/ui/backend_probe.svelte.js +3 -3
- package/dist/ui/table_state.svelte.d.ts.map +1 -1
- package/dist/ui/table_state.svelte.js +1 -8
- package/dist/ui/ui_fetch.d.ts +12 -2
- package/dist/ui/ui_fetch.d.ts.map +1 -1
- package/dist/ui/ui_fetch.js +22 -4
- package/package.json +1 -1
- package/dist/auth/audit_log_schema_fuz.d.ts +0 -53
- package/dist/auth/audit_log_schema_fuz.d.ts.map +0 -1
- package/dist/auth/audit_log_schema_fuz.js +0 -50
- package/dist/auth/role_schema_fuz.d.ts +0 -30
- package/dist/auth/role_schema_fuz.d.ts.map +0 -1
- package/dist/auth/role_schema_fuz.js +0 -30
- package/dist/auth/scope_kind_schema_fuz.d.ts +0 -31
- package/dist/auth/scope_kind_schema_fuz.d.ts.map +0 -1
- package/dist/auth/scope_kind_schema_fuz.js +0 -31
|
@@ -54,6 +54,7 @@ import '../assert_dev_env.js';
|
|
|
54
54
|
* @module
|
|
55
55
|
*/
|
|
56
56
|
import { describe, assert } from 'vitest';
|
|
57
|
+
import { is } from '@fuzdev/fuz_schema/schema.ts';
|
|
57
58
|
import { jsonrpc_error_messages } from '../../http/jsonrpc_errors.js';
|
|
58
59
|
import { WireIssue } from '../../schema_issues.js';
|
|
59
60
|
import { CELL_KIND_LENGTH_MAX, CELL_LIST_LIMIT_MAX, CellCreateOutput, CellDeleteOutput, CellGetOutput, CellListOutput, CellUpdateOutput } from '../../auth/cell_action_specs.js';
|
|
@@ -97,7 +98,7 @@ const assert_schema_refusal = (r, label) => {
|
|
|
97
98
|
const { issues } = data;
|
|
98
99
|
assert.ok(Array.isArray(issues), `${detail} — DEV-only issues that are no array`);
|
|
99
100
|
for (const issue of issues) {
|
|
100
|
-
assert.ok(WireIssue
|
|
101
|
+
assert.ok(is(WireIssue, issue), `${detail} — a DEV-only issue that is no WireIssue`);
|
|
101
102
|
}
|
|
102
103
|
};
|
|
103
104
|
/**
|
|
@@ -97,7 +97,7 @@ export const is_ws_conformance_case = (c) => !c.request.method.startsWith('/') &
|
|
|
97
97
|
!WS_UNAVAILABLE_PRINCIPALS.has(c.request.as);
|
|
98
98
|
/**
|
|
99
99
|
* A deliberately malformed `X-Daemon-Token` value for the `invalid_daemon`
|
|
100
|
-
* principal. Fails the `DaemonToken`
|
|
100
|
+
* principal. Fails the `DaemonToken` schema (not 43 base64url chars), so
|
|
101
101
|
* the daemon-token middleware soft-fail-discards it rather than authenticating
|
|
102
102
|
* — the request falls through with no identity, surfacing
|
|
103
103
|
* `credential_type_required` on a daemon-gated action (matching the Rust
|
|
@@ -18,7 +18,7 @@ import '../assert_dev_env.js';
|
|
|
18
18
|
*/
|
|
19
19
|
import type { Logger } from '@fuzdev/fuz_util/log.ts';
|
|
20
20
|
import type { NotificationSender } from '../../auth/role_grant_offer_notifications.js';
|
|
21
|
-
import { type
|
|
21
|
+
import { type RoleRegistry } from '../../auth/role_schema.js';
|
|
22
22
|
import { type SessionOptions } from '../../auth/session_cookie.js';
|
|
23
23
|
import { type RouteSpec } from '../../http/route_spec.js';
|
|
24
24
|
import type { AppSurfaceSpec, RpcEndpointSpec } from '../../http/surface.js';
|
|
@@ -39,7 +39,7 @@ export declare const spine_session_options: SessionOptions<string>;
|
|
|
39
39
|
* entry also gives the admin suite real app-role grant-path coverage
|
|
40
40
|
* (`admin_account_list.grantable_roles` carries it on both spines).
|
|
41
41
|
*/
|
|
42
|
-
export declare const spine_roles:
|
|
42
|
+
export declare const spine_roles: RoleRegistry;
|
|
43
43
|
/** Options for `spine_rpc_endpoints`. */
|
|
44
44
|
export interface SpineRpcEndpointsOptions {
|
|
45
45
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default_spine_surface.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/default_spine_surface.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,
|
|
1
|
+
{"version":3,"file":"default_spine_surface.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/default_spine_surface.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAwB,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEpF,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAI1F,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAgB3E;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,MAAM,CAAwC,CAAC;AAElG;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,EAAE,YAGxB,CAAC;AAEH,yCAAyC;AACzC,MAAM,WAAW,wBAAwB;IACxC;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACzD;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,GAC/B,KAAK,gBAAgB,EACrB,UAAU,wBAAwB,KAChC,KAAK,CAAC,eAAe,CAQvB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,GAAI,KAAK,gBAAgB,KAAG,KAAK,CAAC,SAAS,CAgC/E,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,6BAA6B,GAAI,MAAM,MAAM,KAAG,SAC+B,CAAC;AAE7F;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,QAAO,cAS1C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../assert_dev_env.js';
|
|
2
2
|
import { create_account_route_specs } from '../../auth/account_routes.js';
|
|
3
3
|
import { create_audit_log_route_specs } from '../../auth/audit_log_routes.js';
|
|
4
|
-
import {
|
|
4
|
+
import { create_role_registry } from '../../auth/role_schema.js';
|
|
5
5
|
import { GRANT_PATH_ADMIN } from '../../auth/grant_path_schema.js';
|
|
6
6
|
import { create_session_config } from '../../auth/session_cookie.js';
|
|
7
7
|
import { create_signup_route_specs } from '../../auth/signup_routes.js';
|
|
@@ -31,7 +31,7 @@ export const spine_session_options = create_session_config('fuz_session');
|
|
|
31
31
|
* entry also gives the admin suite real app-role grant-path coverage
|
|
32
32
|
* (`admin_account_list.grantable_roles` carries it on both spines).
|
|
33
33
|
*/
|
|
34
|
-
export const spine_roles =
|
|
34
|
+
export const spine_roles = create_role_registry([
|
|
35
35
|
{ name: SPINE_CELL_EDITOR_ROLE, grant_paths: [] },
|
|
36
36
|
{ name: SPINE_PARTICIPANT_ROLE, grant_paths: [GRANT_PATH_ADMIN] }
|
|
37
37
|
]);
|
|
@@ -58,9 +58,9 @@ import '../assert_dev_env.js';
|
|
|
58
58
|
* @module
|
|
59
59
|
*/
|
|
60
60
|
import { describe, assert } from 'vitest';
|
|
61
|
-
import {
|
|
61
|
+
import { object } from '@fuzdev/fuz_schema/schema.ts';
|
|
62
62
|
import { fact_hash_bytes } from '@fuzdev/fuz_util/fact_hash.ts';
|
|
63
|
-
import { FactHashSchema } from '../../
|
|
63
|
+
import { FactHashSchema } from '../../primitive_schemas_fuz.js';
|
|
64
64
|
import { CellCreateOutput } from '../../auth/cell_action_specs.js';
|
|
65
65
|
import { FACT_CACHE_CONTROL, FACT_CONTENT_SECURITY_POLICY, FACT_X_CONTENT_TYPE_OPTIONS } from '../../server/fact_security_headers.js';
|
|
66
66
|
import { test_if } from './capabilities.js';
|
|
@@ -78,7 +78,7 @@ const NIL_UUID = '00000000-0000-0000-0000-000000000000';
|
|
|
78
78
|
* a TS↔Rust drift in the seeder's envelope (extra field, non-`blake3:` hash)
|
|
79
79
|
* fails here rather than silently downstream.
|
|
80
80
|
*/
|
|
81
|
-
const TestingPutFactOutput =
|
|
81
|
+
const TestingPutFactOutput = object({ hash: FactHashSchema });
|
|
82
82
|
/**
|
|
83
83
|
* Seed an embedded fact over the daemon channel via `_testing_put_fact`;
|
|
84
84
|
* returns its `blake3:` hash. A `holder` is recorded in `fact_holder` (a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity_parity.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/identity_parity.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"identity_parity.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/identity_parity.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AA0H9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAyB5C,uDAAuD;AACvD,MAAM,WAAW,8BAA8B;IAC9C,+DAA+D;IAC/D,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC;IAC/B,kFAAkF;IAClF,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,oFAAoF;IACpF,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC;AAsKD,eAAO,MAAM,oCAAoC,GAChD,SAAS,8BAA8B,KACrC,IAygBF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../assert_dev_env.js';
|
|
2
2
|
/**
|
|
3
3
|
* Cross-backend identity-primitive parity for fuz_app's own spine over real
|
|
4
|
-
* HTTP — the
|
|
4
|
+
* HTTP — the identity primitives (`Username`, `UsernameProvided`,
|
|
5
5
|
* `Email`) and the login/signup input handling that enforces them, pinned
|
|
6
6
|
* facet-by-facet so a TS↔Rust divergence in any one surfaces as a failure:
|
|
7
7
|
* how usernames are **canonicalized** on the login lookup, the **ASCII-only
|
|
@@ -67,12 +67,16 @@ import '../assert_dev_env.js';
|
|
|
67
67
|
* spine with `open_signup` at its `false` default), and each format violation
|
|
68
68
|
* (leading non-letter, trailing punctuation, embedded disallowed char) → 400,
|
|
69
69
|
* with mid-string `_`/`-` accepted siblings as the don't-over-reject control.
|
|
70
|
-
* Signup is also strict-object on both spines (TS `
|
|
70
|
+
* Signup is also strict-object on both spines (TS a strict fuz_schema `object`, Rust
|
|
71
71
|
* `#[serde(deny_unknown_fields)]`), so an unknown signup body key → 400.
|
|
72
72
|
* Nothing trims a creation username: a padded one is refused 400 at signup and
|
|
73
73
|
* at bootstrap, never trimmed into a legal name. Bootstrap validates its body
|
|
74
74
|
* before its window check, so the padded bootstrap answers 400 even after
|
|
75
|
-
* bootstrap completed.
|
|
75
|
+
* bootstrap completed. Its `token` is bounded the same way: past
|
|
76
|
+
* `BOOTSTRAP_TOKEN_LENGTH_MAX` UTF-16 code units it is 400, at the cap it
|
|
77
|
+
* reaches the closed window's 403, with a two-byte and an astral token at
|
|
78
|
+
* each side so the spines count the same unit — neither bytes nor scalar
|
|
79
|
+
* values.
|
|
76
80
|
*
|
|
77
81
|
* **Email format (creation):** the optional signup `email` is validated to a
|
|
78
82
|
* loose `local@domain.tld` shape on both spines — TS `Email` (`EMAIL_REGEX`:
|
|
@@ -104,6 +108,7 @@ import '../assert_dev_env.js';
|
|
|
104
108
|
*/
|
|
105
109
|
import { describe, test, assert } from 'vitest';
|
|
106
110
|
import { ERROR_ALREADY_BOOTSTRAPPED, ERROR_AUTHENTICATION_REQUIRED, ERROR_INVALID_CREDENTIALS, ERROR_INVALID_JSON_BODY, ERROR_INVALID_REQUEST_BODY, ERROR_NO_MATCHING_INVITE } from '../../http/error_schemas.js';
|
|
111
|
+
import { BOOTSTRAP_TOKEN_LENGTH_MAX } from '../../auth/bootstrap_route_schema.js';
|
|
107
112
|
import { DEFAULT_TEST_PASSWORD } from '../test_credentials.js';
|
|
108
113
|
import { test_if } from './capabilities.js';
|
|
109
114
|
import { SPINE_ACCOUNT_BOOTSTRAP_PATH, SPINE_ACCOUNT_LOGIN_PATH, SPINE_ACCOUNT_PASSWORD_PATH, SPINE_ACCOUNT_SIGNUP_PATH } from './spine_surface_constants.js';
|
|
@@ -431,9 +436,9 @@ export const describe_identity_parity_cross_tests = (options) => {
|
|
|
431
436
|
});
|
|
432
437
|
describe('login input validation parity', () => {
|
|
433
438
|
// Malformed login input → 400 `invalid_request_body` on every spine. TS
|
|
434
|
-
// runs the full `LoginInput`
|
|
439
|
+
// runs the full `LoginInput` schema (`UsernameProvided` non-empty /
|
|
435
440
|
// max 255 / non-empty-after-trim, `PasswordProvided` non-empty / max 300,
|
|
436
|
-
// `
|
|
441
|
+
// a strict `object`); the Rust spine enforces the same shape in
|
|
437
442
|
// `account_login` (an extra key fails `deny_unknown_fields` → 400, not
|
|
438
443
|
// axum's 422). These each previously fell through to a lookup-miss 401 (or
|
|
439
444
|
// a bespoke-string 400) on one backend — a status *and* body divergence the
|
|
@@ -505,7 +510,7 @@ export const describe_identity_parity_cross_tests = (options) => {
|
|
|
505
510
|
});
|
|
506
511
|
});
|
|
507
512
|
describe('signup input validation parity', () => {
|
|
508
|
-
// Signup is `
|
|
513
|
+
// Signup is a strict fuz_schema `object` on TS and `#[serde(deny_unknown_fields)]` on
|
|
509
514
|
// the Rust spine — an unknown body key → 400 `invalid_request_body` on
|
|
510
515
|
// both (the Rust spine previously ignored it via serde). The username is
|
|
511
516
|
// valid so the rejection isolates the unknown key (a valid body would
|
|
@@ -553,6 +558,34 @@ export const describe_identity_parity_cross_tests = (options) => {
|
|
|
553
558
|
});
|
|
554
559
|
assert.deepStrictEqual(control, { status: 403, error: ERROR_ALREADY_BOOTSTRAPPED }, 'bootstrap unpadded control');
|
|
555
560
|
});
|
|
561
|
+
// The token's maximum is UTF-16 code units on every spine: a two-byte
|
|
562
|
+
// token at the cap is twice the cap in bytes and still reaches the closed
|
|
563
|
+
// window, and an astral one is half the cap in scalar values and refused
|
|
564
|
+
// one character past it.
|
|
565
|
+
test_if(bootstrap_path !== null, 'a token past its maximum in code units → 400, ahead of the window check', async () => {
|
|
566
|
+
const fixture = await setup_test();
|
|
567
|
+
const astral = '\u{1F600}';
|
|
568
|
+
const attempt = (token) => post_json(fixture, bootstrap_path, {
|
|
569
|
+
token,
|
|
570
|
+
username: 'token_length_keeper',
|
|
571
|
+
password: DEFAULT_TEST_PASSWORD
|
|
572
|
+
});
|
|
573
|
+
for (const token of [
|
|
574
|
+
'x'.repeat(BOOTSTRAP_TOKEN_LENGTH_MAX),
|
|
575
|
+
'\u00e9'.repeat(BOOTSTRAP_TOKEN_LENGTH_MAX),
|
|
576
|
+
astral.repeat(BOOTSTRAP_TOKEN_LENGTH_MAX / 2)
|
|
577
|
+
]) {
|
|
578
|
+
assert.deepStrictEqual(await attempt(token), { status: 403, error: ERROR_ALREADY_BOOTSTRAPPED }, `a ${token.length}-unit token passes validation`);
|
|
579
|
+
}
|
|
580
|
+
for (const token of [
|
|
581
|
+
'x'.repeat(BOOTSTRAP_TOKEN_LENGTH_MAX + 1),
|
|
582
|
+
'\u00e9'.repeat(BOOTSTRAP_TOKEN_LENGTH_MAX + 1),
|
|
583
|
+
astral.repeat(BOOTSTRAP_TOKEN_LENGTH_MAX / 2) + 'a',
|
|
584
|
+
astral.repeat(BOOTSTRAP_TOKEN_LENGTH_MAX / 2 + 1)
|
|
585
|
+
]) {
|
|
586
|
+
assert_attempt(await attempt(token), 400, `a ${token.length}-unit token`);
|
|
587
|
+
}
|
|
588
|
+
});
|
|
556
589
|
});
|
|
557
590
|
describe('malformed JSON body parity', () => {
|
|
558
591
|
// A body typed `application/json` that doesn't parse, or parses to
|
|
@@ -1,111 +1,287 @@
|
|
|
1
1
|
import '../assert_dev_env.js';
|
|
2
|
-
import {
|
|
2
|
+
import { type Infer } from '@fuzdev/fuz_schema/schema.ts';
|
|
3
3
|
import type { RpcPathCrossSuiteOptions } from './setup.js';
|
|
4
4
|
import { TestingOriginCheckOutput, type TestingOriginCheckInput } from './testing_origin_check.js';
|
|
5
5
|
/** One expected refusal of a parse row. */
|
|
6
|
-
export declare const OriginConformanceError:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
unbracketed_ipv6: "unbracketed_ipv6";
|
|
18
|
-
partial_wildcard: "partial_wildcard";
|
|
19
|
-
non_canonical_ipv4: "non_canonical_ipv4";
|
|
20
|
-
unclosed_ipv6: "unclosed_ipv6";
|
|
21
|
-
invalid_ipv6: "invalid_ipv6";
|
|
22
|
-
invalid_after_ipv6: "invalid_after_ipv6";
|
|
23
|
-
invalid_port: "invalid_port";
|
|
24
|
-
default_port: "default_port";
|
|
25
|
-
no_origins: "no_origins";
|
|
26
|
-
}>;
|
|
27
|
-
}, z.core.$strict>;
|
|
28
|
-
export type OriginConformanceError = z.infer<typeof OriginConformanceError>;
|
|
6
|
+
export declare const OriginConformanceError: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
7
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
8
|
+
index?: number | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
11
|
+
index?: number | undefined;
|
|
12
|
+
}, "object", {
|
|
13
|
+
index: import("@fuzdev/fuz_schema/schema.ts").Schema<number | undefined, number | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>>>;
|
|
14
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins", "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins", "one_of", readonly ["no_origins", "empty_entry", "not_printable_ascii", "missing_scheme", "unsupported_scheme", "has_path", "has_userinfo", "missing_host", "invalid_host_char", "unbracketed_ipv6", "partial_wildcard", "non_canonical_ipv4", "unclosed_ipv6", "invalid_ipv6", "invalid_after_ipv6", "invalid_port", "default_port"]>;
|
|
15
|
+
}>;
|
|
16
|
+
export type OriginConformanceError = Infer<typeof OriginConformanceError>;
|
|
29
17
|
/** A parse row: the value parses (`ok: true`), or is refused with `errors`. */
|
|
30
|
-
export declare const OriginConformanceParseRow:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
note
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
index
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
18
|
+
export declare const OriginConformanceParseRow: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
19
|
+
ok: true;
|
|
20
|
+
raw: string;
|
|
21
|
+
note?: string | undefined;
|
|
22
|
+
} | {
|
|
23
|
+
errors: {
|
|
24
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
25
|
+
index?: number | undefined;
|
|
26
|
+
}[];
|
|
27
|
+
raw: string;
|
|
28
|
+
note?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
ok: true;
|
|
31
|
+
raw: string;
|
|
32
|
+
note?: string | undefined;
|
|
33
|
+
} | {
|
|
34
|
+
errors: {
|
|
35
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
36
|
+
index?: number | undefined;
|
|
37
|
+
}[];
|
|
38
|
+
raw: string;
|
|
39
|
+
note?: string | undefined;
|
|
40
|
+
}, "union", readonly [import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
41
|
+
ok: true;
|
|
42
|
+
raw: string;
|
|
43
|
+
note?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
ok: true;
|
|
46
|
+
raw: string;
|
|
47
|
+
note?: string | undefined;
|
|
48
|
+
}, "object", {
|
|
49
|
+
raw: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
50
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
|
|
51
|
+
note: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
52
|
+
}>, import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
53
|
+
errors: {
|
|
54
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
55
|
+
index?: number | undefined;
|
|
56
|
+
}[];
|
|
57
|
+
raw: string;
|
|
58
|
+
note?: string | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
errors: {
|
|
61
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
62
|
+
index?: number | undefined;
|
|
63
|
+
}[];
|
|
64
|
+
raw: string;
|
|
65
|
+
note?: string | undefined;
|
|
66
|
+
}, "object", {
|
|
67
|
+
raw: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
68
|
+
errors: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<{
|
|
69
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
70
|
+
index?: number | undefined;
|
|
71
|
+
}[], import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
72
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
73
|
+
index?: number | undefined;
|
|
74
|
+
}[], {
|
|
75
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
76
|
+
index?: number | undefined;
|
|
77
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
78
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
79
|
+
index?: number | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
82
|
+
index?: number | undefined;
|
|
83
|
+
}, "object", {
|
|
84
|
+
index: import("@fuzdev/fuz_schema/schema.ts").Schema<number | undefined, number | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>>>;
|
|
85
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins", "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins", "one_of", readonly ["no_origins", "empty_entry", "not_printable_ascii", "missing_scheme", "unsupported_scheme", "has_path", "has_userinfo", "missing_host", "invalid_host_char", "unbracketed_ipv6", "partial_wildcard", "non_canonical_ipv4", "unclosed_ipv6", "invalid_ipv6", "invalid_after_ipv6", "invalid_port", "default_port"]>;
|
|
86
|
+
}>>>;
|
|
87
|
+
note: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
88
|
+
}>]>;
|
|
89
|
+
export type OriginConformanceParseRow = Infer<typeof OriginConformanceParseRow>;
|
|
61
90
|
/** A match row: a valid allowlist, one `Origin` value or `null`, and the answer. */
|
|
62
|
-
export declare const OriginConformanceMatchRow:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
allowed:
|
|
66
|
-
note
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
patterns:
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
91
|
+
export declare const OriginConformanceMatchRow: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
92
|
+
origin: string | null;
|
|
93
|
+
patterns: string;
|
|
94
|
+
allowed: boolean;
|
|
95
|
+
note?: string | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
origin: string | null;
|
|
98
|
+
patterns: string;
|
|
99
|
+
allowed: boolean;
|
|
100
|
+
note?: string | undefined;
|
|
101
|
+
}, "object", {
|
|
102
|
+
patterns: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
103
|
+
origin: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
104
|
+
allowed: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
105
|
+
note: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
106
|
+
}>;
|
|
107
|
+
export type OriginConformanceMatchRow = Infer<typeof OriginConformanceMatchRow>;
|
|
108
|
+
/** The conformance table, a `@fuzdev/fuz_schema` `object`. */
|
|
109
|
+
export declare const OriginConformance: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
110
|
+
match: {
|
|
111
|
+
origin: string | null;
|
|
112
|
+
patterns: string;
|
|
113
|
+
allowed: boolean;
|
|
114
|
+
note?: string | undefined;
|
|
115
|
+
}[];
|
|
116
|
+
parse: ({
|
|
117
|
+
ok: true;
|
|
118
|
+
raw: string;
|
|
119
|
+
note?: string | undefined;
|
|
120
|
+
} | {
|
|
121
|
+
errors: {
|
|
122
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
123
|
+
index?: number | undefined;
|
|
124
|
+
}[];
|
|
125
|
+
raw: string;
|
|
126
|
+
note?: string | undefined;
|
|
127
|
+
})[];
|
|
128
|
+
}, {
|
|
129
|
+
match: {
|
|
130
|
+
origin: string | null;
|
|
131
|
+
patterns: string;
|
|
132
|
+
allowed: boolean;
|
|
133
|
+
note?: string | undefined;
|
|
134
|
+
}[];
|
|
135
|
+
parse: ({
|
|
136
|
+
ok: true;
|
|
137
|
+
raw: string;
|
|
138
|
+
note?: string | undefined;
|
|
139
|
+
} | {
|
|
140
|
+
errors: {
|
|
141
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
142
|
+
index?: number | undefined;
|
|
143
|
+
}[];
|
|
144
|
+
raw: string;
|
|
145
|
+
note?: string | undefined;
|
|
146
|
+
})[];
|
|
147
|
+
}, "object", {
|
|
148
|
+
parse: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<({
|
|
149
|
+
ok: true;
|
|
150
|
+
raw: string;
|
|
151
|
+
note?: string | undefined;
|
|
152
|
+
} | {
|
|
153
|
+
errors: {
|
|
154
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
155
|
+
index?: number | undefined;
|
|
156
|
+
}[];
|
|
157
|
+
raw: string;
|
|
158
|
+
note?: string | undefined;
|
|
159
|
+
})[], import("@fuzdev/fuz_schema/schema.ts").Schema<({
|
|
160
|
+
ok: true;
|
|
161
|
+
raw: string;
|
|
162
|
+
note?: string | undefined;
|
|
163
|
+
} | {
|
|
164
|
+
errors: {
|
|
165
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
166
|
+
index?: number | undefined;
|
|
167
|
+
}[];
|
|
168
|
+
raw: string;
|
|
169
|
+
note?: string | undefined;
|
|
170
|
+
})[], ({
|
|
171
|
+
ok: true;
|
|
172
|
+
raw: string;
|
|
173
|
+
note?: string | undefined;
|
|
174
|
+
} | {
|
|
175
|
+
errors: {
|
|
176
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
177
|
+
index?: number | undefined;
|
|
178
|
+
}[];
|
|
179
|
+
raw: string;
|
|
180
|
+
note?: string | undefined;
|
|
181
|
+
})[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
182
|
+
ok: true;
|
|
183
|
+
raw: string;
|
|
184
|
+
note?: string | undefined;
|
|
185
|
+
} | {
|
|
186
|
+
errors: {
|
|
187
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
188
|
+
index?: number | undefined;
|
|
189
|
+
}[];
|
|
190
|
+
raw: string;
|
|
191
|
+
note?: string | undefined;
|
|
192
|
+
}, {
|
|
193
|
+
ok: true;
|
|
194
|
+
raw: string;
|
|
195
|
+
note?: string | undefined;
|
|
196
|
+
} | {
|
|
197
|
+
errors: {
|
|
198
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
199
|
+
index?: number | undefined;
|
|
200
|
+
}[];
|
|
201
|
+
raw: string;
|
|
202
|
+
note?: string | undefined;
|
|
203
|
+
}, "union", readonly [import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
204
|
+
ok: true;
|
|
205
|
+
raw: string;
|
|
206
|
+
note?: string | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
ok: true;
|
|
209
|
+
raw: string;
|
|
210
|
+
note?: string | undefined;
|
|
211
|
+
}, "object", {
|
|
212
|
+
raw: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
213
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
|
|
214
|
+
note: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
215
|
+
}>, import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
216
|
+
errors: {
|
|
217
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
218
|
+
index?: number | undefined;
|
|
219
|
+
}[];
|
|
220
|
+
raw: string;
|
|
221
|
+
note?: string | undefined;
|
|
222
|
+
}, {
|
|
223
|
+
errors: {
|
|
224
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
225
|
+
index?: number | undefined;
|
|
226
|
+
}[];
|
|
227
|
+
raw: string;
|
|
228
|
+
note?: string | undefined;
|
|
229
|
+
}, "object", {
|
|
230
|
+
raw: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
231
|
+
errors: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<{
|
|
232
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
233
|
+
index?: number | undefined;
|
|
234
|
+
}[], import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
235
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
236
|
+
index?: number | undefined;
|
|
237
|
+
}[], {
|
|
238
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
239
|
+
index?: number | undefined;
|
|
240
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
241
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
242
|
+
index?: number | undefined;
|
|
243
|
+
}, {
|
|
244
|
+
kind: "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins";
|
|
245
|
+
index?: number | undefined;
|
|
246
|
+
}, "object", {
|
|
247
|
+
index: import("@fuzdev/fuz_schema/schema.ts").Schema<number | undefined, number | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>>>;
|
|
248
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins", "empty_entry" | "not_printable_ascii" | "missing_scheme" | "unsupported_scheme" | "has_path" | "has_userinfo" | "missing_host" | "invalid_host_char" | "unbracketed_ipv6" | "partial_wildcard" | "non_canonical_ipv4" | "unclosed_ipv6" | "invalid_ipv6" | "invalid_after_ipv6" | "invalid_port" | "default_port" | "no_origins", "one_of", readonly ["no_origins", "empty_entry", "not_printable_ascii", "missing_scheme", "unsupported_scheme", "has_path", "has_userinfo", "missing_host", "invalid_host_char", "unbracketed_ipv6", "partial_wildcard", "non_canonical_ipv4", "unclosed_ipv6", "invalid_ipv6", "invalid_after_ipv6", "invalid_port", "default_port"]>;
|
|
249
|
+
}>>>;
|
|
250
|
+
note: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
251
|
+
}>]>>>;
|
|
252
|
+
match: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<{
|
|
253
|
+
origin: string | null;
|
|
254
|
+
patterns: string;
|
|
255
|
+
allowed: boolean;
|
|
256
|
+
note?: string | undefined;
|
|
257
|
+
}[], import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
258
|
+
origin: string | null;
|
|
259
|
+
patterns: string;
|
|
260
|
+
allowed: boolean;
|
|
261
|
+
note?: string | undefined;
|
|
262
|
+
}[], {
|
|
263
|
+
origin: string | null;
|
|
264
|
+
patterns: string;
|
|
265
|
+
allowed: boolean;
|
|
266
|
+
note?: string | undefined;
|
|
267
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
268
|
+
origin: string | null;
|
|
269
|
+
patterns: string;
|
|
270
|
+
allowed: boolean;
|
|
271
|
+
note?: string | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
origin: string | null;
|
|
274
|
+
patterns: string;
|
|
275
|
+
allowed: boolean;
|
|
276
|
+
note?: string | undefined;
|
|
277
|
+
}, "object", {
|
|
278
|
+
patterns: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
279
|
+
origin: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
280
|
+
allowed: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
281
|
+
note: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
282
|
+
}>>>;
|
|
283
|
+
}>;
|
|
284
|
+
export type OriginConformance = Infer<typeof OriginConformance>;
|
|
109
285
|
/** The committed table, resolved relative to this module. */
|
|
110
286
|
export declare const ORIGIN_CONFORMANCE_URL: URL;
|
|
111
287
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"origin_conformance.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/origin_conformance.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AA0B9B,OAAO,
|
|
1
|
+
{"version":3,"file":"origin_conformance.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/origin_conformance.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AA0B9B,OAAO,EAgBN,KAAK,KAAK,EACV,MAAM,8BAA8B,CAAC;AAItC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D,OAAO,EACN,wBAAwB,EAExB,KAAK,uBAAuB,EAC5B,MAAM,2BAA2B,CAAC;AAEnC,2CAA2C;AAC3C,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE1E,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAEhF,oFAAoF;AACpF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;EAKpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAEhF,8DAA8D;AAC9D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEhE,6DAA6D;AAC7D,eAAO,MAAM,sBAAsB,EAAE,GAA2D,CAAC;AAEjG;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,QAAO,iBACiD,CAAC;AAE7F,wDAAwD;AACxD,MAAM,WAAW,sBAAsB;IACtC,2DAA2D;IAC3D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;CAC5C;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,GACxC,OAAO,iBAAiB,KACtB,KAAK,CAAC,sBAAsB,CAc9B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,GACrC,QAAQ,aAAa,CAAC,sBAAsB,CAAC,EAC7C,QAAQ,aAAa,CAAC,OAAO,CAAC,EAC9B,SAAS,MAAM,KACb,IAiBF,CAAC;AAEF,6DAA6D;AAC7D,MAAM,MAAM,iCAAiC,GAAG,wBAAwB,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC,GACnD,SAAS,iCAAiC,KACxC,IA4BF,CAAC"}
|