@fuzdev/fuz_app 0.1.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/LICENSE +21 -0
- package/README.md +49 -0
- package/dist/actions/action_bridge.d.ts +65 -0
- package/dist/actions/action_bridge.d.ts.map +1 -0
- package/dist/actions/action_bridge.js +76 -0
- package/dist/actions/action_codegen.d.ts +97 -0
- package/dist/actions/action_codegen.d.ts.map +1 -0
- package/dist/actions/action_codegen.js +280 -0
- package/dist/actions/action_registry.d.ts +35 -0
- package/dist/actions/action_registry.d.ts.map +1 -0
- package/dist/actions/action_registry.js +83 -0
- package/dist/actions/action_spec.d.ts +169 -0
- package/dist/actions/action_spec.d.ts.map +1 -0
- package/dist/actions/action_spec.js +76 -0
- package/dist/auth/account_queries.d.ts +96 -0
- package/dist/auth/account_queries.d.ts.map +1 -0
- package/dist/auth/account_queries.js +172 -0
- package/dist/auth/account_routes.d.ts +86 -0
- package/dist/auth/account_routes.d.ts.map +1 -0
- package/dist/auth/account_routes.js +406 -0
- package/dist/auth/account_schema.d.ts +192 -0
- package/dist/auth/account_schema.d.ts.map +1 -0
- package/dist/auth/account_schema.js +105 -0
- package/dist/auth/admin_routes.d.ts +29 -0
- package/dist/auth/admin_routes.d.ts.map +1 -0
- package/dist/auth/admin_routes.js +193 -0
- package/dist/auth/api_token.d.ts +33 -0
- package/dist/auth/api_token.d.ts.map +1 -0
- package/dist/auth/api_token.js +36 -0
- package/dist/auth/api_token_queries.d.ts +80 -0
- package/dist/auth/api_token_queries.d.ts.map +1 -0
- package/dist/auth/api_token_queries.js +116 -0
- package/dist/auth/app_settings_queries.d.ts +33 -0
- package/dist/auth/app_settings_queries.d.ts.map +1 -0
- package/dist/auth/app_settings_queries.js +51 -0
- package/dist/auth/app_settings_routes.d.ts +27 -0
- package/dist/auth/app_settings_routes.d.ts.map +1 -0
- package/dist/auth/app_settings_routes.js +66 -0
- package/dist/auth/app_settings_schema.d.ts +35 -0
- package/dist/auth/app_settings_schema.d.ts.map +1 -0
- package/dist/auth/app_settings_schema.js +22 -0
- package/dist/auth/audit_log_queries.d.ts +90 -0
- package/dist/auth/audit_log_queries.d.ts.map +1 -0
- package/dist/auth/audit_log_queries.js +205 -0
- package/dist/auth/audit_log_routes.d.ts +33 -0
- package/dist/auth/audit_log_routes.d.ts.map +1 -0
- package/dist/auth/audit_log_routes.js +106 -0
- package/dist/auth/audit_log_schema.d.ts +259 -0
- package/dist/auth/audit_log_schema.d.ts.map +1 -0
- package/dist/auth/audit_log_schema.js +123 -0
- package/dist/auth/bearer_auth.d.ts +32 -0
- package/dist/auth/bearer_auth.d.ts.map +1 -0
- package/dist/auth/bearer_auth.js +90 -0
- package/dist/auth/bootstrap_account.d.ts +82 -0
- package/dist/auth/bootstrap_account.d.ts.map +1 -0
- package/dist/auth/bootstrap_account.js +97 -0
- package/dist/auth/bootstrap_routes.d.ts +74 -0
- package/dist/auth/bootstrap_routes.d.ts.map +1 -0
- package/dist/auth/bootstrap_routes.js +154 -0
- package/dist/auth/daemon_token.d.ts +49 -0
- package/dist/auth/daemon_token.d.ts.map +1 -0
- package/dist/auth/daemon_token.js +49 -0
- package/dist/auth/daemon_token_middleware.d.ts +93 -0
- package/dist/auth/daemon_token_middleware.d.ts.map +1 -0
- package/dist/auth/daemon_token_middleware.js +167 -0
- package/dist/auth/ddl.d.ts +27 -0
- package/dist/auth/ddl.d.ts.map +1 -0
- package/dist/auth/ddl.js +111 -0
- package/dist/auth/deps.d.ts +52 -0
- package/dist/auth/deps.d.ts.map +1 -0
- package/dist/auth/deps.js +10 -0
- package/dist/auth/invite_queries.d.ts +68 -0
- package/dist/auth/invite_queries.d.ts.map +1 -0
- package/dist/auth/invite_queries.js +105 -0
- package/dist/auth/invite_routes.d.ts +18 -0
- package/dist/auth/invite_routes.d.ts.map +1 -0
- package/dist/auth/invite_routes.js +129 -0
- package/dist/auth/invite_schema.d.ts +51 -0
- package/dist/auth/invite_schema.d.ts.map +1 -0
- package/dist/auth/invite_schema.js +25 -0
- package/dist/auth/keyring.d.ts +87 -0
- package/dist/auth/keyring.d.ts.map +1 -0
- package/dist/auth/keyring.js +142 -0
- package/dist/auth/middleware.d.ts +40 -0
- package/dist/auth/middleware.d.ts.map +1 -0
- package/dist/auth/middleware.js +64 -0
- package/dist/auth/migrations.d.ts +42 -0
- package/dist/auth/migrations.d.ts.map +1 -0
- package/dist/auth/migrations.js +79 -0
- package/dist/auth/password.d.ts +39 -0
- package/dist/auth/password.d.ts.map +1 -0
- package/dist/auth/password.js +25 -0
- package/dist/auth/password_argon2.d.ts +43 -0
- package/dist/auth/password_argon2.d.ts.map +1 -0
- package/dist/auth/password_argon2.js +76 -0
- package/dist/auth/permit_queries.d.ts +72 -0
- package/dist/auth/permit_queries.d.ts.map +1 -0
- package/dist/auth/permit_queries.js +116 -0
- package/dist/auth/request_context.d.ts +114 -0
- package/dist/auth/request_context.d.ts.map +1 -0
- package/dist/auth/request_context.js +176 -0
- package/dist/auth/require_keeper.d.ts +20 -0
- package/dist/auth/require_keeper.d.ts.map +1 -0
- package/dist/auth/require_keeper.js +35 -0
- package/dist/auth/role_schema.d.ts +69 -0
- package/dist/auth/role_schema.d.ts.map +1 -0
- package/dist/auth/role_schema.js +70 -0
- package/dist/auth/route_guards.d.ts +21 -0
- package/dist/auth/route_guards.d.ts.map +1 -0
- package/dist/auth/route_guards.js +32 -0
- package/dist/auth/session_cookie.d.ts +158 -0
- package/dist/auth/session_cookie.d.ts.map +1 -0
- package/dist/auth/session_cookie.js +135 -0
- package/dist/auth/session_lifecycle.d.ts +35 -0
- package/dist/auth/session_lifecycle.d.ts.map +1 -0
- package/dist/auth/session_lifecycle.js +27 -0
- package/dist/auth/session_middleware.d.ts +33 -0
- package/dist/auth/session_middleware.d.ts.map +1 -0
- package/dist/auth/session_middleware.js +62 -0
- package/dist/auth/session_queries.d.ts +135 -0
- package/dist/auth/session_queries.d.ts.map +1 -0
- package/dist/auth/session_queries.js +186 -0
- package/dist/auth/signup_routes.d.ts +32 -0
- package/dist/auth/signup_routes.d.ts.map +1 -0
- package/dist/auth/signup_routes.js +150 -0
- package/dist/cli/args.d.ts +48 -0
- package/dist/cli/args.d.ts.map +1 -0
- package/dist/cli/args.js +76 -0
- package/dist/cli/config.d.ts +48 -0
- package/dist/cli/config.d.ts.map +1 -0
- package/dist/cli/config.js +77 -0
- package/dist/cli/daemon.d.ts +82 -0
- package/dist/cli/daemon.d.ts.map +1 -0
- package/dist/cli/daemon.js +149 -0
- package/dist/cli/help.d.ts +85 -0
- package/dist/cli/help.d.ts.map +1 -0
- package/dist/cli/help.js +138 -0
- package/dist/cli/logger.d.ts +46 -0
- package/dist/cli/logger.d.ts.map +1 -0
- package/dist/cli/logger.js +48 -0
- package/dist/cli/util.d.ts +36 -0
- package/dist/cli/util.d.ts.map +1 -0
- package/dist/cli/util.js +50 -0
- package/dist/crypto.d.ts +13 -0
- package/dist/crypto.d.ts.map +1 -0
- package/dist/crypto.js +19 -0
- package/dist/db/assert_row.d.ts +18 -0
- package/dist/db/assert_row.d.ts.map +1 -0
- package/dist/db/assert_row.js +24 -0
- package/dist/db/create_db.d.ts +38 -0
- package/dist/db/create_db.d.ts.map +1 -0
- package/dist/db/create_db.js +57 -0
- package/dist/db/db.d.ts +97 -0
- package/dist/db/db.d.ts.map +1 -0
- package/dist/db/db.js +76 -0
- package/dist/db/db_pg.d.ts +21 -0
- package/dist/db/db_pg.d.ts.map +1 -0
- package/dist/db/db_pg.js +45 -0
- package/dist/db/db_pglite.d.ts +21 -0
- package/dist/db/db_pglite.d.ts.map +1 -0
- package/dist/db/db_pglite.js +28 -0
- package/dist/db/migrate.d.ts +67 -0
- package/dist/db/migrate.d.ts.map +1 -0
- package/dist/db/migrate.js +118 -0
- package/dist/db/pg_error.d.ts +16 -0
- package/dist/db/pg_error.d.ts.map +1 -0
- package/dist/db/pg_error.js +15 -0
- package/dist/db/query_deps.d.ts +14 -0
- package/dist/db/query_deps.d.ts.map +1 -0
- package/dist/db/query_deps.js +9 -0
- package/dist/db/sql_identifier.d.ts +27 -0
- package/dist/db/sql_identifier.d.ts.map +1 -0
- package/dist/db/sql_identifier.js +31 -0
- package/dist/db/status.d.ts +62 -0
- package/dist/db/status.d.ts.map +1 -0
- package/dist/db/status.js +116 -0
- package/dist/dev/setup.d.ts +159 -0
- package/dist/dev/setup.d.ts.map +1 -0
- package/dist/dev/setup.js +265 -0
- package/dist/env/dotenv.d.ts +25 -0
- package/dist/env/dotenv.d.ts.map +1 -0
- package/dist/env/dotenv.js +52 -0
- package/dist/env/load.d.ts +52 -0
- package/dist/env/load.d.ts.map +1 -0
- package/dist/env/load.js +79 -0
- package/dist/env/mask.d.ts +19 -0
- package/dist/env/mask.d.ts.map +1 -0
- package/dist/env/mask.js +26 -0
- package/dist/env/resolve.d.ts +126 -0
- package/dist/env/resolve.d.ts.map +1 -0
- package/dist/env/resolve.js +200 -0
- package/dist/hono_context.d.ts +48 -0
- package/dist/hono_context.d.ts.map +1 -0
- package/dist/hono_context.js +22 -0
- package/dist/http/common_routes.d.ts +52 -0
- package/dist/http/common_routes.d.ts.map +1 -0
- package/dist/http/common_routes.js +65 -0
- package/dist/http/db_routes.d.ts +57 -0
- package/dist/http/db_routes.d.ts.map +1 -0
- package/dist/http/db_routes.js +176 -0
- package/dist/http/error_schemas.d.ts +169 -0
- package/dist/http/error_schemas.d.ts.map +1 -0
- package/dist/http/error_schemas.js +178 -0
- package/dist/http/middleware_spec.d.ts +19 -0
- package/dist/http/middleware_spec.d.ts.map +1 -0
- package/dist/http/middleware_spec.js +9 -0
- package/dist/http/origin.d.ts +57 -0
- package/dist/http/origin.d.ts.map +1 -0
- package/dist/http/origin.js +207 -0
- package/dist/http/proxy.d.ts +112 -0
- package/dist/http/proxy.d.ts.map +1 -0
- package/dist/http/proxy.js +240 -0
- package/dist/http/route_spec.d.ts +197 -0
- package/dist/http/route_spec.d.ts.map +1 -0
- package/dist/http/route_spec.js +243 -0
- package/dist/http/schema_helpers.d.ts +64 -0
- package/dist/http/schema_helpers.d.ts.map +1 -0
- package/dist/http/schema_helpers.js +90 -0
- package/dist/http/surface.d.ts +132 -0
- package/dist/http/surface.d.ts.map +1 -0
- package/dist/http/surface.js +156 -0
- package/dist/http/surface_query.d.ts +77 -0
- package/dist/http/surface_query.d.ts.map +1 -0
- package/dist/http/surface_query.js +86 -0
- package/dist/rate_limiter.d.ts +94 -0
- package/dist/rate_limiter.d.ts.map +1 -0
- package/dist/rate_limiter.js +156 -0
- package/dist/realtime/sse.d.ts +80 -0
- package/dist/realtime/sse.d.ts.map +1 -0
- package/dist/realtime/sse.js +109 -0
- package/dist/realtime/sse_auth_guard.d.ts +93 -0
- package/dist/realtime/sse_auth_guard.d.ts.map +1 -0
- package/dist/realtime/sse_auth_guard.js +111 -0
- package/dist/realtime/subscriber_registry.d.ts +85 -0
- package/dist/realtime/subscriber_registry.d.ts.map +1 -0
- package/dist/realtime/subscriber_registry.js +108 -0
- package/dist/runtime/deno.d.ts +21 -0
- package/dist/runtime/deno.d.ts.map +1 -0
- package/dist/runtime/deno.js +83 -0
- package/dist/runtime/deps.d.ts +113 -0
- package/dist/runtime/deps.d.ts.map +1 -0
- package/dist/runtime/deps.js +10 -0
- package/dist/runtime/fs.d.ts +15 -0
- package/dist/runtime/fs.d.ts.map +1 -0
- package/dist/runtime/fs.js +17 -0
- package/dist/runtime/mock.d.ts +81 -0
- package/dist/runtime/mock.d.ts.map +1 -0
- package/dist/runtime/mock.js +195 -0
- package/dist/runtime/node.d.ts +17 -0
- package/dist/runtime/node.d.ts.map +1 -0
- package/dist/runtime/node.js +117 -0
- package/dist/schema_meta.d.ts +16 -0
- package/dist/schema_meta.d.ts.map +1 -0
- package/dist/schema_meta.js +9 -0
- package/dist/sensitivity.d.ts +15 -0
- package/dist/sensitivity.d.ts.map +1 -0
- package/dist/sensitivity.js +9 -0
- package/dist/server/app_backend.d.ts +74 -0
- package/dist/server/app_backend.d.ts.map +1 -0
- package/dist/server/app_backend.js +39 -0
- package/dist/server/app_server.d.ts +201 -0
- package/dist/server/app_server.d.ts.map +1 -0
- package/dist/server/app_server.js +266 -0
- package/dist/server/env.d.ts +68 -0
- package/dist/server/env.d.ts.map +1 -0
- package/dist/server/env.js +95 -0
- package/dist/server/startup.d.ts +22 -0
- package/dist/server/startup.d.ts.map +1 -0
- package/dist/server/startup.js +48 -0
- package/dist/server/static.d.ts +39 -0
- package/dist/server/static.d.ts.map +1 -0
- package/dist/server/static.js +38 -0
- package/dist/server/validate_nginx.d.ts +34 -0
- package/dist/server/validate_nginx.d.ts.map +1 -0
- package/dist/server/validate_nginx.js +118 -0
- package/dist/testing/CLAUDE.md +3 -0
- package/dist/testing/admin_integration.d.ts +45 -0
- package/dist/testing/admin_integration.d.ts.map +1 -0
- package/dist/testing/admin_integration.js +840 -0
- package/dist/testing/adversarial_404.d.ts +15 -0
- package/dist/testing/adversarial_404.d.ts.map +1 -0
- package/dist/testing/adversarial_404.js +118 -0
- package/dist/testing/adversarial_headers.d.ts +36 -0
- package/dist/testing/adversarial_headers.d.ts.map +1 -0
- package/dist/testing/adversarial_headers.js +128 -0
- package/dist/testing/adversarial_input.d.ts +56 -0
- package/dist/testing/adversarial_input.d.ts.map +1 -0
- package/dist/testing/adversarial_input.js +494 -0
- package/dist/testing/app_server.d.ts +169 -0
- package/dist/testing/app_server.d.ts.map +1 -0
- package/dist/testing/app_server.js +240 -0
- package/dist/testing/assert_dev_env.d.ts +10 -0
- package/dist/testing/assert_dev_env.d.ts.map +1 -0
- package/dist/testing/assert_dev_env.js +13 -0
- package/dist/testing/assertions.d.ts +61 -0
- package/dist/testing/assertions.d.ts.map +1 -0
- package/dist/testing/assertions.js +96 -0
- package/dist/testing/attack_surface.d.ts +63 -0
- package/dist/testing/attack_surface.d.ts.map +1 -0
- package/dist/testing/attack_surface.js +224 -0
- package/dist/testing/audit_completeness.d.ts +29 -0
- package/dist/testing/audit_completeness.d.ts.map +1 -0
- package/dist/testing/audit_completeness.js +410 -0
- package/dist/testing/auth_apps.d.ts +55 -0
- package/dist/testing/auth_apps.d.ts.map +1 -0
- package/dist/testing/auth_apps.js +122 -0
- package/dist/testing/data_exposure.d.ts +62 -0
- package/dist/testing/data_exposure.d.ts.map +1 -0
- package/dist/testing/data_exposure.js +297 -0
- package/dist/testing/db.d.ts +111 -0
- package/dist/testing/db.d.ts.map +1 -0
- package/dist/testing/db.js +258 -0
- package/dist/testing/entities.d.ts +21 -0
- package/dist/testing/entities.d.ts.map +1 -0
- package/dist/testing/entities.js +42 -0
- package/dist/testing/error_coverage.d.ts +78 -0
- package/dist/testing/error_coverage.d.ts.map +1 -0
- package/dist/testing/error_coverage.js +135 -0
- package/dist/testing/integration.d.ts +37 -0
- package/dist/testing/integration.d.ts.map +1 -0
- package/dist/testing/integration.js +1139 -0
- package/dist/testing/integration_helpers.d.ts +107 -0
- package/dist/testing/integration_helpers.d.ts.map +1 -0
- package/dist/testing/integration_helpers.js +246 -0
- package/dist/testing/middleware.d.ts +125 -0
- package/dist/testing/middleware.d.ts.map +1 -0
- package/dist/testing/middleware.js +210 -0
- package/dist/testing/rate_limiting.d.ts +43 -0
- package/dist/testing/rate_limiting.d.ts.map +1 -0
- package/dist/testing/rate_limiting.js +216 -0
- package/dist/testing/round_trip.d.ts +37 -0
- package/dist/testing/round_trip.d.ts.map +1 -0
- package/dist/testing/round_trip.js +128 -0
- package/dist/testing/schema_generators.d.ts +33 -0
- package/dist/testing/schema_generators.d.ts.map +1 -0
- package/dist/testing/schema_generators.js +137 -0
- package/dist/testing/standard.d.ts +49 -0
- package/dist/testing/standard.d.ts.map +1 -0
- package/dist/testing/standard.js +16 -0
- package/dist/testing/stubs.d.ts +96 -0
- package/dist/testing/stubs.d.ts.map +1 -0
- package/dist/testing/stubs.js +192 -0
- package/dist/testing/surface_invariants.d.ts +189 -0
- package/dist/testing/surface_invariants.d.ts.map +1 -0
- package/dist/testing/surface_invariants.js +450 -0
- package/dist/ui/AccountSessions.svelte +75 -0
- package/dist/ui/AccountSessions.svelte.d.ts +19 -0
- package/dist/ui/AccountSessions.svelte.d.ts.map +1 -0
- package/dist/ui/AdminAccounts.svelte +107 -0
- package/dist/ui/AdminAccounts.svelte.d.ts +19 -0
- package/dist/ui/AdminAccounts.svelte.d.ts.map +1 -0
- package/dist/ui/AdminAuditLog.svelte +144 -0
- package/dist/ui/AdminAuditLog.svelte.d.ts +4 -0
- package/dist/ui/AdminAuditLog.svelte.d.ts.map +1 -0
- package/dist/ui/AdminInvites.svelte +142 -0
- package/dist/ui/AdminInvites.svelte.d.ts +4 -0
- package/dist/ui/AdminInvites.svelte.d.ts.map +1 -0
- package/dist/ui/AdminOverview.svelte +337 -0
- package/dist/ui/AdminOverview.svelte.d.ts +4 -0
- package/dist/ui/AdminOverview.svelte.d.ts.map +1 -0
- package/dist/ui/AdminPermitHistory.svelte +61 -0
- package/dist/ui/AdminPermitHistory.svelte.d.ts +19 -0
- package/dist/ui/AdminPermitHistory.svelte.d.ts.map +1 -0
- package/dist/ui/AdminSessions.svelte +85 -0
- package/dist/ui/AdminSessions.svelte.d.ts +19 -0
- package/dist/ui/AdminSessions.svelte.d.ts.map +1 -0
- package/dist/ui/AdminSettings.svelte +32 -0
- package/dist/ui/AdminSettings.svelte.d.ts +19 -0
- package/dist/ui/AdminSettings.svelte.d.ts.map +1 -0
- package/dist/ui/AdminSurface.svelte +42 -0
- package/dist/ui/AdminSurface.svelte.d.ts +4 -0
- package/dist/ui/AdminSurface.svelte.d.ts.map +1 -0
- package/dist/ui/AppShell.svelte +93 -0
- package/dist/ui/AppShell.svelte.d.ts +20 -0
- package/dist/ui/AppShell.svelte.d.ts.map +1 -0
- package/dist/ui/BootstrapForm.svelte +105 -0
- package/dist/ui/BootstrapForm.svelte.d.ts +4 -0
- package/dist/ui/BootstrapForm.svelte.d.ts.map +1 -0
- package/dist/ui/ColumnLayout.svelte +46 -0
- package/dist/ui/ColumnLayout.svelte.d.ts +11 -0
- package/dist/ui/ColumnLayout.svelte.d.ts.map +1 -0
- package/dist/ui/ConfirmButton.svelte +125 -0
- package/dist/ui/ConfirmButton.svelte.d.ts +54 -0
- package/dist/ui/ConfirmButton.svelte.d.ts.map +1 -0
- package/dist/ui/Datatable.svelte +185 -0
- package/dist/ui/Datatable.svelte.d.ts +35 -0
- package/dist/ui/Datatable.svelte.d.ts.map +1 -0
- package/dist/ui/LoginForm.svelte +82 -0
- package/dist/ui/LoginForm.svelte.d.ts +8 -0
- package/dist/ui/LoginForm.svelte.d.ts.map +1 -0
- package/dist/ui/LogoutButton.svelte +36 -0
- package/dist/ui/LogoutButton.svelte.d.ts +10 -0
- package/dist/ui/LogoutButton.svelte.d.ts.map +1 -0
- package/dist/ui/MenuLink.svelte +35 -0
- package/dist/ui/MenuLink.svelte.d.ts +12 -0
- package/dist/ui/MenuLink.svelte.d.ts.map +1 -0
- package/dist/ui/OpenSignupToggle.svelte +36 -0
- package/dist/ui/OpenSignupToggle.svelte.d.ts +19 -0
- package/dist/ui/OpenSignupToggle.svelte.d.ts.map +1 -0
- package/dist/ui/PopoverButton.svelte +136 -0
- package/dist/ui/PopoverButton.svelte.d.ts +63 -0
- package/dist/ui/PopoverButton.svelte.d.ts.map +1 -0
- package/dist/ui/SignupForm.svelte +117 -0
- package/dist/ui/SignupForm.svelte.d.ts +7 -0
- package/dist/ui/SignupForm.svelte.d.ts.map +1 -0
- package/dist/ui/SurfaceExplorer.svelte +287 -0
- package/dist/ui/SurfaceExplorer.svelte.d.ts +8 -0
- package/dist/ui/SurfaceExplorer.svelte.d.ts.map +1 -0
- package/dist/ui/account_sessions_state.svelte.d.ts +15 -0
- package/dist/ui/account_sessions_state.svelte.d.ts.map +1 -0
- package/dist/ui/account_sessions_state.svelte.js +45 -0
- package/dist/ui/admin_accounts_state.svelte.d.ts +19 -0
- package/dist/ui/admin_accounts_state.svelte.d.ts.map +1 -0
- package/dist/ui/admin_accounts_state.svelte.js +65 -0
- package/dist/ui/admin_invites_state.svelte.d.ts +19 -0
- package/dist/ui/admin_invites_state.svelte.d.ts.map +1 -0
- package/dist/ui/admin_invites_state.svelte.js +71 -0
- package/dist/ui/admin_sessions_state.svelte.d.ts +18 -0
- package/dist/ui/admin_sessions_state.svelte.d.ts.map +1 -0
- package/dist/ui/admin_sessions_state.svelte.js +62 -0
- package/dist/ui/app_settings_state.svelte.d.ts +14 -0
- package/dist/ui/app_settings_state.svelte.d.ts.map +1 -0
- package/dist/ui/app_settings_state.svelte.js +44 -0
- package/dist/ui/audit_log_state.svelte.d.ts +40 -0
- package/dist/ui/audit_log_state.svelte.d.ts.map +1 -0
- package/dist/ui/audit_log_state.svelte.js +153 -0
- package/dist/ui/auth_state.svelte.d.ts +85 -0
- package/dist/ui/auth_state.svelte.d.ts.map +1 -0
- package/dist/ui/auth_state.svelte.js +238 -0
- package/dist/ui/datatable.d.ts +25 -0
- package/dist/ui/datatable.d.ts.map +1 -0
- package/dist/ui/datatable.js +9 -0
- package/dist/ui/enter_advance.d.ts +13 -0
- package/dist/ui/enter_advance.d.ts.map +1 -0
- package/dist/ui/enter_advance.js +30 -0
- package/dist/ui/loadable.svelte.d.ts +55 -0
- package/dist/ui/loadable.svelte.d.ts.map +1 -0
- package/dist/ui/loadable.svelte.js +75 -0
- package/dist/ui/popover.svelte.d.ts +137 -0
- package/dist/ui/popover.svelte.d.ts.map +1 -0
- package/dist/ui/popover.svelte.js +288 -0
- package/dist/ui/position_helpers.d.ts +27 -0
- package/dist/ui/position_helpers.d.ts.map +1 -0
- package/dist/ui/position_helpers.js +81 -0
- package/dist/ui/sidebar_state.svelte.d.ts +30 -0
- package/dist/ui/sidebar_state.svelte.d.ts.map +1 -0
- package/dist/ui/sidebar_state.svelte.js +39 -0
- package/dist/ui/table_state.svelte.d.ts +63 -0
- package/dist/ui/table_state.svelte.d.ts.map +1 -0
- package/dist/ui/table_state.svelte.js +117 -0
- package/dist/ui/ui_fetch.d.ts +29 -0
- package/dist/ui/ui_fetch.d.ts.map +1 -0
- package/dist/ui/ui_fetch.js +37 -0
- package/dist/ui/ui_format.d.ts +63 -0
- package/dist/ui/ui_format.d.ts.map +1 -0
- package/dist/ui/ui_format.js +196 -0
- package/package.json +121 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import './assert_dev_env.js';
|
|
2
|
+
/**
|
|
3
|
+
* Shared test entity factories for `Account`, `Actor`, `Permit`, and `RequestContext`.
|
|
4
|
+
*
|
|
5
|
+
* Accepts `Partial<T>` overrides — callers set only what matters to their test.
|
|
6
|
+
* Uses `create_test_*` names to avoid collisions with real `create_account_with_actor`
|
|
7
|
+
* from `account_queries.ts`.
|
|
8
|
+
*
|
|
9
|
+
* @module
|
|
10
|
+
*/
|
|
11
|
+
import type { Account, Actor, Permit } from '../auth/account_schema.js';
|
|
12
|
+
import type { RequestContext } from '../auth/request_context.js';
|
|
13
|
+
/** Create a test `Account` with sensible defaults. */
|
|
14
|
+
export declare const create_test_account: (overrides?: Partial<Account>) => Account;
|
|
15
|
+
/** Create a test `Actor` with sensible defaults. */
|
|
16
|
+
export declare const create_test_actor: (overrides?: Partial<Actor>) => Actor;
|
|
17
|
+
/** Create a test `Permit` with sensible defaults. */
|
|
18
|
+
export declare const create_test_permit: (overrides?: Partial<Permit>) => Permit;
|
|
19
|
+
/** Create a test `RequestContext` with permits from partial overrides. */
|
|
20
|
+
export declare const create_test_context: (permits?: Array<Partial<Permit>>) => RequestContext;
|
|
21
|
+
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/testing/entities.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAE7B;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAC,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAE/D,sDAAsD;AACtD,eAAO,MAAM,mBAAmB,GAAI,YAAY,OAAO,CAAC,OAAO,CAAC,KAAG,OAWjE,CAAC;AAEH,oDAAoD;AACpD,eAAO,MAAM,iBAAiB,GAAI,YAAY,OAAO,CAAC,KAAK,CAAC,KAAG,KAQ7D,CAAC;AAEH,qDAAqD;AACrD,eAAO,MAAM,kBAAkB,GAAI,YAAY,OAAO,CAAC,MAAM,CAAC,KAAG,MAU/D,CAAC;AAEH,0EAA0E;AAC1E,eAAO,MAAM,mBAAmB,GAAI,UAAS,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAQ,KAAG,cAI3E,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import './assert_dev_env.js';
|
|
2
|
+
/** Create a test `Account` with sensible defaults. */
|
|
3
|
+
export const create_test_account = (overrides) => ({
|
|
4
|
+
id: 'acct-test',
|
|
5
|
+
username: 'test_user',
|
|
6
|
+
email: null,
|
|
7
|
+
email_verified: false,
|
|
8
|
+
password_hash: 'hash',
|
|
9
|
+
created_at: '2024-01-01T00:00:00Z',
|
|
10
|
+
created_by: null,
|
|
11
|
+
updated_at: '2024-01-01T00:00:00Z',
|
|
12
|
+
updated_by: null,
|
|
13
|
+
...overrides,
|
|
14
|
+
});
|
|
15
|
+
/** Create a test `Actor` with sensible defaults. */
|
|
16
|
+
export const create_test_actor = (overrides) => ({
|
|
17
|
+
id: 'actor-test',
|
|
18
|
+
account_id: 'acct-test',
|
|
19
|
+
name: 'test_user',
|
|
20
|
+
created_at: '2024-01-01T00:00:00Z',
|
|
21
|
+
updated_at: null,
|
|
22
|
+
updated_by: null,
|
|
23
|
+
...overrides,
|
|
24
|
+
});
|
|
25
|
+
/** Create a test `Permit` with sensible defaults. */
|
|
26
|
+
export const create_test_permit = (overrides) => ({
|
|
27
|
+
id: 'permit-test',
|
|
28
|
+
actor_id: 'actor-test',
|
|
29
|
+
role: 'admin',
|
|
30
|
+
created_at: '2024-01-01T00:00:00Z',
|
|
31
|
+
expires_at: null,
|
|
32
|
+
revoked_at: null,
|
|
33
|
+
revoked_by: null,
|
|
34
|
+
granted_by: null,
|
|
35
|
+
...overrides,
|
|
36
|
+
});
|
|
37
|
+
/** Create a test `RequestContext` with permits from partial overrides. */
|
|
38
|
+
export const create_test_context = (permits = [{}]) => ({
|
|
39
|
+
account: create_test_account(),
|
|
40
|
+
actor: create_test_actor(),
|
|
41
|
+
permits: permits.map((p) => create_test_permit(p)),
|
|
42
|
+
});
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import './assert_dev_env.js';
|
|
2
|
+
import type { RouteSpec } from '../http/route_spec.js';
|
|
3
|
+
/**
|
|
4
|
+
* Tracks which route × status combinations have been exercised in tests.
|
|
5
|
+
*
|
|
6
|
+
* Use `record()` to log an observed status, or `assert_and_record()` to
|
|
7
|
+
* combine response validation with tracking. After all tests, call
|
|
8
|
+
* `uncovered()` to find declared error statuses never exercised.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ErrorCoverageCollector {
|
|
11
|
+
/** Observed route × status keys: `"METHOD /spec-path:STATUS"`. */
|
|
12
|
+
readonly observed: Set<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Record an observed error status for a route.
|
|
15
|
+
*
|
|
16
|
+
* Resolves the concrete request path back to the spec template path
|
|
17
|
+
* (e.g., `/api/accounts/abc` → `/api/accounts/:id`).
|
|
18
|
+
*
|
|
19
|
+
* @param route_specs - route specs for path resolution
|
|
20
|
+
* @param method - HTTP method
|
|
21
|
+
* @param path - request path (may be concrete)
|
|
22
|
+
* @param status - observed HTTP status code
|
|
23
|
+
*/
|
|
24
|
+
record(route_specs: Array<RouteSpec>, method: string, path: string, status: number): void;
|
|
25
|
+
/**
|
|
26
|
+
* Validate a response against its route spec and record the status.
|
|
27
|
+
*
|
|
28
|
+
* Wraps `assert_response_matches_spec` and records the status code.
|
|
29
|
+
*
|
|
30
|
+
* @param route_specs - route specs for schema lookup and path resolution
|
|
31
|
+
* @param method - HTTP method
|
|
32
|
+
* @param path - request path
|
|
33
|
+
* @param response - the Response to validate and record
|
|
34
|
+
*/
|
|
35
|
+
assert_and_record(route_specs: Array<RouteSpec>, method: string, path: string, response: Response): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Find declared error statuses that were never observed.
|
|
38
|
+
*
|
|
39
|
+
* Computes the declared set from `merge_error_schemas` for each route spec,
|
|
40
|
+
* then subtracts observed keys.
|
|
41
|
+
*
|
|
42
|
+
* @param route_specs - route specs to check coverage against
|
|
43
|
+
* @returns uncovered entries with method, path, and status
|
|
44
|
+
*/
|
|
45
|
+
uncovered(route_specs: Array<RouteSpec>): Array<{
|
|
46
|
+
method: string;
|
|
47
|
+
path: string;
|
|
48
|
+
status: number;
|
|
49
|
+
}>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Default minimum error coverage threshold for the standard integration
|
|
53
|
+
* and admin test suites. Conservative — not all error paths are exercisable
|
|
54
|
+
* in the composable suites. Consumers should increase as their test suites mature.
|
|
55
|
+
*/
|
|
56
|
+
export declare const DEFAULT_INTEGRATION_ERROR_COVERAGE = 0.2;
|
|
57
|
+
/** Options for `assert_error_coverage`. */
|
|
58
|
+
export interface ErrorCoverageOptions {
|
|
59
|
+
/** Minimum coverage ratio (0–1). Default `0` (informational only). */
|
|
60
|
+
min_coverage?: number;
|
|
61
|
+
/** Routes to skip, in `'METHOD /path'` format. */
|
|
62
|
+
ignore_routes?: Array<string>;
|
|
63
|
+
/** HTTP status codes to skip. */
|
|
64
|
+
ignore_statuses?: Array<number>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Assert error coverage meets a minimum threshold.
|
|
68
|
+
*
|
|
69
|
+
* Computes the ratio of exercised error statuses to total declared error
|
|
70
|
+
* statuses. When `min_coverage` is 0 (default), logs coverage info without
|
|
71
|
+
* failing. When > 0, fails if coverage is below the threshold.
|
|
72
|
+
*
|
|
73
|
+
* @param collector - the coverage collector with recorded observations
|
|
74
|
+
* @param route_specs - route specs to check coverage against
|
|
75
|
+
* @param options - threshold and exclusion configuration
|
|
76
|
+
*/
|
|
77
|
+
export declare const assert_error_coverage: (collector: ErrorCoverageCollector, route_specs: Array<RouteSpec>, options?: ErrorCoverageOptions) => void;
|
|
78
|
+
//# sourceMappingURL=error_coverage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error_coverage.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/testing/error_coverage.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAe7B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAIrD;;;;;;GAMG;AACH,qBAAa,sBAAsB;IAClC,kEAAkE;IAClE,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAE3C;;;;;;;;;;OAUG;IACH,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI;IAMzF;;;;;;;;;OASG;IACG,iBAAiB,CACtB,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,EAC7B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,QAAQ,GAChB,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;;;;OAQG;IACH,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAC,CAAC;CAe/F;AAED;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,MAAM,CAAC;AAEtD,2CAA2C;AAC3C,MAAM,WAAW,oBAAoB;IACpC,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,iCAAiC;IACjC,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,GACjC,WAAW,sBAAsB,EACjC,aAAa,KAAK,CAAC,SAAS,CAAC,EAC7B,UAAU,oBAAoB,KAC5B,IA6CF,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import './assert_dev_env.js';
|
|
2
|
+
/**
|
|
3
|
+
* Error reachability coverage tracking.
|
|
4
|
+
*
|
|
5
|
+
* Tracks which declared error statuses are actually exercised in tests.
|
|
6
|
+
* `ErrorCoverageCollector` records status codes observed during test runs,
|
|
7
|
+
* then `assert_error_coverage` compares against declared error schemas
|
|
8
|
+
* to find uncovered error paths.
|
|
9
|
+
*
|
|
10
|
+
* @module
|
|
11
|
+
*/
|
|
12
|
+
import { assert } from 'vitest';
|
|
13
|
+
import { merge_error_schemas } from '../http/schema_helpers.js';
|
|
14
|
+
import { find_route_spec, assert_response_matches_spec } from './integration_helpers.js';
|
|
15
|
+
/**
|
|
16
|
+
* Tracks which route × status combinations have been exercised in tests.
|
|
17
|
+
*
|
|
18
|
+
* Use `record()` to log an observed status, or `assert_and_record()` to
|
|
19
|
+
* combine response validation with tracking. After all tests, call
|
|
20
|
+
* `uncovered()` to find declared error statuses never exercised.
|
|
21
|
+
*/
|
|
22
|
+
export class ErrorCoverageCollector {
|
|
23
|
+
/** Observed route × status keys: `"METHOD /spec-path:STATUS"`. */
|
|
24
|
+
observed = new Set();
|
|
25
|
+
/**
|
|
26
|
+
* Record an observed error status for a route.
|
|
27
|
+
*
|
|
28
|
+
* Resolves the concrete request path back to the spec template path
|
|
29
|
+
* (e.g., `/api/accounts/abc` → `/api/accounts/:id`).
|
|
30
|
+
*
|
|
31
|
+
* @param route_specs - route specs for path resolution
|
|
32
|
+
* @param method - HTTP method
|
|
33
|
+
* @param path - request path (may be concrete)
|
|
34
|
+
* @param status - observed HTTP status code
|
|
35
|
+
*/
|
|
36
|
+
record(route_specs, method, path, status) {
|
|
37
|
+
const spec = find_route_spec(route_specs, method, path);
|
|
38
|
+
const spec_path = spec ? spec.path : path;
|
|
39
|
+
this.observed.add(`${method} ${spec_path}:${status}`);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Validate a response against its route spec and record the status.
|
|
43
|
+
*
|
|
44
|
+
* Wraps `assert_response_matches_spec` and records the status code.
|
|
45
|
+
*
|
|
46
|
+
* @param route_specs - route specs for schema lookup and path resolution
|
|
47
|
+
* @param method - HTTP method
|
|
48
|
+
* @param path - request path
|
|
49
|
+
* @param response - the Response to validate and record
|
|
50
|
+
*/
|
|
51
|
+
async assert_and_record(route_specs, method, path, response) {
|
|
52
|
+
await assert_response_matches_spec(route_specs, method, path, response);
|
|
53
|
+
this.record(route_specs, method, path, response.status);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Find declared error statuses that were never observed.
|
|
57
|
+
*
|
|
58
|
+
* Computes the declared set from `merge_error_schemas` for each route spec,
|
|
59
|
+
* then subtracts observed keys.
|
|
60
|
+
*
|
|
61
|
+
* @param route_specs - route specs to check coverage against
|
|
62
|
+
* @returns uncovered entries with method, path, and status
|
|
63
|
+
*/
|
|
64
|
+
uncovered(route_specs) {
|
|
65
|
+
const missing = [];
|
|
66
|
+
for (const spec of route_specs) {
|
|
67
|
+
const merged = merge_error_schemas(spec);
|
|
68
|
+
if (!merged)
|
|
69
|
+
continue;
|
|
70
|
+
for (const status_str of Object.keys(merged)) {
|
|
71
|
+
const status = Number(status_str);
|
|
72
|
+
const key = `${spec.method} ${spec.path}:${status}`;
|
|
73
|
+
if (!this.observed.has(key)) {
|
|
74
|
+
missing.push({ method: spec.method, path: spec.path, status });
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return missing;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Default minimum error coverage threshold for the standard integration
|
|
83
|
+
* and admin test suites. Conservative — not all error paths are exercisable
|
|
84
|
+
* in the composable suites. Consumers should increase as their test suites mature.
|
|
85
|
+
*/
|
|
86
|
+
export const DEFAULT_INTEGRATION_ERROR_COVERAGE = 0.2;
|
|
87
|
+
/**
|
|
88
|
+
* Assert error coverage meets a minimum threshold.
|
|
89
|
+
*
|
|
90
|
+
* Computes the ratio of exercised error statuses to total declared error
|
|
91
|
+
* statuses. When `min_coverage` is 0 (default), logs coverage info without
|
|
92
|
+
* failing. When > 0, fails if coverage is below the threshold.
|
|
93
|
+
*
|
|
94
|
+
* @param collector - the coverage collector with recorded observations
|
|
95
|
+
* @param route_specs - route specs to check coverage against
|
|
96
|
+
* @param options - threshold and exclusion configuration
|
|
97
|
+
*/
|
|
98
|
+
export const assert_error_coverage = (collector, route_specs, options) => {
|
|
99
|
+
const min_coverage = options?.min_coverage ?? 0;
|
|
100
|
+
const ignore_routes = new Set(options?.ignore_routes);
|
|
101
|
+
const ignore_statuses = new Set(options?.ignore_statuses);
|
|
102
|
+
let total = 0;
|
|
103
|
+
let covered = 0;
|
|
104
|
+
const uncovered_entries = [];
|
|
105
|
+
for (const spec of route_specs) {
|
|
106
|
+
const route_key = `${spec.method} ${spec.path}`;
|
|
107
|
+
if (ignore_routes.has(route_key))
|
|
108
|
+
continue;
|
|
109
|
+
const merged = merge_error_schemas(spec);
|
|
110
|
+
if (!merged)
|
|
111
|
+
continue;
|
|
112
|
+
for (const status_str of Object.keys(merged)) {
|
|
113
|
+
const status = Number(status_str);
|
|
114
|
+
if (ignore_statuses.has(status))
|
|
115
|
+
continue;
|
|
116
|
+
total++;
|
|
117
|
+
const key = `${spec.method} ${spec.path}:${status}`;
|
|
118
|
+
if (collector.observed.has(key)) {
|
|
119
|
+
covered++;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
uncovered_entries.push(`${route_key} → ${status}`);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
const ratio = total > 0 ? covered / total : 1;
|
|
127
|
+
console.log(`[error coverage] ${covered}/${total} (${(ratio * 100).toFixed(1)}%)` +
|
|
128
|
+
(uncovered_entries.length > 0
|
|
129
|
+
? `\n uncovered:\n ${uncovered_entries.join('\n ')}`
|
|
130
|
+
: ''));
|
|
131
|
+
if (min_coverage > 0) {
|
|
132
|
+
assert.ok(ratio >= min_coverage, `Error coverage ${(ratio * 100).toFixed(1)}% below threshold ${(min_coverage * 100).toFixed(1)}%` +
|
|
133
|
+
`\n uncovered:\n ${uncovered_entries.join('\n ')}`);
|
|
134
|
+
}
|
|
135
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import './assert_dev_env.js';
|
|
2
|
+
import type { SessionOptions } from '../auth/session_cookie.js';
|
|
3
|
+
import type { AppServerContext, AppServerOptions } from '../server/app_server.js';
|
|
4
|
+
import type { RouteSpec } from '../http/route_spec.js';
|
|
5
|
+
import { type DbFactory } from './db.js';
|
|
6
|
+
/**
|
|
7
|
+
* Configuration for `describe_standard_integration_tests`.
|
|
8
|
+
*/
|
|
9
|
+
export interface StandardIntegrationTestOptions {
|
|
10
|
+
/** Session config for cookie-based auth. */
|
|
11
|
+
session_options: SessionOptions<string>;
|
|
12
|
+
/** Route spec factory — same one used in production. */
|
|
13
|
+
create_route_specs: (ctx: AppServerContext) => Array<RouteSpec>;
|
|
14
|
+
/** Optional overrides for `AppServerOptions`. */
|
|
15
|
+
app_options?: Partial<Omit<AppServerOptions, 'backend' | 'session_options' | 'create_route_specs'>>;
|
|
16
|
+
/**
|
|
17
|
+
* Database factories to run tests against. Default: pglite only.
|
|
18
|
+
* Pass consumer factories (e.g. `[pglite_factory, pg_factory]`) to also test against PostgreSQL.
|
|
19
|
+
*/
|
|
20
|
+
db_factories?: Array<DbFactory>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Standard integration test suite for fuz_app auth routes.
|
|
24
|
+
*
|
|
25
|
+
* Exercises login/logout, cookie attributes, session security, session
|
|
26
|
+
* revocation, password change (incl. API token revocation), origin
|
|
27
|
+
* verification, bearer auth (incl. browser context rejection on mutations),
|
|
28
|
+
* token revocation, cross-account isolation, expired credential rejection,
|
|
29
|
+
* signup invite edge cases, and response body validation.
|
|
30
|
+
*
|
|
31
|
+
* Each test group asserts that required routes exist, failing with a descriptive
|
|
32
|
+
* message if the consumer's route specs are misconfigured.
|
|
33
|
+
*
|
|
34
|
+
* @param options - session config and route factory
|
|
35
|
+
*/
|
|
36
|
+
export declare const describe_standard_integration_tests: (options: StandardIntegrationTestOptions) => void;
|
|
37
|
+
//# sourceMappingURL=integration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/testing/integration.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAsB7B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAChF,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAGrD,OAAO,EAIN,KAAK,SAAS,EACd,MAAM,SAAS,CAAC;AAgBjB;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC9C,4CAA4C;IAC5C,eAAe,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IACxC,wDAAwD;IACxD,kBAAkB,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAChE,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CACpB,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,iBAAiB,GAAG,oBAAoB,CAAC,CAC5E,CAAC;IACF;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAChC;AAeD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mCAAmC,GAC/C,SAAS,8BAA8B,KACrC,IAk+CF,CAAC"}
|