@fuzdev/fuz_app 0.168.0 → 0.169.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/dist/actions/CLAUDE.md +1 -1
- package/dist/actions/action_codegen.d.ts +9 -7
- package/dist/actions/action_codegen.d.ts.map +1 -1
- package/dist/actions/action_codegen.js +20 -15
- package/dist/actions/action_event_data.d.ts +16 -16
- package/dist/actions/heartbeat.d.ts +1 -1
- package/dist/auth/account_action_specs.d.ts +11 -11
- package/dist/auth/account_action_specs.js +1 -1
- package/dist/auth/account_route_schema.d.ts +18 -18
- package/dist/auth/account_route_schema.js +1 -1
- package/dist/auth/account_routes.js +1 -1
- package/dist/auth/account_schema.d.ts +38 -40
- package/dist/auth/account_schema.d.ts.map +1 -1
- package/dist/auth/account_schema.js +7 -8
- package/dist/auth/actor_lookup_action_specs.d.ts +7 -7
- package/dist/auth/actor_lookup_action_specs.js +1 -1
- package/dist/auth/actor_search_action_specs.d.ts +6 -6
- package/dist/auth/actor_search_action_specs.js +1 -1
- package/dist/auth/admin_action_specs.d.ts +166 -166
- package/dist/auth/admin_action_specs.js +1 -1
- package/dist/auth/app_settings_schema.d.ts +3 -3
- package/dist/auth/app_settings_schema.d.ts.map +1 -1
- package/dist/auth/app_settings_schema.js +1 -1
- package/dist/auth/audit_log_route_schema.d.ts +1 -1
- package/dist/auth/audit_log_route_schema.js +1 -1
- package/dist/auth/audit_log_schema.d.ts +61 -61
- package/dist/auth/audit_log_schema.d.ts.map +1 -1
- package/dist/auth/audit_log_schema.js +1 -1
- package/dist/auth/bootstrap_route_schema.d.ts +4 -4
- package/dist/auth/bootstrap_route_schema.js +1 -1
- package/dist/auth/cell_action_specs.d.ts +424 -424
- package/dist/auth/cell_action_specs.js +1 -1
- package/dist/auth/cell_audit_action_specs.d.ts +14 -14
- package/dist/auth/cell_audit_action_specs.js +1 -1
- package/dist/auth/cell_audit_metadata.d.ts +8 -8
- package/dist/auth/cell_audit_metadata.js +1 -1
- package/dist/auth/cell_field_action_specs.d.ts +55 -55
- package/dist/auth/cell_field_action_specs.js +1 -1
- package/dist/auth/cell_field_audit_metadata.d.ts +4 -4
- package/dist/auth/cell_field_audit_metadata.js +1 -1
- package/dist/auth/cell_grant_action_specs.d.ts +61 -61
- package/dist/auth/cell_grant_action_specs.js +1 -1
- package/dist/auth/cell_grant_audit_metadata.d.ts +10 -10
- package/dist/auth/cell_grant_audit_metadata.js +1 -1
- package/dist/auth/cell_item_action_specs.d.ts +76 -76
- package/dist/auth/cell_item_action_specs.js +1 -1
- package/dist/auth/cell_item_audit_metadata.d.ts +5 -5
- package/dist/auth/cell_item_audit_metadata.js +1 -1
- package/dist/auth/invite_schema.d.ts +11 -11
- package/dist/auth/invite_schema.d.ts.map +1 -1
- package/dist/auth/invite_schema.js +1 -1
- package/dist/auth/name_schema.js +1 -1
- package/dist/auth/password.js +1 -1
- package/dist/auth/role_grant_offer_action_specs.d.ts +182 -182
- package/dist/auth/role_grant_offer_action_specs.js +1 -1
- package/dist/auth/role_grant_offer_notifications.d.ts +107 -107
- package/dist/auth/role_grant_offer_notifications.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_notifications.js +1 -1
- package/dist/auth/role_grant_offer_schema.d.ts +9 -9
- package/dist/auth/role_grant_offer_schema.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_schema.js +1 -1
- package/dist/auth/self_service_role_action_specs.d.ts +2 -2
- package/dist/auth/self_service_role_action_specs.js +1 -1
- package/dist/auth/signup_route_schema.d.ts +2 -2
- package/dist/auth/signup_route_schema.js +1 -1
- package/dist/auth/token_scope.d.ts +8 -8
- package/dist/db/file_fact_url.d.ts +1 -1
- package/dist/http/CLAUDE.md +7 -7
- package/dist/http/auth_shape.d.ts +15 -32
- package/dist/http/auth_shape.d.ts.map +1 -1
- package/dist/http/auth_shape.js +31 -38
- package/dist/http/db_routes.d.ts +1 -1
- package/dist/http/db_routes.d.ts.map +1 -1
- package/dist/http/db_routes.js +1 -1
- package/dist/http/error_schemas.d.ts +18 -18
- package/dist/http/jsonrpc.d.ts +11 -11
- package/dist/http/schema_helpers.d.ts +2 -2
- package/dist/http/schema_helpers.d.ts.map +1 -1
- package/dist/http/schema_helpers.js +8 -7
- package/dist/primitive_schemas.d.ts +173 -115
- package/dist/primitive_schemas.d.ts.map +1 -1
- package/dist/primitive_schemas.js +134 -158
- package/dist/schema_issues.d.ts +10 -7
- package/dist/schema_issues.d.ts.map +1 -1
- package/dist/schema_issues.js +38 -8
- package/dist/server/serve_fact_route.js +1 -1
- package/dist/server/surface_route.js +1 -1
- package/dist/testing/CLAUDE.md +3 -3
- package/dist/testing/cross_backend/conformance_case.d.ts +96 -114
- package/dist/testing/cross_backend/conformance_case.d.ts.map +1 -1
- package/dist/testing/cross_backend/conformance_case.js +0 -256
- package/dist/testing/cross_backend/fact_serving.js +1 -1
- package/dist/testing/cross_backend/setup.d.ts +1 -1
- package/dist/testing/cross_backend/setup.d.ts.map +1 -1
- package/dist/testing/cross_backend/setup.js +3 -4
- package/dist/testing/cross_backend/testing_origin_check.d.ts +8 -8
- package/dist/testing/cross_backend/testing_reset_actions.d.ts +608 -201
- package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_reset_actions.js +46 -55
- package/dist/testing/cross_backend/ws_outbound_overflow.d.ts.map +1 -1
- package/dist/testing/cross_backend/ws_outbound_overflow.js +35 -0
- package/dist/testing/rpc_helpers.d.ts +1 -1
- package/dist/testing/rpc_helpers.d.ts.map +1 -1
- package/dist/testing/rpc_helpers.js +0 -1
- package/dist/testing/schema_generators.js +1 -13
- package/dist/testing/schema_introspect.d.ts +438 -78
- package/dist/testing/schema_introspect.d.ts.map +1 -1
- package/dist/testing/schema_introspect.js +26 -26
- 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 +1 -1
- package/dist/ui/BootstrapForm.svelte +1 -2
- package/dist/ui/BootstrapForm.svelte.d.ts.map +1 -1
- package/dist/ui/SignupForm.svelte +1 -2
- package/dist/ui/SignupForm.svelte.d.ts.map +1 -1
- package/dist/ui/admin_accounts_state.svelte.d.ts +5 -5
- package/dist/ui/admin_accounts_state.svelte.d.ts.map +1 -1
- package/dist/ui/admin_invites_state.svelte.d.ts +1 -1
- package/dist/ui/admin_invites_state.svelte.d.ts.map +1 -1
- package/dist/ui/admin_sessions_state.svelte.d.ts +2 -2
- package/dist/ui/admin_sessions_state.svelte.d.ts.map +1 -1
- package/dist/ui/role_grant_offers_state.svelte.d.ts +1 -1
- package/dist/zod.d.ts +18 -3
- package/dist/zod.d.ts.map +1 -1
- package/dist/zod.js +26 -3
- package/dist/zod_schemas.d.ts +100 -0
- package/dist/zod_schemas.d.ts.map +1 -0
- package/dist/zod_schemas.js +157 -0
- package/package.json +5 -5
- package/dist/primitive_schemas_fuz.d.ts +0 -178
- package/dist/primitive_schemas_fuz.d.ts.map +0 -1
- package/dist/primitive_schemas_fuz.js +0 -149
|
@@ -1,84 +1,4 @@
|
|
|
1
1
|
import '../assert_dev_env.js';
|
|
2
|
-
/**
|
|
3
|
-
* Test-binary RPC actions for cross-process integration tests.
|
|
4
|
-
*
|
|
5
|
-
* The daemon-token-authed actions bundled by `create_testing_actions`:
|
|
6
|
-
* **`_testing_reset`** (DB wipe + keeper re-seed), **`_testing_drain_effects`**
|
|
7
|
-
* (audit barrier), **`_testing_mint_session`** (forge an
|
|
8
|
-
* expired-by-construction server-side session for the expiry conformance
|
|
9
|
-
* cases), **`_testing_put_fact`** (seed an embedded fact for the fact-serving
|
|
10
|
-
* suite), **`_testing_schema_snapshot`** (introspect the live schema for
|
|
11
|
-
* cross-impl parity diffing against a Rust backend's `fuz_db` snapshot),
|
|
12
|
-
* **`_testing_migration_tracker`** (dump the `schema_version` tracker rows for
|
|
13
|
-
* cross-impl migration-identity parity — the provenance half the snapshot gate
|
|
14
|
-
* excludes by design), and **`_testing_flood_notifications`** (queue a burst
|
|
15
|
-
* of notifications onto the caller's own WebSocket connection, to push its
|
|
16
|
-
* outbound queue past its byte budget).
|
|
17
|
-
*
|
|
18
|
-
* Two further daemon-token actions live here but are **not** bundled by
|
|
19
|
-
* `create_testing_actions`, and are appended at the full-mount layer
|
|
20
|
-
* (`build_full_spine_rpc_actions`) instead: **`_testing_action_manifest`**
|
|
21
|
-
* (dump the live RPC registry for cross-impl method-set + auth-shape parity —
|
|
22
|
-
* it must enumerate *every* mounted method, so it goes where the complete list
|
|
23
|
-
* exists) and **`_testing_shorten_credential_expiry`** (pull an account's
|
|
24
|
-
* credential expiries in to seconds from now, shorten-only, for the
|
|
25
|
-
* credential-deadline cases) — the latter kept out of the bundle so a consumer
|
|
26
|
-
* whose Rust binary doesn't mount its mirror keeps a green manifest gate.
|
|
27
|
-
* `_testing_origin_check`, mounted the same way, lives in the hono-free
|
|
28
|
-
* `testing_origin_check.ts`.
|
|
29
|
-
*
|
|
30
|
-
* `_testing_reset` — full DB wipe + keeper re-seed + optional
|
|
31
|
-
* secondary-account seeding. The
|
|
32
|
-
* handler first fires the consumer-supplied domain-state callback (domain
|
|
33
|
-
* rows depend on auth rows, so a domain table with a restricting FK to
|
|
34
|
-
* `actor` empties before the rows it references go), then wipes every
|
|
35
|
-
* auth-namespace row (no keeper-preserve filter),
|
|
36
|
-
* flips `bootstrap_lock` back to its post-bootstrap shape, seeds a
|
|
37
|
-
* fresh keeper account inline (reusing `create_test_account_with_credentials`
|
|
38
|
-
* so cross-process matches in-process write semantics), queues the
|
|
39
|
-
* daemon-token cache refresh to point at the new keeper once the reset
|
|
40
|
-
* commits, and seeds any caller-requested `extra_accounts` (also
|
|
41
|
-
* direct-inserted at this setup step). The
|
|
42
|
-
* new keeper + secondary credentials return as the action output so
|
|
43
|
-
* the per-test fixture closes over them.
|
|
44
|
-
*
|
|
45
|
-
* In-process and cross-process keeper lifetimes match: both modes run
|
|
46
|
-
* against a freshly bootstrapped keeper per test, so mutation-cascade
|
|
47
|
-
* tests (password change, revoke-all, hardcoded-username signup
|
|
48
|
-
* uniqueness) and direct keeper-vs-admin probes work uniformly
|
|
49
|
-
* cross-process.
|
|
50
|
-
*
|
|
51
|
-
* **Keeper ≠ admin.** The `keeper` and `admin` roles are independent.
|
|
52
|
-
* Keeper authorizes daemon-token / bootstrap paths; admin authorizes
|
|
53
|
-
* the user-facing admin RPC surface. `_testing_reset` seeds the keeper
|
|
54
|
-
* account with `[ROLE_KEEPER, ROLE_ADMIN]` by default — matching the
|
|
55
|
-
* production `bootstrap_account` flow — plus any roles passed via
|
|
56
|
-
* `extra_keeper_roles`. Tests probing the keeper-vs-admin separation
|
|
57
|
-
* (a keeper-only account must 403 on admin RPCs) declare a secondary
|
|
58
|
-
* via `extra_accounts: [{username, roles: [ROLE_KEEPER]}]` so the
|
|
59
|
-
* account is seeded at this same bootstrap-equivalent step.
|
|
60
|
-
*
|
|
61
|
-
* **No free-form runtime bypass.** There is no action for arbitrary
|
|
62
|
-
* direct role grants: a runtime bypass would let tests skip the
|
|
63
|
-
* production consent flow's side-effects (audit emit, WS fan-out) and
|
|
64
|
-
* silently mask bugs in those paths. The bypass that does exist —
|
|
65
|
-
* `extra_accounts` — is framed as bootstrap-time seeding, the same
|
|
66
|
-
* shape `bootstrap_account` itself uses to grant the initial
|
|
67
|
-
* `KEEPER` + `ADMIN` pair. Tests that want a role on a *post-bootstrap*
|
|
68
|
-
* account must route through `role_grant_offer_create` +
|
|
69
|
-
* `role_grant_offer_accept` (the production path); they observe the
|
|
70
|
-
* full event chain.
|
|
71
|
-
*
|
|
72
|
-
* Production safety: this module lives under `cross_backend/` and starts
|
|
73
|
-
* with `import '../assert_dev_env.js';` — production bundles either
|
|
74
|
-
* tree-shake the module out or throw at startup. The Rust mirror
|
|
75
|
-
* (`fuz_testing` crate) ships a parallel action; `cargo xtask
|
|
76
|
-
* check-release` blocks `fuz_testing` from entering production dep
|
|
77
|
-
* graphs.
|
|
78
|
-
*
|
|
79
|
-
* @module
|
|
80
|
-
*/
|
|
81
|
-
import { z } from 'zod';
|
|
82
2
|
import { type RpcAction } from '../../actions/action_types.js';
|
|
83
3
|
import type { AppDeps } from '../../auth/deps.js';
|
|
84
4
|
import type { AuditEmitter } from '../../auth/audit_emitter.js';
|
|
@@ -120,41 +40,238 @@ export declare const testing_reset_action_spec: {
|
|
|
120
40
|
readonly credential_types: readonly ["daemon_token"];
|
|
121
41
|
};
|
|
122
42
|
readonly side_effects: true;
|
|
123
|
-
readonly input:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
password_value
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
43
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
44
|
+
extra_accounts?: {
|
|
45
|
+
username: string;
|
|
46
|
+
roles: string[];
|
|
47
|
+
password_value?: string | undefined;
|
|
48
|
+
}[] | undefined;
|
|
49
|
+
extra_actors?: string[] | undefined;
|
|
50
|
+
extra_keeper_roles?: string[] | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
extra_accounts?: {
|
|
53
|
+
username: string;
|
|
54
|
+
roles: string[];
|
|
55
|
+
password_value?: string | undefined;
|
|
56
|
+
}[] | undefined;
|
|
57
|
+
extra_actors?: string[] | undefined;
|
|
58
|
+
extra_keeper_roles?: string[] | undefined;
|
|
59
|
+
}, "object", {
|
|
60
|
+
extra_keeper_roles: 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[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
61
|
+
extra_accounts: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
62
|
+
username: string;
|
|
63
|
+
roles: string[];
|
|
64
|
+
password_value?: string | undefined;
|
|
65
|
+
}[] | undefined, {
|
|
66
|
+
username: string;
|
|
67
|
+
roles: string[];
|
|
68
|
+
password_value?: string | undefined;
|
|
69
|
+
}[] | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
70
|
+
username: string;
|
|
71
|
+
roles: string[];
|
|
72
|
+
password_value?: string | undefined;
|
|
73
|
+
}[], {
|
|
74
|
+
username: string;
|
|
75
|
+
roles: string[];
|
|
76
|
+
password_value?: string | undefined;
|
|
77
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
78
|
+
username: string;
|
|
79
|
+
roles: string[];
|
|
80
|
+
password_value?: string | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
username: string;
|
|
83
|
+
roles: string[];
|
|
84
|
+
password_value?: string | undefined;
|
|
85
|
+
}, "object", {
|
|
86
|
+
username: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
87
|
+
password_value: 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
|
+
roles: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
89
|
+
}>>>>;
|
|
90
|
+
/**
|
|
91
|
+
* Additional actor names to seed on the **keeper** account, beyond
|
|
92
|
+
* its single bootstrap actor. Drives the multi-actor `acting`
|
|
93
|
+
* selector branches (omitted `acting` + >1 actor ⇒ `actor_required`
|
|
94
|
+
* with the `available[]` list) that are otherwise unreachable
|
|
95
|
+
* cross-process — account creation only ever mints one actor, and no
|
|
96
|
+
* production wire path adds a second. Bootstrap-cradle seeding, same
|
|
97
|
+
* rationale as `extra_accounts`.
|
|
98
|
+
*/
|
|
99
|
+
extra_actors: 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[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
100
|
+
}>;
|
|
101
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
102
|
+
api_token: string;
|
|
103
|
+
account: {
|
|
104
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
105
|
+
username: string;
|
|
106
|
+
};
|
|
107
|
+
actor: {
|
|
108
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
109
|
+
};
|
|
110
|
+
session_cookie: string;
|
|
111
|
+
extra_accounts: {
|
|
112
|
+
api_token: string;
|
|
113
|
+
account: {
|
|
114
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
115
|
+
username: string;
|
|
116
|
+
};
|
|
117
|
+
actor: {
|
|
118
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
119
|
+
};
|
|
120
|
+
session_cookie: string;
|
|
121
|
+
}[];
|
|
122
|
+
extra_actors: {
|
|
123
|
+
name: string;
|
|
124
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
125
|
+
}[];
|
|
126
|
+
}, {
|
|
127
|
+
api_token: string;
|
|
128
|
+
account: {
|
|
129
|
+
id: string;
|
|
130
|
+
username: string;
|
|
131
|
+
};
|
|
132
|
+
actor: {
|
|
133
|
+
id: string;
|
|
134
|
+
};
|
|
135
|
+
session_cookie: string;
|
|
136
|
+
extra_accounts: {
|
|
137
|
+
api_token: string;
|
|
138
|
+
account: {
|
|
139
|
+
id: string;
|
|
140
|
+
username: string;
|
|
141
|
+
};
|
|
142
|
+
actor: {
|
|
143
|
+
id: string;
|
|
144
|
+
};
|
|
145
|
+
session_cookie: string;
|
|
146
|
+
}[];
|
|
147
|
+
extra_actors: {
|
|
148
|
+
name: string;
|
|
149
|
+
id: string;
|
|
150
|
+
}[];
|
|
151
|
+
}, "object", {
|
|
152
|
+
extra_accounts: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
153
|
+
api_token: string;
|
|
154
|
+
account: {
|
|
155
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
156
|
+
username: string;
|
|
157
|
+
};
|
|
158
|
+
actor: {
|
|
159
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
160
|
+
};
|
|
161
|
+
session_cookie: string;
|
|
162
|
+
}[], {
|
|
163
|
+
api_token: string;
|
|
164
|
+
account: {
|
|
165
|
+
id: string;
|
|
166
|
+
username: string;
|
|
167
|
+
};
|
|
168
|
+
actor: {
|
|
169
|
+
id: string;
|
|
170
|
+
};
|
|
171
|
+
session_cookie: string;
|
|
172
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
173
|
+
api_token: string;
|
|
174
|
+
account: {
|
|
175
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
176
|
+
username: string;
|
|
177
|
+
};
|
|
178
|
+
actor: {
|
|
179
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
180
|
+
};
|
|
181
|
+
session_cookie: string;
|
|
182
|
+
}, {
|
|
183
|
+
api_token: string;
|
|
184
|
+
account: {
|
|
185
|
+
id: string;
|
|
186
|
+
username: string;
|
|
187
|
+
};
|
|
188
|
+
actor: {
|
|
189
|
+
id: string;
|
|
190
|
+
};
|
|
191
|
+
session_cookie: string;
|
|
192
|
+
}, "object", {
|
|
193
|
+
account: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
194
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
195
|
+
username: string;
|
|
196
|
+
}, {
|
|
197
|
+
id: string;
|
|
198
|
+
username: string;
|
|
199
|
+
}, "object", {
|
|
200
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
201
|
+
readonly '~types'?: {
|
|
202
|
+
readonly input: string;
|
|
203
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
204
|
+
} | undefined;
|
|
205
|
+
};
|
|
206
|
+
username: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
207
|
+
}>;
|
|
208
|
+
actor: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
209
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
210
|
+
}, {
|
|
211
|
+
id: string;
|
|
212
|
+
}, "object", {
|
|
213
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
214
|
+
readonly '~types'?: {
|
|
215
|
+
readonly input: string;
|
|
216
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
217
|
+
} | undefined;
|
|
218
|
+
};
|
|
219
|
+
}>;
|
|
220
|
+
api_token: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
221
|
+
session_cookie: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
222
|
+
}>>;
|
|
223
|
+
/** The keeper's additional actors (from input `extra_actors`), in order. */
|
|
224
|
+
extra_actors: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
225
|
+
name: string;
|
|
226
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
227
|
+
}[], {
|
|
228
|
+
name: string;
|
|
229
|
+
id: string;
|
|
230
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
231
|
+
name: string;
|
|
232
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
233
|
+
}, {
|
|
234
|
+
name: string;
|
|
235
|
+
id: string;
|
|
236
|
+
}, "object", {
|
|
237
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
238
|
+
readonly '~types'?: {
|
|
239
|
+
readonly input: string;
|
|
240
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
241
|
+
} | undefined;
|
|
242
|
+
};
|
|
243
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
244
|
+
}>>;
|
|
245
|
+
account: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
246
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
247
|
+
username: string;
|
|
248
|
+
}, {
|
|
249
|
+
id: string;
|
|
250
|
+
username: string;
|
|
251
|
+
}, "object", {
|
|
252
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
253
|
+
readonly '~types'?: {
|
|
254
|
+
readonly input: string;
|
|
255
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
256
|
+
} | undefined;
|
|
257
|
+
};
|
|
258
|
+
username: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
259
|
+
}>;
|
|
260
|
+
actor: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
261
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
262
|
+
}, {
|
|
263
|
+
id: string;
|
|
264
|
+
}, "object", {
|
|
265
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
266
|
+
readonly '~types'?: {
|
|
267
|
+
readonly input: string;
|
|
268
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
269
|
+
} | undefined;
|
|
270
|
+
};
|
|
271
|
+
}>;
|
|
272
|
+
api_token: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
273
|
+
session_cookie: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
274
|
+
}>;
|
|
158
275
|
readonly async: true;
|
|
159
276
|
readonly description: "Test-binary only — wipe auth tables, re-bootstrap a fresh keeper (+ optional extras), fire the domain-state reset.";
|
|
160
277
|
};
|
|
@@ -197,11 +314,17 @@ export declare const testing_drain_effects_action_spec: {
|
|
|
197
314
|
readonly credential_types: readonly ["daemon_token"];
|
|
198
315
|
};
|
|
199
316
|
readonly side_effects: false;
|
|
200
|
-
readonly input:
|
|
201
|
-
readonly output:
|
|
202
|
-
ok:
|
|
203
|
-
tracked:
|
|
204
|
-
},
|
|
317
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
318
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
319
|
+
ok: boolean;
|
|
320
|
+
tracked: boolean;
|
|
321
|
+
}, {
|
|
322
|
+
ok: boolean;
|
|
323
|
+
tracked: boolean;
|
|
324
|
+
}, "object", {
|
|
325
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
326
|
+
tracked: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
327
|
+
}>;
|
|
205
328
|
readonly async: true;
|
|
206
329
|
readonly description: "Test-binary only — await in-flight fire-and-forget audit writes so a following audit_log_list read is authoritative.";
|
|
207
330
|
};
|
|
@@ -209,7 +332,7 @@ export declare const testing_drain_effects_action_spec: {
|
|
|
209
332
|
* `_testing_mint_session` — mint an expired-by-construction server-side
|
|
210
333
|
* session for an existing account and return its signed cookie value.
|
|
211
334
|
*
|
|
212
|
-
* `expires_in_seconds` is **constrained negative** (`
|
|
335
|
+
* `expires_in_seconds` is **constrained negative** (a safe integer at most `-1`)
|
|
213
336
|
* so the action is structurally incapable of minting a *usable* session: it
|
|
214
337
|
* can only produce an already-backdated, already-dead `auth_session` row. The
|
|
215
338
|
* daemon-token gate + loopback binding already fence the backdoor, but the
|
|
@@ -245,13 +368,28 @@ export declare const testing_mint_session_action_spec: {
|
|
|
245
368
|
readonly credential_types: readonly ["daemon_token"];
|
|
246
369
|
};
|
|
247
370
|
readonly side_effects: true;
|
|
248
|
-
readonly input:
|
|
249
|
-
account_id:
|
|
250
|
-
expires_in_seconds:
|
|
251
|
-
},
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
},
|
|
371
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
372
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
373
|
+
expires_in_seconds: number;
|
|
374
|
+
}, {
|
|
375
|
+
account_id: string;
|
|
376
|
+
expires_in_seconds: number;
|
|
377
|
+
}, "object", {
|
|
378
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
379
|
+
readonly '~types'?: {
|
|
380
|
+
readonly input: string;
|
|
381
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
382
|
+
} | undefined;
|
|
383
|
+
};
|
|
384
|
+
expires_in_seconds: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
385
|
+
}>;
|
|
386
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
387
|
+
session_cookie: string;
|
|
388
|
+
}, {
|
|
389
|
+
session_cookie: string;
|
|
390
|
+
}, "object", {
|
|
391
|
+
session_cookie: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
392
|
+
}>;
|
|
255
393
|
readonly async: true;
|
|
256
394
|
readonly description: string;
|
|
257
395
|
};
|
|
@@ -296,15 +434,39 @@ export declare const testing_put_fact_action_spec: {
|
|
|
296
434
|
readonly credential_types: readonly ["daemon_token"];
|
|
297
435
|
};
|
|
298
436
|
readonly side_effects: true;
|
|
299
|
-
readonly input:
|
|
300
|
-
content:
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
},
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
437
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
438
|
+
content: string;
|
|
439
|
+
external_url?: string | undefined;
|
|
440
|
+
content_type?: string | undefined;
|
|
441
|
+
holder?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined;
|
|
442
|
+
}, {
|
|
443
|
+
content: string;
|
|
444
|
+
external_url?: string | undefined;
|
|
445
|
+
content_type?: string | undefined;
|
|
446
|
+
holder?: string | undefined;
|
|
447
|
+
}, "object", {
|
|
448
|
+
content: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
449
|
+
content_type: 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>>>;
|
|
450
|
+
holder: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
451
|
+
readonly '~types'?: {
|
|
452
|
+
readonly input: string;
|
|
453
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
454
|
+
} | undefined;
|
|
455
|
+
}>>;
|
|
456
|
+
external_url: 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>>>;
|
|
457
|
+
}>;
|
|
458
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
459
|
+
hash: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "FactHash">;
|
|
460
|
+
}, {
|
|
461
|
+
hash: string;
|
|
462
|
+
}, "object", {
|
|
463
|
+
hash: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "FactHash">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
464
|
+
readonly '~types'?: {
|
|
465
|
+
readonly input: string;
|
|
466
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
467
|
+
} | undefined;
|
|
468
|
+
};
|
|
469
|
+
}>;
|
|
308
470
|
readonly async: true;
|
|
309
471
|
readonly description: string;
|
|
310
472
|
};
|
|
@@ -368,13 +530,23 @@ export declare const testing_flood_notifications_action_spec: {
|
|
|
368
530
|
readonly credential_types: readonly ["daemon_token"];
|
|
369
531
|
};
|
|
370
532
|
readonly side_effects: false;
|
|
371
|
-
readonly input:
|
|
372
|
-
count:
|
|
373
|
-
size:
|
|
374
|
-
},
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
},
|
|
533
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
534
|
+
count: number;
|
|
535
|
+
size: number;
|
|
536
|
+
}, {
|
|
537
|
+
count: number;
|
|
538
|
+
size: number;
|
|
539
|
+
}, "object", {
|
|
540
|
+
count: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
541
|
+
size: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
542
|
+
}>;
|
|
543
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
544
|
+
queued: number;
|
|
545
|
+
}, {
|
|
546
|
+
queued: number;
|
|
547
|
+
}, "object", {
|
|
548
|
+
queued: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
549
|
+
}>;
|
|
378
550
|
readonly async: true;
|
|
379
551
|
readonly error_reasons: readonly ["no_connection"];
|
|
380
552
|
readonly description: string;
|
|
@@ -411,35 +583,225 @@ export declare const testing_schema_snapshot_action_spec: {
|
|
|
411
583
|
readonly credential_types: readonly ["daemon_token"];
|
|
412
584
|
};
|
|
413
585
|
readonly side_effects: false;
|
|
414
|
-
readonly input:
|
|
415
|
-
exclude_tables
|
|
416
|
-
},
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
name:
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
586
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
587
|
+
exclude_tables?: string[] | undefined;
|
|
588
|
+
}, {
|
|
589
|
+
exclude_tables?: string[] | undefined;
|
|
590
|
+
}, "object", {
|
|
591
|
+
exclude_tables: 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[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
592
|
+
}>;
|
|
593
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
594
|
+
tables: Record<string, {
|
|
595
|
+
columns: Record<string, {
|
|
596
|
+
data_type: string;
|
|
597
|
+
is_nullable: boolean;
|
|
598
|
+
udt_name: string;
|
|
599
|
+
column_default: string | null;
|
|
600
|
+
is_identity: boolean;
|
|
601
|
+
}>;
|
|
602
|
+
indexes: {
|
|
603
|
+
name: string;
|
|
604
|
+
definition: string;
|
|
605
|
+
}[];
|
|
606
|
+
constraints: {
|
|
607
|
+
name: string;
|
|
608
|
+
type: string;
|
|
609
|
+
definition: string;
|
|
610
|
+
}[];
|
|
611
|
+
}>;
|
|
612
|
+
sequences: Record<string, {
|
|
613
|
+
data_type: string;
|
|
614
|
+
}>;
|
|
615
|
+
enums: Record<string, {
|
|
616
|
+
labels: string[];
|
|
617
|
+
}>;
|
|
618
|
+
}, {
|
|
619
|
+
tables: Record<string, {
|
|
620
|
+
columns: Record<string, {
|
|
621
|
+
data_type: string;
|
|
622
|
+
is_nullable: boolean;
|
|
623
|
+
udt_name: string;
|
|
624
|
+
column_default: string | null;
|
|
625
|
+
is_identity: boolean;
|
|
626
|
+
}>;
|
|
627
|
+
indexes: {
|
|
628
|
+
name: string;
|
|
629
|
+
definition: string;
|
|
630
|
+
}[];
|
|
631
|
+
constraints: {
|
|
632
|
+
name: string;
|
|
633
|
+
type: string;
|
|
634
|
+
definition: string;
|
|
635
|
+
}[];
|
|
636
|
+
}>;
|
|
637
|
+
sequences: Record<string, {
|
|
638
|
+
data_type: string;
|
|
639
|
+
}>;
|
|
640
|
+
enums: Record<string, {
|
|
641
|
+
labels: string[];
|
|
642
|
+
}>;
|
|
643
|
+
}, "strip_object", {
|
|
644
|
+
tables: import("@fuzdev/fuz_schema/schema.ts").Schema<Record<string, {
|
|
645
|
+
columns: Record<string, {
|
|
646
|
+
data_type: string;
|
|
647
|
+
is_nullable: boolean;
|
|
648
|
+
udt_name: string;
|
|
649
|
+
column_default: string | null;
|
|
650
|
+
is_identity: boolean;
|
|
651
|
+
}>;
|
|
652
|
+
indexes: {
|
|
653
|
+
name: string;
|
|
654
|
+
definition: string;
|
|
655
|
+
}[];
|
|
656
|
+
constraints: {
|
|
657
|
+
name: string;
|
|
658
|
+
type: string;
|
|
659
|
+
definition: string;
|
|
660
|
+
}[];
|
|
661
|
+
}>, Record<string, {
|
|
662
|
+
columns: Record<string, {
|
|
663
|
+
data_type: string;
|
|
664
|
+
is_nullable: boolean;
|
|
665
|
+
udt_name: string;
|
|
666
|
+
column_default: string | null;
|
|
667
|
+
is_identity: boolean;
|
|
668
|
+
}>;
|
|
669
|
+
indexes: {
|
|
670
|
+
name: string;
|
|
671
|
+
definition: string;
|
|
672
|
+
}[];
|
|
673
|
+
constraints: {
|
|
674
|
+
name: string;
|
|
675
|
+
type: string;
|
|
676
|
+
definition: string;
|
|
677
|
+
}[];
|
|
678
|
+
}>, "record", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
679
|
+
columns: Record<string, {
|
|
680
|
+
data_type: string;
|
|
681
|
+
is_nullable: boolean;
|
|
682
|
+
udt_name: string;
|
|
683
|
+
column_default: string | null;
|
|
684
|
+
is_identity: boolean;
|
|
685
|
+
}>;
|
|
686
|
+
indexes: {
|
|
687
|
+
name: string;
|
|
688
|
+
definition: string;
|
|
689
|
+
}[];
|
|
690
|
+
constraints: {
|
|
691
|
+
name: string;
|
|
692
|
+
type: string;
|
|
693
|
+
definition: string;
|
|
694
|
+
}[];
|
|
695
|
+
}, {
|
|
696
|
+
columns: Record<string, {
|
|
697
|
+
data_type: string;
|
|
698
|
+
is_nullable: boolean;
|
|
699
|
+
udt_name: string;
|
|
700
|
+
column_default: string | null;
|
|
701
|
+
is_identity: boolean;
|
|
702
|
+
}>;
|
|
703
|
+
indexes: {
|
|
704
|
+
name: string;
|
|
705
|
+
definition: string;
|
|
706
|
+
}[];
|
|
707
|
+
constraints: {
|
|
708
|
+
name: string;
|
|
709
|
+
type: string;
|
|
710
|
+
definition: string;
|
|
711
|
+
}[];
|
|
712
|
+
}, "strip_object", {
|
|
713
|
+
columns: import("@fuzdev/fuz_schema/schema.ts").Schema<Record<string, {
|
|
714
|
+
data_type: string;
|
|
715
|
+
is_nullable: boolean;
|
|
716
|
+
udt_name: string;
|
|
717
|
+
column_default: string | null;
|
|
718
|
+
is_identity: boolean;
|
|
719
|
+
}>, Record<string, {
|
|
720
|
+
data_type: string;
|
|
721
|
+
is_nullable: boolean;
|
|
722
|
+
udt_name: string;
|
|
723
|
+
column_default: string | null;
|
|
724
|
+
is_identity: boolean;
|
|
725
|
+
}>, "record", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
726
|
+
data_type: string;
|
|
727
|
+
is_nullable: boolean;
|
|
728
|
+
udt_name: string;
|
|
729
|
+
column_default: string | null;
|
|
730
|
+
is_identity: boolean;
|
|
731
|
+
}, {
|
|
732
|
+
data_type: string;
|
|
733
|
+
is_nullable: boolean;
|
|
734
|
+
udt_name: string;
|
|
735
|
+
column_default: string | null;
|
|
736
|
+
is_identity: boolean;
|
|
737
|
+
}, "strip_object", {
|
|
738
|
+
data_type: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
739
|
+
udt_name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
740
|
+
is_nullable: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
741
|
+
column_default: 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>>>;
|
|
742
|
+
is_identity: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
743
|
+
}>>;
|
|
744
|
+
indexes: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
745
|
+
name: string;
|
|
746
|
+
definition: string;
|
|
747
|
+
}[], {
|
|
748
|
+
name: string;
|
|
749
|
+
definition: string;
|
|
750
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
751
|
+
name: string;
|
|
752
|
+
definition: string;
|
|
753
|
+
}, {
|
|
754
|
+
name: string;
|
|
755
|
+
definition: string;
|
|
756
|
+
}, "strip_object", {
|
|
757
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
758
|
+
definition: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
759
|
+
}>>;
|
|
760
|
+
constraints: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
761
|
+
name: string;
|
|
762
|
+
type: string;
|
|
763
|
+
definition: string;
|
|
764
|
+
}[], {
|
|
765
|
+
name: string;
|
|
766
|
+
type: string;
|
|
767
|
+
definition: string;
|
|
768
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
769
|
+
name: string;
|
|
770
|
+
type: string;
|
|
771
|
+
definition: string;
|
|
772
|
+
}, {
|
|
773
|
+
name: string;
|
|
774
|
+
type: string;
|
|
775
|
+
definition: string;
|
|
776
|
+
}, "strip_object", {
|
|
777
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
778
|
+
type: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
779
|
+
definition: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
780
|
+
}>>;
|
|
781
|
+
}>>;
|
|
782
|
+
sequences: import("@fuzdev/fuz_schema/schema.ts").Schema<Record<string, {
|
|
783
|
+
data_type: string;
|
|
784
|
+
}>, Record<string, {
|
|
785
|
+
data_type: string;
|
|
786
|
+
}>, "record", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
787
|
+
data_type: string;
|
|
788
|
+
}, {
|
|
789
|
+
data_type: string;
|
|
790
|
+
}, "strip_object", {
|
|
791
|
+
data_type: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
792
|
+
}>>;
|
|
793
|
+
enums: import("@fuzdev/fuz_schema/schema.ts").Schema<Record<string, {
|
|
794
|
+
labels: string[];
|
|
795
|
+
}>, Record<string, {
|
|
796
|
+
labels: string[];
|
|
797
|
+
}>, "record", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
798
|
+
labels: string[];
|
|
799
|
+
}, {
|
|
800
|
+
labels: string[];
|
|
801
|
+
}, "strip_object", {
|
|
802
|
+
labels: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
803
|
+
}>>;
|
|
804
|
+
}>;
|
|
443
805
|
readonly async: true;
|
|
444
806
|
readonly description: "Test-binary only — introspect the live schema into a normalized snapshot for cross-impl parity diffing.";
|
|
445
807
|
};
|
|
@@ -473,14 +835,42 @@ export declare const testing_migration_tracker_action_spec: {
|
|
|
473
835
|
readonly credential_types: readonly ["daemon_token"];
|
|
474
836
|
};
|
|
475
837
|
readonly side_effects: false;
|
|
476
|
-
readonly input:
|
|
477
|
-
readonly output:
|
|
478
|
-
entries:
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
sequence:
|
|
482
|
-
}
|
|
483
|
-
},
|
|
838
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
839
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
840
|
+
entries: {
|
|
841
|
+
name: string;
|
|
842
|
+
namespace: string;
|
|
843
|
+
sequence: number;
|
|
844
|
+
}[];
|
|
845
|
+
}, {
|
|
846
|
+
entries: {
|
|
847
|
+
name: string;
|
|
848
|
+
namespace: string;
|
|
849
|
+
sequence: number;
|
|
850
|
+
}[];
|
|
851
|
+
}, "strip_object", {
|
|
852
|
+
entries: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
853
|
+
name: string;
|
|
854
|
+
namespace: string;
|
|
855
|
+
sequence: number;
|
|
856
|
+
}[], {
|
|
857
|
+
name: string;
|
|
858
|
+
namespace: string;
|
|
859
|
+
sequence: number;
|
|
860
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
861
|
+
name: string;
|
|
862
|
+
namespace: string;
|
|
863
|
+
sequence: number;
|
|
864
|
+
}, {
|
|
865
|
+
name: string;
|
|
866
|
+
namespace: string;
|
|
867
|
+
sequence: number;
|
|
868
|
+
}, "strip_object", {
|
|
869
|
+
namespace: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
870
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
871
|
+
sequence: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
872
|
+
}>>;
|
|
873
|
+
}>;
|
|
484
874
|
readonly async: true;
|
|
485
875
|
readonly description: string;
|
|
486
876
|
};
|
|
@@ -534,14 +924,31 @@ export declare const testing_shorten_credential_expiry_action_spec: {
|
|
|
534
924
|
readonly credential_types: readonly ["daemon_token"];
|
|
535
925
|
};
|
|
536
926
|
readonly side_effects: true;
|
|
537
|
-
readonly input:
|
|
538
|
-
account_id:
|
|
539
|
-
seconds:
|
|
540
|
-
},
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
927
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
928
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
929
|
+
seconds: number;
|
|
930
|
+
}, {
|
|
931
|
+
account_id: string;
|
|
932
|
+
seconds: number;
|
|
933
|
+
}, "object", {
|
|
934
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform">)[]> & {
|
|
935
|
+
readonly '~types'?: {
|
|
936
|
+
readonly input: string;
|
|
937
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
938
|
+
} | undefined;
|
|
939
|
+
};
|
|
940
|
+
seconds: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
941
|
+
}>;
|
|
942
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
943
|
+
sessions: number;
|
|
944
|
+
api_tokens: number;
|
|
945
|
+
}, {
|
|
946
|
+
sessions: number;
|
|
947
|
+
api_tokens: number;
|
|
948
|
+
}, "object", {
|
|
949
|
+
sessions: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
950
|
+
api_tokens: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
951
|
+
}>;
|
|
545
952
|
readonly async: true;
|
|
546
953
|
readonly description: string;
|
|
547
954
|
};
|
|
@@ -579,8 +986,8 @@ export declare const testing_action_manifest_action_spec: {
|
|
|
579
986
|
readonly credential_types: readonly ["daemon_token"];
|
|
580
987
|
};
|
|
581
988
|
readonly side_effects: false;
|
|
582
|
-
readonly input:
|
|
583
|
-
readonly output: import("@fuzdev/fuz_schema/schema.
|
|
989
|
+
readonly input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
990
|
+
readonly output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
584
991
|
methods: {
|
|
585
992
|
input: "object" | "void";
|
|
586
993
|
account: "optional" | "none" | "required";
|
|
@@ -603,7 +1010,7 @@ export declare const testing_action_manifest_action_spec: {
|
|
|
603
1010
|
rate_limit: "account" | "ip" | "both" | null;
|
|
604
1011
|
}[];
|
|
605
1012
|
}, "object", {
|
|
606
|
-
methods: import("@fuzdev/fuz_schema/schema.
|
|
1013
|
+
methods: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
607
1014
|
input: "object" | "void";
|
|
608
1015
|
account: "optional" | "none" | "required";
|
|
609
1016
|
actor: "optional" | "none" | "required";
|
|
@@ -621,7 +1028,7 @@ export declare const testing_action_manifest_action_spec: {
|
|
|
621
1028
|
method: string;
|
|
622
1029
|
side_effects: boolean;
|
|
623
1030
|
rate_limit: "account" | "ip" | "both" | null;
|
|
624
|
-
}[], "array", import("@fuzdev/fuz_schema/schema.
|
|
1031
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
625
1032
|
input: "object" | "void";
|
|
626
1033
|
account: "optional" | "none" | "required";
|
|
627
1034
|
actor: "optional" | "none" | "required";
|
|
@@ -640,14 +1047,14 @@ export declare const testing_action_manifest_action_spec: {
|
|
|
640
1047
|
side_effects: boolean;
|
|
641
1048
|
rate_limit: "account" | "ip" | "both" | null;
|
|
642
1049
|
}, "object", {
|
|
643
|
-
method: import("@fuzdev/fuz_schema/schema.
|
|
644
|
-
input: import("@fuzdev/fuz_schema/schema.
|
|
645
|
-
side_effects: import("@fuzdev/fuz_schema/schema.
|
|
646
|
-
account: import("@fuzdev/fuz_schema/schema.
|
|
647
|
-
actor: import("@fuzdev/fuz_schema/schema.
|
|
648
|
-
roles: import("@fuzdev/fuz_schema/schema.
|
|
649
|
-
credential_types: import("@fuzdev/fuz_schema/schema.
|
|
650
|
-
rate_limit: import("@fuzdev/fuz_schema/schema.
|
|
1050
|
+
method: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
1051
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<"object" | "void", "object" | "void", "one_of", readonly ["void", "object"]>;
|
|
1052
|
+
side_effects: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
1053
|
+
account: import("@fuzdev/fuz_schema/schema.ts").Schema<"optional" | "none" | "required", "optional" | "none" | "required", "one_of", readonly ["none", "optional", "required"]>;
|
|
1054
|
+
actor: import("@fuzdev/fuz_schema/schema.ts").Schema<"optional" | "none" | "required", "optional" | "none" | "required", "one_of", readonly ["none", "optional", "required"]>;
|
|
1055
|
+
roles: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
1056
|
+
credential_types: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
1057
|
+
rate_limit: import("@fuzdev/fuz_schema/schema.ts").Schema<"account" | "ip" | "both" | null, "account" | "ip" | "both" | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<"account" | "ip" | "both", "account" | "ip" | "both", "one_of", readonly ["ip", "account", "both"]>>>;
|
|
651
1058
|
}>>;
|
|
652
1059
|
}>;
|
|
653
1060
|
readonly async: true;
|