@fuzdev/fuz_app 0.161.0 → 0.163.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/auth/CLAUDE.md +47 -36
- package/dist/auth/account_action_specs.d.ts +614 -150
- package/dist/auth/account_action_specs.d.ts.map +1 -1
- package/dist/auth/account_action_specs.js +56 -52
- package/dist/auth/account_route_schema.d.ts +401 -94
- package/dist/auth/account_route_schema.d.ts.map +1 -1
- package/dist/auth/account_route_schema.js +54 -39
- package/dist/auth/account_routes.js +1 -1
- package/dist/auth/account_schema.d.ts +531 -118
- package/dist/auth/account_schema.d.ts.map +1 -1
- package/dist/auth/account_schema.js +76 -58
- package/dist/auth/admin_action_specs.d.ts +1753 -240
- package/dist/auth/admin_action_specs.d.ts.map +1 -1
- package/dist/auth/admin_action_specs.js +28 -26
- package/dist/auth/admin_actions.d.ts +4 -4
- package/dist/auth/admin_actions.d.ts.map +1 -1
- package/dist/auth/admin_actions.js +3 -3
- package/dist/auth/all_cell_actions.d.ts +3 -3
- package/dist/auth/all_cell_actions.d.ts.map +1 -1
- package/dist/auth/all_cell_actions.js +1 -1
- package/dist/auth/api_token.d.ts +4 -4
- package/dist/auth/api_token.d.ts.map +1 -1
- package/dist/auth/api_token.js +3 -3
- package/dist/auth/audit_emitter.d.ts +8 -3
- package/dist/auth/audit_emitter.d.ts.map +1 -1
- package/dist/auth/audit_emitter.js +32 -9
- package/dist/auth/audit_log_queries.d.ts.map +1 -1
- package/dist/auth/audit_log_queries.js +4 -3
- package/dist/auth/audit_log_schema.d.ts +798 -291
- package/dist/auth/audit_log_schema.d.ts.map +1 -1
- package/dist/auth/audit_log_schema.js +192 -201
- package/dist/auth/bootstrap_route_schema.d.ts +173 -50
- package/dist/auth/bootstrap_route_schema.d.ts.map +1 -1
- package/dist/auth/bootstrap_route_schema.js +35 -16
- package/dist/auth/cell_grant_action_specs.d.ts +1 -1
- package/dist/auth/cell_grant_action_specs.js +1 -1
- package/dist/auth/cell_grant_actions.d.ts +4 -4
- package/dist/auth/cell_grant_actions.d.ts.map +1 -1
- package/dist/auth/cell_grant_actions.js +1 -1
- package/dist/auth/credential_type_schema.d.ts +16 -29
- package/dist/auth/credential_type_schema.d.ts.map +1 -1
- package/dist/auth/credential_type_schema.js +14 -18
- package/dist/auth/grant_path_schema.d.ts +15 -29
- package/dist/auth/grant_path_schema.d.ts.map +1 -1
- package/dist/auth/grant_path_schema.js +13 -17
- package/dist/auth/invite_schema.d.ts +98 -26
- package/dist/auth/invite_schema.d.ts.map +1 -1
- package/dist/auth/invite_schema.js +21 -14
- package/dist/auth/migrations.d.ts.map +1 -1
- package/dist/auth/migrations.js +28 -1
- package/dist/auth/name_schema.d.ts +7 -6
- package/dist/auth/name_schema.d.ts.map +1 -1
- package/dist/auth/name_schema.js +8 -9
- package/dist/auth/password.d.ts +15 -7
- package/dist/auth/password.d.ts.map +1 -1
- package/dist/auth/password.js +16 -9
- package/dist/auth/role_grant_offer_action_specs.d.ts +72 -72
- package/dist/auth/role_grant_offer_action_specs.js +2 -2
- package/dist/auth/role_grant_offer_actions.d.ts +4 -4
- package/dist/auth/role_grant_offer_actions.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_actions.js +3 -3
- package/dist/auth/role_grant_offer_notifications.d.ts +60 -60
- package/dist/auth/role_grant_offer_notifications.js +2 -2
- package/dist/auth/role_grant_offer_schema.d.ts +8 -8
- package/dist/auth/role_grant_offer_schema.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_schema.js +10 -10
- package/dist/auth/role_schema.d.ts +47 -55
- package/dist/auth/role_schema.d.ts.map +1 -1
- package/dist/auth/role_schema.js +29 -35
- package/dist/auth/scope_kind_schema.d.ts +22 -26
- package/dist/auth/scope_kind_schema.d.ts.map +1 -1
- package/dist/auth/scope_kind_schema.js +19 -19
- package/dist/auth/self_service_role_action_specs.js +1 -1
- package/dist/auth/self_service_role_actions.d.ts +6 -6
- package/dist/auth/self_service_role_actions.d.ts.map +1 -1
- package/dist/auth/self_service_role_actions.js +7 -6
- package/dist/auth/signup_route_schema.d.ts +71 -21
- package/dist/auth/signup_route_schema.d.ts.map +1 -1
- package/dist/auth/signup_route_schema.js +18 -16
- package/dist/auth/standard_rpc_actions.d.ts +1 -1
- package/dist/auth/standard_rpc_actions.js +1 -1
- package/dist/auth/token_lifetime.d.ts +33 -9
- package/dist/auth/token_lifetime.d.ts.map +1 -1
- package/dist/auth/token_lifetime.js +8 -7
- package/dist/auth/token_scope.d.ts +99 -25
- package/dist/auth/token_scope.d.ts.map +1 -1
- package/dist/auth/token_scope.js +57 -35
- package/dist/dev/setup.d.ts +14 -7
- package/dist/dev/setup.d.ts.map +1 -1
- package/dist/dev/setup.js +11 -6
- package/dist/primitive_schemas.d.ts +2 -22
- package/dist/primitive_schemas.d.ts.map +1 -1
- package/dist/primitive_schemas.js +2 -24
- package/dist/primitive_schemas_fuz.d.ts +56 -2
- package/dist/primitive_schemas_fuz.d.ts.map +1 -1
- package/dist/primitive_schemas_fuz.js +54 -4
- package/dist/testing/CLAUDE.md +29 -8
- package/dist/testing/admin_integration.d.ts +3 -3
- package/dist/testing/admin_integration.d.ts.map +1 -1
- package/dist/testing/admin_integration.js +1 -1
- package/dist/testing/app_server.d.ts +3 -1
- package/dist/testing/app_server.d.ts.map +1 -1
- package/dist/testing/app_server.js +6 -2
- package/dist/testing/audit_drift_guard.d.ts.map +1 -1
- package/dist/testing/audit_drift_guard.js +12 -13
- package/dist/testing/cross_backend/default_spine_surface.d.ts +2 -2
- package/dist/testing/cross_backend/default_spine_surface.d.ts.map +1 -1
- package/dist/testing/cross_backend/default_spine_surface.js +2 -2
- package/dist/testing/cross_backend/identity_parity.d.ts.map +1 -1
- package/dist/testing/cross_backend/identity_parity.js +43 -8
- package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts +3 -3
- package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
- package/dist/testing/cross_backend/session_cap.d.ts.map +1 -1
- package/dist/testing/cross_backend/session_cap.js +4 -3
- 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 +45 -42
- package/dist/testing/cross_backend/spine_suites.d.ts +3 -3
- package/dist/testing/cross_backend/spine_suites.d.ts.map +1 -1
- package/dist/testing/cross_backend/standard.d.ts +4 -4
- package/dist/testing/cross_backend/standard.d.ts.map +1 -1
- package/dist/testing/cross_backend/token_lifetime.d.ts.map +1 -1
- package/dist/testing/cross_backend/token_lifetime.js +34 -1
- package/dist/testing/db_entities.d.ts +3 -1
- package/dist/testing/db_entities.d.ts.map +1 -1
- package/dist/testing/db_entities.js +4 -2
- package/dist/testing/integration.d.ts.map +1 -1
- package/dist/testing/integration.js +4 -3
- package/dist/testing/token_scope_fixtures.d.ts +24 -0
- package/dist/testing/token_scope_fixtures.d.ts.map +1 -0
- package/dist/testing/token_scope_fixtures.js +49 -0
- package/dist/testing/transports/bootstrap.d.ts +1 -1
- package/dist/testing/transports/bootstrap.d.ts.map +1 -1
- package/dist/testing/transports/bootstrap.js +13 -12
- package/dist/ui/BootstrapForm.svelte +4 -2
- package/dist/ui/BootstrapForm.svelte.d.ts.map +1 -1
- package/dist/ui/SignupForm.svelte +4 -2
- package/dist/ui/SignupForm.svelte.d.ts.map +1 -1
- package/dist/zod.d.ts +2 -1
- package/dist/zod.d.ts.map +1 -1
- package/dist/zod.js +6 -2
- package/package.json +1 -1
- package/dist/auth/audit_log_schema_fuz.d.ts +0 -39
- package/dist/auth/audit_log_schema_fuz.d.ts.map +0 -1
- package/dist/auth/audit_log_schema_fuz.js +0 -37
- package/dist/auth/role_schema_fuz.d.ts +0 -30
- package/dist/auth/role_schema_fuz.d.ts.map +0 -1
- package/dist/auth/role_schema_fuz.js +0 -30
- package/dist/auth/scope_kind_schema_fuz.d.ts +0 -31
- package/dist/auth/scope_kind_schema_fuz.d.ts.map +0 -1
- package/dist/auth/scope_kind_schema_fuz.js +0 -31
|
@@ -7,46 +7,125 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module
|
|
9
9
|
*/
|
|
10
|
-
import { z } from 'zod';
|
|
11
10
|
import { type Infer } from '@fuzdev/fuz_schema/schema.ts';
|
|
12
11
|
import type { RequestResponseActionSpec } from '../actions/action_spec.js';
|
|
13
|
-
/** Input for `account_verify`. No parameters — the caller is the subject. */
|
|
14
|
-
export declare const VerifyInput:
|
|
15
|
-
export type VerifyInput =
|
|
16
|
-
/** Input for `account_session_list`. No parameters. */
|
|
17
|
-
export declare const SessionListInput:
|
|
18
|
-
export type SessionListInput =
|
|
19
|
-
/** Output for `account_session_list
|
|
20
|
-
export declare const SessionListOutput:
|
|
21
|
-
sessions:
|
|
22
|
-
id:
|
|
23
|
-
account_id:
|
|
24
|
-
created_at:
|
|
25
|
-
expires_at:
|
|
26
|
-
is_current:
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
12
|
+
/** Input for `account_verify`, fuz_schema's `void`. No parameters — the caller is the subject. */
|
|
13
|
+
export declare const VerifyInput: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
14
|
+
export type VerifyInput = Infer<typeof VerifyInput>;
|
|
15
|
+
/** Input for `account_session_list`, fuz_schema's `void`. No parameters. */
|
|
16
|
+
export declare const SessionListInput: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
17
|
+
export type SessionListInput = Infer<typeof SessionListInput>;
|
|
18
|
+
/** Output for `account_session_list`, a `@fuzdev/fuz_schema` schema. */
|
|
19
|
+
export declare const SessionListOutput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
20
|
+
sessions: {
|
|
21
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
22
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
23
|
+
created_at: string;
|
|
24
|
+
expires_at: string;
|
|
25
|
+
is_current: boolean;
|
|
26
|
+
}[];
|
|
27
|
+
}, {
|
|
28
|
+
sessions: {
|
|
29
|
+
id: string;
|
|
30
|
+
account_id: string;
|
|
31
|
+
created_at: string;
|
|
32
|
+
expires_at: string;
|
|
33
|
+
is_current: boolean;
|
|
34
|
+
}[];
|
|
35
|
+
}, "object", {
|
|
36
|
+
sessions: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
37
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
38
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
39
|
+
created_at: string;
|
|
40
|
+
expires_at: string;
|
|
41
|
+
is_current: boolean;
|
|
42
|
+
}[], {
|
|
43
|
+
id: string;
|
|
44
|
+
account_id: string;
|
|
45
|
+
created_at: string;
|
|
46
|
+
expires_at: string;
|
|
47
|
+
is_current: boolean;
|
|
48
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
49
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
50
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
51
|
+
created_at: string;
|
|
52
|
+
expires_at: string;
|
|
53
|
+
is_current: boolean;
|
|
54
|
+
}, {
|
|
55
|
+
id: string;
|
|
56
|
+
account_id: string;
|
|
57
|
+
created_at: string;
|
|
58
|
+
expires_at: string;
|
|
59
|
+
is_current: boolean;
|
|
60
|
+
}, "object", {
|
|
61
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">, 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
62
|
+
readonly '~types'?: {
|
|
63
|
+
readonly input: string;
|
|
64
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
65
|
+
} | undefined;
|
|
66
|
+
};
|
|
67
|
+
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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
68
|
+
readonly '~types'?: {
|
|
69
|
+
readonly input: string;
|
|
70
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
71
|
+
} | undefined;
|
|
72
|
+
};
|
|
73
|
+
created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
74
|
+
expires_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
75
|
+
is_current: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
76
|
+
}>>;
|
|
77
|
+
}>;
|
|
78
|
+
export type SessionListOutput = Infer<typeof SessionListOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* Input for `account_session_revoke`, a `@fuzdev/fuz_schema` schema.
|
|
81
|
+
* `session_id` is the blake3 hash.
|
|
82
|
+
*/
|
|
83
|
+
export declare const SessionRevokeInput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
84
|
+
session_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
85
|
+
}, {
|
|
86
|
+
session_id: string;
|
|
87
|
+
}, "object", {
|
|
88
|
+
session_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">, 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
89
|
+
readonly '~types'?: {
|
|
90
|
+
readonly input: string;
|
|
91
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
92
|
+
} | undefined;
|
|
93
|
+
};
|
|
94
|
+
}>;
|
|
95
|
+
export type SessionRevokeInput = Infer<typeof SessionRevokeInput>;
|
|
96
|
+
/**
|
|
97
|
+
* Output for `account_session_revoke`, a `@fuzdev/fuz_schema` schema.
|
|
98
|
+
* `revoked` is `false` for IDOR misses.
|
|
99
|
+
*/
|
|
100
|
+
export declare const SessionRevokeOutput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
101
|
+
ok: true;
|
|
102
|
+
revoked: boolean;
|
|
103
|
+
}, {
|
|
104
|
+
ok: true;
|
|
105
|
+
revoked: boolean;
|
|
106
|
+
}, "object", {
|
|
107
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
|
|
108
|
+
revoked: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
109
|
+
}>;
|
|
110
|
+
export type SessionRevokeOutput = Infer<typeof SessionRevokeOutput>;
|
|
111
|
+
/** Input for `account_session_revoke_all`, fuz_schema's `void`. No parameters. */
|
|
112
|
+
export declare const SessionRevokeAllInput: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
113
|
+
export type SessionRevokeAllInput = Infer<typeof SessionRevokeAllInput>;
|
|
114
|
+
/**
|
|
115
|
+
* Output for `account_session_revoke_all`, a `@fuzdev/fuz_schema` schema.
|
|
116
|
+
* `count` is the number of sessions revoked.
|
|
117
|
+
*/
|
|
118
|
+
export declare const SessionRevokeAllOutput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
119
|
+
count: number;
|
|
120
|
+
ok: true;
|
|
121
|
+
}, {
|
|
122
|
+
count: number;
|
|
123
|
+
ok: true;
|
|
124
|
+
}, "object", {
|
|
125
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
|
|
126
|
+
count: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
127
|
+
}>;
|
|
128
|
+
export type SessionRevokeAllOutput = Infer<typeof SessionRevokeAllOutput>;
|
|
50
129
|
/**
|
|
51
130
|
* Maximum length of an API token's `name`, in UTF-16 code units (what
|
|
52
131
|
* `String.length` measures; enforced by `bounded_string`). The name is copied into the
|
|
@@ -67,65 +146,213 @@ export declare const ERROR_TOKEN_SCOPE_INVALID: "token_scope_invalid";
|
|
|
67
146
|
*/
|
|
68
147
|
export declare const ERROR_TOKEN_LIFETIME_INVALID: "token_lifetime_invalid";
|
|
69
148
|
/**
|
|
70
|
-
* Input for `account_token_create
|
|
149
|
+
* Input for `account_token_create`, a `@fuzdev/fuz_schema` schema.
|
|
71
150
|
*
|
|
72
151
|
* `scope` is **required** — default-deny at mint. There is deliberately no
|
|
73
152
|
* permissive default: a caller who wants full authority spells
|
|
74
153
|
* `{kind: 'full'}`, and the stored document records that they did. That is the
|
|
75
154
|
* reversal of the 2026-02 design, where the field existed but nothing depended
|
|
76
|
-
* on it. Because `scope` has no default, the object as a whole
|
|
77
|
-
* carries `.prefault({})`.
|
|
155
|
+
* on it. Because `scope` has no default, the object as a whole has none.
|
|
78
156
|
*
|
|
79
157
|
* `lifetime` follows the same rule — a never-expiring token is
|
|
80
158
|
* `{kind: 'eternal'}`, spelled out, so `expires_at IS NULL` always means
|
|
81
159
|
* "deliberately eternal" (see `auth/token_lifetime.ts`).
|
|
82
160
|
*/
|
|
83
|
-
export declare const TokenCreateInput:
|
|
84
|
-
name:
|
|
85
|
-
scope:
|
|
86
|
-
kind:
|
|
87
|
-
}
|
|
88
|
-
kind:
|
|
89
|
-
methods:
|
|
90
|
-
}
|
|
91
|
-
lifetime:
|
|
92
|
-
kind:
|
|
93
|
-
}
|
|
94
|
-
kind:
|
|
95
|
-
days:
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
},
|
|
124
|
-
|
|
161
|
+
export declare const TokenCreateInput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
162
|
+
name: string;
|
|
163
|
+
scope: {
|
|
164
|
+
kind: "full";
|
|
165
|
+
} | {
|
|
166
|
+
kind: "methods";
|
|
167
|
+
methods: string[];
|
|
168
|
+
};
|
|
169
|
+
lifetime: {
|
|
170
|
+
kind: "eternal";
|
|
171
|
+
} | {
|
|
172
|
+
kind: "ttl";
|
|
173
|
+
days: number;
|
|
174
|
+
};
|
|
175
|
+
}, {
|
|
176
|
+
scope: {
|
|
177
|
+
kind: "full";
|
|
178
|
+
} | {
|
|
179
|
+
kind: "methods";
|
|
180
|
+
methods: string[];
|
|
181
|
+
};
|
|
182
|
+
lifetime: {
|
|
183
|
+
kind: "eternal";
|
|
184
|
+
} | {
|
|
185
|
+
kind: "ttl";
|
|
186
|
+
days: number;
|
|
187
|
+
};
|
|
188
|
+
name?: string | undefined;
|
|
189
|
+
}, "object", {
|
|
190
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string | undefined, "with_default", import("@fuzdev/fuz_schema/schema.ts").SchemaDefaultDef<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
191
|
+
scope: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
192
|
+
kind: "full";
|
|
193
|
+
} | {
|
|
194
|
+
kind: "methods";
|
|
195
|
+
methods: string[];
|
|
196
|
+
}, {
|
|
197
|
+
kind: "full";
|
|
198
|
+
} | {
|
|
199
|
+
kind: "methods";
|
|
200
|
+
methods: string[];
|
|
201
|
+
}, "variant", {
|
|
202
|
+
readonly key: "kind";
|
|
203
|
+
readonly options: readonly [import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
204
|
+
kind: "full";
|
|
205
|
+
}, {
|
|
206
|
+
kind: "full";
|
|
207
|
+
}, "object", {
|
|
208
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"full", "full", "literal", "full">;
|
|
209
|
+
}>, import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
210
|
+
kind: "methods";
|
|
211
|
+
methods: string[];
|
|
212
|
+
}, {
|
|
213
|
+
kind: "methods";
|
|
214
|
+
methods: string[];
|
|
215
|
+
}, "object", {
|
|
216
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"methods", "methods", "literal", "methods">;
|
|
217
|
+
methods: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
218
|
+
}>];
|
|
219
|
+
}>;
|
|
220
|
+
lifetime: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
221
|
+
kind: "eternal";
|
|
222
|
+
} | {
|
|
223
|
+
kind: "ttl";
|
|
224
|
+
days: number;
|
|
225
|
+
}, {
|
|
226
|
+
kind: "eternal";
|
|
227
|
+
} | {
|
|
228
|
+
kind: "ttl";
|
|
229
|
+
days: number;
|
|
230
|
+
}, "variant", {
|
|
231
|
+
readonly key: "kind";
|
|
232
|
+
readonly options: readonly [import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
233
|
+
kind: "eternal";
|
|
234
|
+
}, {
|
|
235
|
+
kind: "eternal";
|
|
236
|
+
}, "object", {
|
|
237
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"eternal", "eternal", "literal", "eternal">;
|
|
238
|
+
}>, import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
239
|
+
kind: "ttl";
|
|
240
|
+
days: number;
|
|
241
|
+
}, {
|
|
242
|
+
kind: "ttl";
|
|
243
|
+
days: number;
|
|
244
|
+
}, "object", {
|
|
245
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"ttl", "ttl", "literal", "ttl">;
|
|
246
|
+
days: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
247
|
+
}>];
|
|
248
|
+
}>;
|
|
249
|
+
}>;
|
|
250
|
+
export type TokenCreateInput = Infer<typeof TokenCreateInput>;
|
|
125
251
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
252
|
+
* Output for `account_token_create`, a `@fuzdev/fuz_schema` schema. `token`
|
|
253
|
+
* is returned exactly once.
|
|
128
254
|
*/
|
|
255
|
+
export declare const TokenCreateOutput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
256
|
+
name: string;
|
|
257
|
+
id: string;
|
|
258
|
+
expires_at: string | null;
|
|
259
|
+
token: string;
|
|
260
|
+
ok: true;
|
|
261
|
+
}, {
|
|
262
|
+
name: string;
|
|
263
|
+
id: string;
|
|
264
|
+
expires_at: string | null;
|
|
265
|
+
token: string;
|
|
266
|
+
ok: true;
|
|
267
|
+
}, "object", {
|
|
268
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
|
|
269
|
+
token: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
270
|
+
id: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
271
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
272
|
+
expires_at: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
273
|
+
}>;
|
|
274
|
+
export type TokenCreateOutput = Infer<typeof TokenCreateOutput>;
|
|
275
|
+
/** Input for `account_token_list`, fuz_schema's `void`. No parameters. */
|
|
276
|
+
export declare const TokenListInput: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
277
|
+
export type TokenListInput = Infer<typeof TokenListInput>;
|
|
278
|
+
/** Output for `account_token_list`, a `@fuzdev/fuz_schema` schema. Hashes are excluded. */
|
|
279
|
+
export declare const TokenListOutput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
280
|
+
tokens: {
|
|
281
|
+
name: string;
|
|
282
|
+
id: string;
|
|
283
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
284
|
+
created_at: string;
|
|
285
|
+
expires_at: string | null;
|
|
286
|
+
last_used_at: string | null;
|
|
287
|
+
last_used_ip: string | null;
|
|
288
|
+
scope: string;
|
|
289
|
+
}[];
|
|
290
|
+
}, {
|
|
291
|
+
tokens: {
|
|
292
|
+
name: string;
|
|
293
|
+
id: string;
|
|
294
|
+
account_id: string;
|
|
295
|
+
created_at: string;
|
|
296
|
+
expires_at: string | null;
|
|
297
|
+
last_used_at: string | null;
|
|
298
|
+
last_used_ip: string | null;
|
|
299
|
+
scope: string;
|
|
300
|
+
}[];
|
|
301
|
+
}, "object", {
|
|
302
|
+
tokens: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
303
|
+
name: string;
|
|
304
|
+
id: string;
|
|
305
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
306
|
+
created_at: string;
|
|
307
|
+
expires_at: string | null;
|
|
308
|
+
last_used_at: string | null;
|
|
309
|
+
last_used_ip: string | null;
|
|
310
|
+
scope: string;
|
|
311
|
+
}[], {
|
|
312
|
+
name: string;
|
|
313
|
+
id: string;
|
|
314
|
+
account_id: string;
|
|
315
|
+
created_at: string;
|
|
316
|
+
expires_at: string | null;
|
|
317
|
+
last_used_at: string | null;
|
|
318
|
+
last_used_ip: string | null;
|
|
319
|
+
scope: string;
|
|
320
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
321
|
+
name: string;
|
|
322
|
+
id: string;
|
|
323
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
324
|
+
created_at: string;
|
|
325
|
+
expires_at: string | null;
|
|
326
|
+
last_used_at: string | null;
|
|
327
|
+
last_used_ip: string | null;
|
|
328
|
+
scope: string;
|
|
329
|
+
}, {
|
|
330
|
+
name: string;
|
|
331
|
+
id: string;
|
|
332
|
+
account_id: string;
|
|
333
|
+
created_at: string;
|
|
334
|
+
expires_at: string | null;
|
|
335
|
+
last_used_at: string | null;
|
|
336
|
+
last_used_ip: string | null;
|
|
337
|
+
scope: string;
|
|
338
|
+
}, "object", {
|
|
339
|
+
id: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
340
|
+
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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
341
|
+
readonly '~types'?: {
|
|
342
|
+
readonly input: string;
|
|
343
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
344
|
+
} | undefined;
|
|
345
|
+
};
|
|
346
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
347
|
+
expires_at: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
348
|
+
last_used_at: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
349
|
+
last_used_ip: 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>>>;
|
|
350
|
+
created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
351
|
+
scope: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
352
|
+
}>>;
|
|
353
|
+
}>;
|
|
354
|
+
export type TokenListOutput = Infer<typeof TokenListOutput>;
|
|
355
|
+
/** Input for `account_token_revoke`, a `@fuzdev/fuz_schema` schema. */
|
|
129
356
|
export declare const TokenRevokeInput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
130
357
|
token_id: string;
|
|
131
358
|
}, {
|
|
@@ -158,14 +385,31 @@ export declare const account_verify_action_spec: {
|
|
|
158
385
|
actor: "none";
|
|
159
386
|
};
|
|
160
387
|
side_effects: false;
|
|
161
|
-
input:
|
|
162
|
-
output:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
},
|
|
388
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
389
|
+
output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
390
|
+
email: string | null;
|
|
391
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
392
|
+
created_at: string;
|
|
393
|
+
username: string;
|
|
394
|
+
email_verified: boolean;
|
|
395
|
+
}, {
|
|
396
|
+
email: string | null;
|
|
397
|
+
id: string;
|
|
398
|
+
created_at: string;
|
|
399
|
+
username: string;
|
|
400
|
+
email_verified: boolean;
|
|
401
|
+
}, "object", {
|
|
402
|
+
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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
403
|
+
readonly '~types'?: {
|
|
404
|
+
readonly input: string;
|
|
405
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
406
|
+
} | undefined;
|
|
407
|
+
};
|
|
408
|
+
username: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
|
|
409
|
+
email: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
410
|
+
email_verified: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
411
|
+
created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
412
|
+
}>;
|
|
169
413
|
async: true;
|
|
170
414
|
description: string;
|
|
171
415
|
};
|
|
@@ -178,16 +422,66 @@ export declare const account_session_list_action_spec: {
|
|
|
178
422
|
actor: "none";
|
|
179
423
|
};
|
|
180
424
|
side_effects: false;
|
|
181
|
-
input:
|
|
182
|
-
output:
|
|
183
|
-
sessions:
|
|
184
|
-
id:
|
|
185
|
-
account_id:
|
|
186
|
-
created_at:
|
|
187
|
-
expires_at:
|
|
188
|
-
is_current:
|
|
189
|
-
}
|
|
190
|
-
},
|
|
425
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
426
|
+
output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
427
|
+
sessions: {
|
|
428
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
429
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
430
|
+
created_at: string;
|
|
431
|
+
expires_at: string;
|
|
432
|
+
is_current: boolean;
|
|
433
|
+
}[];
|
|
434
|
+
}, {
|
|
435
|
+
sessions: {
|
|
436
|
+
id: string;
|
|
437
|
+
account_id: string;
|
|
438
|
+
created_at: string;
|
|
439
|
+
expires_at: string;
|
|
440
|
+
is_current: boolean;
|
|
441
|
+
}[];
|
|
442
|
+
}, "object", {
|
|
443
|
+
sessions: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
444
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
445
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
446
|
+
created_at: string;
|
|
447
|
+
expires_at: string;
|
|
448
|
+
is_current: boolean;
|
|
449
|
+
}[], {
|
|
450
|
+
id: string;
|
|
451
|
+
account_id: string;
|
|
452
|
+
created_at: string;
|
|
453
|
+
expires_at: string;
|
|
454
|
+
is_current: boolean;
|
|
455
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
456
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
457
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
458
|
+
created_at: string;
|
|
459
|
+
expires_at: string;
|
|
460
|
+
is_current: boolean;
|
|
461
|
+
}, {
|
|
462
|
+
id: string;
|
|
463
|
+
account_id: string;
|
|
464
|
+
created_at: string;
|
|
465
|
+
expires_at: string;
|
|
466
|
+
is_current: boolean;
|
|
467
|
+
}, "object", {
|
|
468
|
+
id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">, 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
469
|
+
readonly '~types'?: {
|
|
470
|
+
readonly input: string;
|
|
471
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
472
|
+
} | undefined;
|
|
473
|
+
};
|
|
474
|
+
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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
475
|
+
readonly '~types'?: {
|
|
476
|
+
readonly input: string;
|
|
477
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
478
|
+
} | undefined;
|
|
479
|
+
};
|
|
480
|
+
created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
481
|
+
expires_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
482
|
+
is_current: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
483
|
+
}>>;
|
|
484
|
+
}>;
|
|
191
485
|
async: true;
|
|
192
486
|
description: string;
|
|
193
487
|
};
|
|
@@ -201,13 +495,28 @@ export declare const account_session_revoke_action_spec: {
|
|
|
201
495
|
credential_types: string[];
|
|
202
496
|
};
|
|
203
497
|
side_effects: true;
|
|
204
|
-
input:
|
|
205
|
-
session_id:
|
|
206
|
-
},
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
498
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
499
|
+
session_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
500
|
+
}, {
|
|
501
|
+
session_id: string;
|
|
502
|
+
}, "object", {
|
|
503
|
+
session_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">, 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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
504
|
+
readonly '~types'?: {
|
|
505
|
+
readonly input: string;
|
|
506
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
507
|
+
} | undefined;
|
|
508
|
+
};
|
|
509
|
+
}>;
|
|
510
|
+
output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
511
|
+
ok: true;
|
|
512
|
+
revoked: boolean;
|
|
513
|
+
}, {
|
|
514
|
+
ok: true;
|
|
515
|
+
revoked: boolean;
|
|
516
|
+
}, "object", {
|
|
517
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
|
|
518
|
+
revoked: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
|
|
519
|
+
}>;
|
|
211
520
|
async: true;
|
|
212
521
|
description: string;
|
|
213
522
|
};
|
|
@@ -221,11 +530,17 @@ export declare const account_session_revoke_all_action_spec: {
|
|
|
221
530
|
credential_types: string[];
|
|
222
531
|
};
|
|
223
532
|
side_effects: true;
|
|
224
|
-
input:
|
|
225
|
-
output:
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
},
|
|
533
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
534
|
+
output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
535
|
+
count: number;
|
|
536
|
+
ok: true;
|
|
537
|
+
}, {
|
|
538
|
+
count: number;
|
|
539
|
+
ok: true;
|
|
540
|
+
}, "object", {
|
|
541
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
|
|
542
|
+
count: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
543
|
+
}>;
|
|
229
544
|
async: true;
|
|
230
545
|
description: string;
|
|
231
546
|
};
|
|
@@ -249,28 +564,114 @@ export declare const account_token_create_action_spec: {
|
|
|
249
564
|
credential_types: string[];
|
|
250
565
|
};
|
|
251
566
|
side_effects: true;
|
|
252
|
-
input:
|
|
253
|
-
name:
|
|
254
|
-
scope:
|
|
255
|
-
kind:
|
|
256
|
-
}
|
|
257
|
-
kind:
|
|
258
|
-
methods:
|
|
259
|
-
}
|
|
260
|
-
lifetime:
|
|
261
|
-
kind:
|
|
262
|
-
}
|
|
263
|
-
kind:
|
|
264
|
-
days:
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
567
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
568
|
+
name: string;
|
|
569
|
+
scope: {
|
|
570
|
+
kind: "full";
|
|
571
|
+
} | {
|
|
572
|
+
kind: "methods";
|
|
573
|
+
methods: string[];
|
|
574
|
+
};
|
|
575
|
+
lifetime: {
|
|
576
|
+
kind: "eternal";
|
|
577
|
+
} | {
|
|
578
|
+
kind: "ttl";
|
|
579
|
+
days: number;
|
|
580
|
+
};
|
|
581
|
+
}, {
|
|
582
|
+
scope: {
|
|
583
|
+
kind: "full";
|
|
584
|
+
} | {
|
|
585
|
+
kind: "methods";
|
|
586
|
+
methods: string[];
|
|
587
|
+
};
|
|
588
|
+
lifetime: {
|
|
589
|
+
kind: "eternal";
|
|
590
|
+
} | {
|
|
591
|
+
kind: "ttl";
|
|
592
|
+
days: number;
|
|
593
|
+
};
|
|
594
|
+
name?: string | undefined;
|
|
595
|
+
}, "object", {
|
|
596
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string | undefined, "with_default", import("@fuzdev/fuz_schema/schema.ts").SchemaDefaultDef<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
597
|
+
scope: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
598
|
+
kind: "full";
|
|
599
|
+
} | {
|
|
600
|
+
kind: "methods";
|
|
601
|
+
methods: string[];
|
|
602
|
+
}, {
|
|
603
|
+
kind: "full";
|
|
604
|
+
} | {
|
|
605
|
+
kind: "methods";
|
|
606
|
+
methods: string[];
|
|
607
|
+
}, "variant", {
|
|
608
|
+
readonly key: "kind";
|
|
609
|
+
readonly options: readonly [import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
610
|
+
kind: "full";
|
|
611
|
+
}, {
|
|
612
|
+
kind: "full";
|
|
613
|
+
}, "object", {
|
|
614
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"full", "full", "literal", "full">;
|
|
615
|
+
}>, import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
616
|
+
kind: "methods";
|
|
617
|
+
methods: string[];
|
|
618
|
+
}, {
|
|
619
|
+
kind: "methods";
|
|
620
|
+
methods: string[];
|
|
621
|
+
}, "object", {
|
|
622
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"methods", "methods", "literal", "methods">;
|
|
623
|
+
methods: import("@fuzdev/fuz_schema/schema.ts").Schema<string[], string[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
624
|
+
}>];
|
|
625
|
+
}>;
|
|
626
|
+
lifetime: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
627
|
+
kind: "eternal";
|
|
628
|
+
} | {
|
|
629
|
+
kind: "ttl";
|
|
630
|
+
days: number;
|
|
631
|
+
}, {
|
|
632
|
+
kind: "eternal";
|
|
633
|
+
} | {
|
|
634
|
+
kind: "ttl";
|
|
635
|
+
days: number;
|
|
636
|
+
}, "variant", {
|
|
637
|
+
readonly key: "kind";
|
|
638
|
+
readonly options: readonly [import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
639
|
+
kind: "eternal";
|
|
640
|
+
}, {
|
|
641
|
+
kind: "eternal";
|
|
642
|
+
}, "object", {
|
|
643
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"eternal", "eternal", "literal", "eternal">;
|
|
644
|
+
}>, import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
645
|
+
kind: "ttl";
|
|
646
|
+
days: number;
|
|
647
|
+
}, {
|
|
648
|
+
kind: "ttl";
|
|
649
|
+
days: number;
|
|
650
|
+
}, "object", {
|
|
651
|
+
kind: import("@fuzdev/fuz_schema/schema.ts").Schema<"ttl", "ttl", "literal", "ttl">;
|
|
652
|
+
days: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
|
|
653
|
+
}>];
|
|
654
|
+
}>;
|
|
655
|
+
}>;
|
|
656
|
+
output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
657
|
+
name: string;
|
|
658
|
+
id: string;
|
|
659
|
+
expires_at: string | null;
|
|
660
|
+
token: string;
|
|
661
|
+
ok: true;
|
|
662
|
+
}, {
|
|
663
|
+
name: string;
|
|
664
|
+
id: string;
|
|
665
|
+
expires_at: string | null;
|
|
666
|
+
token: string;
|
|
667
|
+
ok: true;
|
|
668
|
+
}, "object", {
|
|
669
|
+
ok: import("@fuzdev/fuz_schema/schema.ts").Schema<true, true, "literal", true>;
|
|
670
|
+
token: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
671
|
+
id: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
672
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
673
|
+
expires_at: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
674
|
+
}>;
|
|
274
675
|
async: true;
|
|
275
676
|
description: string;
|
|
276
677
|
rate_limit: "account";
|
|
@@ -284,19 +685,82 @@ export declare const account_token_list_action_spec: {
|
|
|
284
685
|
actor: "none";
|
|
285
686
|
};
|
|
286
687
|
side_effects: false;
|
|
287
|
-
input:
|
|
288
|
-
output:
|
|
289
|
-
tokens:
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
scope:
|
|
298
|
-
}
|
|
299
|
-
},
|
|
688
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
689
|
+
output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
690
|
+
tokens: {
|
|
691
|
+
name: string;
|
|
692
|
+
id: string;
|
|
693
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
694
|
+
created_at: string;
|
|
695
|
+
expires_at: string | null;
|
|
696
|
+
last_used_at: string | null;
|
|
697
|
+
last_used_ip: string | null;
|
|
698
|
+
scope: string;
|
|
699
|
+
}[];
|
|
700
|
+
}, {
|
|
701
|
+
tokens: {
|
|
702
|
+
name: string;
|
|
703
|
+
id: string;
|
|
704
|
+
account_id: string;
|
|
705
|
+
created_at: string;
|
|
706
|
+
expires_at: string | null;
|
|
707
|
+
last_used_at: string | null;
|
|
708
|
+
last_used_ip: string | null;
|
|
709
|
+
scope: string;
|
|
710
|
+
}[];
|
|
711
|
+
}, "object", {
|
|
712
|
+
tokens: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
713
|
+
name: string;
|
|
714
|
+
id: string;
|
|
715
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
716
|
+
created_at: string;
|
|
717
|
+
expires_at: string | null;
|
|
718
|
+
last_used_at: string | null;
|
|
719
|
+
last_used_ip: string | null;
|
|
720
|
+
scope: string;
|
|
721
|
+
}[], {
|
|
722
|
+
name: string;
|
|
723
|
+
id: string;
|
|
724
|
+
account_id: string;
|
|
725
|
+
created_at: string;
|
|
726
|
+
expires_at: string | null;
|
|
727
|
+
last_used_at: string | null;
|
|
728
|
+
last_used_ip: string | null;
|
|
729
|
+
scope: string;
|
|
730
|
+
}[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
731
|
+
name: string;
|
|
732
|
+
id: string;
|
|
733
|
+
account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
734
|
+
created_at: string;
|
|
735
|
+
expires_at: string | null;
|
|
736
|
+
last_used_at: string | null;
|
|
737
|
+
last_used_ip: string | null;
|
|
738
|
+
scope: string;
|
|
739
|
+
}, {
|
|
740
|
+
name: string;
|
|
741
|
+
id: string;
|
|
742
|
+
account_id: string;
|
|
743
|
+
created_at: string;
|
|
744
|
+
expires_at: string | null;
|
|
745
|
+
last_used_at: string | null;
|
|
746
|
+
last_used_ip: string | null;
|
|
747
|
+
scope: string;
|
|
748
|
+
}, "object", {
|
|
749
|
+
id: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
750
|
+
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<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | 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<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | 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<"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<"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<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
|
|
751
|
+
readonly '~types'?: {
|
|
752
|
+
readonly input: string;
|
|
753
|
+
readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
754
|
+
} | undefined;
|
|
755
|
+
};
|
|
756
|
+
name: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
757
|
+
expires_at: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
758
|
+
last_used_at: 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").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
|
|
759
|
+
last_used_ip: 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>>>;
|
|
760
|
+
created_at: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>;
|
|
761
|
+
scope: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
|
|
762
|
+
}>>;
|
|
763
|
+
}>;
|
|
300
764
|
async: true;
|
|
301
765
|
description: string;
|
|
302
766
|
};
|