@fuzdev/fuz_app 0.92.0 → 0.94.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 -2
- package/dist/actions/action_codegen.d.ts +18 -18
- package/dist/actions/action_codegen.js +30 -30
- package/dist/actions/action_event.js +1 -1
- package/dist/actions/action_event_helpers.d.ts +1 -1
- package/dist/actions/action_event_types.d.ts +1 -1
- package/dist/actions/action_rpc.d.ts +2 -2
- package/dist/actions/broadcast_api.d.ts +1 -1
- package/dist/actions/broadcast_api.js +1 -1
- package/dist/actions/perform_action.d.ts +2 -2
- package/dist/actions/register_action_ws.d.ts +2 -2
- package/dist/actions/register_action_ws.js +2 -2
- package/dist/actions/register_ws_endpoint.js +1 -1
- package/dist/actions/request_tracker.svelte.d.ts +1 -1
- package/dist/actions/request_tracker.svelte.js +1 -1
- package/dist/actions/rpc_client.d.ts +1 -1
- package/dist/actions/socket.svelte.d.ts +2 -2
- package/dist/actions/transports_ws.js +1 -1
- package/dist/actions/transports_ws_auth_guard.d.ts +1 -1
- package/dist/actions/transports_ws_backend.d.ts +1 -1
- package/dist/actions/transports_ws_backend.js +2 -2
- package/dist/auth/account_action_specs.js +1 -1
- package/dist/auth/account_schema.d.ts +1 -1
- package/dist/auth/account_schema.js +1 -1
- package/dist/auth/actor_lookup_action_specs.js +1 -1
- package/dist/auth/actor_lookup_queries.d.ts +1 -1
- package/dist/auth/actor_search_action_specs.js +1 -1
- package/dist/auth/actor_search_queries.d.ts +1 -1
- package/dist/auth/admin_action_specs.js +1 -1
- package/dist/auth/api_token.js +1 -1
- package/dist/auth/api_token_queries.d.ts +1 -1
- package/dist/auth/app_settings_schema.d.ts +1 -1
- package/dist/auth/app_settings_schema.js +1 -1
- package/dist/auth/audit_emitter.d.ts +2 -2
- package/dist/auth/audit_log_routes.d.ts +1 -1
- package/dist/auth/audit_log_schema.d.ts +1 -1
- package/dist/auth/audit_log_schema.js +2 -2
- package/dist/auth/bearer_auth.d.ts +1 -1
- package/dist/auth/bootstrap_account.d.ts +1 -1
- package/dist/auth/bootstrap_route_schema.js +1 -1
- package/dist/auth/bootstrap_routes.d.ts +1 -1
- package/dist/auth/bootstrap_routes.js +1 -1
- package/dist/auth/cell_action_specs.js +2 -2
- package/dist/auth/cell_audit_action_specs.js +1 -1
- package/dist/auth/cell_audit_metadata.js +1 -1
- package/dist/auth/cell_field_action_specs.js +1 -1
- package/dist/auth/cell_field_audit_metadata.js +1 -1
- package/dist/auth/cell_grant_action_specs.js +1 -1
- package/dist/auth/cell_grant_audit_metadata.js +1 -1
- package/dist/auth/cell_item_action_specs.d.ts +1 -1
- package/dist/auth/cell_item_action_specs.js +3 -3
- package/dist/auth/cell_item_audit_metadata.js +1 -1
- package/dist/auth/cell_relation_visibility.d.ts +1 -1
- package/dist/auth/cleanup.d.ts +1 -1
- package/dist/auth/daemon_token_middleware.d.ts +1 -1
- package/dist/auth/deps.d.ts +2 -2
- package/dist/auth/invite_schema.d.ts +1 -1
- package/dist/auth/invite_schema.js +1 -1
- package/dist/auth/request_context.d.ts +1 -1
- package/dist/auth/role_grant_offer_action_specs.js +1 -1
- package/dist/auth/role_grant_offer_notifications.d.ts +1 -1
- package/dist/auth/role_grant_offer_notifications.js +1 -1
- package/dist/auth/role_grant_offer_queries.d.ts +1 -1
- package/dist/auth/role_grant_offer_schema.d.ts +1 -1
- package/dist/auth/role_grant_offer_schema.js +1 -1
- package/dist/auth/role_grant_queries.d.ts +1 -1
- package/dist/auth/session_queries.d.ts +1 -1
- package/dist/auth/session_queries.js +1 -1
- package/dist/auth/signup_route_schema.js +1 -1
- package/dist/cli/args.d.ts +1 -1
- package/dist/cli/args.js +2 -2
- package/dist/cli/help.d.ts +1 -1
- package/dist/cli/help.js +1 -1
- package/dist/cli/logger.d.ts +1 -1
- package/dist/cli/logger.js +1 -1
- package/dist/db/CLAUDE.md +1 -1
- package/dist/db/cell_audit_queries.d.ts +1 -1
- package/dist/db/cell_field_queries.d.ts +1 -1
- package/dist/db/cell_grant_queries.d.ts +1 -1
- package/dist/db/cell_item_queries.d.ts +1 -1
- package/dist/db/cell_queries.d.ts +3 -3
- package/dist/db/cell_queries.js +1 -1
- package/dist/db/fact_disk_storage.d.ts +2 -2
- package/dist/db/fact_disk_storage.js +4 -4
- package/dist/db/fact_queries.d.ts +1 -1
- package/dist/db/fact_store.d.ts +3 -3
- package/dist/db/fact_store.js +2 -2
- package/dist/db/file_fact_url.d.ts +1 -1
- package/dist/db/file_fact_url.js +1 -1
- package/dist/db/migrate.js +1 -1
- package/dist/db/status.js +1 -1
- package/dist/http/auth_shape.js +2 -2
- package/dist/http/common_routes.d.ts +1 -1
- package/dist/http/db_routes.d.ts +1 -1
- package/dist/http/origin.js +1 -1
- package/dist/http/pending_effects.d.ts +1 -1
- package/dist/http/proxy.d.ts +1 -1
- package/dist/http/route_spec.d.ts +1 -1
- package/dist/rate_limiter.js +1 -1
- package/dist/realtime/sse.d.ts +1 -1
- package/dist/realtime/sse_auth_guard.d.ts +1 -1
- package/dist/runtime/deno.js +1 -1
- package/dist/server/app_backend.d.ts +1 -1
- package/dist/server/app_backend.js +1 -1
- package/dist/server/env.js +1 -1
- package/dist/server/fact_write.d.ts +2 -2
- package/dist/server/fact_write.js +1 -1
- package/dist/server/serve_fact_route.d.ts +1 -1
- package/dist/server/serve_fact_route.js +2 -2
- package/dist/server/startup.d.ts +1 -1
- package/dist/testing/CLAUDE.md +50 -5
- package/dist/testing/adversarial_input.js +1 -1
- package/dist/testing/app_server.d.ts +1 -1
- package/dist/testing/app_server.js +1 -1
- package/dist/testing/auth_apps.js +1 -1
- package/dist/testing/cross_backend/bench/bench_report.d.ts +1 -1
- package/dist/testing/cross_backend/bench/bench_report.js +2 -2
- package/dist/testing/cross_backend/bench/run_cross_impl_bench.d.ts +1 -1
- package/dist/testing/cross_backend/bench/run_cross_impl_bench.js +1 -1
- package/dist/testing/cross_backend/bootstrap_backend.d.ts +1 -1
- package/dist/testing/cross_backend/cell_relations.js +1 -1
- package/dist/testing/cross_backend/conformance_case.d.ts +4 -0
- package/dist/testing/cross_backend/conformance_case.d.ts.map +1 -1
- package/dist/testing/cross_backend/conformance_case.js +26 -0
- package/dist/testing/cross_backend/conformance_table.d.ts +21 -0
- package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
- package/dist/testing/cross_backend/conformance_table.js +109 -7
- package/dist/testing/cross_backend/create_cross_backend_global_setup.d.ts +1 -1
- package/dist/testing/cross_backend/create_dual_spawn_global_setup.d.ts +64 -0
- package/dist/testing/cross_backend/create_dual_spawn_global_setup.d.ts.map +1 -0
- package/dist/testing/cross_backend/{create_schema_parity_global_setup.js → create_dual_spawn_global_setup.js} +1 -1
- package/dist/testing/cross_backend/default_backend_configs.d.ts +12 -0
- package/dist/testing/cross_backend/default_backend_configs.d.ts.map +1 -1
- package/dist/testing/cross_backend/default_backend_configs.js +12 -0
- package/dist/testing/cross_backend/default_spine_surface.d.ts +1 -1
- package/dist/testing/cross_backend/default_spine_surface.d.ts.map +1 -1
- package/dist/testing/cross_backend/default_spine_surface.js +9 -2
- package/dist/testing/cross_backend/fact_serving.js +1 -1
- package/dist/testing/cross_backend/login_security.d.ts +11 -0
- package/dist/testing/cross_backend/login_security.d.ts.map +1 -0
- package/dist/testing/cross_backend/login_security.js +130 -0
- package/dist/testing/cross_backend/rust_spine_stub_backend_config.d.ts +17 -0
- package/dist/testing/cross_backend/rust_spine_stub_backend_config.d.ts.map +1 -1
- package/dist/testing/cross_backend/rust_spine_stub_backend_config.js +7 -2
- package/dist/testing/cross_backend/setup.d.ts +1 -1
- package/dist/testing/cross_backend/setup.js +1 -1
- package/dist/testing/cross_backend/testing_reset_actions.js +2 -2
- package/dist/testing/cross_backend/testing_server_core.d.ts +1 -1
- package/dist/testing/cross_backend/testing_server_core.js +1 -1
- package/dist/testing/cross_backend/ts_spine_backend_config.d.ts +11 -0
- package/dist/testing/cross_backend/ts_spine_backend_config.d.ts.map +1 -1
- package/dist/testing/cross_backend/ts_spine_backend_config.js +23 -7
- package/dist/testing/cross_backend/ws_round_trip.js +1 -1
- package/dist/testing/db.js +4 -4
- package/dist/testing/middleware.js +1 -1
- package/dist/testing/role_grant_helpers.d.ts +1 -1
- package/dist/testing/rpc_helpers.d.ts +18 -1
- package/dist/testing/rpc_helpers.d.ts.map +1 -1
- package/dist/testing/rpc_helpers.js +24 -2
- package/dist/testing/schema_generators.d.ts +1 -1
- package/dist/testing/schema_generators.js +1 -1
- package/dist/testing/stubs.js +1 -1
- package/dist/testing/testing_rate_limiter.d.ts +1 -1
- package/dist/testing/testing_rate_limiter.js +1 -1
- package/dist/testing/transports/bootstrap.d.ts +1 -1
- package/dist/testing/transports/bootstrap.js +1 -1
- package/dist/testing/ws_round_trip.d.ts +2 -2
- package/dist/testing/ws_round_trip.js +2 -2
- package/dist/ui/AdminSurface.svelte +1 -1
- package/dist/ui/AppShell.svelte +1 -1
- package/dist/ui/BootstrapForm.svelte +1 -1
- package/dist/ui/CLAUDE.md +1 -1
- package/dist/ui/ConfirmButton.svelte +2 -2
- package/dist/ui/ConfirmButton.svelte.d.ts +1 -1
- package/dist/ui/LoginForm.svelte +1 -1
- package/dist/ui/MenuLink.svelte +1 -1
- package/dist/ui/MenuLink.svelte.d.ts +1 -1
- package/dist/ui/PopoverButton.svelte +1 -1
- package/dist/ui/PopoverButton.svelte.d.ts +1 -1
- package/dist/ui/SignupForm.svelte +1 -1
- package/dist/ui/account_sessions_state.svelte.js +1 -1
- package/dist/ui/admin_accounts_state.svelte.d.ts +1 -1
- package/dist/ui/admin_accounts_state.svelte.js +1 -1
- package/dist/ui/admin_invites_state.svelte.d.ts +1 -1
- package/dist/ui/admin_invites_state.svelte.js +1 -1
- package/dist/ui/admin_sessions_state.svelte.d.ts +1 -1
- package/dist/ui/app_settings_state.svelte.js +1 -1
- package/dist/ui/async_slot.svelte.d.ts +2 -2
- package/dist/ui/async_slot.svelte.js +2 -2
- package/dist/ui/audit_log_state.svelte.js +1 -1
- package/dist/ui/auth_state.svelte.d.ts +1 -1
- package/dist/ui/auth_state.svelte.js +3 -3
- package/dist/ui/format_scope.js +1 -1
- package/dist/ui/popover.svelte.d.ts +1 -1
- package/dist/ui/popover.svelte.js +2 -2
- package/dist/ui/position_helpers.js +1 -1
- package/dist/ui/role_grant_offers_state.svelte.js +1 -1
- package/dist/ui/sidebar_state.svelte.js +1 -1
- package/dist/ui/table_state.svelte.d.ts +1 -1
- package/dist/ui/table_state.svelte.js +2 -2
- package/package.json +3 -2
- package/dist/testing/cross_backend/create_schema_parity_global_setup.d.ts +0 -59
- package/dist/testing/cross_backend/create_schema_parity_global_setup.d.ts.map +0 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @example
|
|
11
11
|
* ```svelte
|
|
12
12
|
* <script lang="ts">
|
|
13
|
-
* import {AuthState, auth_state_context} from '@fuzdev/fuz_app/ui/auth_state.svelte.
|
|
13
|
+
* import {AuthState, auth_state_context} from '@fuzdev/fuz_app/ui/auth_state.svelte.ts';
|
|
14
14
|
*
|
|
15
15
|
* const auth = new AuthState();
|
|
16
16
|
* auth_state_context.set(auth);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @example
|
|
11
11
|
* ```svelte
|
|
12
12
|
* <script lang="ts">
|
|
13
|
-
* import {AuthState, auth_state_context} from '@fuzdev/fuz_app/ui/auth_state.svelte.
|
|
13
|
+
* import {AuthState, auth_state_context} from '@fuzdev/fuz_app/ui/auth_state.svelte.ts';
|
|
14
14
|
*
|
|
15
15
|
* const auth = new AuthState();
|
|
16
16
|
* auth_state_context.set(auth);
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
*
|
|
32
32
|
* @module
|
|
33
33
|
*/
|
|
34
|
-
import { to_error_message } from '@fuzdev/fuz_util/error.
|
|
35
|
-
import { create_context } from '@fuzdev/fuz_ui/context_helpers.
|
|
34
|
+
import { to_error_message } from '@fuzdev/fuz_util/error.ts';
|
|
35
|
+
import { create_context } from '@fuzdev/fuz_ui/context_helpers.ts';
|
|
36
36
|
import { ui_fetch } from './ui_fetch.js';
|
|
37
37
|
import { is_role_grant_active, } from '../auth/account_schema.js';
|
|
38
38
|
/**
|
package/dist/ui/format_scope.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
|
-
import { create_context } from '@fuzdev/fuz_ui/context_helpers.
|
|
11
|
+
import { create_context } from '@fuzdev/fuz_ui/context_helpers.ts';
|
|
12
12
|
import { truncate_uuid } from './ui_format.js';
|
|
13
13
|
/** Default `FormatScope` — always returns `null` so callers fall back to the raw uuid. */
|
|
14
14
|
export const default_format_scope = () => null;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @example
|
|
11
11
|
* ```svelte
|
|
12
12
|
* <script lang="ts">
|
|
13
|
-
* import {Popover} from '@fuzdev/fuz_app/ui/popover.svelte.
|
|
13
|
+
* import {Popover} from '@fuzdev/fuz_app/ui/popover.svelte.ts';
|
|
14
14
|
*
|
|
15
15
|
* const popover = new Popover();
|
|
16
16
|
* </script>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* @module
|
|
48
48
|
*/
|
|
49
49
|
import { on } from 'svelte/events';
|
|
50
|
-
import { swallow } from '@fuzdev/fuz_util/dom.
|
|
50
|
+
import { swallow } from '@fuzdev/fuz_util/dom.ts';
|
|
51
51
|
import { generate_position_styles } from './position_helpers.js';
|
|
52
52
|
const create_client_id = () => Math.random().toString(36).substring(2);
|
|
53
53
|
/**
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*
|
|
25
25
|
* @module
|
|
26
26
|
*/
|
|
27
|
-
import { create_context } from '@fuzdev/fuz_ui/context_helpers.
|
|
27
|
+
import { create_context } from '@fuzdev/fuz_ui/context_helpers.ts';
|
|
28
28
|
import { AsyncSlot } from './async_slot.svelte.js';
|
|
29
29
|
import { ROLE_GRANT_OFFER_ACCEPTED_NOTIFICATION_METHOD, ROLE_GRANT_OFFER_DECLINED_NOTIFICATION_METHOD, ROLE_GRANT_OFFER_RECEIVED_NOTIFICATION_METHOD, ROLE_GRANT_OFFER_RETRACTED_NOTIFICATION_METHOD, ROLE_GRANT_OFFER_SUPERSEDE_NOTIFICATION_METHOD, ROLE_GRANT_REVOKE_NOTIFICATION_METHOD, } from '../auth/role_grant_offer_notifications.js';
|
|
30
30
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module
|
|
7
7
|
*/
|
|
8
|
-
import { create_context } from '@fuzdev/fuz_ui/context_helpers.
|
|
8
|
+
import { create_context } from '@fuzdev/fuz_ui/context_helpers.ts';
|
|
9
9
|
/**
|
|
10
10
|
* Svelte context carrying a reactive `SidebarState` accessor. Set by
|
|
11
11
|
* `ui/AppShell.svelte` (creates a fresh `SidebarState` if not supplied);
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* @example
|
|
23
23
|
* ```svelte
|
|
24
24
|
* <script lang="ts">
|
|
25
|
-
* import {TableState} from '@fuzdev/fuz_app/ui/table_state.svelte.
|
|
25
|
+
* import {TableState} from '@fuzdev/fuz_app/ui/table_state.svelte.ts';
|
|
26
26
|
*
|
|
27
27
|
* const table = new TableState();
|
|
28
28
|
* table.fetch('accounts');
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* @example
|
|
23
23
|
* ```svelte
|
|
24
24
|
* <script lang="ts">
|
|
25
|
-
* import {TableState} from '@fuzdev/fuz_app/ui/table_state.svelte.
|
|
25
|
+
* import {TableState} from '@fuzdev/fuz_app/ui/table_state.svelte.ts';
|
|
26
26
|
*
|
|
27
27
|
* const table = new TableState();
|
|
28
28
|
* table.fetch('accounts');
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
*
|
|
40
40
|
* @module
|
|
41
41
|
*/
|
|
42
|
-
import { to_error_message } from '@fuzdev/fuz_util/error.
|
|
42
|
+
import { to_error_message } from '@fuzdev/fuz_util/error.ts';
|
|
43
43
|
import { AsyncSlot } from './async_slot.svelte.js';
|
|
44
44
|
import { parse_response_error, ui_fetch } from './ui_fetch.js';
|
|
45
45
|
import { format_value } from './ui_format.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fuzdev/fuz_app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.0",
|
|
4
4
|
"description": "fullstack app library",
|
|
5
5
|
"glyph": "🗝",
|
|
6
6
|
"logo": "logo.svg",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"test:cross:ts": "FUZ_TEST_CROSS_BACKEND=1 vitest run --project cross_backend_ts_node --project cross_backend_ts_deno --project cross_backend_ts_bun",
|
|
18
18
|
"test:cross:rust-spine-stub": "FUZ_TEST_CROSS_BACKEND=1 vitest run --project cross_backend_rust_spine_stub",
|
|
19
19
|
"test:cross:parity": "FUZ_TEST_CROSS_BACKEND=1 vitest run --project cross_backend_parity",
|
|
20
|
+
"test:cross:security": "FUZ_TEST_CROSS_BACKEND=1 vitest run --project cross_backend_security",
|
|
20
21
|
"benchmark:cross-impl": "gro run src/benchmarks/cross_impl.bench.ts",
|
|
21
22
|
"preview": "vite preview",
|
|
22
23
|
"deploy": "gro deploy"
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
"@fuzdev/fuz_css": "^0.63.2",
|
|
74
75
|
"@fuzdev/fuz_ui": "^0.205.1",
|
|
75
76
|
"@fuzdev/fuz_util": "^0.65.2",
|
|
76
|
-
"@fuzdev/gro": "^0.
|
|
77
|
+
"@fuzdev/gro": "^0.205.1",
|
|
77
78
|
"@fuzdev/mdz": "^0.1.0",
|
|
78
79
|
"@hono/node-server": "^1.19.14",
|
|
79
80
|
"@hono/node-ws": "^1.3.1",
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import '../assert_dev_env.js';
|
|
2
|
-
/**
|
|
3
|
-
* Vitest `globalSetup` factory for cross-impl **schema-parity** projects.
|
|
4
|
-
*
|
|
5
|
-
* The per-backend `create_cross_backend_global_setup` spawns one backend
|
|
6
|
-
* (derived from the project name). A schema-parity gate instead needs
|
|
7
|
-
* *two* backends alive at once so the test process can capture each one's
|
|
8
|
-
* schema (via `capture_schema_snapshot`) and diff them with
|
|
9
|
-
* `assert_schema_snapshots_equal`. This factory spawns + bootstraps both
|
|
10
|
-
* configs and `provide`s both serialized handles.
|
|
11
|
-
*
|
|
12
|
-
* A consumer's parity `global_setup.ts` collapses to:
|
|
13
|
-
*
|
|
14
|
-
* ```ts
|
|
15
|
-
* import {create_schema_parity_global_setup} from
|
|
16
|
-
* '@fuzdev/fuz_app/testing/cross_backend/create_schema_parity_global_setup.js';
|
|
17
|
-
* import {deno_backend_config, rust_backend_config} from './my_backend_config.js';
|
|
18
|
-
* import './cross_test_types.js'; // augments the two provide keys
|
|
19
|
-
*
|
|
20
|
-
* export default create_schema_parity_global_setup({
|
|
21
|
-
* configs: {a: deno_backend_config, b: rust_backend_config},
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* The parity `.cross.test.ts` `inject`s both keys, rebuilds each with
|
|
26
|
-
* `reconstruct_bootstrapped_handle`, and asserts. Run this project in a
|
|
27
|
-
* later `groupOrder` than the single-backend projects (or with distinct
|
|
28
|
-
* ports) — it reuses both configs' ports, so it must not run concurrently
|
|
29
|
-
* with the per-backend projects.
|
|
30
|
-
*
|
|
31
|
-
* @module
|
|
32
|
-
*/
|
|
33
|
-
import type { TestProject } from 'vitest/node';
|
|
34
|
-
import type { BackendConfig } from './backend_config.js';
|
|
35
|
-
export interface SchemaParityGlobalSetupOptions {
|
|
36
|
-
/**
|
|
37
|
-
* The two backend config factories to spawn. `a` is spawned first; on
|
|
38
|
-
* its success `b` is spawned (with `a` torn down if `b` throws). Label
|
|
39
|
-
* them in the parity test via `assert_schema_snapshots_equal`'s labels.
|
|
40
|
-
*/
|
|
41
|
-
readonly configs: {
|
|
42
|
-
readonly a: () => BackendConfig;
|
|
43
|
-
readonly b: () => BackendConfig;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* `project.provide` keys for the two serialized handles (read by
|
|
47
|
-
* `inject` in the parity test). Default `parity_handle_a` /
|
|
48
|
-
* `parity_handle_b`. Augment vitest's `ProvidedContext` for them.
|
|
49
|
-
*/
|
|
50
|
-
readonly provide_keys?: {
|
|
51
|
-
readonly a: string;
|
|
52
|
-
readonly b: string;
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Build a vitest `globalSetup` default export that spawns both backends.
|
|
57
|
-
*/
|
|
58
|
-
export declare const create_schema_parity_global_setup: ({ configs, provide_keys, }: SchemaParityGlobalSetupOptions) => ((project: TestProject) => Promise<() => Promise<void>>);
|
|
59
|
-
//# sourceMappingURL=create_schema_parity_global_setup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create_schema_parity_global_setup.d.ts","sourceRoot":"../src/lib/","sources":["../../../src/lib/testing/cross_backend/create_schema_parity_global_setup.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAE7C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAIvD,MAAM,WAAW,8BAA8B;IAC9C;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE;QAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,aAAa,CAAC;QAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,aAAa,CAAA;KAAC,CAAC;IACrF;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE;QAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;CACjE;AAED;;GAEG;AACH,eAAO,MAAM,iCAAiC,GAAI,4BAG/C,8BAA8B,KAAG,CAAC,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,CAmB1F,CAAC"}
|