@fuzdev/fuz_app 0.162.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 +38 -35
- package/dist/auth/account_action_specs.d.ts +441 -115
- package/dist/auth/account_action_specs.d.ts.map +1 -1
- package/dist/auth/account_action_specs.js +47 -46
- package/dist/auth/account_route_schema.d.ts +120 -60
- package/dist/auth/account_route_schema.d.ts.map +1 -1
- package/dist/auth/account_route_schema.js +50 -36
- package/dist/auth/account_routes.js +1 -1
- package/dist/auth/account_schema.d.ts +54 -27
- package/dist/auth/account_schema.d.ts.map +1 -1
- package/dist/auth/account_schema.js +16 -18
- package/dist/auth/admin_action_specs.d.ts +20 -20
- package/dist/auth/admin_action_specs.js +2 -4
- package/dist/auth/admin_actions.d.ts +4 -4
- package/dist/auth/admin_actions.d.ts.map +1 -1
- package/dist/auth/admin_actions.js +3 -3
- package/dist/auth/all_cell_actions.d.ts +3 -3
- package/dist/auth/all_cell_actions.d.ts.map +1 -1
- package/dist/auth/all_cell_actions.js +1 -1
- package/dist/auth/api_token.d.ts +4 -4
- package/dist/auth/api_token.d.ts.map +1 -1
- package/dist/auth/api_token.js +3 -3
- package/dist/auth/audit_log_schema.d.ts +28 -48
- package/dist/auth/audit_log_schema.d.ts.map +1 -1
- package/dist/auth/audit_log_schema.js +34 -30
- package/dist/auth/bootstrap_route_schema.d.ts +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/migrations.js +1 -1
- package/dist/auth/name_schema.d.ts +7 -6
- package/dist/auth/name_schema.d.ts.map +1 -1
- package/dist/auth/name_schema.js +8 -9
- package/dist/auth/password.d.ts +15 -7
- package/dist/auth/password.d.ts.map +1 -1
- package/dist/auth/password.js +16 -9
- package/dist/auth/role_grant_offer_action_specs.js +2 -2
- package/dist/auth/role_grant_offer_actions.d.ts +4 -4
- package/dist/auth/role_grant_offer_actions.d.ts.map +1 -1
- package/dist/auth/role_grant_offer_actions.js +3 -3
- package/dist/auth/role_grant_offer_notifications.js +2 -2
- package/dist/auth/role_grant_offer_schema.d.ts +2 -2
- package/dist/auth/role_grant_offer_schema.js +2 -2
- package/dist/auth/role_schema.d.ts +47 -55
- package/dist/auth/role_schema.d.ts.map +1 -1
- package/dist/auth/role_schema.js +29 -35
- package/dist/auth/scope_kind_schema.d.ts +22 -26
- package/dist/auth/scope_kind_schema.d.ts.map +1 -1
- package/dist/auth/scope_kind_schema.js +19 -19
- package/dist/auth/self_service_role_action_specs.js +1 -1
- package/dist/auth/self_service_role_actions.d.ts +6 -6
- package/dist/auth/self_service_role_actions.d.ts.map +1 -1
- package/dist/auth/self_service_role_actions.js +7 -6
- package/dist/auth/signup_route_schema.d.ts +71 -21
- package/dist/auth/signup_route_schema.d.ts.map +1 -1
- package/dist/auth/signup_route_schema.js +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/primitive_schemas.d.ts +2 -19
- package/dist/primitive_schemas.d.ts.map +1 -1
- package/dist/primitive_schemas.js +2 -20
- package/dist/primitive_schemas_fuz.d.ts +22 -2
- package/dist/primitive_schemas_fuz.d.ts.map +1 -1
- package/dist/primitive_schemas_fuz.js +23 -4
- package/dist/testing/CLAUDE.md +22 -5
- 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/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 +39 -6
- 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/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/integration.js +1 -1
- 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/package.json +1 -1
- package/dist/auth/audit_log_schema_fuz.d.ts +0 -53
- package/dist/auth/audit_log_schema_fuz.d.ts.map +0 -1
- package/dist/auth/audit_log_schema_fuz.js +0 -50
- package/dist/auth/role_schema_fuz.d.ts +0 -30
- package/dist/auth/role_schema_fuz.d.ts.map +0 -1
- package/dist/auth/role_schema_fuz.js +0 -30
- package/dist/auth/scope_kind_schema_fuz.d.ts +0 -31
- package/dist/auth/scope_kind_schema_fuz.d.ts.map +0 -1
- package/dist/auth/scope_kind_schema_fuz.js +0 -31
|
@@ -7,15 +7,14 @@
|
|
|
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 =
|
|
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>;
|
|
19
18
|
/** Output for `account_session_list`, a `@fuzdev/fuz_schema` schema. */
|
|
20
19
|
export declare const SessionListOutput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
21
20
|
sessions: {
|
|
@@ -94,21 +93,39 @@ export declare const SessionRevokeInput: import("@fuzdev/fuz_schema/schema.ts").
|
|
|
94
93
|
};
|
|
95
94
|
}>;
|
|
96
95
|
export type SessionRevokeInput = Infer<typeof SessionRevokeInput>;
|
|
97
|
-
/**
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
ok:
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
export type
|
|
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>;
|
|
112
129
|
/**
|
|
113
130
|
* Maximum length of an API token's `name`, in UTF-16 code units (what
|
|
114
131
|
* `String.length` measures; enforced by `bounded_string`). The name is copied into the
|
|
@@ -129,65 +146,213 @@ export declare const ERROR_TOKEN_SCOPE_INVALID: "token_scope_invalid";
|
|
|
129
146
|
*/
|
|
130
147
|
export declare const ERROR_TOKEN_LIFETIME_INVALID: "token_lifetime_invalid";
|
|
131
148
|
/**
|
|
132
|
-
* Input for `account_token_create
|
|
149
|
+
* Input for `account_token_create`, a `@fuzdev/fuz_schema` schema.
|
|
133
150
|
*
|
|
134
151
|
* `scope` is **required** — default-deny at mint. There is deliberately no
|
|
135
152
|
* permissive default: a caller who wants full authority spells
|
|
136
153
|
* `{kind: 'full'}`, and the stored document records that they did. That is the
|
|
137
154
|
* reversal of the 2026-02 design, where the field existed but nothing depended
|
|
138
|
-
* on it. Because `scope` has no default, the object as a whole
|
|
139
|
-
* carries `.prefault({})`.
|
|
155
|
+
* on it. Because `scope` has no default, the object as a whole has none.
|
|
140
156
|
*
|
|
141
157
|
* `lifetime` follows the same rule — a never-expiring token is
|
|
142
158
|
* `{kind: 'eternal'}`, spelled out, so `expires_at IS NULL` always means
|
|
143
159
|
* "deliberately eternal" (see `auth/token_lifetime.ts`).
|
|
144
160
|
*/
|
|
145
|
-
export declare const TokenCreateInput:
|
|
146
|
-
name:
|
|
147
|
-
scope:
|
|
148
|
-
kind:
|
|
149
|
-
}
|
|
150
|
-
kind:
|
|
151
|
-
methods:
|
|
152
|
-
}
|
|
153
|
-
lifetime:
|
|
154
|
-
kind:
|
|
155
|
-
}
|
|
156
|
-
kind:
|
|
157
|
-
days:
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
},
|
|
186
|
-
|
|
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>;
|
|
187
251
|
/**
|
|
188
|
-
*
|
|
189
|
-
*
|
|
252
|
+
* Output for `account_token_create`, a `@fuzdev/fuz_schema` schema. `token`
|
|
253
|
+
* is returned exactly once.
|
|
190
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. */
|
|
191
356
|
export declare const TokenRevokeInput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
192
357
|
token_id: string;
|
|
193
358
|
}, {
|
|
@@ -220,7 +385,7 @@ export declare const account_verify_action_spec: {
|
|
|
220
385
|
actor: "none";
|
|
221
386
|
};
|
|
222
387
|
side_effects: false;
|
|
223
|
-
input:
|
|
388
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
224
389
|
output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
225
390
|
email: string | null;
|
|
226
391
|
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
|
|
@@ -257,7 +422,7 @@ export declare const account_session_list_action_spec: {
|
|
|
257
422
|
actor: "none";
|
|
258
423
|
};
|
|
259
424
|
side_effects: false;
|
|
260
|
-
input:
|
|
425
|
+
input: import("@fuzdev/fuz_schema/schema.ts").Schema<void, void, "literal", undefined>;
|
|
261
426
|
output: import("@fuzdev/fuz_schema/schema.ts").Schema<{
|
|
262
427
|
sessions: {
|
|
263
428
|
id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "SessionId">;
|
|
@@ -342,10 +507,16 @@ export declare const account_session_revoke_action_spec: {
|
|
|
342
507
|
} | undefined;
|
|
343
508
|
};
|
|
344
509
|
}>;
|
|
345
|
-
output:
|
|
346
|
-
ok:
|
|
347
|
-
revoked:
|
|
348
|
-
},
|
|
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
|
+
}>;
|
|
349
520
|
async: true;
|
|
350
521
|
description: string;
|
|
351
522
|
};
|
|
@@ -359,11 +530,17 @@ export declare const account_session_revoke_all_action_spec: {
|
|
|
359
530
|
credential_types: string[];
|
|
360
531
|
};
|
|
361
532
|
side_effects: true;
|
|
362
|
-
input:
|
|
363
|
-
output:
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
},
|
|
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
|
+
}>;
|
|
367
544
|
async: true;
|
|
368
545
|
description: string;
|
|
369
546
|
};
|
|
@@ -387,28 +564,114 @@ export declare const account_token_create_action_spec: {
|
|
|
387
564
|
credential_types: string[];
|
|
388
565
|
};
|
|
389
566
|
side_effects: true;
|
|
390
|
-
input:
|
|
391
|
-
name:
|
|
392
|
-
scope:
|
|
393
|
-
kind:
|
|
394
|
-
}
|
|
395
|
-
kind:
|
|
396
|
-
methods:
|
|
397
|
-
}
|
|
398
|
-
lifetime:
|
|
399
|
-
kind:
|
|
400
|
-
}
|
|
401
|
-
kind:
|
|
402
|
-
days:
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
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
|
+
}>;
|
|
412
675
|
async: true;
|
|
413
676
|
description: string;
|
|
414
677
|
rate_limit: "account";
|
|
@@ -422,19 +685,82 @@ export declare const account_token_list_action_spec: {
|
|
|
422
685
|
actor: "none";
|
|
423
686
|
};
|
|
424
687
|
side_effects: false;
|
|
425
|
-
input:
|
|
426
|
-
output:
|
|
427
|
-
tokens:
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
scope:
|
|
436
|
-
}
|
|
437
|
-
},
|
|
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
|
+
}>;
|
|
438
764
|
async: true;
|
|
439
765
|
description: string;
|
|
440
766
|
};
|