@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.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as alepha1223 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, TypeBoxError } from "alepha";
|
|
3
3
|
import { AnchorProps, AutocompleteProps, ButtonProps, ColorInputProps, FileInputProps, MenuProps, MenuTargetProps, MultiSelectProps, NumberInputProps, PasswordInputProps, SegmentedControlProps, SelectProps, SliderProps, SwitchProps, TagsInputProps, TextInputProps, TextareaProps, ThemeIconProps, TooltipProps } from "@mantine/core";
|
|
4
4
|
import "@mantine/modals";
|
|
@@ -29,28 +29,28 @@ import * as DrizzleKit from "drizzle-kit/api";
|
|
|
29
29
|
import { Configuration } from "openid-client";
|
|
30
30
|
|
|
31
31
|
//#region ../alepha/src/security/schemas/userAccountInfoSchema.d.ts
|
|
32
|
-
declare const userAccountInfoSchema:
|
|
33
|
-
id:
|
|
34
|
-
name:
|
|
35
|
-
email:
|
|
36
|
-
username:
|
|
37
|
-
picture:
|
|
38
|
-
sessionId:
|
|
39
|
-
organizations:
|
|
40
|
-
roles:
|
|
32
|
+
declare const userAccountInfoSchema: alepha1223.TObject<{
|
|
33
|
+
id: alepha1223.TString;
|
|
34
|
+
name: alepha1223.TOptional<alepha1223.TString>;
|
|
35
|
+
email: alepha1223.TOptional<alepha1223.TString>;
|
|
36
|
+
username: alepha1223.TOptional<alepha1223.TString>;
|
|
37
|
+
picture: alepha1223.TOptional<alepha1223.TString>;
|
|
38
|
+
sessionId: alepha1223.TOptional<alepha1223.TString>;
|
|
39
|
+
organizations: alepha1223.TOptional<alepha1223.TArray<alepha1223.TString>>;
|
|
40
|
+
roles: alepha1223.TOptional<alepha1223.TArray<alepha1223.TString>>;
|
|
41
41
|
}>;
|
|
42
42
|
type UserAccount = Static<typeof userAccountInfoSchema>;
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region ../alepha/src/logger/schemas/logEntrySchema.d.ts
|
|
45
|
-
declare const logEntrySchema:
|
|
46
|
-
level:
|
|
47
|
-
message:
|
|
48
|
-
service:
|
|
49
|
-
module:
|
|
50
|
-
context:
|
|
51
|
-
app:
|
|
52
|
-
data:
|
|
53
|
-
timestamp:
|
|
45
|
+
declare const logEntrySchema: alepha1223.TObject<{
|
|
46
|
+
level: alepha1223.TUnsafe<"TRACE" | "SILENT" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
47
|
+
message: alepha1223.TString;
|
|
48
|
+
service: alepha1223.TString;
|
|
49
|
+
module: alepha1223.TString;
|
|
50
|
+
context: alepha1223.TOptional<alepha1223.TString>;
|
|
51
|
+
app: alepha1223.TOptional<alepha1223.TString>;
|
|
52
|
+
data: alepha1223.TOptional<alepha1223.TAny>;
|
|
53
|
+
timestamp: alepha1223.TNumber;
|
|
54
54
|
}>;
|
|
55
55
|
type LogEntry = Static<typeof logEntrySchema>;
|
|
56
56
|
//#endregion
|
|
@@ -65,8 +65,8 @@ declare class DateTimeProvider {
|
|
|
65
65
|
protected readonly timeouts: Timeout[];
|
|
66
66
|
protected readonly intervals: Interval[];
|
|
67
67
|
constructor();
|
|
68
|
-
protected readonly onStart:
|
|
69
|
-
protected readonly onStop:
|
|
68
|
+
protected readonly onStart: alepha1223.HookDescriptor<"start">;
|
|
69
|
+
protected readonly onStop: alepha1223.HookDescriptor<"stop">;
|
|
70
70
|
setLocale(locale: string): void;
|
|
71
71
|
isDateTime(value: unknown): value is DateTime;
|
|
72
72
|
/**
|
|
@@ -198,7 +198,7 @@ declare class Logger implements LoggerInterface {
|
|
|
198
198
|
}
|
|
199
199
|
//#endregion
|
|
200
200
|
//#region ../alepha/src/logger/index.d.ts
|
|
201
|
-
declare const envSchema$9:
|
|
201
|
+
declare const envSchema$9: alepha1223.TObject<{
|
|
202
202
|
/**
|
|
203
203
|
* Default log level for the application.
|
|
204
204
|
*
|
|
@@ -215,14 +215,14 @@ declare const envSchema$9: alepha1198.TObject<{
|
|
|
215
215
|
* LOG_LEVEL=my.module.name:debug,info # Set debug level for my.module.name and info for all other modules
|
|
216
216
|
* LOG_LEVEL=alepha:trace, info # Set trace level for all alepha modules and info for all other modules
|
|
217
217
|
*/
|
|
218
|
-
LOG_LEVEL:
|
|
218
|
+
LOG_LEVEL: alepha1223.TOptional<alepha1223.TString>;
|
|
219
219
|
/**
|
|
220
220
|
* Built-in log formats.
|
|
221
221
|
* - "json" - JSON format, useful for structured logging and log aggregation. {@link JsonFormatterProvider}
|
|
222
222
|
* - "pretty" - Simple text format, human-readable, with colors. {@link SimpleFormatterProvider}
|
|
223
223
|
* - "raw" - Raw format, no formatting, just the message. {@link RawFormatterProvider}
|
|
224
224
|
*/
|
|
225
|
-
LOG_FORMAT:
|
|
225
|
+
LOG_FORMAT: alepha1223.TOptional<alepha1223.TUnsafe<"json" | "pretty" | "raw">>;
|
|
226
226
|
}>;
|
|
227
227
|
declare module "alepha" {
|
|
228
228
|
interface Env extends Partial<Static<typeof envSchema$9>> {}
|
|
@@ -262,24 +262,24 @@ interface UserAccountToken extends UserAccount {
|
|
|
262
262
|
}
|
|
263
263
|
//#endregion
|
|
264
264
|
//#region ../alepha/src/security/schemas/permissionSchema.d.ts
|
|
265
|
-
declare const permissionSchema:
|
|
266
|
-
name:
|
|
267
|
-
group:
|
|
268
|
-
description:
|
|
269
|
-
method:
|
|
270
|
-
path:
|
|
265
|
+
declare const permissionSchema: alepha1223.TObject<{
|
|
266
|
+
name: alepha1223.TString;
|
|
267
|
+
group: alepha1223.TOptional<alepha1223.TString>;
|
|
268
|
+
description: alepha1223.TOptional<alepha1223.TString>;
|
|
269
|
+
method: alepha1223.TOptional<alepha1223.TString>;
|
|
270
|
+
path: alepha1223.TOptional<alepha1223.TString>;
|
|
271
271
|
}>;
|
|
272
272
|
type Permission = Static<typeof permissionSchema>;
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region ../alepha/src/security/schemas/roleSchema.d.ts
|
|
275
|
-
declare const roleSchema:
|
|
276
|
-
name:
|
|
277
|
-
description:
|
|
278
|
-
default:
|
|
279
|
-
permissions:
|
|
280
|
-
name:
|
|
281
|
-
ownership:
|
|
282
|
-
exclude:
|
|
275
|
+
declare const roleSchema: alepha1223.TObject<{
|
|
276
|
+
name: alepha1223.TString;
|
|
277
|
+
description: alepha1223.TOptional<alepha1223.TString>;
|
|
278
|
+
default: alepha1223.TOptional<alepha1223.TBoolean>;
|
|
279
|
+
permissions: alepha1223.TArray<alepha1223.TObject<{
|
|
280
|
+
name: alepha1223.TString;
|
|
281
|
+
ownership: alepha1223.TOptional<alepha1223.TBoolean>;
|
|
282
|
+
exclude: alepha1223.TOptional<alepha1223.TArray<alepha1223.TString>>;
|
|
283
283
|
}>>;
|
|
284
284
|
}>;
|
|
285
285
|
type Role = Static<typeof roleSchema>;
|
|
@@ -351,8 +351,8 @@ interface JwtParseResult {
|
|
|
351
351
|
}
|
|
352
352
|
//#endregion
|
|
353
353
|
//#region ../alepha/src/security/providers/SecurityProvider.d.ts
|
|
354
|
-
declare const envSchema$8:
|
|
355
|
-
APP_SECRET:
|
|
354
|
+
declare const envSchema$8: alepha1223.TObject<{
|
|
355
|
+
APP_SECRET: alepha1223.TString;
|
|
356
356
|
}>;
|
|
357
357
|
declare module "alepha" {
|
|
358
358
|
interface Env extends Partial<Static<typeof envSchema$8>> {}
|
|
@@ -376,7 +376,7 @@ declare class SecurityProvider {
|
|
|
376
376
|
* The realms configured for the security provider.
|
|
377
377
|
*/
|
|
378
378
|
protected readonly realms: Realm[];
|
|
379
|
-
protected start:
|
|
379
|
+
protected start: alepha1223.HookDescriptor<"start">;
|
|
380
380
|
/**
|
|
381
381
|
* Adds a role to one or more realms.
|
|
382
382
|
*
|
|
@@ -858,8 +858,8 @@ declare class ServerTimingProvider {
|
|
|
858
858
|
prefix: string;
|
|
859
859
|
disabled: boolean;
|
|
860
860
|
};
|
|
861
|
-
readonly onRequest:
|
|
862
|
-
readonly onResponse:
|
|
861
|
+
readonly onRequest: alepha1223.HookDescriptor<"server:onRequest">;
|
|
862
|
+
readonly onResponse: alepha1223.HookDescriptor<"server:onResponse">;
|
|
863
863
|
protected get handlerName(): string;
|
|
864
864
|
beginTiming(name: string): void;
|
|
865
865
|
endTiming(name: string): void;
|
|
@@ -923,11 +923,11 @@ declare class ServerProvider {
|
|
|
923
923
|
/**
|
|
924
924
|
* When a Node.js HTTP request is received from outside. (Vercel, AWS Lambda, etc.)
|
|
925
925
|
*/
|
|
926
|
-
protected readonly onNodeRequest:
|
|
926
|
+
protected readonly onNodeRequest: alepha1223.HookDescriptor<"node:request">;
|
|
927
927
|
/**
|
|
928
928
|
* When a Web (Fetch API) request is received from outside. (Netlify, Cloudflare Workers, etc.)
|
|
929
929
|
*/
|
|
930
|
-
protected readonly onWebRequest:
|
|
930
|
+
protected readonly onWebRequest: alepha1223.HookDescriptor<"web:request">;
|
|
931
931
|
/**
|
|
932
932
|
* Handle Node.js HTTP request event.
|
|
933
933
|
*
|
|
@@ -1265,15 +1265,15 @@ type ServerActionHandler<TConfig extends RequestConfigSchema = RequestConfigSche
|
|
|
1265
1265
|
interface ServerActionRequest<TConfig extends RequestConfigSchema> extends ServerRequest<TConfig> {}
|
|
1266
1266
|
//#endregion
|
|
1267
1267
|
//#region ../alepha/src/server/schemas/errorSchema.d.ts
|
|
1268
|
-
declare const errorSchema:
|
|
1269
|
-
error:
|
|
1270
|
-
status:
|
|
1271
|
-
message:
|
|
1272
|
-
details:
|
|
1273
|
-
requestId:
|
|
1274
|
-
cause:
|
|
1275
|
-
name:
|
|
1276
|
-
message:
|
|
1268
|
+
declare const errorSchema: alepha1223.TObject<{
|
|
1269
|
+
error: alepha1223.TString;
|
|
1270
|
+
status: alepha1223.TInteger;
|
|
1271
|
+
message: alepha1223.TString;
|
|
1272
|
+
details: alepha1223.TOptional<alepha1223.TString>;
|
|
1273
|
+
requestId: alepha1223.TOptional<alepha1223.TString>;
|
|
1274
|
+
cause: alepha1223.TOptional<alepha1223.TObject<{
|
|
1275
|
+
name: alepha1223.TString;
|
|
1276
|
+
message: alepha1223.TString;
|
|
1277
1277
|
}>>;
|
|
1278
1278
|
}>;
|
|
1279
1279
|
type ErrorSchema = Static<typeof errorSchema>;
|
|
@@ -1305,18 +1305,18 @@ declare class RouteDescriptor<TConfig extends RequestConfigSchema> extends Descr
|
|
|
1305
1305
|
}
|
|
1306
1306
|
//#endregion
|
|
1307
1307
|
//#region ../alepha/src/server/providers/BunHttpServerProvider.d.ts
|
|
1308
|
-
declare const envSchema$7:
|
|
1309
|
-
SERVER_PORT:
|
|
1310
|
-
SERVER_HOST:
|
|
1308
|
+
declare const envSchema$7: alepha1223.TObject<{
|
|
1309
|
+
SERVER_PORT: alepha1223.TInteger;
|
|
1310
|
+
SERVER_HOST: alepha1223.TString;
|
|
1311
1311
|
}>;
|
|
1312
1312
|
declare module "alepha" {
|
|
1313
1313
|
interface Env extends Partial<Static<typeof envSchema$7>> {}
|
|
1314
1314
|
}
|
|
1315
1315
|
//#endregion
|
|
1316
1316
|
//#region ../alepha/src/server/providers/NodeHttpServerProvider.d.ts
|
|
1317
|
-
declare const envSchema$6:
|
|
1318
|
-
SERVER_PORT:
|
|
1319
|
-
SERVER_HOST:
|
|
1317
|
+
declare const envSchema$6: alepha1223.TObject<{
|
|
1318
|
+
SERVER_PORT: alepha1223.TInteger;
|
|
1319
|
+
SERVER_HOST: alepha1223.TString;
|
|
1320
1320
|
}>;
|
|
1321
1321
|
declare module "alepha" {
|
|
1322
1322
|
interface Env extends Partial<Static<typeof envSchema$6>> {}
|
|
@@ -1472,23 +1472,23 @@ declare module "alepha/server" {
|
|
|
1472
1472
|
*/
|
|
1473
1473
|
//#endregion
|
|
1474
1474
|
//#region ../alepha/src/server-links/schemas/apiLinksResponseSchema.d.ts
|
|
1475
|
-
declare const apiLinkSchema:
|
|
1476
|
-
name:
|
|
1477
|
-
group:
|
|
1478
|
-
path:
|
|
1479
|
-
method:
|
|
1480
|
-
requestBodyType:
|
|
1481
|
-
service:
|
|
1475
|
+
declare const apiLinkSchema: alepha1223.TObject<{
|
|
1476
|
+
name: alepha1223.TString;
|
|
1477
|
+
group: alepha1223.TOptional<alepha1223.TString>;
|
|
1478
|
+
path: alepha1223.TString;
|
|
1479
|
+
method: alepha1223.TOptional<alepha1223.TString>;
|
|
1480
|
+
requestBodyType: alepha1223.TOptional<alepha1223.TString>;
|
|
1481
|
+
service: alepha1223.TOptional<alepha1223.TString>;
|
|
1482
1482
|
}>;
|
|
1483
|
-
declare const apiLinksResponseSchema:
|
|
1484
|
-
prefix:
|
|
1485
|
-
links:
|
|
1486
|
-
name:
|
|
1487
|
-
group:
|
|
1488
|
-
path:
|
|
1489
|
-
method:
|
|
1490
|
-
requestBodyType:
|
|
1491
|
-
service:
|
|
1483
|
+
declare const apiLinksResponseSchema: alepha1223.TObject<{
|
|
1484
|
+
prefix: alepha1223.TOptional<alepha1223.TString>;
|
|
1485
|
+
links: alepha1223.TArray<alepha1223.TObject<{
|
|
1486
|
+
name: alepha1223.TString;
|
|
1487
|
+
group: alepha1223.TOptional<alepha1223.TString>;
|
|
1488
|
+
path: alepha1223.TString;
|
|
1489
|
+
method: alepha1223.TOptional<alepha1223.TString>;
|
|
1490
|
+
requestBodyType: alepha1223.TOptional<alepha1223.TString>;
|
|
1491
|
+
service: alepha1223.TOptional<alepha1223.TString>;
|
|
1492
1492
|
}>>;
|
|
1493
1493
|
}>;
|
|
1494
1494
|
type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
|
|
@@ -1684,7 +1684,7 @@ declare class ServerProxyProvider {
|
|
|
1684
1684
|
protected readonly log: Logger;
|
|
1685
1685
|
protected readonly routerProvider: ServerRouterProvider;
|
|
1686
1686
|
protected readonly alepha: Alepha;
|
|
1687
|
-
protected readonly configure:
|
|
1687
|
+
protected readonly configure: alepha1223.HookDescriptor<"configure">;
|
|
1688
1688
|
createProxy(options: ProxyDescriptorOptions): void;
|
|
1689
1689
|
createProxyHandler(target: string, options: Omit<ProxyDescriptorOptions, "path">): ServerHandler;
|
|
1690
1690
|
private getRawRequestBody;
|
|
@@ -1888,8 +1888,8 @@ declare class RemoteDescriptorProvider {
|
|
|
1888
1888
|
protected readonly remotes: Array<ServerRemote>;
|
|
1889
1889
|
protected readonly log: Logger;
|
|
1890
1890
|
getRemotes(): ServerRemote[];
|
|
1891
|
-
readonly configure:
|
|
1892
|
-
readonly start:
|
|
1891
|
+
readonly configure: alepha1223.HookDescriptor<"configure">;
|
|
1892
|
+
readonly start: alepha1223.HookDescriptor<"start">;
|
|
1893
1893
|
registerRemote(value: RemoteDescriptor): Promise<void>;
|
|
1894
1894
|
protected readonly fetchLinks: RetryDescriptorFn<(opts: FetchLinksOptions) => Promise<ApiLinksResponse>>;
|
|
1895
1895
|
}
|
|
@@ -1957,22 +1957,22 @@ declare class ServerLinksProvider {
|
|
|
1957
1957
|
protected readonly remoteProvider: RemoteDescriptorProvider;
|
|
1958
1958
|
protected readonly serverTimingProvider: ServerTimingProvider;
|
|
1959
1959
|
get prefix(): string;
|
|
1960
|
-
readonly onRoute:
|
|
1960
|
+
readonly onRoute: alepha1223.HookDescriptor<"configure">;
|
|
1961
1961
|
/**
|
|
1962
1962
|
* First API - Get all API links for the user.
|
|
1963
1963
|
*
|
|
1964
1964
|
* This is based on the user's permissions.
|
|
1965
1965
|
*/
|
|
1966
1966
|
readonly links: RouteDescriptor<{
|
|
1967
|
-
response:
|
|
1968
|
-
prefix:
|
|
1969
|
-
links:
|
|
1970
|
-
name:
|
|
1971
|
-
group:
|
|
1972
|
-
path:
|
|
1973
|
-
method:
|
|
1974
|
-
requestBodyType:
|
|
1975
|
-
service:
|
|
1967
|
+
response: alepha1223.TObject<{
|
|
1968
|
+
prefix: alepha1223.TOptional<alepha1223.TString>;
|
|
1969
|
+
links: alepha1223.TArray<alepha1223.TObject<{
|
|
1970
|
+
name: alepha1223.TString;
|
|
1971
|
+
group: alepha1223.TOptional<alepha1223.TString>;
|
|
1972
|
+
path: alepha1223.TString;
|
|
1973
|
+
method: alepha1223.TOptional<alepha1223.TString>;
|
|
1974
|
+
requestBodyType: alepha1223.TOptional<alepha1223.TString>;
|
|
1975
|
+
service: alepha1223.TOptional<alepha1223.TString>;
|
|
1976
1976
|
}>>;
|
|
1977
1977
|
}>;
|
|
1978
1978
|
}>;
|
|
@@ -1983,10 +1983,10 @@ declare class ServerLinksProvider {
|
|
|
1983
1983
|
* I mean for 150+ links, you got 50ms of serialization time.
|
|
1984
1984
|
*/
|
|
1985
1985
|
readonly schema: RouteDescriptor<{
|
|
1986
|
-
params:
|
|
1987
|
-
name:
|
|
1986
|
+
params: alepha1223.TObject<{
|
|
1987
|
+
name: alepha1223.TString;
|
|
1988
1988
|
}>;
|
|
1989
|
-
response:
|
|
1989
|
+
response: alepha1223.TRecord<string, alepha1223.TAny>;
|
|
1990
1990
|
}>;
|
|
1991
1991
|
getSchemaByName(name: string, options?: GetApiLinksOptions): Promise<RequestConfigSchema>;
|
|
1992
1992
|
/**
|
|
@@ -2139,8 +2139,8 @@ declare class Redirection extends Error {
|
|
|
2139
2139
|
}
|
|
2140
2140
|
//#endregion
|
|
2141
2141
|
//#region ../react/src/core/providers/ReactPageProvider.d.ts
|
|
2142
|
-
declare const envSchema$5:
|
|
2143
|
-
REACT_STRICT_MODE:
|
|
2142
|
+
declare const envSchema$5: alepha1223.TObject<{
|
|
2143
|
+
REACT_STRICT_MODE: alepha1223.TBoolean;
|
|
2144
2144
|
}>;
|
|
2145
2145
|
declare module "alepha" {
|
|
2146
2146
|
interface Env extends Partial<Static<typeof envSchema$5>> {}
|
|
@@ -2440,8 +2440,8 @@ type CssAnimation = {
|
|
|
2440
2440
|
};
|
|
2441
2441
|
//#endregion
|
|
2442
2442
|
//#region ../react/src/core/providers/ReactBrowserProvider.d.ts
|
|
2443
|
-
declare const envSchema$4:
|
|
2444
|
-
REACT_ROOT_ID:
|
|
2443
|
+
declare const envSchema$4: alepha1223.TObject<{
|
|
2444
|
+
REACT_ROOT_ID: alepha1223.TString;
|
|
2445
2445
|
}>;
|
|
2446
2446
|
declare module "alepha" {
|
|
2447
2447
|
interface Env extends Partial<Static<typeof envSchema$4>> {}
|
|
@@ -2449,8 +2449,8 @@ declare module "alepha" {
|
|
|
2449
2449
|
/**
|
|
2450
2450
|
* React browser renderer configuration atom
|
|
2451
2451
|
*/
|
|
2452
|
-
declare const reactBrowserOptions:
|
|
2453
|
-
scrollRestoration:
|
|
2452
|
+
declare const reactBrowserOptions: alepha1223.Atom<alepha1223.TObject<{
|
|
2453
|
+
scrollRestoration: alepha1223.TUnsafe<"top" | "manual">;
|
|
2454
2454
|
}>, "alepha.react.browser.options">;
|
|
2455
2455
|
type ReactBrowserRendererOptions = Static<typeof reactBrowserOptions.schema>;
|
|
2456
2456
|
declare module "alepha" {
|
|
@@ -2913,10 +2913,10 @@ declare class FileDetector {
|
|
|
2913
2913
|
}
|
|
2914
2914
|
//#endregion
|
|
2915
2915
|
//#region ../react/src/core/providers/ReactServerProvider.d.ts
|
|
2916
|
-
declare const envSchema$3:
|
|
2917
|
-
REACT_SSR_ENABLED:
|
|
2918
|
-
REACT_ROOT_ID:
|
|
2919
|
-
REACT_SERVER_TEMPLATE:
|
|
2916
|
+
declare const envSchema$3: alepha1223.TObject<{
|
|
2917
|
+
REACT_SSR_ENABLED: alepha1223.TOptional<alepha1223.TBoolean>;
|
|
2918
|
+
REACT_ROOT_ID: alepha1223.TString;
|
|
2919
|
+
REACT_SERVER_TEMPLATE: alepha1223.TOptional<alepha1223.TString>;
|
|
2920
2920
|
}>;
|
|
2921
2921
|
declare module "alepha" {
|
|
2922
2922
|
interface Env extends Partial<Static<typeof envSchema$3>> {}
|
|
@@ -2927,11 +2927,11 @@ declare module "alepha" {
|
|
|
2927
2927
|
/**
|
|
2928
2928
|
* React server provider configuration atom
|
|
2929
2929
|
*/
|
|
2930
|
-
declare const reactServerOptions:
|
|
2931
|
-
publicDir:
|
|
2932
|
-
staticServer:
|
|
2933
|
-
disabled:
|
|
2934
|
-
path:
|
|
2930
|
+
declare const reactServerOptions: alepha1223.Atom<alepha1223.TObject<{
|
|
2931
|
+
publicDir: alepha1223.TString;
|
|
2932
|
+
staticServer: alepha1223.TObject<{
|
|
2933
|
+
disabled: alepha1223.TBoolean;
|
|
2934
|
+
path: alepha1223.TString;
|
|
2935
2935
|
}>;
|
|
2936
2936
|
}>, "alepha.react.server.options">;
|
|
2937
2937
|
type ReactServerProviderOptions = Static<typeof reactServerOptions.schema>;
|
|
@@ -3045,25 +3045,25 @@ declare module "alepha" {
|
|
|
3045
3045
|
*/
|
|
3046
3046
|
//#endregion
|
|
3047
3047
|
//#region ../alepha/src/api-users/atoms/realmAuthSettingsAtom.d.ts
|
|
3048
|
-
declare const realmAuthSettingsAtom:
|
|
3049
|
-
registrationAllowed:
|
|
3050
|
-
emailEnabled:
|
|
3051
|
-
emailRequired:
|
|
3052
|
-
usernameEnabled:
|
|
3053
|
-
usernameRequired:
|
|
3054
|
-
phoneEnabled:
|
|
3055
|
-
phoneRequired:
|
|
3056
|
-
verifyEmailRequired:
|
|
3057
|
-
verifyPhoneRequired:
|
|
3058
|
-
firstNameLastNameEnabled:
|
|
3059
|
-
firstNameLastNameRequired:
|
|
3060
|
-
resetPasswordAllowed:
|
|
3061
|
-
passwordPolicy:
|
|
3062
|
-
minLength:
|
|
3063
|
-
requireUppercase:
|
|
3064
|
-
requireLowercase:
|
|
3065
|
-
requireNumbers:
|
|
3066
|
-
requireSpecialCharacters:
|
|
3048
|
+
declare const realmAuthSettingsAtom: alepha1223.Atom<alepha1223.TObject<{
|
|
3049
|
+
registrationAllowed: alepha1223.TBoolean;
|
|
3050
|
+
emailEnabled: alepha1223.TBoolean;
|
|
3051
|
+
emailRequired: alepha1223.TBoolean;
|
|
3052
|
+
usernameEnabled: alepha1223.TBoolean;
|
|
3053
|
+
usernameRequired: alepha1223.TBoolean;
|
|
3054
|
+
phoneEnabled: alepha1223.TBoolean;
|
|
3055
|
+
phoneRequired: alepha1223.TBoolean;
|
|
3056
|
+
verifyEmailRequired: alepha1223.TBoolean;
|
|
3057
|
+
verifyPhoneRequired: alepha1223.TBoolean;
|
|
3058
|
+
firstNameLastNameEnabled: alepha1223.TBoolean;
|
|
3059
|
+
firstNameLastNameRequired: alepha1223.TBoolean;
|
|
3060
|
+
resetPasswordAllowed: alepha1223.TBoolean;
|
|
3061
|
+
passwordPolicy: alepha1223.TObject<{
|
|
3062
|
+
minLength: alepha1223.TInteger;
|
|
3063
|
+
requireUppercase: alepha1223.TBoolean;
|
|
3064
|
+
requireLowercase: alepha1223.TBoolean;
|
|
3065
|
+
requireNumbers: alepha1223.TBoolean;
|
|
3066
|
+
requireSpecialCharacters: alepha1223.TBoolean;
|
|
3067
3067
|
}>;
|
|
3068
3068
|
}>, "alepha.api.users.realmAuthSettings">;
|
|
3069
3069
|
type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
|
|
@@ -3959,11 +3959,11 @@ declare class DrizzleKitProvider {
|
|
|
3959
3959
|
*/
|
|
3960
3960
|
protected importDrizzleKit(): typeof DrizzleKit;
|
|
3961
3961
|
}
|
|
3962
|
-
declare const devMigrationsSchema:
|
|
3963
|
-
id:
|
|
3964
|
-
name:
|
|
3965
|
-
snapshot:
|
|
3966
|
-
created_at:
|
|
3962
|
+
declare const devMigrationsSchema: alepha1223.TObject<{
|
|
3963
|
+
id: alepha1223.TNumber;
|
|
3964
|
+
name: alepha1223.TString;
|
|
3965
|
+
snapshot: alepha1223.TString;
|
|
3966
|
+
created_at: alepha1223.TString;
|
|
3967
3967
|
}>;
|
|
3968
3968
|
type DevMigrations = Static<typeof devMigrationsSchema>;
|
|
3969
3969
|
//#endregion
|
|
@@ -4160,7 +4160,7 @@ declare class QueryManager {
|
|
|
4160
4160
|
createPagination<T$1>(entities: T$1[], limit?: number, offset?: number, sort?: Array<{
|
|
4161
4161
|
column: string;
|
|
4162
4162
|
direction: "asc" | "desc";
|
|
4163
|
-
}>):
|
|
4163
|
+
}>): alepha1223.Page<T$1>;
|
|
4164
4164
|
}
|
|
4165
4165
|
interface PgJoin {
|
|
4166
4166
|
table: string;
|
|
@@ -4465,8 +4465,8 @@ interface StatementOptions {
|
|
|
4465
4465
|
}
|
|
4466
4466
|
//#endregion
|
|
4467
4467
|
//#region ../alepha/src/lock/descriptors/$lock.d.ts
|
|
4468
|
-
declare const envSchema$2:
|
|
4469
|
-
LOCK_PREFIX_KEY:
|
|
4468
|
+
declare const envSchema$2: alepha1223.TObject<{
|
|
4469
|
+
LOCK_PREFIX_KEY: alepha1223.TString;
|
|
4470
4470
|
}>;
|
|
4471
4471
|
declare module "alepha" {
|
|
4472
4472
|
interface Env extends Partial<Static<typeof envSchema$2>> {}
|
|
@@ -4476,7 +4476,7 @@ declare module "alepha" {
|
|
|
4476
4476
|
declare module "alepha" {
|
|
4477
4477
|
interface Env extends Partial<Static<typeof envSchema$1>> {}
|
|
4478
4478
|
}
|
|
4479
|
-
declare const envSchema$1:
|
|
4479
|
+
declare const envSchema$1: alepha1223.TObject<{
|
|
4480
4480
|
/**
|
|
4481
4481
|
* Main configuration for database connection.
|
|
4482
4482
|
* Accept a string in the format of a Postgres connection URL.
|
|
@@ -4484,21 +4484,21 @@ declare const envSchema$1: alepha1198.TObject<{
|
|
|
4484
4484
|
* or
|
|
4485
4485
|
* Example: postgres://user:password@localhost:5432/database?sslmode=require
|
|
4486
4486
|
*/
|
|
4487
|
-
DATABASE_URL:
|
|
4487
|
+
DATABASE_URL: alepha1223.TOptional<alepha1223.TString>;
|
|
4488
4488
|
/**
|
|
4489
4489
|
* In addition to the DATABASE_URL, you can specify the postgres schema name.
|
|
4490
4490
|
*
|
|
4491
4491
|
* It will monkey patch drizzle tables.
|
|
4492
4492
|
*/
|
|
4493
|
-
POSTGRES_SCHEMA:
|
|
4493
|
+
POSTGRES_SCHEMA: alepha1223.TOptional<alepha1223.TString>;
|
|
4494
4494
|
}>;
|
|
4495
4495
|
//#endregion
|
|
4496
4496
|
//#region ../alepha/src/orm/providers/drivers/NodeSqliteProvider.d.ts
|
|
4497
4497
|
/**
|
|
4498
4498
|
* Configuration options for the Node.js SQLite database provider.
|
|
4499
4499
|
*/
|
|
4500
|
-
declare const nodeSqliteOptions:
|
|
4501
|
-
path:
|
|
4500
|
+
declare const nodeSqliteOptions: alepha1223.Atom<alepha1223.TObject<{
|
|
4501
|
+
path: alepha1223.TOptional<alepha1223.TString>;
|
|
4502
4502
|
}>, "alepha.postgres.node-sqlite.options">;
|
|
4503
4503
|
type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
|
|
4504
4504
|
declare module "alepha" {
|
|
@@ -4582,16 +4582,16 @@ declare module "alepha" {
|
|
|
4582
4582
|
}
|
|
4583
4583
|
//#endregion
|
|
4584
4584
|
//#region ../alepha/src/api-users/entities/identities.d.ts
|
|
4585
|
-
declare const identities: EntityDescriptor<
|
|
4586
|
-
id: PgAttr<PgAttr<
|
|
4587
|
-
version: PgAttr<PgAttr<
|
|
4588
|
-
createdAt: PgAttr<PgAttr<
|
|
4589
|
-
updatedAt: PgAttr<PgAttr<
|
|
4590
|
-
userId: PgAttr<
|
|
4591
|
-
password:
|
|
4592
|
-
provider:
|
|
4593
|
-
providerUserId:
|
|
4594
|
-
providerData:
|
|
4585
|
+
declare const identities: EntityDescriptor<alepha1223.TObject<{
|
|
4586
|
+
id: PgAttr<PgAttr<alepha1223.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4587
|
+
version: PgAttr<PgAttr<alepha1223.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4588
|
+
createdAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4589
|
+
updatedAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4590
|
+
userId: PgAttr<alepha1223.TString, typeof PG_REF>;
|
|
4591
|
+
password: alepha1223.TOptional<alepha1223.TString>;
|
|
4592
|
+
provider: alepha1223.TString;
|
|
4593
|
+
providerUserId: alepha1223.TOptional<alepha1223.TString>;
|
|
4594
|
+
providerData: alepha1223.TOptional<alepha1223.TRecord<string, alepha1223.TAny>>;
|
|
4595
4595
|
}>>;
|
|
4596
4596
|
//#endregion
|
|
4597
4597
|
//#region ../alepha/src/bucket/providers/FileStorageProvider.d.ts
|
|
@@ -4818,8 +4818,8 @@ interface BucketFileOptions {
|
|
|
4818
4818
|
/**
|
|
4819
4819
|
* Local file storage configuration atom
|
|
4820
4820
|
*/
|
|
4821
|
-
declare const localFileStorageOptions:
|
|
4822
|
-
storagePath:
|
|
4821
|
+
declare const localFileStorageOptions: alepha1223.Atom<alepha1223.TObject<{
|
|
4822
|
+
storagePath: alepha1223.TString;
|
|
4823
4823
|
}>, "alepha.bucket.local.options">;
|
|
4824
4824
|
type LocalFileStorageProviderOptions = Static<typeof localFileStorageOptions.schema>;
|
|
4825
4825
|
declare module "alepha" {
|
|
@@ -4863,38 +4863,38 @@ declare module "alepha" {
|
|
|
4863
4863
|
*/
|
|
4864
4864
|
//#endregion
|
|
4865
4865
|
//#region ../alepha/src/api-users/entities/sessions.d.ts
|
|
4866
|
-
declare const sessions: EntityDescriptor<
|
|
4867
|
-
id: PgAttr<PgAttr<
|
|
4868
|
-
version: PgAttr<PgAttr<
|
|
4869
|
-
createdAt: PgAttr<PgAttr<
|
|
4870
|
-
updatedAt: PgAttr<PgAttr<
|
|
4871
|
-
refreshToken:
|
|
4872
|
-
userId: PgAttr<
|
|
4873
|
-
expiresAt:
|
|
4874
|
-
ip:
|
|
4875
|
-
userAgent:
|
|
4876
|
-
os:
|
|
4877
|
-
browser:
|
|
4878
|
-
device:
|
|
4866
|
+
declare const sessions: EntityDescriptor<alepha1223.TObject<{
|
|
4867
|
+
id: PgAttr<PgAttr<alepha1223.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4868
|
+
version: PgAttr<PgAttr<alepha1223.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4869
|
+
createdAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4870
|
+
updatedAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4871
|
+
refreshToken: alepha1223.TString;
|
|
4872
|
+
userId: PgAttr<alepha1223.TString, typeof PG_REF>;
|
|
4873
|
+
expiresAt: alepha1223.TString;
|
|
4874
|
+
ip: alepha1223.TOptional<alepha1223.TString>;
|
|
4875
|
+
userAgent: alepha1223.TOptional<alepha1223.TObject<{
|
|
4876
|
+
os: alepha1223.TString;
|
|
4877
|
+
browser: alepha1223.TString;
|
|
4878
|
+
device: alepha1223.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
4879
4879
|
}>>;
|
|
4880
4880
|
}>>;
|
|
4881
4881
|
//#endregion
|
|
4882
4882
|
//#region ../alepha/src/api-users/entities/users.d.ts
|
|
4883
|
-
declare const users: EntityDescriptor<
|
|
4884
|
-
id: PgAttr<PgAttr<
|
|
4885
|
-
version: PgAttr<PgAttr<
|
|
4886
|
-
createdAt: PgAttr<PgAttr<
|
|
4887
|
-
updatedAt: PgAttr<PgAttr<
|
|
4888
|
-
realm: PgAttr<
|
|
4889
|
-
username:
|
|
4890
|
-
email:
|
|
4891
|
-
phoneNumber:
|
|
4892
|
-
roles: PgAttr<
|
|
4893
|
-
firstName:
|
|
4894
|
-
lastName:
|
|
4895
|
-
picture:
|
|
4896
|
-
enabled: PgAttr<
|
|
4897
|
-
emailVerified: PgAttr<
|
|
4883
|
+
declare const users: EntityDescriptor<alepha1223.TObject<{
|
|
4884
|
+
id: PgAttr<PgAttr<alepha1223.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4885
|
+
version: PgAttr<PgAttr<alepha1223.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4886
|
+
createdAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4887
|
+
updatedAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4888
|
+
realm: PgAttr<alepha1223.TString, typeof PG_DEFAULT>;
|
|
4889
|
+
username: alepha1223.TOptional<alepha1223.TString>;
|
|
4890
|
+
email: alepha1223.TOptional<alepha1223.TString>;
|
|
4891
|
+
phoneNumber: alepha1223.TOptional<alepha1223.TString>;
|
|
4892
|
+
roles: PgAttr<alepha1223.TArray<alepha1223.TString>, typeof PG_DEFAULT>;
|
|
4893
|
+
firstName: alepha1223.TOptional<alepha1223.TString>;
|
|
4894
|
+
lastName: alepha1223.TOptional<alepha1223.TString>;
|
|
4895
|
+
picture: alepha1223.TOptional<alepha1223.TString>;
|
|
4896
|
+
enabled: PgAttr<alepha1223.TBoolean, typeof PG_DEFAULT>;
|
|
4897
|
+
emailVerified: PgAttr<alepha1223.TBoolean, typeof PG_DEFAULT>;
|
|
4898
4898
|
}>>;
|
|
4899
4899
|
//#endregion
|
|
4900
4900
|
//#region ../alepha/src/api-users/providers/UserRealmProvider.d.ts
|
|
@@ -4910,51 +4910,51 @@ interface UserRealm {
|
|
|
4910
4910
|
}
|
|
4911
4911
|
declare class UserRealmProvider {
|
|
4912
4912
|
protected readonly alepha: Alepha;
|
|
4913
|
-
protected readonly defaultIdentities: Repository<
|
|
4914
|
-
id: PgAttr<PgAttr<
|
|
4915
|
-
version: PgAttr<PgAttr<
|
|
4916
|
-
createdAt: PgAttr<PgAttr<
|
|
4917
|
-
updatedAt: PgAttr<PgAttr<
|
|
4918
|
-
userId: PgAttr<
|
|
4919
|
-
password:
|
|
4920
|
-
provider:
|
|
4921
|
-
providerUserId:
|
|
4922
|
-
providerData:
|
|
4913
|
+
protected readonly defaultIdentities: Repository<alepha1223.TObject<{
|
|
4914
|
+
id: PgAttr<PgAttr<alepha1223.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4915
|
+
version: PgAttr<PgAttr<alepha1223.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4916
|
+
createdAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4917
|
+
updatedAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4918
|
+
userId: PgAttr<alepha1223.TString, typeof PG_REF>;
|
|
4919
|
+
password: alepha1223.TOptional<alepha1223.TString>;
|
|
4920
|
+
provider: alepha1223.TString;
|
|
4921
|
+
providerUserId: alepha1223.TOptional<alepha1223.TString>;
|
|
4922
|
+
providerData: alepha1223.TOptional<alepha1223.TRecord<string, alepha1223.TAny>>;
|
|
4923
4923
|
}>>;
|
|
4924
|
-
protected readonly defaultSessions: Repository<
|
|
4925
|
-
id: PgAttr<PgAttr<
|
|
4926
|
-
version: PgAttr<PgAttr<
|
|
4927
|
-
createdAt: PgAttr<PgAttr<
|
|
4928
|
-
updatedAt: PgAttr<PgAttr<
|
|
4929
|
-
refreshToken:
|
|
4930
|
-
userId: PgAttr<
|
|
4931
|
-
expiresAt:
|
|
4932
|
-
ip:
|
|
4933
|
-
userAgent:
|
|
4934
|
-
os:
|
|
4935
|
-
browser:
|
|
4936
|
-
device:
|
|
4924
|
+
protected readonly defaultSessions: Repository<alepha1223.TObject<{
|
|
4925
|
+
id: PgAttr<PgAttr<alepha1223.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4926
|
+
version: PgAttr<PgAttr<alepha1223.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4927
|
+
createdAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4928
|
+
updatedAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4929
|
+
refreshToken: alepha1223.TString;
|
|
4930
|
+
userId: PgAttr<alepha1223.TString, typeof PG_REF>;
|
|
4931
|
+
expiresAt: alepha1223.TString;
|
|
4932
|
+
ip: alepha1223.TOptional<alepha1223.TString>;
|
|
4933
|
+
userAgent: alepha1223.TOptional<alepha1223.TObject<{
|
|
4934
|
+
os: alepha1223.TString;
|
|
4935
|
+
browser: alepha1223.TString;
|
|
4936
|
+
device: alepha1223.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
4937
4937
|
}>>;
|
|
4938
4938
|
}>>;
|
|
4939
|
-
protected readonly defaultUsers: Repository<
|
|
4940
|
-
id: PgAttr<PgAttr<
|
|
4941
|
-
version: PgAttr<PgAttr<
|
|
4942
|
-
createdAt: PgAttr<PgAttr<
|
|
4943
|
-
updatedAt: PgAttr<PgAttr<
|
|
4944
|
-
realm: PgAttr<
|
|
4945
|
-
username:
|
|
4946
|
-
email:
|
|
4947
|
-
phoneNumber:
|
|
4948
|
-
roles: PgAttr<
|
|
4949
|
-
firstName:
|
|
4950
|
-
lastName:
|
|
4951
|
-
picture:
|
|
4952
|
-
enabled: PgAttr<
|
|
4953
|
-
emailVerified: PgAttr<
|
|
4939
|
+
protected readonly defaultUsers: Repository<alepha1223.TObject<{
|
|
4940
|
+
id: PgAttr<PgAttr<alepha1223.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4941
|
+
version: PgAttr<PgAttr<alepha1223.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4942
|
+
createdAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4943
|
+
updatedAt: PgAttr<PgAttr<alepha1223.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4944
|
+
realm: PgAttr<alepha1223.TString, typeof PG_DEFAULT>;
|
|
4945
|
+
username: alepha1223.TOptional<alepha1223.TString>;
|
|
4946
|
+
email: alepha1223.TOptional<alepha1223.TString>;
|
|
4947
|
+
phoneNumber: alepha1223.TOptional<alepha1223.TString>;
|
|
4948
|
+
roles: PgAttr<alepha1223.TArray<alepha1223.TString>, typeof PG_DEFAULT>;
|
|
4949
|
+
firstName: alepha1223.TOptional<alepha1223.TString>;
|
|
4950
|
+
lastName: alepha1223.TOptional<alepha1223.TString>;
|
|
4951
|
+
picture: alepha1223.TOptional<alepha1223.TString>;
|
|
4952
|
+
enabled: PgAttr<alepha1223.TBoolean, typeof PG_DEFAULT>;
|
|
4953
|
+
emailVerified: PgAttr<alepha1223.TBoolean, typeof PG_DEFAULT>;
|
|
4954
4954
|
}>>;
|
|
4955
4955
|
protected realms: Map<string, UserRealm>;
|
|
4956
4956
|
avatars: BucketDescriptor;
|
|
4957
|
-
protected readonly onConfigure:
|
|
4957
|
+
protected readonly onConfigure: alepha1223.HookDescriptor<"configure">;
|
|
4958
4958
|
register(userRealmName: string, userRealmOptions?: UserRealmOptions): void;
|
|
4959
4959
|
/**
|
|
4960
4960
|
* Gets a registered realm by name, auto-creating default if needed.
|
|
@@ -4969,21 +4969,21 @@ declare class UserRealmProvider {
|
|
|
4969
4969
|
/**
|
|
4970
4970
|
* Verification settings configuration atom
|
|
4971
4971
|
*/
|
|
4972
|
-
declare const verificationOptions:
|
|
4973
|
-
code:
|
|
4974
|
-
maxAttempts:
|
|
4975
|
-
codeLength:
|
|
4976
|
-
codeExpiration:
|
|
4977
|
-
verificationCooldown:
|
|
4978
|
-
limitPerDay:
|
|
4972
|
+
declare const verificationOptions: alepha1223.Atom<alepha1223.TObject<{
|
|
4973
|
+
code: alepha1223.TObject<{
|
|
4974
|
+
maxAttempts: alepha1223.TInteger;
|
|
4975
|
+
codeLength: alepha1223.TInteger;
|
|
4976
|
+
codeExpiration: alepha1223.TInteger;
|
|
4977
|
+
verificationCooldown: alepha1223.TInteger;
|
|
4978
|
+
limitPerDay: alepha1223.TInteger;
|
|
4979
4979
|
}>;
|
|
4980
|
-
link:
|
|
4981
|
-
maxAttempts:
|
|
4982
|
-
codeExpiration:
|
|
4983
|
-
verificationCooldown:
|
|
4984
|
-
limitPerDay:
|
|
4980
|
+
link: alepha1223.TObject<{
|
|
4981
|
+
maxAttempts: alepha1223.TInteger;
|
|
4982
|
+
codeExpiration: alepha1223.TInteger;
|
|
4983
|
+
verificationCooldown: alepha1223.TInteger;
|
|
4984
|
+
limitPerDay: alepha1223.TInteger;
|
|
4985
4985
|
}>;
|
|
4986
|
-
purgeDays:
|
|
4986
|
+
purgeDays: alepha1223.TInteger;
|
|
4987
4987
|
}>, "alepha.api.verifications.options">;
|
|
4988
4988
|
type VerificationOptions = Static<typeof verificationOptions.schema>;
|
|
4989
4989
|
declare module "alepha" {
|
|
@@ -5041,38 +5041,38 @@ declare module "alepha" {
|
|
|
5041
5041
|
*/
|
|
5042
5042
|
//#endregion
|
|
5043
5043
|
//#region ../alepha/src/api-notifications/services/NotificationService.d.ts
|
|
5044
|
-
declare const notificationServiceEnvSchema:
|
|
5045
|
-
NOTIFICATION_QUEUE:
|
|
5044
|
+
declare const notificationServiceEnvSchema: alepha1223.TObject<{
|
|
5045
|
+
NOTIFICATION_QUEUE: alepha1223.TOptional<alepha1223.TBoolean>;
|
|
5046
5046
|
}>;
|
|
5047
5047
|
declare module "alepha" {
|
|
5048
5048
|
interface Env extends Partial<Static<typeof notificationServiceEnvSchema>> {}
|
|
5049
5049
|
}
|
|
5050
5050
|
//#endregion
|
|
5051
5051
|
//#region ../alepha/src/queue/providers/WorkerProvider.d.ts
|
|
5052
|
-
declare const envSchema:
|
|
5052
|
+
declare const envSchema: alepha1223.TObject<{
|
|
5053
5053
|
/**
|
|
5054
5054
|
* The timeout in seconds for blocking job acquisition.
|
|
5055
5055
|
* Workers will check for shutdown after each timeout period.
|
|
5056
5056
|
*/
|
|
5057
|
-
QUEUE_WORKER_BLOCKING_TIMEOUT:
|
|
5057
|
+
QUEUE_WORKER_BLOCKING_TIMEOUT: alepha1223.TInteger;
|
|
5058
5058
|
/**
|
|
5059
5059
|
* The number of workers to run concurrently. Defaults to 1.
|
|
5060
5060
|
* Useful only if you are doing a lot of I/O.
|
|
5061
5061
|
*/
|
|
5062
|
-
QUEUE_WORKER_CONCURRENCY:
|
|
5062
|
+
QUEUE_WORKER_CONCURRENCY: alepha1223.TInteger;
|
|
5063
5063
|
/**
|
|
5064
5064
|
* Interval in milliseconds for renewing job locks during processing.
|
|
5065
5065
|
* Should be less than the job's lock duration.
|
|
5066
5066
|
*/
|
|
5067
|
-
QUEUE_WORKER_LOCK_RENEWAL_INTERVAL:
|
|
5067
|
+
QUEUE_WORKER_LOCK_RENEWAL_INTERVAL: alepha1223.TInteger;
|
|
5068
5068
|
/**
|
|
5069
5069
|
* Interval in milliseconds for the scheduler to check delayed jobs and stalled jobs.
|
|
5070
5070
|
*/
|
|
5071
|
-
QUEUE_SCHEDULER_INTERVAL:
|
|
5071
|
+
QUEUE_SCHEDULER_INTERVAL: alepha1223.TInteger;
|
|
5072
5072
|
/**
|
|
5073
5073
|
* Threshold in milliseconds after lock expiration to consider a job stalled.
|
|
5074
5074
|
*/
|
|
5075
|
-
QUEUE_STALLED_THRESHOLD:
|
|
5075
|
+
QUEUE_STALLED_THRESHOLD: alepha1223.TInteger;
|
|
5076
5076
|
}>;
|
|
5077
5077
|
declare module "alepha" {
|
|
5078
5078
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
@@ -5098,9 +5098,9 @@ declare class ServerCookiesProvider {
|
|
|
5098
5098
|
protected readonly IV_LENGTH = 16;
|
|
5099
5099
|
protected readonly AUTH_TAG_LENGTH = 16;
|
|
5100
5100
|
protected readonly SIGNATURE_LENGTH = 32;
|
|
5101
|
-
readonly onRequest:
|
|
5102
|
-
readonly onAction:
|
|
5103
|
-
readonly onSend:
|
|
5101
|
+
readonly onRequest: alepha1223.HookDescriptor<"server:onRequest">;
|
|
5102
|
+
readonly onAction: alepha1223.HookDescriptor<"action:onRequest">;
|
|
5103
|
+
readonly onSend: alepha1223.HookDescriptor<"server:onSend">;
|
|
5104
5104
|
protected getCookiesFromContext(cookies?: Cookies): Cookies;
|
|
5105
5105
|
getCookie<T$1 extends TSchema>(name: string, options: CookieDescriptorOptions<T$1>, contextCookies?: Cookies): Static<T$1> | undefined;
|
|
5106
5106
|
setCookie<T$1 extends TSchema>(name: string, options: CookieDescriptorOptions<T$1>, data: Static<T$1>, contextCookies?: Cookies): void;
|
|
@@ -5182,23 +5182,23 @@ declare module "alepha/server" {
|
|
|
5182
5182
|
*/
|
|
5183
5183
|
//#endregion
|
|
5184
5184
|
//#region ../alepha/src/server-auth/schemas/authenticationProviderSchema.d.ts
|
|
5185
|
-
declare const authenticationProviderSchema:
|
|
5186
|
-
name:
|
|
5187
|
-
type:
|
|
5185
|
+
declare const authenticationProviderSchema: alepha1223.TObject<{
|
|
5186
|
+
name: alepha1223.TString;
|
|
5187
|
+
type: alepha1223.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
|
|
5188
5188
|
}>;
|
|
5189
5189
|
type AuthenticationProvider = Static<typeof authenticationProviderSchema>;
|
|
5190
5190
|
//#endregion
|
|
5191
5191
|
//#region ../alepha/src/server-auth/schemas/tokensSchema.d.ts
|
|
5192
|
-
declare const tokensSchema:
|
|
5193
|
-
provider:
|
|
5194
|
-
access_token:
|
|
5195
|
-
issued_at:
|
|
5196
|
-
expires_in:
|
|
5197
|
-
refresh_token:
|
|
5198
|
-
refresh_token_expires_in:
|
|
5199
|
-
refresh_expires_in:
|
|
5200
|
-
id_token:
|
|
5201
|
-
scope:
|
|
5192
|
+
declare const tokensSchema: alepha1223.TObject<{
|
|
5193
|
+
provider: alepha1223.TString;
|
|
5194
|
+
access_token: alepha1223.TString;
|
|
5195
|
+
issued_at: alepha1223.TNumber;
|
|
5196
|
+
expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5197
|
+
refresh_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5198
|
+
refresh_token_expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5199
|
+
refresh_expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5200
|
+
id_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5201
|
+
scope: alepha1223.TOptional<alepha1223.TString>;
|
|
5202
5202
|
}>;
|
|
5203
5203
|
type Tokens = Static<typeof tokensSchema>;
|
|
5204
5204
|
//#endregion
|
|
@@ -5209,34 +5209,34 @@ declare class ServerAuthProvider {
|
|
|
5209
5209
|
protected readonly serverCookiesProvider: ServerCookiesProvider;
|
|
5210
5210
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
5211
5211
|
protected readonly serverLinksProvider: ServerLinksProvider;
|
|
5212
|
-
protected readonly authorizationCode: AbstractCookieDescriptor<
|
|
5213
|
-
provider:
|
|
5214
|
-
codeVerifier:
|
|
5215
|
-
redirectUri:
|
|
5216
|
-
state:
|
|
5217
|
-
nonce:
|
|
5212
|
+
protected readonly authorizationCode: AbstractCookieDescriptor<alepha1223.TObject<{
|
|
5213
|
+
provider: alepha1223.TString;
|
|
5214
|
+
codeVerifier: alepha1223.TOptional<alepha1223.TString>;
|
|
5215
|
+
redirectUri: alepha1223.TOptional<alepha1223.TString>;
|
|
5216
|
+
state: alepha1223.TOptional<alepha1223.TString>;
|
|
5217
|
+
nonce: alepha1223.TOptional<alepha1223.TString>;
|
|
5218
5218
|
}>>;
|
|
5219
|
-
readonly tokens: AbstractCookieDescriptor<
|
|
5220
|
-
provider:
|
|
5221
|
-
access_token:
|
|
5222
|
-
issued_at:
|
|
5223
|
-
expires_in:
|
|
5224
|
-
refresh_token:
|
|
5225
|
-
refresh_token_expires_in:
|
|
5226
|
-
refresh_expires_in:
|
|
5227
|
-
id_token:
|
|
5228
|
-
scope:
|
|
5219
|
+
readonly tokens: AbstractCookieDescriptor<alepha1223.TObject<{
|
|
5220
|
+
provider: alepha1223.TString;
|
|
5221
|
+
access_token: alepha1223.TString;
|
|
5222
|
+
issued_at: alepha1223.TNumber;
|
|
5223
|
+
expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5224
|
+
refresh_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5225
|
+
refresh_token_expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5226
|
+
refresh_expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5227
|
+
id_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5228
|
+
scope: alepha1223.TOptional<alepha1223.TString>;
|
|
5229
5229
|
}>>;
|
|
5230
5230
|
get identities(): Array<AuthDescriptor>;
|
|
5231
5231
|
getAuthenticationProviders(filters?: {
|
|
5232
5232
|
realmName?: string;
|
|
5233
5233
|
}): AuthenticationProvider[];
|
|
5234
|
-
protected readonly configure:
|
|
5234
|
+
protected readonly configure: alepha1223.HookDescriptor<"configure">;
|
|
5235
5235
|
protected getAccessTokens(tokens: Tokens): string | undefined;
|
|
5236
5236
|
/**
|
|
5237
5237
|
* Fill request headers with access token from cookies or fallback to provider's fallback function.
|
|
5238
5238
|
*/
|
|
5239
|
-
protected readonly onRequest:
|
|
5239
|
+
protected readonly onRequest: alepha1223.HookDescriptor<"server:onRequest">;
|
|
5240
5240
|
/**
|
|
5241
5241
|
* Convert cookies to tokens.
|
|
5242
5242
|
* If the tokens are expired, try to refresh them using the refresh token.
|
|
@@ -5247,26 +5247,26 @@ declare class ServerAuthProvider {
|
|
|
5247
5247
|
* Get user information.
|
|
5248
5248
|
*/
|
|
5249
5249
|
readonly userinfo: RouteDescriptor<{
|
|
5250
|
-
response:
|
|
5251
|
-
user:
|
|
5252
|
-
id:
|
|
5253
|
-
name:
|
|
5254
|
-
email:
|
|
5255
|
-
username:
|
|
5256
|
-
picture:
|
|
5257
|
-
sessionId:
|
|
5258
|
-
organizations:
|
|
5259
|
-
roles:
|
|
5250
|
+
response: alepha1223.TObject<{
|
|
5251
|
+
user: alepha1223.TOptional<alepha1223.TObject<{
|
|
5252
|
+
id: alepha1223.TString;
|
|
5253
|
+
name: alepha1223.TOptional<alepha1223.TString>;
|
|
5254
|
+
email: alepha1223.TOptional<alepha1223.TString>;
|
|
5255
|
+
username: alepha1223.TOptional<alepha1223.TString>;
|
|
5256
|
+
picture: alepha1223.TOptional<alepha1223.TString>;
|
|
5257
|
+
sessionId: alepha1223.TOptional<alepha1223.TString>;
|
|
5258
|
+
organizations: alepha1223.TOptional<alepha1223.TArray<alepha1223.TString>>;
|
|
5259
|
+
roles: alepha1223.TOptional<alepha1223.TArray<alepha1223.TString>>;
|
|
5260
5260
|
}>>;
|
|
5261
|
-
api:
|
|
5262
|
-
prefix:
|
|
5263
|
-
links:
|
|
5264
|
-
name:
|
|
5265
|
-
group:
|
|
5266
|
-
path:
|
|
5267
|
-
method:
|
|
5268
|
-
requestBodyType:
|
|
5269
|
-
service:
|
|
5261
|
+
api: alepha1223.TObject<{
|
|
5262
|
+
prefix: alepha1223.TOptional<alepha1223.TString>;
|
|
5263
|
+
links: alepha1223.TArray<alepha1223.TObject<{
|
|
5264
|
+
name: alepha1223.TString;
|
|
5265
|
+
group: alepha1223.TOptional<alepha1223.TString>;
|
|
5266
|
+
path: alepha1223.TString;
|
|
5267
|
+
method: alepha1223.TOptional<alepha1223.TString>;
|
|
5268
|
+
requestBodyType: alepha1223.TOptional<alepha1223.TString>;
|
|
5269
|
+
service: alepha1223.TOptional<alepha1223.TString>;
|
|
5270
5270
|
}>>;
|
|
5271
5271
|
}>;
|
|
5272
5272
|
}>;
|
|
@@ -5275,65 +5275,65 @@ declare class ServerAuthProvider {
|
|
|
5275
5275
|
* Refresh a token for internal providers.
|
|
5276
5276
|
*/
|
|
5277
5277
|
readonly refresh: RouteDescriptor<{
|
|
5278
|
-
query:
|
|
5279
|
-
provider:
|
|
5278
|
+
query: alepha1223.TObject<{
|
|
5279
|
+
provider: alepha1223.TString;
|
|
5280
5280
|
}>;
|
|
5281
|
-
body:
|
|
5282
|
-
refresh_token:
|
|
5283
|
-
access_token:
|
|
5281
|
+
body: alepha1223.TObject<{
|
|
5282
|
+
refresh_token: alepha1223.TString;
|
|
5283
|
+
access_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5284
5284
|
}>;
|
|
5285
|
-
response:
|
|
5286
|
-
provider:
|
|
5287
|
-
access_token:
|
|
5288
|
-
issued_at:
|
|
5289
|
-
expires_in:
|
|
5290
|
-
refresh_token:
|
|
5291
|
-
refresh_token_expires_in:
|
|
5292
|
-
refresh_expires_in:
|
|
5293
|
-
id_token:
|
|
5294
|
-
scope:
|
|
5285
|
+
response: alepha1223.TObject<{
|
|
5286
|
+
provider: alepha1223.TString;
|
|
5287
|
+
access_token: alepha1223.TString;
|
|
5288
|
+
issued_at: alepha1223.TNumber;
|
|
5289
|
+
expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5290
|
+
refresh_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5291
|
+
refresh_token_expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5292
|
+
refresh_expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5293
|
+
id_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5294
|
+
scope: alepha1223.TOptional<alepha1223.TString>;
|
|
5295
5295
|
}>;
|
|
5296
5296
|
}>;
|
|
5297
5297
|
/**
|
|
5298
5298
|
* Login for local password-based authentication.
|
|
5299
5299
|
*/
|
|
5300
5300
|
readonly token: RouteDescriptor<{
|
|
5301
|
-
query:
|
|
5302
|
-
provider:
|
|
5301
|
+
query: alepha1223.TObject<{
|
|
5302
|
+
provider: alepha1223.TString;
|
|
5303
5303
|
}>;
|
|
5304
|
-
body:
|
|
5305
|
-
username:
|
|
5306
|
-
password:
|
|
5304
|
+
body: alepha1223.TObject<{
|
|
5305
|
+
username: alepha1223.TString;
|
|
5306
|
+
password: alepha1223.TString;
|
|
5307
5307
|
}>;
|
|
5308
|
-
response:
|
|
5309
|
-
provider:
|
|
5310
|
-
access_token:
|
|
5311
|
-
issued_at:
|
|
5312
|
-
expires_in:
|
|
5313
|
-
refresh_token:
|
|
5314
|
-
refresh_token_expires_in:
|
|
5315
|
-
refresh_expires_in:
|
|
5316
|
-
id_token:
|
|
5317
|
-
scope:
|
|
5318
|
-
user:
|
|
5319
|
-
id:
|
|
5320
|
-
name:
|
|
5321
|
-
email:
|
|
5322
|
-
username:
|
|
5323
|
-
picture:
|
|
5324
|
-
sessionId:
|
|
5325
|
-
organizations:
|
|
5326
|
-
roles:
|
|
5308
|
+
response: alepha1223.TObject<{
|
|
5309
|
+
provider: alepha1223.TString;
|
|
5310
|
+
access_token: alepha1223.TString;
|
|
5311
|
+
issued_at: alepha1223.TNumber;
|
|
5312
|
+
expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5313
|
+
refresh_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5314
|
+
refresh_token_expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5315
|
+
refresh_expires_in: alepha1223.TOptional<alepha1223.TNumber>;
|
|
5316
|
+
id_token: alepha1223.TOptional<alepha1223.TString>;
|
|
5317
|
+
scope: alepha1223.TOptional<alepha1223.TString>;
|
|
5318
|
+
user: alepha1223.TObject<{
|
|
5319
|
+
id: alepha1223.TString;
|
|
5320
|
+
name: alepha1223.TOptional<alepha1223.TString>;
|
|
5321
|
+
email: alepha1223.TOptional<alepha1223.TString>;
|
|
5322
|
+
username: alepha1223.TOptional<alepha1223.TString>;
|
|
5323
|
+
picture: alepha1223.TOptional<alepha1223.TString>;
|
|
5324
|
+
sessionId: alepha1223.TOptional<alepha1223.TString>;
|
|
5325
|
+
organizations: alepha1223.TOptional<alepha1223.TArray<alepha1223.TString>>;
|
|
5326
|
+
roles: alepha1223.TOptional<alepha1223.TArray<alepha1223.TString>>;
|
|
5327
5327
|
}>;
|
|
5328
|
-
api:
|
|
5329
|
-
prefix:
|
|
5330
|
-
links:
|
|
5331
|
-
name:
|
|
5332
|
-
group:
|
|
5333
|
-
path:
|
|
5334
|
-
method:
|
|
5335
|
-
requestBodyType:
|
|
5336
|
-
service:
|
|
5328
|
+
api: alepha1223.TObject<{
|
|
5329
|
+
prefix: alepha1223.TOptional<alepha1223.TString>;
|
|
5330
|
+
links: alepha1223.TArray<alepha1223.TObject<{
|
|
5331
|
+
name: alepha1223.TString;
|
|
5332
|
+
group: alepha1223.TOptional<alepha1223.TString>;
|
|
5333
|
+
path: alepha1223.TString;
|
|
5334
|
+
method: alepha1223.TOptional<alepha1223.TString>;
|
|
5335
|
+
requestBodyType: alepha1223.TOptional<alepha1223.TString>;
|
|
5336
|
+
service: alepha1223.TOptional<alepha1223.TString>;
|
|
5337
5337
|
}>>;
|
|
5338
5338
|
}>;
|
|
5339
5339
|
}>;
|
|
@@ -5342,9 +5342,9 @@ declare class ServerAuthProvider {
|
|
|
5342
5342
|
* Oauth2/OIDC login route.
|
|
5343
5343
|
*/
|
|
5344
5344
|
readonly login: RouteDescriptor<{
|
|
5345
|
-
query:
|
|
5346
|
-
provider:
|
|
5347
|
-
redirect_uri:
|
|
5345
|
+
query: alepha1223.TObject<{
|
|
5346
|
+
provider: alepha1223.TString;
|
|
5347
|
+
redirect_uri: alepha1223.TOptional<alepha1223.TString>;
|
|
5348
5348
|
}>;
|
|
5349
5349
|
}>;
|
|
5350
5350
|
/**
|
|
@@ -5356,8 +5356,8 @@ declare class ServerAuthProvider {
|
|
|
5356
5356
|
* Logout route for OAuth2/OIDC providers.
|
|
5357
5357
|
*/
|
|
5358
5358
|
readonly logout: RouteDescriptor<{
|
|
5359
|
-
query:
|
|
5360
|
-
post_logout_redirect_uri:
|
|
5359
|
+
query: alepha1223.TObject<{
|
|
5360
|
+
post_logout_redirect_uri: alepha1223.TOptional<alepha1223.TString>;
|
|
5361
5361
|
}>;
|
|
5362
5362
|
}>;
|
|
5363
5363
|
protected provider(opts: string | {
|
|
@@ -5616,47 +5616,47 @@ declare class UserRealmController {
|
|
|
5616
5616
|
* This endpoint is not exposed in the API documentation.
|
|
5617
5617
|
*/
|
|
5618
5618
|
readonly getRealmConfig: ActionDescriptorFn<{
|
|
5619
|
-
query:
|
|
5620
|
-
userRealmName:
|
|
5619
|
+
query: alepha1223.TObject<{
|
|
5620
|
+
userRealmName: alepha1223.TOptional<alepha1223.TString>;
|
|
5621
5621
|
}>;
|
|
5622
|
-
response:
|
|
5623
|
-
settings:
|
|
5624
|
-
registrationAllowed:
|
|
5625
|
-
emailEnabled:
|
|
5626
|
-
emailRequired:
|
|
5627
|
-
usernameEnabled:
|
|
5628
|
-
usernameRequired:
|
|
5629
|
-
phoneEnabled:
|
|
5630
|
-
phoneRequired:
|
|
5631
|
-
verifyEmailRequired:
|
|
5632
|
-
verifyPhoneRequired:
|
|
5633
|
-
firstNameLastNameEnabled:
|
|
5634
|
-
firstNameLastNameRequired:
|
|
5635
|
-
resetPasswordAllowed:
|
|
5636
|
-
passwordPolicy:
|
|
5637
|
-
minLength:
|
|
5638
|
-
requireUppercase:
|
|
5639
|
-
requireLowercase:
|
|
5640
|
-
requireNumbers:
|
|
5641
|
-
requireSpecialCharacters:
|
|
5622
|
+
response: alepha1223.TObject<{
|
|
5623
|
+
settings: alepha1223.TObject<{
|
|
5624
|
+
registrationAllowed: alepha1223.TBoolean;
|
|
5625
|
+
emailEnabled: alepha1223.TBoolean;
|
|
5626
|
+
emailRequired: alepha1223.TBoolean;
|
|
5627
|
+
usernameEnabled: alepha1223.TBoolean;
|
|
5628
|
+
usernameRequired: alepha1223.TBoolean;
|
|
5629
|
+
phoneEnabled: alepha1223.TBoolean;
|
|
5630
|
+
phoneRequired: alepha1223.TBoolean;
|
|
5631
|
+
verifyEmailRequired: alepha1223.TBoolean;
|
|
5632
|
+
verifyPhoneRequired: alepha1223.TBoolean;
|
|
5633
|
+
firstNameLastNameEnabled: alepha1223.TBoolean;
|
|
5634
|
+
firstNameLastNameRequired: alepha1223.TBoolean;
|
|
5635
|
+
resetPasswordAllowed: alepha1223.TBoolean;
|
|
5636
|
+
passwordPolicy: alepha1223.TObject<{
|
|
5637
|
+
minLength: alepha1223.TInteger;
|
|
5638
|
+
requireUppercase: alepha1223.TBoolean;
|
|
5639
|
+
requireLowercase: alepha1223.TBoolean;
|
|
5640
|
+
requireNumbers: alepha1223.TBoolean;
|
|
5641
|
+
requireSpecialCharacters: alepha1223.TBoolean;
|
|
5642
5642
|
}>;
|
|
5643
5643
|
}>;
|
|
5644
|
-
realmName:
|
|
5645
|
-
authenticationMethods:
|
|
5646
|
-
name:
|
|
5647
|
-
type:
|
|
5644
|
+
realmName: alepha1223.TString;
|
|
5645
|
+
authenticationMethods: alepha1223.TArray<alepha1223.TObject<{
|
|
5646
|
+
name: alepha1223.TString;
|
|
5647
|
+
type: alepha1223.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
|
|
5648
5648
|
}>>;
|
|
5649
5649
|
}>;
|
|
5650
5650
|
}>;
|
|
5651
5651
|
readonly checkUsernameAvailability: ActionDescriptorFn<{
|
|
5652
|
-
query:
|
|
5653
|
-
userRealmName:
|
|
5652
|
+
query: alepha1223.TObject<{
|
|
5653
|
+
userRealmName: alepha1223.TOptional<alepha1223.TString>;
|
|
5654
5654
|
}>;
|
|
5655
|
-
body:
|
|
5656
|
-
username:
|
|
5655
|
+
body: alepha1223.TObject<{
|
|
5656
|
+
username: alepha1223.TString;
|
|
5657
5657
|
}>;
|
|
5658
|
-
response:
|
|
5659
|
-
available:
|
|
5658
|
+
response: alepha1223.TObject<{
|
|
5659
|
+
available: alepha1223.TBoolean;
|
|
5660
5660
|
}>;
|
|
5661
5661
|
}>;
|
|
5662
5662
|
}
|
|
@@ -5692,32 +5692,32 @@ interface UserRealmOptions {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
//#endregion
|
|
5694
5694
|
//#region ../alepha/src/api-users/schemas/userRealmConfigSchema.d.ts
|
|
5695
|
-
declare const userRealmConfigSchema:
|
|
5696
|
-
settings:
|
|
5697
|
-
registrationAllowed:
|
|
5698
|
-
emailEnabled:
|
|
5699
|
-
emailRequired:
|
|
5700
|
-
usernameEnabled:
|
|
5701
|
-
usernameRequired:
|
|
5702
|
-
phoneEnabled:
|
|
5703
|
-
phoneRequired:
|
|
5704
|
-
verifyEmailRequired:
|
|
5705
|
-
verifyPhoneRequired:
|
|
5706
|
-
firstNameLastNameEnabled:
|
|
5707
|
-
firstNameLastNameRequired:
|
|
5708
|
-
resetPasswordAllowed:
|
|
5709
|
-
passwordPolicy:
|
|
5710
|
-
minLength:
|
|
5711
|
-
requireUppercase:
|
|
5712
|
-
requireLowercase:
|
|
5713
|
-
requireNumbers:
|
|
5714
|
-
requireSpecialCharacters:
|
|
5695
|
+
declare const userRealmConfigSchema: alepha1223.TObject<{
|
|
5696
|
+
settings: alepha1223.TObject<{
|
|
5697
|
+
registrationAllowed: alepha1223.TBoolean;
|
|
5698
|
+
emailEnabled: alepha1223.TBoolean;
|
|
5699
|
+
emailRequired: alepha1223.TBoolean;
|
|
5700
|
+
usernameEnabled: alepha1223.TBoolean;
|
|
5701
|
+
usernameRequired: alepha1223.TBoolean;
|
|
5702
|
+
phoneEnabled: alepha1223.TBoolean;
|
|
5703
|
+
phoneRequired: alepha1223.TBoolean;
|
|
5704
|
+
verifyEmailRequired: alepha1223.TBoolean;
|
|
5705
|
+
verifyPhoneRequired: alepha1223.TBoolean;
|
|
5706
|
+
firstNameLastNameEnabled: alepha1223.TBoolean;
|
|
5707
|
+
firstNameLastNameRequired: alepha1223.TBoolean;
|
|
5708
|
+
resetPasswordAllowed: alepha1223.TBoolean;
|
|
5709
|
+
passwordPolicy: alepha1223.TObject<{
|
|
5710
|
+
minLength: alepha1223.TInteger;
|
|
5711
|
+
requireUppercase: alepha1223.TBoolean;
|
|
5712
|
+
requireLowercase: alepha1223.TBoolean;
|
|
5713
|
+
requireNumbers: alepha1223.TBoolean;
|
|
5714
|
+
requireSpecialCharacters: alepha1223.TBoolean;
|
|
5715
5715
|
}>;
|
|
5716
5716
|
}>;
|
|
5717
|
-
realmName:
|
|
5718
|
-
authenticationMethods:
|
|
5719
|
-
name:
|
|
5720
|
-
type:
|
|
5717
|
+
realmName: alepha1223.TString;
|
|
5718
|
+
authenticationMethods: alepha1223.TArray<alepha1223.TObject<{
|
|
5719
|
+
name: alepha1223.TString;
|
|
5720
|
+
type: alepha1223.TUnsafe<"OAUTH2" | "OIDC" | "CREDENTIALS">;
|
|
5721
5721
|
}>>;
|
|
5722
5722
|
}>;
|
|
5723
5723
|
type UserRealmConfig = Static<typeof userRealmConfigSchema>;
|
|
@@ -5758,8 +5758,8 @@ declare module "alepha/bucket" {
|
|
|
5758
5758
|
declare class AuthRouter {
|
|
5759
5759
|
userRealmClient: HttpVirtualClient<UserRealmController>;
|
|
5760
5760
|
login: PageDescriptor<{
|
|
5761
|
-
query:
|
|
5762
|
-
redirect:
|
|
5761
|
+
query: alepha1223.TObject<{
|
|
5762
|
+
redirect: alepha1223.TOptional<alepha1223.TString>;
|
|
5763
5763
|
}>;
|
|
5764
5764
|
}, {
|
|
5765
5765
|
realmConfig: {
|
|
@@ -5792,8 +5792,8 @@ declare class AuthRouter {
|
|
|
5792
5792
|
};
|
|
5793
5793
|
}, TPropsParentDefault>;
|
|
5794
5794
|
register: PageDescriptor<{
|
|
5795
|
-
query:
|
|
5796
|
-
redirect:
|
|
5795
|
+
query: alepha1223.TObject<{
|
|
5796
|
+
redirect: alepha1223.TOptional<alepha1223.TString>;
|
|
5797
5797
|
}>;
|
|
5798
5798
|
}, {
|
|
5799
5799
|
realmConfig: {
|
|
@@ -5826,8 +5826,8 @@ declare class AuthRouter {
|
|
|
5826
5826
|
};
|
|
5827
5827
|
}, TPropsParentDefault>;
|
|
5828
5828
|
resetPassword: PageDescriptor<{
|
|
5829
|
-
query:
|
|
5830
|
-
redirect:
|
|
5829
|
+
query: alepha1223.TObject<{
|
|
5830
|
+
redirect: alepha1223.TOptional<alepha1223.TString>;
|
|
5831
5831
|
}>;
|
|
5832
5832
|
}, {
|
|
5833
5833
|
realmConfig: {
|
|
@@ -6268,7 +6268,7 @@ declare const ResetPassword: (props: ResetPasswordProps) => react_jsx_runtime0.J
|
|
|
6268
6268
|
*
|
|
6269
6269
|
* @module alepha.ui.auth
|
|
6270
6270
|
*/
|
|
6271
|
-
declare const AlephaUIAuth:
|
|
6271
|
+
declare const AlephaUIAuth: alepha1223.Service<alepha1223.Module>;
|
|
6272
6272
|
//#endregion
|
|
6273
6273
|
export { AlephaUIAuth, AuthRouter, Login, Register, ResetPassword, UserButton, type UserButtonProps };
|
|
6274
6274
|
//# sourceMappingURL=index.d.ts.map
|