@alepha/ui 0.12.1 → 0.13.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/admin/index.d.cts +70 -70
- package/dist/admin/index.d.ts +70 -70
- package/dist/auth/index.d.cts +408 -408
- package/dist/auth/index.d.ts +408 -408
- package/dist/core/index.d.cts +22 -22
- package/dist/core/index.d.ts +92 -92
- package/package.json +3 -3
package/dist/auth/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as alepha1437 from "alepha";
|
|
2
2
|
import { Alepha, AlephaError, Async, Descriptor, DescriptorArgs, FileLike, InstantiableClass, LogLevel, LoggerInterface, Page, PageQuery, Service, Static, StaticEncode, StreamLike, TArray, TFile, TNull, TObject, TOptional, TRecord, TSchema, TStream, TString, TUnion, TVoid } from "alepha";
|
|
3
3
|
import dayjsDuration from "dayjs/plugin/duration.js";
|
|
4
4
|
import DayjsApi, { Dayjs, ManipulateType, PluginFunc } from "dayjs";
|
|
@@ -20,28 +20,28 @@ import { AnchorProps, AutocompleteProps, ButtonProps, ColorInputProps, FileInput
|
|
|
20
20
|
import { DateInputProps, DateTimePickerProps, TimeInputProps } from "@mantine/dates";
|
|
21
21
|
|
|
22
22
|
//#region ../alepha/src/security/schemas/userAccountInfoSchema.d.ts
|
|
23
|
-
declare const userAccountInfoSchema:
|
|
24
|
-
id:
|
|
25
|
-
name:
|
|
26
|
-
email:
|
|
27
|
-
username:
|
|
28
|
-
picture:
|
|
29
|
-
sessionId:
|
|
30
|
-
organizations:
|
|
31
|
-
roles:
|
|
23
|
+
declare const userAccountInfoSchema: alepha1437.TObject<{
|
|
24
|
+
id: alepha1437.TString;
|
|
25
|
+
name: alepha1437.TOptional<alepha1437.TString>;
|
|
26
|
+
email: alepha1437.TOptional<alepha1437.TString>;
|
|
27
|
+
username: alepha1437.TOptional<alepha1437.TString>;
|
|
28
|
+
picture: alepha1437.TOptional<alepha1437.TString>;
|
|
29
|
+
sessionId: alepha1437.TOptional<alepha1437.TString>;
|
|
30
|
+
organizations: alepha1437.TOptional<alepha1437.TArray<alepha1437.TString>>;
|
|
31
|
+
roles: alepha1437.TOptional<alepha1437.TArray<alepha1437.TString>>;
|
|
32
32
|
}>;
|
|
33
33
|
type UserAccount = Static<typeof userAccountInfoSchema>;
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region ../alepha/src/logger/schemas/logEntrySchema.d.ts
|
|
36
|
-
declare const logEntrySchema:
|
|
37
|
-
level:
|
|
38
|
-
message:
|
|
39
|
-
service:
|
|
40
|
-
module:
|
|
41
|
-
context:
|
|
42
|
-
app:
|
|
43
|
-
data:
|
|
44
|
-
timestamp:
|
|
36
|
+
declare const logEntrySchema: alepha1437.TObject<{
|
|
37
|
+
level: alepha1437.TUnsafe<"TRACE" | "SILENT" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
38
|
+
message: alepha1437.TString;
|
|
39
|
+
service: alepha1437.TString;
|
|
40
|
+
module: alepha1437.TString;
|
|
41
|
+
context: alepha1437.TOptional<alepha1437.TString>;
|
|
42
|
+
app: alepha1437.TOptional<alepha1437.TString>;
|
|
43
|
+
data: alepha1437.TOptional<alepha1437.TAny>;
|
|
44
|
+
timestamp: alepha1437.TNumber;
|
|
45
45
|
}>;
|
|
46
46
|
type LogEntry = Static<typeof logEntrySchema>;
|
|
47
47
|
//#endregion
|
|
@@ -56,8 +56,8 @@ declare class DateTimeProvider {
|
|
|
56
56
|
protected readonly timeouts: Timeout[];
|
|
57
57
|
protected readonly intervals: Interval[];
|
|
58
58
|
constructor();
|
|
59
|
-
protected readonly onStart:
|
|
60
|
-
protected readonly onStop:
|
|
59
|
+
protected readonly onStart: alepha1437.HookDescriptor<"start">;
|
|
60
|
+
protected readonly onStop: alepha1437.HookDescriptor<"stop">;
|
|
61
61
|
setLocale(locale: string): void;
|
|
62
62
|
isDateTime(value: unknown): value is DateTime;
|
|
63
63
|
/**
|
|
@@ -189,7 +189,7 @@ declare class Logger implements LoggerInterface {
|
|
|
189
189
|
}
|
|
190
190
|
//#endregion
|
|
191
191
|
//#region ../alepha/src/logger/index.d.ts
|
|
192
|
-
declare const envSchema$9:
|
|
192
|
+
declare const envSchema$9: alepha1437.TObject<{
|
|
193
193
|
/**
|
|
194
194
|
* Default log level for the application.
|
|
195
195
|
*
|
|
@@ -206,14 +206,14 @@ declare const envSchema$9: alepha1391.TObject<{
|
|
|
206
206
|
* LOG_LEVEL=my.module.name:debug,info # Set debug level for my.module.name and info for all other modules
|
|
207
207
|
* LOG_LEVEL=alepha:trace, info # Set trace level for all alepha modules and info for all other modules
|
|
208
208
|
*/
|
|
209
|
-
LOG_LEVEL:
|
|
209
|
+
LOG_LEVEL: alepha1437.TOptional<alepha1437.TString>;
|
|
210
210
|
/**
|
|
211
211
|
* Built-in log formats.
|
|
212
212
|
* - "json" - JSON format, useful for structured logging and log aggregation. {@link JsonFormatterProvider}
|
|
213
213
|
* - "pretty" - Simple text format, human-readable, with colors. {@link SimpleFormatterProvider}
|
|
214
214
|
* - "raw" - Raw format, no formatting, just the message. {@link RawFormatterProvider}
|
|
215
215
|
*/
|
|
216
|
-
LOG_FORMAT:
|
|
216
|
+
LOG_FORMAT: alepha1437.TOptional<alepha1437.TUnsafe<"json" | "pretty" | "raw">>;
|
|
217
217
|
}>;
|
|
218
218
|
declare module "alepha" {
|
|
219
219
|
interface Env extends Partial<Static<typeof envSchema$9>> {}
|
|
@@ -253,24 +253,24 @@ interface UserAccountToken extends UserAccount {
|
|
|
253
253
|
}
|
|
254
254
|
//#endregion
|
|
255
255
|
//#region ../alepha/src/security/schemas/permissionSchema.d.ts
|
|
256
|
-
declare const permissionSchema:
|
|
257
|
-
name:
|
|
258
|
-
group:
|
|
259
|
-
description:
|
|
260
|
-
method:
|
|
261
|
-
path:
|
|
256
|
+
declare const permissionSchema: alepha1437.TObject<{
|
|
257
|
+
name: alepha1437.TString;
|
|
258
|
+
group: alepha1437.TOptional<alepha1437.TString>;
|
|
259
|
+
description: alepha1437.TOptional<alepha1437.TString>;
|
|
260
|
+
method: alepha1437.TOptional<alepha1437.TString>;
|
|
261
|
+
path: alepha1437.TOptional<alepha1437.TString>;
|
|
262
262
|
}>;
|
|
263
263
|
type Permission = Static<typeof permissionSchema>;
|
|
264
264
|
//#endregion
|
|
265
265
|
//#region ../alepha/src/security/schemas/roleSchema.d.ts
|
|
266
|
-
declare const roleSchema:
|
|
267
|
-
name:
|
|
268
|
-
description:
|
|
269
|
-
default:
|
|
270
|
-
permissions:
|
|
271
|
-
name:
|
|
272
|
-
ownership:
|
|
273
|
-
exclude:
|
|
266
|
+
declare const roleSchema: alepha1437.TObject<{
|
|
267
|
+
name: alepha1437.TString;
|
|
268
|
+
description: alepha1437.TOptional<alepha1437.TString>;
|
|
269
|
+
default: alepha1437.TOptional<alepha1437.TBoolean>;
|
|
270
|
+
permissions: alepha1437.TArray<alepha1437.TObject<{
|
|
271
|
+
name: alepha1437.TString;
|
|
272
|
+
ownership: alepha1437.TOptional<alepha1437.TBoolean>;
|
|
273
|
+
exclude: alepha1437.TOptional<alepha1437.TArray<alepha1437.TString>>;
|
|
274
274
|
}>>;
|
|
275
275
|
}>;
|
|
276
276
|
type Role = Static<typeof roleSchema>;
|
|
@@ -342,8 +342,8 @@ interface JwtParseResult {
|
|
|
342
342
|
}
|
|
343
343
|
//#endregion
|
|
344
344
|
//#region ../alepha/src/security/providers/SecurityProvider.d.ts
|
|
345
|
-
declare const envSchema$8:
|
|
346
|
-
APP_SECRET:
|
|
345
|
+
declare const envSchema$8: alepha1437.TObject<{
|
|
346
|
+
APP_SECRET: alepha1437.TString;
|
|
347
347
|
}>;
|
|
348
348
|
declare module "alepha" {
|
|
349
349
|
interface Env extends Partial<Static<typeof envSchema$8>> {}
|
|
@@ -367,7 +367,7 @@ declare class SecurityProvider {
|
|
|
367
367
|
* The realms configured for the security provider.
|
|
368
368
|
*/
|
|
369
369
|
protected readonly realms: Realm[];
|
|
370
|
-
protected start:
|
|
370
|
+
protected start: alepha1437.HookDescriptor<"start">;
|
|
371
371
|
/**
|
|
372
372
|
* Adds a role to one or more realms.
|
|
373
373
|
*
|
|
@@ -849,8 +849,8 @@ declare class ServerTimingProvider {
|
|
|
849
849
|
prefix: string;
|
|
850
850
|
disabled: boolean;
|
|
851
851
|
};
|
|
852
|
-
readonly onRequest:
|
|
853
|
-
readonly onResponse:
|
|
852
|
+
readonly onRequest: alepha1437.HookDescriptor<"server:onRequest">;
|
|
853
|
+
readonly onResponse: alepha1437.HookDescriptor<"server:onResponse">;
|
|
854
854
|
protected get handlerName(): string;
|
|
855
855
|
beginTiming(name: string): void;
|
|
856
856
|
endTiming(name: string): void;
|
|
@@ -914,11 +914,11 @@ declare class ServerProvider {
|
|
|
914
914
|
/**
|
|
915
915
|
* When a Node.js HTTP request is received from outside. (Vercel, AWS Lambda, etc.)
|
|
916
916
|
*/
|
|
917
|
-
protected readonly onNodeRequest:
|
|
917
|
+
protected readonly onNodeRequest: alepha1437.HookDescriptor<"node:request">;
|
|
918
918
|
/**
|
|
919
919
|
* When a Web (Fetch API) request is received from outside. (Netlify, Cloudflare Workers, etc.)
|
|
920
920
|
*/
|
|
921
|
-
protected readonly onWebRequest:
|
|
921
|
+
protected readonly onWebRequest: alepha1437.HookDescriptor<"web:request">;
|
|
922
922
|
/**
|
|
923
923
|
* Handle Node.js HTTP request event.
|
|
924
924
|
*
|
|
@@ -1256,15 +1256,15 @@ type ServerActionHandler<TConfig extends RequestConfigSchema = RequestConfigSche
|
|
|
1256
1256
|
interface ServerActionRequest<TConfig extends RequestConfigSchema> extends ServerRequest<TConfig> {}
|
|
1257
1257
|
//#endregion
|
|
1258
1258
|
//#region ../alepha/src/server/schemas/errorSchema.d.ts
|
|
1259
|
-
declare const errorSchema:
|
|
1260
|
-
error:
|
|
1261
|
-
status:
|
|
1262
|
-
message:
|
|
1263
|
-
details:
|
|
1264
|
-
requestId:
|
|
1265
|
-
cause:
|
|
1266
|
-
name:
|
|
1267
|
-
message:
|
|
1259
|
+
declare const errorSchema: alepha1437.TObject<{
|
|
1260
|
+
error: alepha1437.TString;
|
|
1261
|
+
status: alepha1437.TInteger;
|
|
1262
|
+
message: alepha1437.TString;
|
|
1263
|
+
details: alepha1437.TOptional<alepha1437.TString>;
|
|
1264
|
+
requestId: alepha1437.TOptional<alepha1437.TString>;
|
|
1265
|
+
cause: alepha1437.TOptional<alepha1437.TObject<{
|
|
1266
|
+
name: alepha1437.TString;
|
|
1267
|
+
message: alepha1437.TString;
|
|
1268
1268
|
}>>;
|
|
1269
1269
|
}>;
|
|
1270
1270
|
type ErrorSchema = Static<typeof errorSchema>;
|
|
@@ -1296,18 +1296,18 @@ declare class RouteDescriptor<TConfig extends RequestConfigSchema> extends Descr
|
|
|
1296
1296
|
}
|
|
1297
1297
|
//#endregion
|
|
1298
1298
|
//#region ../alepha/src/server/providers/BunHttpServerProvider.d.ts
|
|
1299
|
-
declare const envSchema$7:
|
|
1300
|
-
SERVER_PORT:
|
|
1301
|
-
SERVER_HOST:
|
|
1299
|
+
declare const envSchema$7: alepha1437.TObject<{
|
|
1300
|
+
SERVER_PORT: alepha1437.TInteger;
|
|
1301
|
+
SERVER_HOST: alepha1437.TString;
|
|
1302
1302
|
}>;
|
|
1303
1303
|
declare module "alepha" {
|
|
1304
1304
|
interface Env extends Partial<Static<typeof envSchema$7>> {}
|
|
1305
1305
|
}
|
|
1306
1306
|
//#endregion
|
|
1307
1307
|
//#region ../alepha/src/server/providers/NodeHttpServerProvider.d.ts
|
|
1308
|
-
declare const envSchema$6:
|
|
1309
|
-
SERVER_PORT:
|
|
1310
|
-
SERVER_HOST:
|
|
1308
|
+
declare const envSchema$6: alepha1437.TObject<{
|
|
1309
|
+
SERVER_PORT: alepha1437.TInteger;
|
|
1310
|
+
SERVER_HOST: alepha1437.TString;
|
|
1311
1311
|
}>;
|
|
1312
1312
|
declare module "alepha" {
|
|
1313
1313
|
interface Env extends Partial<Static<typeof envSchema$6>> {}
|
|
@@ -1463,23 +1463,23 @@ declare module "alepha/server" {
|
|
|
1463
1463
|
*/
|
|
1464
1464
|
//#endregion
|
|
1465
1465
|
//#region ../alepha/src/server-links/schemas/apiLinksResponseSchema.d.ts
|
|
1466
|
-
declare const apiLinkSchema:
|
|
1467
|
-
name:
|
|
1468
|
-
group:
|
|
1469
|
-
path:
|
|
1470
|
-
method:
|
|
1471
|
-
requestBodyType:
|
|
1472
|
-
service:
|
|
1466
|
+
declare const apiLinkSchema: alepha1437.TObject<{
|
|
1467
|
+
name: alepha1437.TString;
|
|
1468
|
+
group: alepha1437.TOptional<alepha1437.TString>;
|
|
1469
|
+
path: alepha1437.TString;
|
|
1470
|
+
method: alepha1437.TOptional<alepha1437.TString>;
|
|
1471
|
+
requestBodyType: alepha1437.TOptional<alepha1437.TString>;
|
|
1472
|
+
service: alepha1437.TOptional<alepha1437.TString>;
|
|
1473
1473
|
}>;
|
|
1474
|
-
declare const apiLinksResponseSchema:
|
|
1475
|
-
prefix:
|
|
1476
|
-
links:
|
|
1477
|
-
name:
|
|
1478
|
-
group:
|
|
1479
|
-
path:
|
|
1480
|
-
method:
|
|
1481
|
-
requestBodyType:
|
|
1482
|
-
service:
|
|
1474
|
+
declare const apiLinksResponseSchema: alepha1437.TObject<{
|
|
1475
|
+
prefix: alepha1437.TOptional<alepha1437.TString>;
|
|
1476
|
+
links: alepha1437.TArray<alepha1437.TObject<{
|
|
1477
|
+
name: alepha1437.TString;
|
|
1478
|
+
group: alepha1437.TOptional<alepha1437.TString>;
|
|
1479
|
+
path: alepha1437.TString;
|
|
1480
|
+
method: alepha1437.TOptional<alepha1437.TString>;
|
|
1481
|
+
requestBodyType: alepha1437.TOptional<alepha1437.TString>;
|
|
1482
|
+
service: alepha1437.TOptional<alepha1437.TString>;
|
|
1483
1483
|
}>>;
|
|
1484
1484
|
}>;
|
|
1485
1485
|
type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
|
|
@@ -1675,7 +1675,7 @@ declare class ServerProxyProvider {
|
|
|
1675
1675
|
protected readonly log: Logger;
|
|
1676
1676
|
protected readonly routerProvider: ServerRouterProvider;
|
|
1677
1677
|
protected readonly alepha: Alepha;
|
|
1678
|
-
protected readonly configure:
|
|
1678
|
+
protected readonly configure: alepha1437.HookDescriptor<"configure">;
|
|
1679
1679
|
createProxy(options: ProxyDescriptorOptions): void;
|
|
1680
1680
|
createProxyHandler(target: string, options: Omit<ProxyDescriptorOptions, "path">): ServerHandler;
|
|
1681
1681
|
private getRawRequestBody;
|
|
@@ -1879,8 +1879,8 @@ declare class RemoteDescriptorProvider {
|
|
|
1879
1879
|
protected readonly remotes: Array<ServerRemote>;
|
|
1880
1880
|
protected readonly log: Logger;
|
|
1881
1881
|
getRemotes(): ServerRemote[];
|
|
1882
|
-
readonly configure:
|
|
1883
|
-
readonly start:
|
|
1882
|
+
readonly configure: alepha1437.HookDescriptor<"configure">;
|
|
1883
|
+
readonly start: alepha1437.HookDescriptor<"start">;
|
|
1884
1884
|
registerRemote(value: RemoteDescriptor): Promise<void>;
|
|
1885
1885
|
protected readonly fetchLinks: RetryDescriptorFn<(opts: FetchLinksOptions) => Promise<ApiLinksResponse>>;
|
|
1886
1886
|
}
|
|
@@ -1948,22 +1948,22 @@ declare class ServerLinksProvider {
|
|
|
1948
1948
|
protected readonly remoteProvider: RemoteDescriptorProvider;
|
|
1949
1949
|
protected readonly serverTimingProvider: ServerTimingProvider;
|
|
1950
1950
|
get prefix(): string;
|
|
1951
|
-
readonly onRoute:
|
|
1951
|
+
readonly onRoute: alepha1437.HookDescriptor<"configure">;
|
|
1952
1952
|
/**
|
|
1953
1953
|
* First API - Get all API links for the user.
|
|
1954
1954
|
*
|
|
1955
1955
|
* This is based on the user's permissions.
|
|
1956
1956
|
*/
|
|
1957
1957
|
readonly links: RouteDescriptor<{
|
|
1958
|
-
response:
|
|
1959
|
-
prefix:
|
|
1960
|
-
links:
|
|
1961
|
-
name:
|
|
1962
|
-
group:
|
|
1963
|
-
path:
|
|
1964
|
-
method:
|
|
1965
|
-
requestBodyType:
|
|
1966
|
-
service:
|
|
1958
|
+
response: alepha1437.TObject<{
|
|
1959
|
+
prefix: alepha1437.TOptional<alepha1437.TString>;
|
|
1960
|
+
links: alepha1437.TArray<alepha1437.TObject<{
|
|
1961
|
+
name: alepha1437.TString;
|
|
1962
|
+
group: alepha1437.TOptional<alepha1437.TString>;
|
|
1963
|
+
path: alepha1437.TString;
|
|
1964
|
+
method: alepha1437.TOptional<alepha1437.TString>;
|
|
1965
|
+
requestBodyType: alepha1437.TOptional<alepha1437.TString>;
|
|
1966
|
+
service: alepha1437.TOptional<alepha1437.TString>;
|
|
1967
1967
|
}>>;
|
|
1968
1968
|
}>;
|
|
1969
1969
|
}>;
|
|
@@ -1974,10 +1974,10 @@ declare class ServerLinksProvider {
|
|
|
1974
1974
|
* I mean for 150+ links, you got 50ms of serialization time.
|
|
1975
1975
|
*/
|
|
1976
1976
|
readonly schema: RouteDescriptor<{
|
|
1977
|
-
params:
|
|
1978
|
-
name:
|
|
1977
|
+
params: alepha1437.TObject<{
|
|
1978
|
+
name: alepha1437.TString;
|
|
1979
1979
|
}>;
|
|
1980
|
-
response:
|
|
1980
|
+
response: alepha1437.TRecord<string, alepha1437.TAny>;
|
|
1981
1981
|
}>;
|
|
1982
1982
|
getSchemaByName(name: string, options?: GetApiLinksOptions): Promise<RequestConfigSchema>;
|
|
1983
1983
|
/**
|
|
@@ -2130,8 +2130,8 @@ declare class Redirection extends Error {
|
|
|
2130
2130
|
}
|
|
2131
2131
|
//#endregion
|
|
2132
2132
|
//#region ../react/src/core/providers/ReactPageProvider.d.ts
|
|
2133
|
-
declare const envSchema$5:
|
|
2134
|
-
REACT_STRICT_MODE:
|
|
2133
|
+
declare const envSchema$5: alepha1437.TObject<{
|
|
2134
|
+
REACT_STRICT_MODE: alepha1437.TBoolean;
|
|
2135
2135
|
}>;
|
|
2136
2136
|
declare module "alepha" {
|
|
2137
2137
|
interface Env extends Partial<Static<typeof envSchema$5>> {}
|
|
@@ -2431,8 +2431,8 @@ type CssAnimation = {
|
|
|
2431
2431
|
};
|
|
2432
2432
|
//#endregion
|
|
2433
2433
|
//#region ../react/src/core/providers/ReactBrowserProvider.d.ts
|
|
2434
|
-
declare const envSchema$4:
|
|
2435
|
-
REACT_ROOT_ID:
|
|
2434
|
+
declare const envSchema$4: alepha1437.TObject<{
|
|
2435
|
+
REACT_ROOT_ID: alepha1437.TString;
|
|
2436
2436
|
}>;
|
|
2437
2437
|
declare module "alepha" {
|
|
2438
2438
|
interface Env extends Partial<Static<typeof envSchema$4>> {}
|
|
@@ -2440,8 +2440,8 @@ declare module "alepha" {
|
|
|
2440
2440
|
/**
|
|
2441
2441
|
* React browser renderer configuration atom
|
|
2442
2442
|
*/
|
|
2443
|
-
declare const reactBrowserOptions:
|
|
2444
|
-
scrollRestoration:
|
|
2443
|
+
declare const reactBrowserOptions: alepha1437.Atom<alepha1437.TObject<{
|
|
2444
|
+
scrollRestoration: alepha1437.TUnsafe<"top" | "manual">;
|
|
2445
2445
|
}>, "alepha.react.browser.options">;
|
|
2446
2446
|
type ReactBrowserRendererOptions = Static<typeof reactBrowserOptions.schema>;
|
|
2447
2447
|
declare module "alepha" {
|
|
@@ -2904,10 +2904,10 @@ declare class FileDetector {
|
|
|
2904
2904
|
}
|
|
2905
2905
|
//#endregion
|
|
2906
2906
|
//#region ../react/src/core/providers/ReactServerProvider.d.ts
|
|
2907
|
-
declare const envSchema$3:
|
|
2908
|
-
REACT_SSR_ENABLED:
|
|
2909
|
-
REACT_ROOT_ID:
|
|
2910
|
-
REACT_SERVER_TEMPLATE:
|
|
2907
|
+
declare const envSchema$3: alepha1437.TObject<{
|
|
2908
|
+
REACT_SSR_ENABLED: alepha1437.TOptional<alepha1437.TBoolean>;
|
|
2909
|
+
REACT_ROOT_ID: alepha1437.TString;
|
|
2910
|
+
REACT_SERVER_TEMPLATE: alepha1437.TOptional<alepha1437.TString>;
|
|
2911
2911
|
}>;
|
|
2912
2912
|
declare module "alepha" {
|
|
2913
2913
|
interface Env extends Partial<Static<typeof envSchema$3>> {}
|
|
@@ -2918,11 +2918,11 @@ declare module "alepha" {
|
|
|
2918
2918
|
/**
|
|
2919
2919
|
* React server provider configuration atom
|
|
2920
2920
|
*/
|
|
2921
|
-
declare const reactServerOptions:
|
|
2922
|
-
publicDir:
|
|
2923
|
-
staticServer:
|
|
2924
|
-
disabled:
|
|
2925
|
-
path:
|
|
2921
|
+
declare const reactServerOptions: alepha1437.Atom<alepha1437.TObject<{
|
|
2922
|
+
publicDir: alepha1437.TString;
|
|
2923
|
+
staticServer: alepha1437.TObject<{
|
|
2924
|
+
disabled: alepha1437.TBoolean;
|
|
2925
|
+
path: alepha1437.TString;
|
|
2926
2926
|
}>;
|
|
2927
2927
|
}>, "alepha.react.server.options">;
|
|
2928
2928
|
type ReactServerProviderOptions = Static<typeof reactServerOptions.schema>;
|
|
@@ -3036,25 +3036,25 @@ declare module "alepha" {
|
|
|
3036
3036
|
*/
|
|
3037
3037
|
//#endregion
|
|
3038
3038
|
//#region ../alepha/src/api-users/atoms/realmAuthSettingsAtom.d.ts
|
|
3039
|
-
declare const realmAuthSettingsAtom:
|
|
3040
|
-
registrationAllowed:
|
|
3041
|
-
emailEnabled:
|
|
3042
|
-
emailRequired:
|
|
3043
|
-
usernameEnabled:
|
|
3044
|
-
usernameRequired:
|
|
3045
|
-
phoneEnabled:
|
|
3046
|
-
phoneRequired:
|
|
3047
|
-
verifyEmailRequired:
|
|
3048
|
-
verifyPhoneRequired:
|
|
3049
|
-
firstNameLastNameEnabled:
|
|
3050
|
-
firstNameLastNameRequired:
|
|
3051
|
-
resetPasswordAllowed:
|
|
3052
|
-
passwordPolicy:
|
|
3053
|
-
minLength:
|
|
3054
|
-
requireUppercase:
|
|
3055
|
-
requireLowercase:
|
|
3056
|
-
requireNumbers:
|
|
3057
|
-
requireSpecialCharacters:
|
|
3039
|
+
declare const realmAuthSettingsAtom: alepha1437.Atom<alepha1437.TObject<{
|
|
3040
|
+
registrationAllowed: alepha1437.TBoolean;
|
|
3041
|
+
emailEnabled: alepha1437.TBoolean;
|
|
3042
|
+
emailRequired: alepha1437.TBoolean;
|
|
3043
|
+
usernameEnabled: alepha1437.TBoolean;
|
|
3044
|
+
usernameRequired: alepha1437.TBoolean;
|
|
3045
|
+
phoneEnabled: alepha1437.TBoolean;
|
|
3046
|
+
phoneRequired: alepha1437.TBoolean;
|
|
3047
|
+
verifyEmailRequired: alepha1437.TBoolean;
|
|
3048
|
+
verifyPhoneRequired: alepha1437.TBoolean;
|
|
3049
|
+
firstNameLastNameEnabled: alepha1437.TBoolean;
|
|
3050
|
+
firstNameLastNameRequired: alepha1437.TBoolean;
|
|
3051
|
+
resetPasswordAllowed: alepha1437.TBoolean;
|
|
3052
|
+
passwordPolicy: alepha1437.TObject<{
|
|
3053
|
+
minLength: alepha1437.TInteger;
|
|
3054
|
+
requireUppercase: alepha1437.TBoolean;
|
|
3055
|
+
requireLowercase: alepha1437.TBoolean;
|
|
3056
|
+
requireNumbers: alepha1437.TBoolean;
|
|
3057
|
+
requireSpecialCharacters: alepha1437.TBoolean;
|
|
3058
3058
|
}>;
|
|
3059
3059
|
}>, "alepha.api.users.realmAuthSettings">;
|
|
3060
3060
|
type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
|
|
@@ -3950,11 +3950,11 @@ declare class DrizzleKitProvider {
|
|
|
3950
3950
|
*/
|
|
3951
3951
|
protected importDrizzleKit(): typeof DrizzleKit;
|
|
3952
3952
|
}
|
|
3953
|
-
declare const devMigrationsSchema:
|
|
3954
|
-
id:
|
|
3955
|
-
name:
|
|
3956
|
-
snapshot:
|
|
3957
|
-
created_at:
|
|
3953
|
+
declare const devMigrationsSchema: alepha1437.TObject<{
|
|
3954
|
+
id: alepha1437.TNumber;
|
|
3955
|
+
name: alepha1437.TString;
|
|
3956
|
+
snapshot: alepha1437.TString;
|
|
3957
|
+
created_at: alepha1437.TString;
|
|
3958
3958
|
}>;
|
|
3959
3959
|
type DevMigrations = Static<typeof devMigrationsSchema>;
|
|
3960
3960
|
//#endregion
|
|
@@ -4151,7 +4151,7 @@ declare class QueryManager {
|
|
|
4151
4151
|
createPagination<T$1>(entities: T$1[], limit?: number, offset?: number, sort?: Array<{
|
|
4152
4152
|
column: string;
|
|
4153
4153
|
direction: "asc" | "desc";
|
|
4154
|
-
}>):
|
|
4154
|
+
}>): alepha1437.Page<T$1>;
|
|
4155
4155
|
}
|
|
4156
4156
|
interface PgJoin {
|
|
4157
4157
|
table: string;
|
|
@@ -4456,8 +4456,8 @@ interface StatementOptions {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
//#endregion
|
|
4458
4458
|
//#region ../alepha/src/lock/descriptors/$lock.d.ts
|
|
4459
|
-
declare const envSchema$2:
|
|
4460
|
-
LOCK_PREFIX_KEY:
|
|
4459
|
+
declare const envSchema$2: alepha1437.TObject<{
|
|
4460
|
+
LOCK_PREFIX_KEY: alepha1437.TString;
|
|
4461
4461
|
}>;
|
|
4462
4462
|
declare module "alepha" {
|
|
4463
4463
|
interface Env extends Partial<Static<typeof envSchema$2>> {}
|
|
@@ -4467,7 +4467,7 @@ declare module "alepha" {
|
|
|
4467
4467
|
declare module "alepha" {
|
|
4468
4468
|
interface Env extends Partial<Static<typeof envSchema$1>> {}
|
|
4469
4469
|
}
|
|
4470
|
-
declare const envSchema$1:
|
|
4470
|
+
declare const envSchema$1: alepha1437.TObject<{
|
|
4471
4471
|
/**
|
|
4472
4472
|
* Main configuration for database connection.
|
|
4473
4473
|
* Accept a string in the format of a Postgres connection URL.
|
|
@@ -4475,21 +4475,21 @@ declare const envSchema$1: alepha1391.TObject<{
|
|
|
4475
4475
|
* or
|
|
4476
4476
|
* Example: postgres://user:password@localhost:5432/database?sslmode=require
|
|
4477
4477
|
*/
|
|
4478
|
-
DATABASE_URL:
|
|
4478
|
+
DATABASE_URL: alepha1437.TOptional<alepha1437.TString>;
|
|
4479
4479
|
/**
|
|
4480
4480
|
* In addition to the DATABASE_URL, you can specify the postgres schema name.
|
|
4481
4481
|
*
|
|
4482
4482
|
* It will monkey patch drizzle tables.
|
|
4483
4483
|
*/
|
|
4484
|
-
POSTGRES_SCHEMA:
|
|
4484
|
+
POSTGRES_SCHEMA: alepha1437.TOptional<alepha1437.TString>;
|
|
4485
4485
|
}>;
|
|
4486
4486
|
//#endregion
|
|
4487
4487
|
//#region ../alepha/src/orm/providers/drivers/NodeSqliteProvider.d.ts
|
|
4488
4488
|
/**
|
|
4489
4489
|
* Configuration options for the Node.js SQLite database provider.
|
|
4490
4490
|
*/
|
|
4491
|
-
declare const nodeSqliteOptions:
|
|
4492
|
-
path:
|
|
4491
|
+
declare const nodeSqliteOptions: alepha1437.Atom<alepha1437.TObject<{
|
|
4492
|
+
path: alepha1437.TOptional<alepha1437.TString>;
|
|
4493
4493
|
}>, "alepha.postgres.node-sqlite.options">;
|
|
4494
4494
|
type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
|
|
4495
4495
|
declare module "alepha" {
|
|
@@ -4573,16 +4573,16 @@ declare module "alepha" {
|
|
|
4573
4573
|
}
|
|
4574
4574
|
//#endregion
|
|
4575
4575
|
//#region ../alepha/src/api-users/entities/identities.d.ts
|
|
4576
|
-
declare const identities: EntityDescriptor<
|
|
4577
|
-
id: PgAttr<PgAttr<
|
|
4578
|
-
version: PgAttr<PgAttr<
|
|
4579
|
-
createdAt: PgAttr<PgAttr<
|
|
4580
|
-
updatedAt: PgAttr<PgAttr<
|
|
4581
|
-
userId: PgAttr<
|
|
4582
|
-
password:
|
|
4583
|
-
provider:
|
|
4584
|
-
providerUserId:
|
|
4585
|
-
providerData:
|
|
4576
|
+
declare const identities: EntityDescriptor<alepha1437.TObject<{
|
|
4577
|
+
id: PgAttr<PgAttr<alepha1437.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4578
|
+
version: PgAttr<PgAttr<alepha1437.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4579
|
+
createdAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4580
|
+
updatedAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4581
|
+
userId: PgAttr<alepha1437.TString, typeof PG_REF>;
|
|
4582
|
+
password: alepha1437.TOptional<alepha1437.TString>;
|
|
4583
|
+
provider: alepha1437.TString;
|
|
4584
|
+
providerUserId: alepha1437.TOptional<alepha1437.TString>;
|
|
4585
|
+
providerData: alepha1437.TOptional<alepha1437.TRecord<string, alepha1437.TAny>>;
|
|
4586
4586
|
}>>;
|
|
4587
4587
|
//#endregion
|
|
4588
4588
|
//#region ../alepha/src/bucket/providers/FileStorageProvider.d.ts
|
|
@@ -4809,8 +4809,8 @@ interface BucketFileOptions {
|
|
|
4809
4809
|
/**
|
|
4810
4810
|
* Local file storage configuration atom
|
|
4811
4811
|
*/
|
|
4812
|
-
declare const localFileStorageOptions:
|
|
4813
|
-
storagePath:
|
|
4812
|
+
declare const localFileStorageOptions: alepha1437.Atom<alepha1437.TObject<{
|
|
4813
|
+
storagePath: alepha1437.TString;
|
|
4814
4814
|
}>, "alepha.bucket.local.options">;
|
|
4815
4815
|
type LocalFileStorageProviderOptions = Static<typeof localFileStorageOptions.schema>;
|
|
4816
4816
|
declare module "alepha" {
|
|
@@ -4854,38 +4854,38 @@ declare module "alepha" {
|
|
|
4854
4854
|
*/
|
|
4855
4855
|
//#endregion
|
|
4856
4856
|
//#region ../alepha/src/api-users/entities/sessions.d.ts
|
|
4857
|
-
declare const sessions: EntityDescriptor<
|
|
4858
|
-
id: PgAttr<PgAttr<
|
|
4859
|
-
version: PgAttr<PgAttr<
|
|
4860
|
-
createdAt: PgAttr<PgAttr<
|
|
4861
|
-
updatedAt: PgAttr<PgAttr<
|
|
4862
|
-
refreshToken:
|
|
4863
|
-
userId: PgAttr<
|
|
4864
|
-
expiresAt:
|
|
4865
|
-
ip:
|
|
4866
|
-
userAgent:
|
|
4867
|
-
os:
|
|
4868
|
-
browser:
|
|
4869
|
-
device:
|
|
4857
|
+
declare const sessions: EntityDescriptor<alepha1437.TObject<{
|
|
4858
|
+
id: PgAttr<PgAttr<alepha1437.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4859
|
+
version: PgAttr<PgAttr<alepha1437.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4860
|
+
createdAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4861
|
+
updatedAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4862
|
+
refreshToken: alepha1437.TString;
|
|
4863
|
+
userId: PgAttr<alepha1437.TString, typeof PG_REF>;
|
|
4864
|
+
expiresAt: alepha1437.TString;
|
|
4865
|
+
ip: alepha1437.TOptional<alepha1437.TString>;
|
|
4866
|
+
userAgent: alepha1437.TOptional<alepha1437.TObject<{
|
|
4867
|
+
os: alepha1437.TString;
|
|
4868
|
+
browser: alepha1437.TString;
|
|
4869
|
+
device: alepha1437.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
4870
4870
|
}>>;
|
|
4871
4871
|
}>>;
|
|
4872
4872
|
//#endregion
|
|
4873
4873
|
//#region ../alepha/src/api-users/entities/users.d.ts
|
|
4874
|
-
declare const users: EntityDescriptor<
|
|
4875
|
-
id: PgAttr<PgAttr<
|
|
4876
|
-
version: PgAttr<PgAttr<
|
|
4877
|
-
createdAt: PgAttr<PgAttr<
|
|
4878
|
-
updatedAt: PgAttr<PgAttr<
|
|
4879
|
-
realm: PgAttr<
|
|
4880
|
-
username:
|
|
4881
|
-
email:
|
|
4882
|
-
phoneNumber:
|
|
4883
|
-
roles: PgAttr<
|
|
4884
|
-
firstName:
|
|
4885
|
-
lastName:
|
|
4886
|
-
picture:
|
|
4887
|
-
enabled: PgAttr<
|
|
4888
|
-
emailVerified: PgAttr<
|
|
4874
|
+
declare const users: EntityDescriptor<alepha1437.TObject<{
|
|
4875
|
+
id: PgAttr<PgAttr<alepha1437.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4876
|
+
version: PgAttr<PgAttr<alepha1437.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4877
|
+
createdAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4878
|
+
updatedAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4879
|
+
realm: PgAttr<alepha1437.TString, typeof PG_DEFAULT>;
|
|
4880
|
+
username: alepha1437.TOptional<alepha1437.TString>;
|
|
4881
|
+
email: alepha1437.TOptional<alepha1437.TString>;
|
|
4882
|
+
phoneNumber: alepha1437.TOptional<alepha1437.TString>;
|
|
4883
|
+
roles: PgAttr<alepha1437.TArray<alepha1437.TString>, typeof PG_DEFAULT>;
|
|
4884
|
+
firstName: alepha1437.TOptional<alepha1437.TString>;
|
|
4885
|
+
lastName: alepha1437.TOptional<alepha1437.TString>;
|
|
4886
|
+
picture: alepha1437.TOptional<alepha1437.TString>;
|
|
4887
|
+
enabled: PgAttr<alepha1437.TBoolean, typeof PG_DEFAULT>;
|
|
4888
|
+
emailVerified: PgAttr<alepha1437.TBoolean, typeof PG_DEFAULT>;
|
|
4889
4889
|
}>>;
|
|
4890
4890
|
//#endregion
|
|
4891
4891
|
//#region ../alepha/src/api-users/providers/UserRealmProvider.d.ts
|
|
@@ -4901,51 +4901,51 @@ interface UserRealm {
|
|
|
4901
4901
|
}
|
|
4902
4902
|
declare class UserRealmProvider {
|
|
4903
4903
|
protected readonly alepha: Alepha;
|
|
4904
|
-
protected readonly defaultIdentities: Repository<
|
|
4905
|
-
id: PgAttr<PgAttr<
|
|
4906
|
-
version: PgAttr<PgAttr<
|
|
4907
|
-
createdAt: PgAttr<PgAttr<
|
|
4908
|
-
updatedAt: PgAttr<PgAttr<
|
|
4909
|
-
userId: PgAttr<
|
|
4910
|
-
password:
|
|
4911
|
-
provider:
|
|
4912
|
-
providerUserId:
|
|
4913
|
-
providerData:
|
|
4904
|
+
protected readonly defaultIdentities: Repository<alepha1437.TObject<{
|
|
4905
|
+
id: PgAttr<PgAttr<alepha1437.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4906
|
+
version: PgAttr<PgAttr<alepha1437.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4907
|
+
createdAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4908
|
+
updatedAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4909
|
+
userId: PgAttr<alepha1437.TString, typeof PG_REF>;
|
|
4910
|
+
password: alepha1437.TOptional<alepha1437.TString>;
|
|
4911
|
+
provider: alepha1437.TString;
|
|
4912
|
+
providerUserId: alepha1437.TOptional<alepha1437.TString>;
|
|
4913
|
+
providerData: alepha1437.TOptional<alepha1437.TRecord<string, alepha1437.TAny>>;
|
|
4914
4914
|
}>>;
|
|
4915
|
-
protected readonly defaultSessions: Repository<
|
|
4916
|
-
id: PgAttr<PgAttr<
|
|
4917
|
-
version: PgAttr<PgAttr<
|
|
4918
|
-
createdAt: PgAttr<PgAttr<
|
|
4919
|
-
updatedAt: PgAttr<PgAttr<
|
|
4920
|
-
refreshToken:
|
|
4921
|
-
userId: PgAttr<
|
|
4922
|
-
expiresAt:
|
|
4923
|
-
ip:
|
|
4924
|
-
userAgent:
|
|
4925
|
-
os:
|
|
4926
|
-
browser:
|
|
4927
|
-
device:
|
|
4915
|
+
protected readonly defaultSessions: Repository<alepha1437.TObject<{
|
|
4916
|
+
id: PgAttr<PgAttr<alepha1437.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4917
|
+
version: PgAttr<PgAttr<alepha1437.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4918
|
+
createdAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4919
|
+
updatedAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4920
|
+
refreshToken: alepha1437.TString;
|
|
4921
|
+
userId: PgAttr<alepha1437.TString, typeof PG_REF>;
|
|
4922
|
+
expiresAt: alepha1437.TString;
|
|
4923
|
+
ip: alepha1437.TOptional<alepha1437.TString>;
|
|
4924
|
+
userAgent: alepha1437.TOptional<alepha1437.TObject<{
|
|
4925
|
+
os: alepha1437.TString;
|
|
4926
|
+
browser: alepha1437.TString;
|
|
4927
|
+
device: alepha1437.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
4928
4928
|
}>>;
|
|
4929
4929
|
}>>;
|
|
4930
|
-
protected readonly defaultUsers: Repository<
|
|
4931
|
-
id: PgAttr<PgAttr<
|
|
4932
|
-
version: PgAttr<PgAttr<
|
|
4933
|
-
createdAt: PgAttr<PgAttr<
|
|
4934
|
-
updatedAt: PgAttr<PgAttr<
|
|
4935
|
-
realm: PgAttr<
|
|
4936
|
-
username:
|
|
4937
|
-
email:
|
|
4938
|
-
phoneNumber:
|
|
4939
|
-
roles: PgAttr<
|
|
4940
|
-
firstName:
|
|
4941
|
-
lastName:
|
|
4942
|
-
picture:
|
|
4943
|
-
enabled: PgAttr<
|
|
4944
|
-
emailVerified: PgAttr<
|
|
4930
|
+
protected readonly defaultUsers: Repository<alepha1437.TObject<{
|
|
4931
|
+
id: PgAttr<PgAttr<alepha1437.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4932
|
+
version: PgAttr<PgAttr<alepha1437.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4933
|
+
createdAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4934
|
+
updatedAt: PgAttr<PgAttr<alepha1437.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4935
|
+
realm: PgAttr<alepha1437.TString, typeof PG_DEFAULT>;
|
|
4936
|
+
username: alepha1437.TOptional<alepha1437.TString>;
|
|
4937
|
+
email: alepha1437.TOptional<alepha1437.TString>;
|
|
4938
|
+
phoneNumber: alepha1437.TOptional<alepha1437.TString>;
|
|
4939
|
+
roles: PgAttr<alepha1437.TArray<alepha1437.TString>, typeof PG_DEFAULT>;
|
|
4940
|
+
firstName: alepha1437.TOptional<alepha1437.TString>;
|
|
4941
|
+
lastName: alepha1437.TOptional<alepha1437.TString>;
|
|
4942
|
+
picture: alepha1437.TOptional<alepha1437.TString>;
|
|
4943
|
+
enabled: PgAttr<alepha1437.TBoolean, typeof PG_DEFAULT>;
|
|
4944
|
+
emailVerified: PgAttr<alepha1437.TBoolean, typeof PG_DEFAULT>;
|
|
4945
4945
|
}>>;
|
|
4946
4946
|
protected realms: Map<string, UserRealm>;
|
|
4947
4947
|
avatars: BucketDescriptor;
|
|
4948
|
-
protected readonly onConfigure:
|
|
4948
|
+
protected readonly onConfigure: alepha1437.HookDescriptor<"configure">;
|
|
4949
4949
|
register(userRealmName: string, userRealmOptions?: UserRealmOptions): void;
|
|
4950
4950
|
/**
|
|
4951
4951
|
* Gets a registered realm by name, auto-creating default if needed.
|
|
@@ -4960,21 +4960,21 @@ declare class UserRealmProvider {
|
|
|
4960
4960
|
/**
|
|
4961
4961
|
* Verification settings configuration atom
|
|
4962
4962
|
*/
|
|
4963
|
-
declare const verificationOptions:
|
|
4964
|
-
code:
|
|
4965
|
-
maxAttempts:
|
|
4966
|
-
codeLength:
|
|
4967
|
-
codeExpiration:
|
|
4968
|
-
verificationCooldown:
|
|
4969
|
-
limitPerDay:
|
|
4963
|
+
declare const verificationOptions: alepha1437.Atom<alepha1437.TObject<{
|
|
4964
|
+
code: alepha1437.TObject<{
|
|
4965
|
+
maxAttempts: alepha1437.TInteger;
|
|
4966
|
+
codeLength: alepha1437.TInteger;
|
|
4967
|
+
codeExpiration: alepha1437.TInteger;
|
|
4968
|
+
verificationCooldown: alepha1437.TInteger;
|
|
4969
|
+
limitPerDay: alepha1437.TInteger;
|
|
4970
4970
|
}>;
|
|
4971
|
-
link:
|
|
4972
|
-
maxAttempts:
|
|
4973
|
-
codeExpiration:
|
|
4974
|
-
verificationCooldown:
|
|
4975
|
-
limitPerDay:
|
|
4971
|
+
link: alepha1437.TObject<{
|
|
4972
|
+
maxAttempts: alepha1437.TInteger;
|
|
4973
|
+
codeExpiration: alepha1437.TInteger;
|
|
4974
|
+
verificationCooldown: alepha1437.TInteger;
|
|
4975
|
+
limitPerDay: alepha1437.TInteger;
|
|
4976
4976
|
}>;
|
|
4977
|
-
purgeDays:
|
|
4977
|
+
purgeDays: alepha1437.TInteger;
|
|
4978
4978
|
}>, "alepha.api.verifications.options">;
|
|
4979
4979
|
type VerificationOptions = Static<typeof verificationOptions.schema>;
|
|
4980
4980
|
declare module "alepha" {
|
|
@@ -5032,38 +5032,38 @@ declare module "alepha" {
|
|
|
5032
5032
|
*/
|
|
5033
5033
|
//#endregion
|
|
5034
5034
|
//#region ../alepha/src/api-notifications/services/NotificationService.d.ts
|
|
5035
|
-
declare const notificationServiceEnvSchema:
|
|
5036
|
-
NOTIFICATION_QUEUE:
|
|
5035
|
+
declare const notificationServiceEnvSchema: alepha1437.TObject<{
|
|
5036
|
+
NOTIFICATION_QUEUE: alepha1437.TOptional<alepha1437.TBoolean>;
|
|
5037
5037
|
}>;
|
|
5038
5038
|
declare module "alepha" {
|
|
5039
5039
|
interface Env extends Partial<Static<typeof notificationServiceEnvSchema>> {}
|
|
5040
5040
|
}
|
|
5041
5041
|
//#endregion
|
|
5042
5042
|
//#region ../alepha/src/queue/providers/WorkerProvider.d.ts
|
|
5043
|
-
declare const envSchema:
|
|
5043
|
+
declare const envSchema: alepha1437.TObject<{
|
|
5044
5044
|
/**
|
|
5045
5045
|
* The timeout in seconds for blocking job acquisition.
|
|
5046
5046
|
* Workers will check for shutdown after each timeout period.
|
|
5047
5047
|
*/
|
|
5048
|
-
QUEUE_WORKER_BLOCKING_TIMEOUT:
|
|
5048
|
+
QUEUE_WORKER_BLOCKING_TIMEOUT: alepha1437.TInteger;
|
|
5049
5049
|
/**
|
|
5050
5050
|
* The number of workers to run concurrently. Defaults to 1.
|
|
5051
5051
|
* Useful only if you are doing a lot of I/O.
|
|
5052
5052
|
*/
|
|
5053
|
-
QUEUE_WORKER_CONCURRENCY:
|
|
5053
|
+
QUEUE_WORKER_CONCURRENCY: alepha1437.TInteger;
|
|
5054
5054
|
/**
|
|
5055
5055
|
* Interval in milliseconds for renewing job locks during processing.
|
|
5056
5056
|
* Should be less than the job's lock duration.
|
|
5057
5057
|
*/
|
|
5058
|
-
QUEUE_WORKER_LOCK_RENEWAL_INTERVAL:
|
|
5058
|
+
QUEUE_WORKER_LOCK_RENEWAL_INTERVAL: alepha1437.TInteger;
|
|
5059
5059
|
/**
|
|
5060
5060
|
* Interval in milliseconds for the scheduler to check delayed jobs and stalled jobs.
|
|
5061
5061
|
*/
|
|
5062
|
-
QUEUE_SCHEDULER_INTERVAL:
|
|
5062
|
+
QUEUE_SCHEDULER_INTERVAL: alepha1437.TInteger;
|
|
5063
5063
|
/**
|
|
5064
5064
|
* Threshold in milliseconds after lock expiration to consider a job stalled.
|
|
5065
5065
|
*/
|
|
5066
|
-
QUEUE_STALLED_THRESHOLD:
|
|
5066
|
+
QUEUE_STALLED_THRESHOLD: alepha1437.TInteger;
|
|
5067
5067
|
}>;
|
|
5068
5068
|
declare module "alepha" {
|
|
5069
5069
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
@@ -5089,9 +5089,9 @@ declare class ServerCookiesProvider {
|
|
|
5089
5089
|
protected readonly IV_LENGTH = 16;
|
|
5090
5090
|
protected readonly AUTH_TAG_LENGTH = 16;
|
|
5091
5091
|
protected readonly SIGNATURE_LENGTH = 32;
|
|
5092
|
-
readonly onRequest:
|
|
5093
|
-
readonly onAction:
|
|
5094
|
-
readonly onSend:
|
|
5092
|
+
readonly onRequest: alepha1437.HookDescriptor<"server:onRequest">;
|
|
5093
|
+
readonly onAction: alepha1437.HookDescriptor<"action:onRequest">;
|
|
5094
|
+
readonly onSend: alepha1437.HookDescriptor<"server:onSend">;
|
|
5095
5095
|
protected getCookiesFromContext(cookies?: Cookies): Cookies;
|
|
5096
5096
|
getCookie<T$1 extends TSchema>(name: string, options: CookieDescriptorOptions<T$1>, contextCookies?: Cookies): Static<T$1> | undefined;
|
|
5097
5097
|
setCookie<T$1 extends TSchema>(name: string, options: CookieDescriptorOptions<T$1>, data: Static<T$1>, contextCookies?: Cookies): void;
|
|
@@ -5173,23 +5173,23 @@ declare module "alepha/server" {
|
|
|
5173
5173
|
*/
|
|
5174
5174
|
//#endregion
|
|
5175
5175
|
//#region ../alepha/src/server-auth/schemas/authenticationProviderSchema.d.ts
|
|
5176
|
-
declare const authenticationProviderSchema:
|
|
5177
|
-
name:
|
|
5178
|
-
type:
|
|
5176
|
+
declare const authenticationProviderSchema: alepha1437.TObject<{
|
|
5177
|
+
name: alepha1437.TString;
|
|
5178
|
+
type: alepha1437.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
|
|
5179
5179
|
}>;
|
|
5180
5180
|
type AuthenticationProvider = Static<typeof authenticationProviderSchema>;
|
|
5181
5181
|
//#endregion
|
|
5182
5182
|
//#region ../alepha/src/server-auth/schemas/tokensSchema.d.ts
|
|
5183
|
-
declare const tokensSchema:
|
|
5184
|
-
provider:
|
|
5185
|
-
access_token:
|
|
5186
|
-
issued_at:
|
|
5187
|
-
expires_in:
|
|
5188
|
-
refresh_token:
|
|
5189
|
-
refresh_token_expires_in:
|
|
5190
|
-
refresh_expires_in:
|
|
5191
|
-
id_token:
|
|
5192
|
-
scope:
|
|
5183
|
+
declare const tokensSchema: alepha1437.TObject<{
|
|
5184
|
+
provider: alepha1437.TString;
|
|
5185
|
+
access_token: alepha1437.TString;
|
|
5186
|
+
issued_at: alepha1437.TNumber;
|
|
5187
|
+
expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5188
|
+
refresh_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5189
|
+
refresh_token_expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5190
|
+
refresh_expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5191
|
+
id_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5192
|
+
scope: alepha1437.TOptional<alepha1437.TString>;
|
|
5193
5193
|
}>;
|
|
5194
5194
|
type Tokens = Static<typeof tokensSchema>;
|
|
5195
5195
|
//#endregion
|
|
@@ -5200,34 +5200,34 @@ declare class ServerAuthProvider {
|
|
|
5200
5200
|
protected readonly serverCookiesProvider: ServerCookiesProvider;
|
|
5201
5201
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
5202
5202
|
protected readonly serverLinksProvider: ServerLinksProvider;
|
|
5203
|
-
protected readonly authorizationCode: AbstractCookieDescriptor<
|
|
5204
|
-
provider:
|
|
5205
|
-
codeVerifier:
|
|
5206
|
-
redirectUri:
|
|
5207
|
-
state:
|
|
5208
|
-
nonce:
|
|
5203
|
+
protected readonly authorizationCode: AbstractCookieDescriptor<alepha1437.TObject<{
|
|
5204
|
+
provider: alepha1437.TString;
|
|
5205
|
+
codeVerifier: alepha1437.TOptional<alepha1437.TString>;
|
|
5206
|
+
redirectUri: alepha1437.TOptional<alepha1437.TString>;
|
|
5207
|
+
state: alepha1437.TOptional<alepha1437.TString>;
|
|
5208
|
+
nonce: alepha1437.TOptional<alepha1437.TString>;
|
|
5209
5209
|
}>>;
|
|
5210
|
-
readonly tokens: AbstractCookieDescriptor<
|
|
5211
|
-
provider:
|
|
5212
|
-
access_token:
|
|
5213
|
-
issued_at:
|
|
5214
|
-
expires_in:
|
|
5215
|
-
refresh_token:
|
|
5216
|
-
refresh_token_expires_in:
|
|
5217
|
-
refresh_expires_in:
|
|
5218
|
-
id_token:
|
|
5219
|
-
scope:
|
|
5210
|
+
readonly tokens: AbstractCookieDescriptor<alepha1437.TObject<{
|
|
5211
|
+
provider: alepha1437.TString;
|
|
5212
|
+
access_token: alepha1437.TString;
|
|
5213
|
+
issued_at: alepha1437.TNumber;
|
|
5214
|
+
expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5215
|
+
refresh_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5216
|
+
refresh_token_expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5217
|
+
refresh_expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5218
|
+
id_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5219
|
+
scope: alepha1437.TOptional<alepha1437.TString>;
|
|
5220
5220
|
}>>;
|
|
5221
5221
|
get identities(): Array<AuthDescriptor>;
|
|
5222
5222
|
getAuthenticationProviders(filters?: {
|
|
5223
5223
|
realmName?: string;
|
|
5224
5224
|
}): AuthenticationProvider[];
|
|
5225
|
-
protected readonly configure:
|
|
5225
|
+
protected readonly configure: alepha1437.HookDescriptor<"configure">;
|
|
5226
5226
|
protected getAccessTokens(tokens: Tokens): string | undefined;
|
|
5227
5227
|
/**
|
|
5228
5228
|
* Fill request headers with access token from cookies or fallback to provider's fallback function.
|
|
5229
5229
|
*/
|
|
5230
|
-
protected readonly onRequest:
|
|
5230
|
+
protected readonly onRequest: alepha1437.HookDescriptor<"server:onRequest">;
|
|
5231
5231
|
/**
|
|
5232
5232
|
* Convert cookies to tokens.
|
|
5233
5233
|
* If the tokens are expired, try to refresh them using the refresh token.
|
|
@@ -5238,26 +5238,26 @@ declare class ServerAuthProvider {
|
|
|
5238
5238
|
* Get user information.
|
|
5239
5239
|
*/
|
|
5240
5240
|
readonly userinfo: RouteDescriptor<{
|
|
5241
|
-
response:
|
|
5242
|
-
user:
|
|
5243
|
-
id:
|
|
5244
|
-
name:
|
|
5245
|
-
email:
|
|
5246
|
-
username:
|
|
5247
|
-
picture:
|
|
5248
|
-
sessionId:
|
|
5249
|
-
organizations:
|
|
5250
|
-
roles:
|
|
5241
|
+
response: alepha1437.TObject<{
|
|
5242
|
+
user: alepha1437.TOptional<alepha1437.TObject<{
|
|
5243
|
+
id: alepha1437.TString;
|
|
5244
|
+
name: alepha1437.TOptional<alepha1437.TString>;
|
|
5245
|
+
email: alepha1437.TOptional<alepha1437.TString>;
|
|
5246
|
+
username: alepha1437.TOptional<alepha1437.TString>;
|
|
5247
|
+
picture: alepha1437.TOptional<alepha1437.TString>;
|
|
5248
|
+
sessionId: alepha1437.TOptional<alepha1437.TString>;
|
|
5249
|
+
organizations: alepha1437.TOptional<alepha1437.TArray<alepha1437.TString>>;
|
|
5250
|
+
roles: alepha1437.TOptional<alepha1437.TArray<alepha1437.TString>>;
|
|
5251
5251
|
}>>;
|
|
5252
|
-
api:
|
|
5253
|
-
prefix:
|
|
5254
|
-
links:
|
|
5255
|
-
name:
|
|
5256
|
-
group:
|
|
5257
|
-
path:
|
|
5258
|
-
method:
|
|
5259
|
-
requestBodyType:
|
|
5260
|
-
service:
|
|
5252
|
+
api: alepha1437.TObject<{
|
|
5253
|
+
prefix: alepha1437.TOptional<alepha1437.TString>;
|
|
5254
|
+
links: alepha1437.TArray<alepha1437.TObject<{
|
|
5255
|
+
name: alepha1437.TString;
|
|
5256
|
+
group: alepha1437.TOptional<alepha1437.TString>;
|
|
5257
|
+
path: alepha1437.TString;
|
|
5258
|
+
method: alepha1437.TOptional<alepha1437.TString>;
|
|
5259
|
+
requestBodyType: alepha1437.TOptional<alepha1437.TString>;
|
|
5260
|
+
service: alepha1437.TOptional<alepha1437.TString>;
|
|
5261
5261
|
}>>;
|
|
5262
5262
|
}>;
|
|
5263
5263
|
}>;
|
|
@@ -5266,65 +5266,65 @@ declare class ServerAuthProvider {
|
|
|
5266
5266
|
* Refresh a token for internal providers.
|
|
5267
5267
|
*/
|
|
5268
5268
|
readonly refresh: RouteDescriptor<{
|
|
5269
|
-
query:
|
|
5270
|
-
provider:
|
|
5269
|
+
query: alepha1437.TObject<{
|
|
5270
|
+
provider: alepha1437.TString;
|
|
5271
5271
|
}>;
|
|
5272
|
-
body:
|
|
5273
|
-
refresh_token:
|
|
5274
|
-
access_token:
|
|
5272
|
+
body: alepha1437.TObject<{
|
|
5273
|
+
refresh_token: alepha1437.TString;
|
|
5274
|
+
access_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5275
5275
|
}>;
|
|
5276
|
-
response:
|
|
5277
|
-
provider:
|
|
5278
|
-
access_token:
|
|
5279
|
-
issued_at:
|
|
5280
|
-
expires_in:
|
|
5281
|
-
refresh_token:
|
|
5282
|
-
refresh_token_expires_in:
|
|
5283
|
-
refresh_expires_in:
|
|
5284
|
-
id_token:
|
|
5285
|
-
scope:
|
|
5276
|
+
response: alepha1437.TObject<{
|
|
5277
|
+
provider: alepha1437.TString;
|
|
5278
|
+
access_token: alepha1437.TString;
|
|
5279
|
+
issued_at: alepha1437.TNumber;
|
|
5280
|
+
expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5281
|
+
refresh_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5282
|
+
refresh_token_expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5283
|
+
refresh_expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5284
|
+
id_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5285
|
+
scope: alepha1437.TOptional<alepha1437.TString>;
|
|
5286
5286
|
}>;
|
|
5287
5287
|
}>;
|
|
5288
5288
|
/**
|
|
5289
5289
|
* Login for local password-based authentication.
|
|
5290
5290
|
*/
|
|
5291
5291
|
readonly token: RouteDescriptor<{
|
|
5292
|
-
query:
|
|
5293
|
-
provider:
|
|
5292
|
+
query: alepha1437.TObject<{
|
|
5293
|
+
provider: alepha1437.TString;
|
|
5294
5294
|
}>;
|
|
5295
|
-
body:
|
|
5296
|
-
username:
|
|
5297
|
-
password:
|
|
5295
|
+
body: alepha1437.TObject<{
|
|
5296
|
+
username: alepha1437.TString;
|
|
5297
|
+
password: alepha1437.TString;
|
|
5298
5298
|
}>;
|
|
5299
|
-
response:
|
|
5300
|
-
provider:
|
|
5301
|
-
access_token:
|
|
5302
|
-
issued_at:
|
|
5303
|
-
expires_in:
|
|
5304
|
-
refresh_token:
|
|
5305
|
-
refresh_token_expires_in:
|
|
5306
|
-
refresh_expires_in:
|
|
5307
|
-
id_token:
|
|
5308
|
-
scope:
|
|
5309
|
-
user:
|
|
5310
|
-
id:
|
|
5311
|
-
name:
|
|
5312
|
-
email:
|
|
5313
|
-
username:
|
|
5314
|
-
picture:
|
|
5315
|
-
sessionId:
|
|
5316
|
-
organizations:
|
|
5317
|
-
roles:
|
|
5299
|
+
response: alepha1437.TObject<{
|
|
5300
|
+
provider: alepha1437.TString;
|
|
5301
|
+
access_token: alepha1437.TString;
|
|
5302
|
+
issued_at: alepha1437.TNumber;
|
|
5303
|
+
expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5304
|
+
refresh_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5305
|
+
refresh_token_expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5306
|
+
refresh_expires_in: alepha1437.TOptional<alepha1437.TNumber>;
|
|
5307
|
+
id_token: alepha1437.TOptional<alepha1437.TString>;
|
|
5308
|
+
scope: alepha1437.TOptional<alepha1437.TString>;
|
|
5309
|
+
user: alepha1437.TObject<{
|
|
5310
|
+
id: alepha1437.TString;
|
|
5311
|
+
name: alepha1437.TOptional<alepha1437.TString>;
|
|
5312
|
+
email: alepha1437.TOptional<alepha1437.TString>;
|
|
5313
|
+
username: alepha1437.TOptional<alepha1437.TString>;
|
|
5314
|
+
picture: alepha1437.TOptional<alepha1437.TString>;
|
|
5315
|
+
sessionId: alepha1437.TOptional<alepha1437.TString>;
|
|
5316
|
+
organizations: alepha1437.TOptional<alepha1437.TArray<alepha1437.TString>>;
|
|
5317
|
+
roles: alepha1437.TOptional<alepha1437.TArray<alepha1437.TString>>;
|
|
5318
5318
|
}>;
|
|
5319
|
-
api:
|
|
5320
|
-
prefix:
|
|
5321
|
-
links:
|
|
5322
|
-
name:
|
|
5323
|
-
group:
|
|
5324
|
-
path:
|
|
5325
|
-
method:
|
|
5326
|
-
requestBodyType:
|
|
5327
|
-
service:
|
|
5319
|
+
api: alepha1437.TObject<{
|
|
5320
|
+
prefix: alepha1437.TOptional<alepha1437.TString>;
|
|
5321
|
+
links: alepha1437.TArray<alepha1437.TObject<{
|
|
5322
|
+
name: alepha1437.TString;
|
|
5323
|
+
group: alepha1437.TOptional<alepha1437.TString>;
|
|
5324
|
+
path: alepha1437.TString;
|
|
5325
|
+
method: alepha1437.TOptional<alepha1437.TString>;
|
|
5326
|
+
requestBodyType: alepha1437.TOptional<alepha1437.TString>;
|
|
5327
|
+
service: alepha1437.TOptional<alepha1437.TString>;
|
|
5328
5328
|
}>>;
|
|
5329
5329
|
}>;
|
|
5330
5330
|
}>;
|
|
@@ -5333,9 +5333,9 @@ declare class ServerAuthProvider {
|
|
|
5333
5333
|
* Oauth2/OIDC login route.
|
|
5334
5334
|
*/
|
|
5335
5335
|
readonly login: RouteDescriptor<{
|
|
5336
|
-
query:
|
|
5337
|
-
provider:
|
|
5338
|
-
redirect_uri:
|
|
5336
|
+
query: alepha1437.TObject<{
|
|
5337
|
+
provider: alepha1437.TString;
|
|
5338
|
+
redirect_uri: alepha1437.TOptional<alepha1437.TString>;
|
|
5339
5339
|
}>;
|
|
5340
5340
|
}>;
|
|
5341
5341
|
/**
|
|
@@ -5347,8 +5347,8 @@ declare class ServerAuthProvider {
|
|
|
5347
5347
|
* Logout route for OAuth2/OIDC providers.
|
|
5348
5348
|
*/
|
|
5349
5349
|
readonly logout: RouteDescriptor<{
|
|
5350
|
-
query:
|
|
5351
|
-
post_logout_redirect_uri:
|
|
5350
|
+
query: alepha1437.TObject<{
|
|
5351
|
+
post_logout_redirect_uri: alepha1437.TOptional<alepha1437.TString>;
|
|
5352
5352
|
}>;
|
|
5353
5353
|
}>;
|
|
5354
5354
|
protected provider(opts: string | {
|
|
@@ -5607,47 +5607,47 @@ declare class UserRealmController {
|
|
|
5607
5607
|
* This endpoint is not exposed in the API documentation.
|
|
5608
5608
|
*/
|
|
5609
5609
|
readonly getRealmConfig: ActionDescriptorFn<{
|
|
5610
|
-
query:
|
|
5611
|
-
userRealmName:
|
|
5610
|
+
query: alepha1437.TObject<{
|
|
5611
|
+
userRealmName: alepha1437.TOptional<alepha1437.TString>;
|
|
5612
5612
|
}>;
|
|
5613
|
-
response:
|
|
5614
|
-
settings:
|
|
5615
|
-
registrationAllowed:
|
|
5616
|
-
emailEnabled:
|
|
5617
|
-
emailRequired:
|
|
5618
|
-
usernameEnabled:
|
|
5619
|
-
usernameRequired:
|
|
5620
|
-
phoneEnabled:
|
|
5621
|
-
phoneRequired:
|
|
5622
|
-
verifyEmailRequired:
|
|
5623
|
-
verifyPhoneRequired:
|
|
5624
|
-
firstNameLastNameEnabled:
|
|
5625
|
-
firstNameLastNameRequired:
|
|
5626
|
-
resetPasswordAllowed:
|
|
5627
|
-
passwordPolicy:
|
|
5628
|
-
minLength:
|
|
5629
|
-
requireUppercase:
|
|
5630
|
-
requireLowercase:
|
|
5631
|
-
requireNumbers:
|
|
5632
|
-
requireSpecialCharacters:
|
|
5613
|
+
response: alepha1437.TObject<{
|
|
5614
|
+
settings: alepha1437.TObject<{
|
|
5615
|
+
registrationAllowed: alepha1437.TBoolean;
|
|
5616
|
+
emailEnabled: alepha1437.TBoolean;
|
|
5617
|
+
emailRequired: alepha1437.TBoolean;
|
|
5618
|
+
usernameEnabled: alepha1437.TBoolean;
|
|
5619
|
+
usernameRequired: alepha1437.TBoolean;
|
|
5620
|
+
phoneEnabled: alepha1437.TBoolean;
|
|
5621
|
+
phoneRequired: alepha1437.TBoolean;
|
|
5622
|
+
verifyEmailRequired: alepha1437.TBoolean;
|
|
5623
|
+
verifyPhoneRequired: alepha1437.TBoolean;
|
|
5624
|
+
firstNameLastNameEnabled: alepha1437.TBoolean;
|
|
5625
|
+
firstNameLastNameRequired: alepha1437.TBoolean;
|
|
5626
|
+
resetPasswordAllowed: alepha1437.TBoolean;
|
|
5627
|
+
passwordPolicy: alepha1437.TObject<{
|
|
5628
|
+
minLength: alepha1437.TInteger;
|
|
5629
|
+
requireUppercase: alepha1437.TBoolean;
|
|
5630
|
+
requireLowercase: alepha1437.TBoolean;
|
|
5631
|
+
requireNumbers: alepha1437.TBoolean;
|
|
5632
|
+
requireSpecialCharacters: alepha1437.TBoolean;
|
|
5633
5633
|
}>;
|
|
5634
5634
|
}>;
|
|
5635
|
-
realmName:
|
|
5636
|
-
authenticationMethods:
|
|
5637
|
-
name:
|
|
5638
|
-
type:
|
|
5635
|
+
realmName: alepha1437.TString;
|
|
5636
|
+
authenticationMethods: alepha1437.TArray<alepha1437.TObject<{
|
|
5637
|
+
name: alepha1437.TString;
|
|
5638
|
+
type: alepha1437.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
|
|
5639
5639
|
}>>;
|
|
5640
5640
|
}>;
|
|
5641
5641
|
}>;
|
|
5642
5642
|
readonly checkUsernameAvailability: ActionDescriptorFn<{
|
|
5643
|
-
query:
|
|
5644
|
-
userRealmName:
|
|
5643
|
+
query: alepha1437.TObject<{
|
|
5644
|
+
userRealmName: alepha1437.TOptional<alepha1437.TString>;
|
|
5645
5645
|
}>;
|
|
5646
|
-
body:
|
|
5647
|
-
username:
|
|
5646
|
+
body: alepha1437.TObject<{
|
|
5647
|
+
username: alepha1437.TString;
|
|
5648
5648
|
}>;
|
|
5649
|
-
response:
|
|
5650
|
-
available:
|
|
5649
|
+
response: alepha1437.TObject<{
|
|
5650
|
+
available: alepha1437.TBoolean;
|
|
5651
5651
|
}>;
|
|
5652
5652
|
}>;
|
|
5653
5653
|
}
|
|
@@ -5683,32 +5683,32 @@ interface UserRealmOptions {
|
|
|
5683
5683
|
}
|
|
5684
5684
|
//#endregion
|
|
5685
5685
|
//#region ../alepha/src/api-users/schemas/userRealmConfigSchema.d.ts
|
|
5686
|
-
declare const userRealmConfigSchema:
|
|
5687
|
-
settings:
|
|
5688
|
-
registrationAllowed:
|
|
5689
|
-
emailEnabled:
|
|
5690
|
-
emailRequired:
|
|
5691
|
-
usernameEnabled:
|
|
5692
|
-
usernameRequired:
|
|
5693
|
-
phoneEnabled:
|
|
5694
|
-
phoneRequired:
|
|
5695
|
-
verifyEmailRequired:
|
|
5696
|
-
verifyPhoneRequired:
|
|
5697
|
-
firstNameLastNameEnabled:
|
|
5698
|
-
firstNameLastNameRequired:
|
|
5699
|
-
resetPasswordAllowed:
|
|
5700
|
-
passwordPolicy:
|
|
5701
|
-
minLength:
|
|
5702
|
-
requireUppercase:
|
|
5703
|
-
requireLowercase:
|
|
5704
|
-
requireNumbers:
|
|
5705
|
-
requireSpecialCharacters:
|
|
5686
|
+
declare const userRealmConfigSchema: alepha1437.TObject<{
|
|
5687
|
+
settings: alepha1437.TObject<{
|
|
5688
|
+
registrationAllowed: alepha1437.TBoolean;
|
|
5689
|
+
emailEnabled: alepha1437.TBoolean;
|
|
5690
|
+
emailRequired: alepha1437.TBoolean;
|
|
5691
|
+
usernameEnabled: alepha1437.TBoolean;
|
|
5692
|
+
usernameRequired: alepha1437.TBoolean;
|
|
5693
|
+
phoneEnabled: alepha1437.TBoolean;
|
|
5694
|
+
phoneRequired: alepha1437.TBoolean;
|
|
5695
|
+
verifyEmailRequired: alepha1437.TBoolean;
|
|
5696
|
+
verifyPhoneRequired: alepha1437.TBoolean;
|
|
5697
|
+
firstNameLastNameEnabled: alepha1437.TBoolean;
|
|
5698
|
+
firstNameLastNameRequired: alepha1437.TBoolean;
|
|
5699
|
+
resetPasswordAllowed: alepha1437.TBoolean;
|
|
5700
|
+
passwordPolicy: alepha1437.TObject<{
|
|
5701
|
+
minLength: alepha1437.TInteger;
|
|
5702
|
+
requireUppercase: alepha1437.TBoolean;
|
|
5703
|
+
requireLowercase: alepha1437.TBoolean;
|
|
5704
|
+
requireNumbers: alepha1437.TBoolean;
|
|
5705
|
+
requireSpecialCharacters: alepha1437.TBoolean;
|
|
5706
5706
|
}>;
|
|
5707
5707
|
}>;
|
|
5708
|
-
realmName:
|
|
5709
|
-
authenticationMethods:
|
|
5710
|
-
name:
|
|
5711
|
-
type:
|
|
5708
|
+
realmName: alepha1437.TString;
|
|
5709
|
+
authenticationMethods: alepha1437.TArray<alepha1437.TObject<{
|
|
5710
|
+
name: alepha1437.TString;
|
|
5711
|
+
type: alepha1437.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
|
|
5712
5712
|
}>>;
|
|
5713
5713
|
}>;
|
|
5714
5714
|
type UserRealmConfig = Static<typeof userRealmConfigSchema>;
|
|
@@ -5749,8 +5749,8 @@ declare module "alepha/bucket" {
|
|
|
5749
5749
|
declare class AuthRouter {
|
|
5750
5750
|
userRealmClient: HttpVirtualClient<UserRealmController>;
|
|
5751
5751
|
login: PageDescriptor<{
|
|
5752
|
-
query:
|
|
5753
|
-
redirect:
|
|
5752
|
+
query: alepha1437.TObject<{
|
|
5753
|
+
redirect: alepha1437.TOptional<alepha1437.TString>;
|
|
5754
5754
|
}>;
|
|
5755
5755
|
}, {
|
|
5756
5756
|
realmConfig: {
|
|
@@ -5783,8 +5783,8 @@ declare class AuthRouter {
|
|
|
5783
5783
|
};
|
|
5784
5784
|
}, TPropsParentDefault>;
|
|
5785
5785
|
register: PageDescriptor<{
|
|
5786
|
-
query:
|
|
5787
|
-
redirect:
|
|
5786
|
+
query: alepha1437.TObject<{
|
|
5787
|
+
redirect: alepha1437.TOptional<alepha1437.TString>;
|
|
5788
5788
|
}>;
|
|
5789
5789
|
}, {
|
|
5790
5790
|
realmConfig: {
|
|
@@ -5817,8 +5817,8 @@ declare class AuthRouter {
|
|
|
5817
5817
|
};
|
|
5818
5818
|
}, TPropsParentDefault>;
|
|
5819
5819
|
resetPassword: PageDescriptor<{
|
|
5820
|
-
query:
|
|
5821
|
-
redirect:
|
|
5820
|
+
query: alepha1437.TObject<{
|
|
5821
|
+
redirect: alepha1437.TOptional<alepha1437.TString>;
|
|
5822
5822
|
}>;
|
|
5823
5823
|
}, {
|
|
5824
5824
|
realmConfig: {
|
|
@@ -6259,7 +6259,7 @@ declare const ResetPassword: (props: ResetPasswordProps) => react_jsx_runtime0.J
|
|
|
6259
6259
|
*
|
|
6260
6260
|
* @module alepha.ui.auth
|
|
6261
6261
|
*/
|
|
6262
|
-
declare const AlephaUIAuth:
|
|
6262
|
+
declare const AlephaUIAuth: alepha1437.Service<alepha1437.Module>;
|
|
6263
6263
|
//#endregion
|
|
6264
6264
|
export { AlephaUIAuth, AuthRouter, Login, Register, ResetPassword, UserButton, type UserButtonProps };
|
|
6265
6265
|
//# sourceMappingURL=index.d.cts.map
|