@alepha/ui 0.13.5 → 0.13.6
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.ts +1005 -1005
- package/dist/auth/index.d.ts +413 -413
- package/package.json +3 -3
package/dist/admin/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SidebarNode } from "@alepha/ui";
|
|
2
2
|
import { AuthRouter } from "@alepha/ui/auth";
|
|
3
|
-
import * as
|
|
3
|
+
import * as alepha1532 from "alepha";
|
|
4
4
|
import { Alepha, AlephaError, Async, FileLike, InstantiableClass, LogLevel, LoggerInterface, Page, Page as Page$1, PageQuery, Primitive, Service, Static, StaticEncode, StreamLike, TArray, TFile, TNull, TObject, TOptional, TRecord, TSchema, TStream, TString, TUnion, TVoid } from "alepha";
|
|
5
5
|
import * as react0 from "react";
|
|
6
6
|
import { FC, ReactNode } from "react";
|
|
@@ -25,28 +25,28 @@ import { PgTransactionConfig } from "drizzle-orm/pg-core/session";
|
|
|
25
25
|
import * as DrizzleKit from "drizzle-kit/api";
|
|
26
26
|
|
|
27
27
|
//#region ../../../alepha/src/security/schemas/userAccountInfoSchema.d.ts
|
|
28
|
-
declare const userAccountInfoSchema:
|
|
29
|
-
id:
|
|
30
|
-
name:
|
|
31
|
-
email:
|
|
32
|
-
username:
|
|
33
|
-
picture:
|
|
34
|
-
sessionId:
|
|
35
|
-
organizations:
|
|
36
|
-
roles:
|
|
28
|
+
declare const userAccountInfoSchema: alepha1532.TObject<{
|
|
29
|
+
id: alepha1532.TString;
|
|
30
|
+
name: alepha1532.TOptional<alepha1532.TString>;
|
|
31
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
32
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
33
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
34
|
+
sessionId: alepha1532.TOptional<alepha1532.TString>;
|
|
35
|
+
organizations: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
36
|
+
roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
37
37
|
}>;
|
|
38
38
|
type UserAccount = Static<typeof userAccountInfoSchema>;
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region ../../../alepha/src/server/schemas/errorSchema.d.ts
|
|
41
|
-
declare const errorSchema:
|
|
42
|
-
error:
|
|
43
|
-
status:
|
|
44
|
-
message:
|
|
45
|
-
details:
|
|
46
|
-
requestId:
|
|
47
|
-
cause:
|
|
48
|
-
name:
|
|
49
|
-
message:
|
|
41
|
+
declare const errorSchema: alepha1532.TObject<{
|
|
42
|
+
error: alepha1532.TString;
|
|
43
|
+
status: alepha1532.TInteger;
|
|
44
|
+
message: alepha1532.TString;
|
|
45
|
+
details: alepha1532.TOptional<alepha1532.TString>;
|
|
46
|
+
requestId: alepha1532.TOptional<alepha1532.TString>;
|
|
47
|
+
cause: alepha1532.TOptional<alepha1532.TObject<{
|
|
48
|
+
name: alepha1532.TString;
|
|
49
|
+
message: alepha1532.TString;
|
|
50
50
|
}>>;
|
|
51
51
|
}>;
|
|
52
52
|
type ErrorSchema = Static<typeof errorSchema>;
|
|
@@ -285,15 +285,15 @@ interface WebRequestEvent {
|
|
|
285
285
|
}
|
|
286
286
|
//#endregion
|
|
287
287
|
//#region ../../../alepha/src/logger/schemas/logEntrySchema.d.ts
|
|
288
|
-
declare const logEntrySchema:
|
|
289
|
-
level:
|
|
290
|
-
message:
|
|
291
|
-
service:
|
|
292
|
-
module:
|
|
293
|
-
context:
|
|
294
|
-
app:
|
|
295
|
-
data:
|
|
296
|
-
timestamp:
|
|
288
|
+
declare const logEntrySchema: alepha1532.TObject<{
|
|
289
|
+
level: alepha1532.TUnsafe<"TRACE" | "SILENT" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
290
|
+
message: alepha1532.TString;
|
|
291
|
+
service: alepha1532.TString;
|
|
292
|
+
module: alepha1532.TString;
|
|
293
|
+
context: alepha1532.TOptional<alepha1532.TString>;
|
|
294
|
+
app: alepha1532.TOptional<alepha1532.TString>;
|
|
295
|
+
data: alepha1532.TOptional<alepha1532.TAny>;
|
|
296
|
+
timestamp: alepha1532.TNumber;
|
|
297
297
|
}>;
|
|
298
298
|
type LogEntry = Static<typeof logEntrySchema>;
|
|
299
299
|
//#endregion
|
|
@@ -308,8 +308,8 @@ declare class DateTimeProvider {
|
|
|
308
308
|
protected readonly timeouts: Timeout[];
|
|
309
309
|
protected readonly intervals: Interval[];
|
|
310
310
|
constructor();
|
|
311
|
-
protected readonly onStart:
|
|
312
|
-
protected readonly onStop:
|
|
311
|
+
protected readonly onStart: alepha1532.HookPrimitive<"start">;
|
|
312
|
+
protected readonly onStop: alepha1532.HookPrimitive<"stop">;
|
|
313
313
|
setLocale(locale: string): void;
|
|
314
314
|
isDateTime(value: unknown): value is DateTime;
|
|
315
315
|
/**
|
|
@@ -441,7 +441,7 @@ declare class Logger implements LoggerInterface {
|
|
|
441
441
|
}
|
|
442
442
|
//#endregion
|
|
443
443
|
//#region ../../../alepha/src/logger/index.d.ts
|
|
444
|
-
declare const envSchema$9:
|
|
444
|
+
declare const envSchema$9: alepha1532.TObject<{
|
|
445
445
|
/**
|
|
446
446
|
* Default log level for the application.
|
|
447
447
|
*
|
|
@@ -458,14 +458,14 @@ declare const envSchema$9: alepha1543.TObject<{
|
|
|
458
458
|
* LOG_LEVEL=my.module.name:debug,info # Set debug level for my.module.name and info for all other modules
|
|
459
459
|
* LOG_LEVEL=alepha:trace, info # Set trace level for all alepha modules and info for all other modules
|
|
460
460
|
*/
|
|
461
|
-
LOG_LEVEL:
|
|
461
|
+
LOG_LEVEL: alepha1532.TOptional<alepha1532.TString>;
|
|
462
462
|
/**
|
|
463
463
|
* Built-in log formats.
|
|
464
464
|
* - "json" - JSON format, useful for structured logging and log aggregation. {@link JsonFormatterProvider}
|
|
465
465
|
* - "pretty" - Simple text format, human-readable, with colors. {@link SimpleFormatterProvider}
|
|
466
466
|
* - "raw" - Raw format, no formatting, just the message. {@link RawFormatterProvider}
|
|
467
467
|
*/
|
|
468
|
-
LOG_FORMAT:
|
|
468
|
+
LOG_FORMAT: alepha1532.TOptional<alepha1532.TUnsafe<"json" | "pretty" | "raw">>;
|
|
469
469
|
}>;
|
|
470
470
|
declare module "alepha" {
|
|
471
471
|
interface Env extends Partial<Static<typeof envSchema$9>> {}
|
|
@@ -502,8 +502,8 @@ declare class ServerTimingProvider {
|
|
|
502
502
|
prefix: string;
|
|
503
503
|
disabled: boolean;
|
|
504
504
|
};
|
|
505
|
-
readonly onRequest:
|
|
506
|
-
readonly onResponse:
|
|
505
|
+
readonly onRequest: alepha1532.HookPrimitive<"server:onRequest">;
|
|
506
|
+
readonly onResponse: alepha1532.HookPrimitive<"server:onResponse">;
|
|
507
507
|
protected get handlerName(): string;
|
|
508
508
|
beginTiming(name: string): void;
|
|
509
509
|
endTiming(name: string): void;
|
|
@@ -567,11 +567,11 @@ declare class ServerProvider {
|
|
|
567
567
|
/**
|
|
568
568
|
* When a Node.js HTTP request is received from outside. (Vercel, AWS Lambda, etc.)
|
|
569
569
|
*/
|
|
570
|
-
protected readonly onNodeRequest:
|
|
570
|
+
protected readonly onNodeRequest: alepha1532.HookPrimitive<"node:request">;
|
|
571
571
|
/**
|
|
572
572
|
* When a Web (Fetch API) request is received from outside. (Netlify, Cloudflare Workers, etc.)
|
|
573
573
|
*/
|
|
574
|
-
protected readonly onWebRequest:
|
|
574
|
+
protected readonly onWebRequest: alepha1532.HookPrimitive<"web:request">;
|
|
575
575
|
/**
|
|
576
576
|
* Handle Node.js HTTP request event.
|
|
577
577
|
*
|
|
@@ -909,26 +909,26 @@ type ServerActionHandler<TConfig extends RequestConfigSchema = RequestConfigSche
|
|
|
909
909
|
interface ServerActionRequest<TConfig extends RequestConfigSchema> extends ServerRequest<TConfig> {}
|
|
910
910
|
//#endregion
|
|
911
911
|
//#region ../../../alepha/src/server/schemas/okSchema.d.ts
|
|
912
|
-
declare const okSchema:
|
|
913
|
-
ok:
|
|
914
|
-
id:
|
|
915
|
-
count:
|
|
912
|
+
declare const okSchema: alepha1532.TObject<{
|
|
913
|
+
ok: alepha1532.TBoolean;
|
|
914
|
+
id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
|
|
915
|
+
count: alepha1532.TOptional<alepha1532.TNumber>;
|
|
916
916
|
}>;
|
|
917
917
|
type Ok = Static<typeof okSchema>;
|
|
918
918
|
//#endregion
|
|
919
919
|
//#region ../../../alepha/src/server/providers/BunHttpServerProvider.d.ts
|
|
920
|
-
declare const envSchema$8:
|
|
921
|
-
SERVER_PORT:
|
|
922
|
-
SERVER_HOST:
|
|
920
|
+
declare const envSchema$8: alepha1532.TObject<{
|
|
921
|
+
SERVER_PORT: alepha1532.TInteger;
|
|
922
|
+
SERVER_HOST: alepha1532.TString;
|
|
923
923
|
}>;
|
|
924
924
|
declare module "alepha" {
|
|
925
925
|
interface Env extends Partial<Static<typeof envSchema$8>> {}
|
|
926
926
|
}
|
|
927
927
|
//#endregion
|
|
928
928
|
//#region ../../../alepha/src/server/providers/NodeHttpServerProvider.d.ts
|
|
929
|
-
declare const envSchema$7:
|
|
930
|
-
SERVER_PORT:
|
|
931
|
-
SERVER_HOST:
|
|
929
|
+
declare const envSchema$7: alepha1532.TObject<{
|
|
930
|
+
SERVER_PORT: alepha1532.TInteger;
|
|
931
|
+
SERVER_HOST: alepha1532.TString;
|
|
932
932
|
}>;
|
|
933
933
|
declare module "alepha" {
|
|
934
934
|
interface Env extends Partial<Static<typeof envSchema$7>> {}
|
|
@@ -1012,21 +1012,21 @@ interface UserAccountToken extends UserAccount {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
//#endregion
|
|
1014
1014
|
//#region ../../../alepha/src/security/schemas/roleSchema.d.ts
|
|
1015
|
-
declare const roleSchema:
|
|
1016
|
-
name:
|
|
1017
|
-
description:
|
|
1018
|
-
default:
|
|
1019
|
-
permissions:
|
|
1020
|
-
name:
|
|
1021
|
-
ownership:
|
|
1022
|
-
exclude:
|
|
1015
|
+
declare const roleSchema: alepha1532.TObject<{
|
|
1016
|
+
name: alepha1532.TString;
|
|
1017
|
+
description: alepha1532.TOptional<alepha1532.TString>;
|
|
1018
|
+
default: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
1019
|
+
permissions: alepha1532.TArray<alepha1532.TObject<{
|
|
1020
|
+
name: alepha1532.TString;
|
|
1021
|
+
ownership: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
1022
|
+
exclude: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
1023
1023
|
}>>;
|
|
1024
1024
|
}>;
|
|
1025
1025
|
type Role = Static<typeof roleSchema>;
|
|
1026
1026
|
//#endregion
|
|
1027
1027
|
//#region ../../../alepha/src/security/providers/SecurityProvider.d.ts
|
|
1028
|
-
declare const envSchema$6:
|
|
1029
|
-
APP_SECRET:
|
|
1028
|
+
declare const envSchema$6: alepha1532.TObject<{
|
|
1029
|
+
APP_SECRET: alepha1532.TString;
|
|
1030
1030
|
}>;
|
|
1031
1031
|
declare module "alepha" {
|
|
1032
1032
|
interface Env extends Partial<Static<typeof envSchema$6>> {}
|
|
@@ -1191,23 +1191,23 @@ declare module "alepha/server" {
|
|
|
1191
1191
|
*/
|
|
1192
1192
|
//#endregion
|
|
1193
1193
|
//#region ../../../alepha/src/server-links/schemas/apiLinksResponseSchema.d.ts
|
|
1194
|
-
declare const apiLinkSchema:
|
|
1195
|
-
name:
|
|
1196
|
-
group:
|
|
1197
|
-
path:
|
|
1198
|
-
method:
|
|
1199
|
-
requestBodyType:
|
|
1200
|
-
service:
|
|
1194
|
+
declare const apiLinkSchema: alepha1532.TObject<{
|
|
1195
|
+
name: alepha1532.TString;
|
|
1196
|
+
group: alepha1532.TOptional<alepha1532.TString>;
|
|
1197
|
+
path: alepha1532.TString;
|
|
1198
|
+
method: alepha1532.TOptional<alepha1532.TString>;
|
|
1199
|
+
requestBodyType: alepha1532.TOptional<alepha1532.TString>;
|
|
1200
|
+
service: alepha1532.TOptional<alepha1532.TString>;
|
|
1201
1201
|
}>;
|
|
1202
|
-
declare const apiLinksResponseSchema:
|
|
1203
|
-
prefix:
|
|
1204
|
-
links:
|
|
1205
|
-
name:
|
|
1206
|
-
group:
|
|
1207
|
-
path:
|
|
1208
|
-
method:
|
|
1209
|
-
requestBodyType:
|
|
1210
|
-
service:
|
|
1202
|
+
declare const apiLinksResponseSchema: alepha1532.TObject<{
|
|
1203
|
+
prefix: alepha1532.TOptional<alepha1532.TString>;
|
|
1204
|
+
links: alepha1532.TArray<alepha1532.TObject<{
|
|
1205
|
+
name: alepha1532.TString;
|
|
1206
|
+
group: alepha1532.TOptional<alepha1532.TString>;
|
|
1207
|
+
path: alepha1532.TString;
|
|
1208
|
+
method: alepha1532.TOptional<alepha1532.TString>;
|
|
1209
|
+
requestBodyType: alepha1532.TOptional<alepha1532.TString>;
|
|
1210
|
+
service: alepha1532.TOptional<alepha1532.TString>;
|
|
1211
1211
|
}>>;
|
|
1212
1212
|
}>;
|
|
1213
1213
|
type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
|
|
@@ -1548,8 +1548,8 @@ declare class Redirection extends Error {
|
|
|
1548
1548
|
}
|
|
1549
1549
|
//#endregion
|
|
1550
1550
|
//#region ../../../react/src/core/providers/ReactPageProvider.d.ts
|
|
1551
|
-
declare const envSchema$5:
|
|
1552
|
-
REACT_STRICT_MODE:
|
|
1551
|
+
declare const envSchema$5: alepha1532.TObject<{
|
|
1552
|
+
REACT_STRICT_MODE: alepha1532.TBoolean;
|
|
1553
1553
|
}>;
|
|
1554
1554
|
declare module "alepha" {
|
|
1555
1555
|
interface Env extends Partial<Static<typeof envSchema$5>> {}
|
|
@@ -1592,7 +1592,7 @@ declare class ReactPageProvider {
|
|
|
1592
1592
|
}, params?: Record<string, any>): string;
|
|
1593
1593
|
compile(path: string, params?: Record<string, string>): string;
|
|
1594
1594
|
protected renderView(index: number, path: string, view: ReactNode | undefined, page: PageRoute): ReactNode;
|
|
1595
|
-
protected readonly configure:
|
|
1595
|
+
protected readonly configure: alepha1532.HookPrimitive<"configure">;
|
|
1596
1596
|
protected map(pages: Array<PagePrimitive>, target: PagePrimitive): PageRouteEntry;
|
|
1597
1597
|
add(entry: PageRouteEntry): void;
|
|
1598
1598
|
protected createMatch(page: PageRoute): string;
|
|
@@ -1919,14 +1919,14 @@ declare class ReactBrowserRouterProvider extends RouterProvider<BrowserRoute> {
|
|
|
1919
1919
|
protected readonly alepha: Alepha;
|
|
1920
1920
|
protected readonly pageApi: ReactPageProvider;
|
|
1921
1921
|
add(entry: PageRouteEntry): void;
|
|
1922
|
-
protected readonly configure:
|
|
1922
|
+
protected readonly configure: alepha1532.HookPrimitive<"configure">;
|
|
1923
1923
|
transition(url: URL, previous?: PreviousLayerData[], meta?: {}): Promise<string | void>;
|
|
1924
1924
|
root(state: ReactRouterState): ReactNode;
|
|
1925
1925
|
}
|
|
1926
1926
|
//#endregion
|
|
1927
1927
|
//#region ../../../react/src/core/providers/ReactBrowserProvider.d.ts
|
|
1928
|
-
declare const envSchema$4:
|
|
1929
|
-
REACT_ROOT_ID:
|
|
1928
|
+
declare const envSchema$4: alepha1532.TObject<{
|
|
1929
|
+
REACT_ROOT_ID: alepha1532.TString;
|
|
1930
1930
|
}>;
|
|
1931
1931
|
declare module "alepha" {
|
|
1932
1932
|
interface Env extends Partial<Static<typeof envSchema$4>> {}
|
|
@@ -1934,8 +1934,8 @@ declare module "alepha" {
|
|
|
1934
1934
|
/**
|
|
1935
1935
|
* React browser renderer configuration atom
|
|
1936
1936
|
*/
|
|
1937
|
-
declare const reactBrowserOptions:
|
|
1938
|
-
scrollRestoration:
|
|
1937
|
+
declare const reactBrowserOptions: alepha1532.Atom<alepha1532.TObject<{
|
|
1938
|
+
scrollRestoration: alepha1532.TUnsafe<"top" | "manual">;
|
|
1939
1939
|
}>, "alepha.react.browser.options">;
|
|
1940
1940
|
type ReactBrowserRendererOptions = Static<typeof reactBrowserOptions.schema>;
|
|
1941
1941
|
declare module "alepha" {
|
|
@@ -1983,8 +1983,8 @@ declare class ReactBrowserProvider {
|
|
|
1983
1983
|
* Get embedded layers from the server.
|
|
1984
1984
|
*/
|
|
1985
1985
|
protected getHydrationState(): ReactHydrationState | undefined;
|
|
1986
|
-
protected readonly onTransitionEnd:
|
|
1987
|
-
readonly ready:
|
|
1986
|
+
protected readonly onTransitionEnd: alepha1532.HookPrimitive<"react:transition:end">;
|
|
1987
|
+
readonly ready: alepha1532.HookPrimitive<"ready">;
|
|
1988
1988
|
}
|
|
1989
1989
|
interface RouterGoOptions {
|
|
1990
1990
|
replace?: boolean;
|
|
@@ -2546,10 +2546,10 @@ declare class FileDetector {
|
|
|
2546
2546
|
}
|
|
2547
2547
|
//#endregion
|
|
2548
2548
|
//#region ../../../react/src/core/providers/ReactServerProvider.d.ts
|
|
2549
|
-
declare const envSchema$3:
|
|
2550
|
-
REACT_SSR_ENABLED:
|
|
2551
|
-
REACT_ROOT_ID:
|
|
2552
|
-
REACT_SERVER_TEMPLATE:
|
|
2549
|
+
declare const envSchema$3: alepha1532.TObject<{
|
|
2550
|
+
REACT_SSR_ENABLED: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
2551
|
+
REACT_ROOT_ID: alepha1532.TString;
|
|
2552
|
+
REACT_SERVER_TEMPLATE: alepha1532.TOptional<alepha1532.TString>;
|
|
2553
2553
|
}>;
|
|
2554
2554
|
declare module "alepha" {
|
|
2555
2555
|
interface Env extends Partial<Static<typeof envSchema$3>> {}
|
|
@@ -2560,11 +2560,11 @@ declare module "alepha" {
|
|
|
2560
2560
|
/**
|
|
2561
2561
|
* React server provider configuration atom
|
|
2562
2562
|
*/
|
|
2563
|
-
declare const reactServerOptions:
|
|
2564
|
-
publicDir:
|
|
2565
|
-
staticServer:
|
|
2566
|
-
disabled:
|
|
2567
|
-
path:
|
|
2563
|
+
declare const reactServerOptions: alepha1532.Atom<alepha1532.TObject<{
|
|
2564
|
+
publicDir: alepha1532.TString;
|
|
2565
|
+
staticServer: alepha1532.TObject<{
|
|
2566
|
+
disabled: alepha1532.TBoolean;
|
|
2567
|
+
path: alepha1532.TString;
|
|
2568
2568
|
}>;
|
|
2569
2569
|
}>, "alepha.react.server.options">;
|
|
2570
2570
|
type ReactServerProviderOptions = Static<typeof reactServerOptions.schema>;
|
|
@@ -2678,16 +2678,16 @@ declare module "alepha" {
|
|
|
2678
2678
|
*/
|
|
2679
2679
|
//#endregion
|
|
2680
2680
|
//#region ../../../alepha/src/server-auth/schemas/tokensSchema.d.ts
|
|
2681
|
-
declare const tokensSchema:
|
|
2682
|
-
provider:
|
|
2683
|
-
access_token:
|
|
2684
|
-
issued_at:
|
|
2685
|
-
expires_in:
|
|
2686
|
-
refresh_token:
|
|
2687
|
-
refresh_token_expires_in:
|
|
2688
|
-
refresh_expires_in:
|
|
2689
|
-
id_token:
|
|
2690
|
-
scope:
|
|
2681
|
+
declare const tokensSchema: alepha1532.TObject<{
|
|
2682
|
+
provider: alepha1532.TString;
|
|
2683
|
+
access_token: alepha1532.TString;
|
|
2684
|
+
issued_at: alepha1532.TNumber;
|
|
2685
|
+
expires_in: alepha1532.TOptional<alepha1532.TNumber>;
|
|
2686
|
+
refresh_token: alepha1532.TOptional<alepha1532.TString>;
|
|
2687
|
+
refresh_token_expires_in: alepha1532.TOptional<alepha1532.TNumber>;
|
|
2688
|
+
refresh_expires_in: alepha1532.TOptional<alepha1532.TNumber>;
|
|
2689
|
+
id_token: alepha1532.TOptional<alepha1532.TString>;
|
|
2690
|
+
scope: alepha1532.TOptional<alepha1532.TString>;
|
|
2691
2691
|
}>;
|
|
2692
2692
|
type Tokens = Static<typeof tokensSchema>;
|
|
2693
2693
|
//#endregion
|
|
@@ -2757,8 +2757,8 @@ declare class ReactAuth {
|
|
|
2757
2757
|
protected readonly alepha: Alepha;
|
|
2758
2758
|
protected readonly httpClient: HttpClient;
|
|
2759
2759
|
protected readonly linkProvider: LinkProvider;
|
|
2760
|
-
protected readonly onBeginTransition:
|
|
2761
|
-
protected readonly onFetchRequest:
|
|
2760
|
+
protected readonly onBeginTransition: alepha1532.HookPrimitive<"react:transition:begin">;
|
|
2761
|
+
protected readonly onFetchRequest: alepha1532.HookPrimitive<"client:onRequest">;
|
|
2762
2762
|
/**
|
|
2763
2763
|
* Get the current authenticated user.
|
|
2764
2764
|
*
|
|
@@ -3690,11 +3690,11 @@ declare class DrizzleKitProvider {
|
|
|
3690
3690
|
*/
|
|
3691
3691
|
importDrizzleKit(): typeof DrizzleKit;
|
|
3692
3692
|
}
|
|
3693
|
-
declare const devMigrationsSchema:
|
|
3694
|
-
id:
|
|
3695
|
-
name:
|
|
3696
|
-
snapshot:
|
|
3697
|
-
created_at:
|
|
3693
|
+
declare const devMigrationsSchema: alepha1532.TObject<{
|
|
3694
|
+
id: alepha1532.TNumber;
|
|
3695
|
+
name: alepha1532.TString;
|
|
3696
|
+
snapshot: alepha1532.TString;
|
|
3697
|
+
created_at: alepha1532.TString;
|
|
3698
3698
|
}>;
|
|
3699
3699
|
type DevMigrations = Static<typeof devMigrationsSchema>;
|
|
3700
3700
|
//#endregion
|
|
@@ -3891,7 +3891,7 @@ declare class QueryManager {
|
|
|
3891
3891
|
createPagination<T$1>(entities: T$1[], limit?: number, offset?: number, sort?: Array<{
|
|
3892
3892
|
column: string;
|
|
3893
3893
|
direction: "asc" | "desc";
|
|
3894
|
-
}>):
|
|
3894
|
+
}>): alepha1532.Page<T$1>;
|
|
3895
3895
|
}
|
|
3896
3896
|
interface PgJoin {
|
|
3897
3897
|
table: string;
|
|
@@ -4196,8 +4196,8 @@ interface StatementOptions {
|
|
|
4196
4196
|
}
|
|
4197
4197
|
//#endregion
|
|
4198
4198
|
//#region ../../../alepha/src/lock/primitives/$lock.d.ts
|
|
4199
|
-
declare const envSchema$2:
|
|
4200
|
-
LOCK_PREFIX_KEY:
|
|
4199
|
+
declare const envSchema$2: alepha1532.TObject<{
|
|
4200
|
+
LOCK_PREFIX_KEY: alepha1532.TString;
|
|
4201
4201
|
}>;
|
|
4202
4202
|
declare module "alepha" {
|
|
4203
4203
|
interface Env extends Partial<Static<typeof envSchema$2>> {}
|
|
@@ -4207,7 +4207,7 @@ declare module "alepha" {
|
|
|
4207
4207
|
declare module "alepha" {
|
|
4208
4208
|
interface Env extends Partial<Static<typeof envSchema$1>> {}
|
|
4209
4209
|
}
|
|
4210
|
-
declare const envSchema$1:
|
|
4210
|
+
declare const envSchema$1: alepha1532.TObject<{
|
|
4211
4211
|
/**
|
|
4212
4212
|
* Main configuration for database connection.
|
|
4213
4213
|
* Accept a string in the format of a Postgres connection URL.
|
|
@@ -4215,21 +4215,21 @@ declare const envSchema$1: alepha1543.TObject<{
|
|
|
4215
4215
|
* or
|
|
4216
4216
|
* Example: postgres://user:password@localhost:5432/database?sslmode=require
|
|
4217
4217
|
*/
|
|
4218
|
-
DATABASE_URL:
|
|
4218
|
+
DATABASE_URL: alepha1532.TOptional<alepha1532.TString>;
|
|
4219
4219
|
/**
|
|
4220
4220
|
* In addition to the DATABASE_URL, you can specify the postgres schema name.
|
|
4221
4221
|
*
|
|
4222
4222
|
* It will monkey patch drizzle tables.
|
|
4223
4223
|
*/
|
|
4224
|
-
POSTGRES_SCHEMA:
|
|
4224
|
+
POSTGRES_SCHEMA: alepha1532.TOptional<alepha1532.TString>;
|
|
4225
4225
|
}>;
|
|
4226
4226
|
//#endregion
|
|
4227
4227
|
//#region ../../../alepha/src/orm/providers/drivers/NodeSqliteProvider.d.ts
|
|
4228
4228
|
/**
|
|
4229
4229
|
* Configuration options for the Node.js SQLite database provider.
|
|
4230
4230
|
*/
|
|
4231
|
-
declare const nodeSqliteOptions:
|
|
4232
|
-
path:
|
|
4231
|
+
declare const nodeSqliteOptions: alepha1532.Atom<alepha1532.TObject<{
|
|
4232
|
+
path: alepha1532.TOptional<alepha1532.TString>;
|
|
4233
4233
|
}>, "alepha.postgres.node-sqlite.options">;
|
|
4234
4234
|
type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
|
|
4235
4235
|
declare module "alepha" {
|
|
@@ -4536,8 +4536,8 @@ interface BucketFileOptions {
|
|
|
4536
4536
|
/**
|
|
4537
4537
|
* Local file storage configuration atom
|
|
4538
4538
|
*/
|
|
4539
|
-
declare const localFileStorageOptions:
|
|
4540
|
-
storagePath:
|
|
4539
|
+
declare const localFileStorageOptions: alepha1532.Atom<alepha1532.TObject<{
|
|
4540
|
+
storagePath: alepha1532.TString;
|
|
4541
4541
|
}>, "alepha.bucket.local.options">;
|
|
4542
4542
|
type LocalFileStorageProviderOptions = Static<typeof localFileStorageOptions.schema>;
|
|
4543
4543
|
declare module "alepha" {
|
|
@@ -4581,72 +4581,72 @@ declare module "alepha" {
|
|
|
4581
4581
|
*/
|
|
4582
4582
|
//#endregion
|
|
4583
4583
|
//#region ../../../alepha/src/api-files/entities/files.d.ts
|
|
4584
|
-
declare const files: EntityPrimitive<
|
|
4585
|
-
id: PgAttr<PgAttr<
|
|
4586
|
-
version: PgAttr<PgAttr<
|
|
4587
|
-
createdAt: PgAttr<PgAttr<
|
|
4588
|
-
updatedAt: PgAttr<PgAttr<
|
|
4589
|
-
blobId:
|
|
4590
|
-
creator:
|
|
4591
|
-
creatorRealm:
|
|
4592
|
-
creatorName:
|
|
4593
|
-
bucket:
|
|
4594
|
-
expirationDate:
|
|
4595
|
-
name:
|
|
4596
|
-
size:
|
|
4597
|
-
mimeType:
|
|
4598
|
-
tags:
|
|
4599
|
-
checksum:
|
|
4584
|
+
declare const files: EntityPrimitive<alepha1532.TObject<{
|
|
4585
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4586
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4587
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4588
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4589
|
+
blobId: alepha1532.TString;
|
|
4590
|
+
creator: alepha1532.TOptional<alepha1532.TString>;
|
|
4591
|
+
creatorRealm: alepha1532.TOptional<alepha1532.TString>;
|
|
4592
|
+
creatorName: alepha1532.TOptional<alepha1532.TString>;
|
|
4593
|
+
bucket: alepha1532.TString;
|
|
4594
|
+
expirationDate: alepha1532.TOptional<alepha1532.TString>;
|
|
4595
|
+
name: alepha1532.TString;
|
|
4596
|
+
size: alepha1532.TNumber;
|
|
4597
|
+
mimeType: alepha1532.TString;
|
|
4598
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4599
|
+
checksum: alepha1532.TOptional<alepha1532.TString>;
|
|
4600
4600
|
}>>;
|
|
4601
4601
|
type FileEntity = Static<typeof files.schema>;
|
|
4602
4602
|
//#endregion
|
|
4603
4603
|
//#region ../../../alepha/src/api-files/schemas/fileQuerySchema.d.ts
|
|
4604
|
-
declare const fileQuerySchema:
|
|
4605
|
-
page:
|
|
4606
|
-
size:
|
|
4607
|
-
sort:
|
|
4608
|
-
bucket:
|
|
4609
|
-
tags:
|
|
4610
|
-
name:
|
|
4611
|
-
mimeType:
|
|
4612
|
-
creator:
|
|
4613
|
-
createdAfter:
|
|
4614
|
-
createdBefore:
|
|
4604
|
+
declare const fileQuerySchema: alepha1532.TObject<{
|
|
4605
|
+
page: alepha1532.TOptional<alepha1532.TInteger>;
|
|
4606
|
+
size: alepha1532.TOptional<alepha1532.TInteger>;
|
|
4607
|
+
sort: alepha1532.TOptional<alepha1532.TString>;
|
|
4608
|
+
bucket: alepha1532.TOptional<alepha1532.TString>;
|
|
4609
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4610
|
+
name: alepha1532.TOptional<alepha1532.TString>;
|
|
4611
|
+
mimeType: alepha1532.TOptional<alepha1532.TString>;
|
|
4612
|
+
creator: alepha1532.TOptional<alepha1532.TString>;
|
|
4613
|
+
createdAfter: alepha1532.TOptional<alepha1532.TString>;
|
|
4614
|
+
createdBefore: alepha1532.TOptional<alepha1532.TString>;
|
|
4615
4615
|
}>;
|
|
4616
4616
|
type FileQuery = Static<typeof fileQuerySchema>;
|
|
4617
4617
|
//#endregion
|
|
4618
4618
|
//#region ../../../alepha/src/api-files/schemas/fileResourceSchema.d.ts
|
|
4619
|
-
declare const fileResourceSchema:
|
|
4620
|
-
id: PgAttr<PgAttr<
|
|
4621
|
-
version: PgAttr<PgAttr<
|
|
4622
|
-
createdAt: PgAttr<PgAttr<
|
|
4623
|
-
updatedAt: PgAttr<PgAttr<
|
|
4624
|
-
blobId:
|
|
4625
|
-
creator:
|
|
4626
|
-
creatorRealm:
|
|
4627
|
-
creatorName:
|
|
4628
|
-
bucket:
|
|
4629
|
-
expirationDate:
|
|
4630
|
-
name:
|
|
4631
|
-
size:
|
|
4632
|
-
mimeType:
|
|
4633
|
-
tags:
|
|
4634
|
-
checksum:
|
|
4619
|
+
declare const fileResourceSchema: alepha1532.TObject<{
|
|
4620
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4621
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4622
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4623
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4624
|
+
blobId: alepha1532.TString;
|
|
4625
|
+
creator: alepha1532.TOptional<alepha1532.TString>;
|
|
4626
|
+
creatorRealm: alepha1532.TOptional<alepha1532.TString>;
|
|
4627
|
+
creatorName: alepha1532.TOptional<alepha1532.TString>;
|
|
4628
|
+
bucket: alepha1532.TString;
|
|
4629
|
+
expirationDate: alepha1532.TOptional<alepha1532.TString>;
|
|
4630
|
+
name: alepha1532.TString;
|
|
4631
|
+
size: alepha1532.TNumber;
|
|
4632
|
+
mimeType: alepha1532.TString;
|
|
4633
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4634
|
+
checksum: alepha1532.TOptional<alepha1532.TString>;
|
|
4635
4635
|
}>;
|
|
4636
4636
|
type FileResource = Static<typeof fileResourceSchema>;
|
|
4637
4637
|
//#endregion
|
|
4638
4638
|
//#region ../../../alepha/src/api-files/schemas/storageStatsSchema.d.ts
|
|
4639
|
-
declare const storageStatsSchema:
|
|
4640
|
-
totalSize:
|
|
4641
|
-
totalFiles:
|
|
4642
|
-
byBucket:
|
|
4643
|
-
bucket:
|
|
4644
|
-
totalSize:
|
|
4645
|
-
fileCount:
|
|
4639
|
+
declare const storageStatsSchema: alepha1532.TObject<{
|
|
4640
|
+
totalSize: alepha1532.TNumber;
|
|
4641
|
+
totalFiles: alepha1532.TNumber;
|
|
4642
|
+
byBucket: alepha1532.TArray<alepha1532.TObject<{
|
|
4643
|
+
bucket: alepha1532.TString;
|
|
4644
|
+
totalSize: alepha1532.TNumber;
|
|
4645
|
+
fileCount: alepha1532.TNumber;
|
|
4646
4646
|
}>>;
|
|
4647
|
-
byMimeType:
|
|
4648
|
-
mimeType:
|
|
4649
|
-
fileCount:
|
|
4647
|
+
byMimeType: alepha1532.TArray<alepha1532.TObject<{
|
|
4648
|
+
mimeType: alepha1532.TString;
|
|
4649
|
+
fileCount: alepha1532.TNumber;
|
|
4650
4650
|
}>>;
|
|
4651
4651
|
}>;
|
|
4652
4652
|
type StorageStats = Static<typeof storageStatsSchema>;
|
|
@@ -4655,27 +4655,27 @@ type StorageStats = Static<typeof storageStatsSchema>;
|
|
|
4655
4655
|
declare class FileService {
|
|
4656
4656
|
protected readonly alepha: Alepha;
|
|
4657
4657
|
protected readonly log: Logger;
|
|
4658
|
-
protected readonly fileRepository: Repository<
|
|
4659
|
-
id: PgAttr<PgAttr<
|
|
4660
|
-
version: PgAttr<PgAttr<
|
|
4661
|
-
createdAt: PgAttr<PgAttr<
|
|
4662
|
-
updatedAt: PgAttr<PgAttr<
|
|
4663
|
-
blobId:
|
|
4664
|
-
creator:
|
|
4665
|
-
creatorRealm:
|
|
4666
|
-
creatorName:
|
|
4667
|
-
bucket:
|
|
4668
|
-
expirationDate:
|
|
4669
|
-
name:
|
|
4670
|
-
size:
|
|
4671
|
-
mimeType:
|
|
4672
|
-
tags:
|
|
4673
|
-
checksum:
|
|
4658
|
+
protected readonly fileRepository: Repository<alepha1532.TObject<{
|
|
4659
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4660
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4661
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4662
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4663
|
+
blobId: alepha1532.TString;
|
|
4664
|
+
creator: alepha1532.TOptional<alepha1532.TString>;
|
|
4665
|
+
creatorRealm: alepha1532.TOptional<alepha1532.TString>;
|
|
4666
|
+
creatorName: alepha1532.TOptional<alepha1532.TString>;
|
|
4667
|
+
bucket: alepha1532.TString;
|
|
4668
|
+
expirationDate: alepha1532.TOptional<alepha1532.TString>;
|
|
4669
|
+
name: alepha1532.TString;
|
|
4670
|
+
size: alepha1532.TNumber;
|
|
4671
|
+
mimeType: alepha1532.TString;
|
|
4672
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4673
|
+
checksum: alepha1532.TOptional<alepha1532.TString>;
|
|
4674
4674
|
}>>;
|
|
4675
4675
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
4676
4676
|
protected readonly defaultBucket: BucketPrimitive;
|
|
4677
|
-
protected onUploadFile:
|
|
4678
|
-
protected onDeleteBucketFile:
|
|
4677
|
+
protected onUploadFile: alepha1532.HookPrimitive<"bucket:file:uploaded">;
|
|
4678
|
+
protected onDeleteBucketFile: alepha1532.HookPrimitive<"bucket:file:deleted">;
|
|
4679
4679
|
/**
|
|
4680
4680
|
* Calculates SHA-256 checksum of a file.
|
|
4681
4681
|
*
|
|
@@ -4809,34 +4809,34 @@ declare class FileController {
|
|
|
4809
4809
|
* Supports filtering by bucket and tags.
|
|
4810
4810
|
*/
|
|
4811
4811
|
readonly findFiles: ActionPrimitiveFn<{
|
|
4812
|
-
query:
|
|
4813
|
-
page:
|
|
4814
|
-
size:
|
|
4815
|
-
sort:
|
|
4816
|
-
bucket:
|
|
4817
|
-
tags:
|
|
4818
|
-
name:
|
|
4819
|
-
mimeType:
|
|
4820
|
-
creator:
|
|
4821
|
-
createdAfter:
|
|
4822
|
-
createdBefore:
|
|
4812
|
+
query: alepha1532.TObject<{
|
|
4813
|
+
page: alepha1532.TOptional<alepha1532.TInteger>;
|
|
4814
|
+
size: alepha1532.TOptional<alepha1532.TInteger>;
|
|
4815
|
+
sort: alepha1532.TOptional<alepha1532.TString>;
|
|
4816
|
+
bucket: alepha1532.TOptional<alepha1532.TString>;
|
|
4817
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4818
|
+
name: alepha1532.TOptional<alepha1532.TString>;
|
|
4819
|
+
mimeType: alepha1532.TOptional<alepha1532.TString>;
|
|
4820
|
+
creator: alepha1532.TOptional<alepha1532.TString>;
|
|
4821
|
+
createdAfter: alepha1532.TOptional<alepha1532.TString>;
|
|
4822
|
+
createdBefore: alepha1532.TOptional<alepha1532.TString>;
|
|
4823
4823
|
}>;
|
|
4824
|
-
response:
|
|
4825
|
-
id: PgAttr<PgAttr<
|
|
4826
|
-
version: PgAttr<PgAttr<
|
|
4827
|
-
createdAt: PgAttr<PgAttr<
|
|
4828
|
-
updatedAt: PgAttr<PgAttr<
|
|
4829
|
-
blobId:
|
|
4830
|
-
creator:
|
|
4831
|
-
creatorRealm:
|
|
4832
|
-
creatorName:
|
|
4833
|
-
bucket:
|
|
4834
|
-
expirationDate:
|
|
4835
|
-
name:
|
|
4836
|
-
size:
|
|
4837
|
-
mimeType:
|
|
4838
|
-
tags:
|
|
4839
|
-
checksum:
|
|
4824
|
+
response: alepha1532.TPage<alepha1532.TObject<{
|
|
4825
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4826
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4827
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4828
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4829
|
+
blobId: alepha1532.TString;
|
|
4830
|
+
creator: alepha1532.TOptional<alepha1532.TString>;
|
|
4831
|
+
creatorRealm: alepha1532.TOptional<alepha1532.TString>;
|
|
4832
|
+
creatorName: alepha1532.TOptional<alepha1532.TString>;
|
|
4833
|
+
bucket: alepha1532.TString;
|
|
4834
|
+
expirationDate: alepha1532.TOptional<alepha1532.TString>;
|
|
4835
|
+
name: alepha1532.TString;
|
|
4836
|
+
size: alepha1532.TNumber;
|
|
4837
|
+
mimeType: alepha1532.TString;
|
|
4838
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4839
|
+
checksum: alepha1532.TOptional<alepha1532.TString>;
|
|
4840
4840
|
}>>;
|
|
4841
4841
|
}>;
|
|
4842
4842
|
/**
|
|
@@ -4844,13 +4844,13 @@ declare class FileController {
|
|
|
4844
4844
|
* Removes the file from the bucket and cleans up the database record.
|
|
4845
4845
|
*/
|
|
4846
4846
|
readonly deleteFile: ActionPrimitiveFn<{
|
|
4847
|
-
params:
|
|
4848
|
-
id:
|
|
4847
|
+
params: alepha1532.TObject<{
|
|
4848
|
+
id: alepha1532.TString;
|
|
4849
4849
|
}>;
|
|
4850
|
-
response:
|
|
4851
|
-
ok:
|
|
4852
|
-
id:
|
|
4853
|
-
count:
|
|
4850
|
+
response: alepha1532.TObject<{
|
|
4851
|
+
ok: alepha1532.TBoolean;
|
|
4852
|
+
id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
|
|
4853
|
+
count: alepha1532.TOptional<alepha1532.TNumber>;
|
|
4854
4854
|
}>;
|
|
4855
4855
|
}>;
|
|
4856
4856
|
/**
|
|
@@ -4859,29 +4859,29 @@ declare class FileController {
|
|
|
4859
4859
|
* Optionally specify bucket and expiration date.
|
|
4860
4860
|
*/
|
|
4861
4861
|
readonly uploadFile: ActionPrimitiveFn<{
|
|
4862
|
-
body:
|
|
4863
|
-
file:
|
|
4862
|
+
body: alepha1532.TObject<{
|
|
4863
|
+
file: alepha1532.TFile;
|
|
4864
4864
|
}>;
|
|
4865
|
-
query:
|
|
4866
|
-
expirationDate:
|
|
4867
|
-
bucket:
|
|
4865
|
+
query: alepha1532.TObject<{
|
|
4866
|
+
expirationDate: alepha1532.TOptional<alepha1532.TString>;
|
|
4867
|
+
bucket: alepha1532.TOptional<alepha1532.TString>;
|
|
4868
4868
|
}>;
|
|
4869
|
-
response:
|
|
4870
|
-
id: PgAttr<PgAttr<
|
|
4871
|
-
version: PgAttr<PgAttr<
|
|
4872
|
-
createdAt: PgAttr<PgAttr<
|
|
4873
|
-
updatedAt: PgAttr<PgAttr<
|
|
4874
|
-
blobId:
|
|
4875
|
-
creator:
|
|
4876
|
-
creatorRealm:
|
|
4877
|
-
creatorName:
|
|
4878
|
-
bucket:
|
|
4879
|
-
expirationDate:
|
|
4880
|
-
name:
|
|
4881
|
-
size:
|
|
4882
|
-
mimeType:
|
|
4883
|
-
tags:
|
|
4884
|
-
checksum:
|
|
4869
|
+
response: alepha1532.TObject<{
|
|
4870
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4871
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4872
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4873
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4874
|
+
blobId: alepha1532.TString;
|
|
4875
|
+
creator: alepha1532.TOptional<alepha1532.TString>;
|
|
4876
|
+
creatorRealm: alepha1532.TOptional<alepha1532.TString>;
|
|
4877
|
+
creatorName: alepha1532.TOptional<alepha1532.TString>;
|
|
4878
|
+
bucket: alepha1532.TString;
|
|
4879
|
+
expirationDate: alepha1532.TOptional<alepha1532.TString>;
|
|
4880
|
+
name: alepha1532.TString;
|
|
4881
|
+
size: alepha1532.TNumber;
|
|
4882
|
+
mimeType: alepha1532.TString;
|
|
4883
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4884
|
+
checksum: alepha1532.TOptional<alepha1532.TString>;
|
|
4885
4885
|
}>;
|
|
4886
4886
|
}>;
|
|
4887
4887
|
/**
|
|
@@ -4889,30 +4889,30 @@ declare class FileController {
|
|
|
4889
4889
|
* Allows updating name, tags, and expiration date without modifying file content.
|
|
4890
4890
|
*/
|
|
4891
4891
|
readonly updateFile: ActionPrimitiveFn<{
|
|
4892
|
-
params:
|
|
4893
|
-
id:
|
|
4892
|
+
params: alepha1532.TObject<{
|
|
4893
|
+
id: alepha1532.TString;
|
|
4894
4894
|
}>;
|
|
4895
|
-
body:
|
|
4896
|
-
name:
|
|
4897
|
-
tags:
|
|
4898
|
-
expirationDate:
|
|
4895
|
+
body: alepha1532.TObject<{
|
|
4896
|
+
name: alepha1532.TOptional<alepha1532.TString>;
|
|
4897
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4898
|
+
expirationDate: alepha1532.TOptional<alepha1532.TString>;
|
|
4899
4899
|
}>;
|
|
4900
|
-
response:
|
|
4901
|
-
id: PgAttr<PgAttr<
|
|
4902
|
-
version: PgAttr<PgAttr<
|
|
4903
|
-
createdAt: PgAttr<PgAttr<
|
|
4904
|
-
updatedAt: PgAttr<PgAttr<
|
|
4905
|
-
blobId:
|
|
4906
|
-
creator:
|
|
4907
|
-
creatorRealm:
|
|
4908
|
-
creatorName:
|
|
4909
|
-
bucket:
|
|
4910
|
-
expirationDate:
|
|
4911
|
-
name:
|
|
4912
|
-
size:
|
|
4913
|
-
mimeType:
|
|
4914
|
-
tags:
|
|
4915
|
-
checksum:
|
|
4900
|
+
response: alepha1532.TObject<{
|
|
4901
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4902
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4903
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4904
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4905
|
+
blobId: alepha1532.TString;
|
|
4906
|
+
creator: alepha1532.TOptional<alepha1532.TString>;
|
|
4907
|
+
creatorRealm: alepha1532.TOptional<alepha1532.TString>;
|
|
4908
|
+
creatorName: alepha1532.TOptional<alepha1532.TString>;
|
|
4909
|
+
bucket: alepha1532.TString;
|
|
4910
|
+
expirationDate: alepha1532.TOptional<alepha1532.TString>;
|
|
4911
|
+
name: alepha1532.TString;
|
|
4912
|
+
size: alepha1532.TNumber;
|
|
4913
|
+
mimeType: alepha1532.TString;
|
|
4914
|
+
tags: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
4915
|
+
checksum: alepha1532.TOptional<alepha1532.TString>;
|
|
4916
4916
|
}>;
|
|
4917
4917
|
}>;
|
|
4918
4918
|
/**
|
|
@@ -4921,10 +4921,10 @@ declare class FileController {
|
|
|
4921
4921
|
* Cached with ETag support for 1 year (immutable).
|
|
4922
4922
|
*/
|
|
4923
4923
|
readonly streamFile: ActionPrimitiveFn<{
|
|
4924
|
-
params:
|
|
4925
|
-
id:
|
|
4924
|
+
params: alepha1532.TObject<{
|
|
4925
|
+
id: alepha1532.TString;
|
|
4926
4926
|
}>;
|
|
4927
|
-
response:
|
|
4927
|
+
response: alepha1532.TFile;
|
|
4928
4928
|
}>;
|
|
4929
4929
|
}
|
|
4930
4930
|
//#endregion
|
|
@@ -5226,52 +5226,52 @@ declare class BatchPrimitive<TItem extends TSchema, TResponse = any> extends Pri
|
|
|
5226
5226
|
* @returns The number of items cleared
|
|
5227
5227
|
*/
|
|
5228
5228
|
clearCompleted(status?: "completed" | "failed"): number;
|
|
5229
|
-
protected readonly onReady:
|
|
5230
|
-
protected readonly dispose:
|
|
5229
|
+
protected readonly onReady: alepha1532.HookPrimitive<"ready">;
|
|
5230
|
+
protected readonly dispose: alepha1532.HookPrimitive<"stop">;
|
|
5231
5231
|
}
|
|
5232
5232
|
//#endregion
|
|
5233
5233
|
//#region ../../../alepha/src/api-notifications/entities/notifications.d.ts
|
|
5234
|
-
declare const notifications: EntityPrimitive<
|
|
5235
|
-
id: PgAttr<PgAttr<
|
|
5236
|
-
version: PgAttr<PgAttr<
|
|
5237
|
-
createdAt: PgAttr<PgAttr<
|
|
5238
|
-
updatedAt: PgAttr<PgAttr<
|
|
5239
|
-
type:
|
|
5240
|
-
template:
|
|
5241
|
-
category:
|
|
5242
|
-
critical:
|
|
5243
|
-
sensitive:
|
|
5244
|
-
contact:
|
|
5245
|
-
variables:
|
|
5246
|
-
scheduledAt:
|
|
5247
|
-
sentAt:
|
|
5248
|
-
error:
|
|
5249
|
-
at:
|
|
5250
|
-
name:
|
|
5251
|
-
message:
|
|
5234
|
+
declare const notifications: EntityPrimitive<alepha1532.TObject<{
|
|
5235
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5236
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5237
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5238
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5239
|
+
type: alepha1532.TUnsafe<"email" | "sms">;
|
|
5240
|
+
template: alepha1532.TString;
|
|
5241
|
+
category: alepha1532.TOptional<alepha1532.TString>;
|
|
5242
|
+
critical: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5243
|
+
sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5244
|
+
contact: alepha1532.TString;
|
|
5245
|
+
variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
|
|
5246
|
+
scheduledAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5247
|
+
sentAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5248
|
+
error: alepha1532.TOptional<alepha1532.TObject<{
|
|
5249
|
+
at: alepha1532.TString;
|
|
5250
|
+
name: alepha1532.TString;
|
|
5251
|
+
message: alepha1532.TString;
|
|
5252
5252
|
}>>;
|
|
5253
5253
|
}>>;
|
|
5254
5254
|
type NotificationEntity = Static<typeof notifications.schema>;
|
|
5255
5255
|
//#endregion
|
|
5256
5256
|
//#region ../../../alepha/src/api-notifications/schemas/notificationCreateSchema.d.ts
|
|
5257
|
-
declare const notificationCreateSchema:
|
|
5258
|
-
type:
|
|
5259
|
-
template:
|
|
5260
|
-
contact:
|
|
5261
|
-
variables:
|
|
5257
|
+
declare const notificationCreateSchema: alepha1532.TObject<{
|
|
5258
|
+
type: alepha1532.TUnsafe<"email" | "sms">;
|
|
5259
|
+
template: alepha1532.TString;
|
|
5260
|
+
contact: alepha1532.TString;
|
|
5261
|
+
variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
|
|
5262
5262
|
}>;
|
|
5263
5263
|
type NotificationCreate = Static<typeof notificationCreateSchema>;
|
|
5264
5264
|
//#endregion
|
|
5265
5265
|
//#region ../../../alepha/src/api-notifications/schemas/notificationQuerySchema.d.ts
|
|
5266
|
-
declare const notificationQuerySchema:
|
|
5267
|
-
page:
|
|
5268
|
-
size:
|
|
5269
|
-
sort:
|
|
5270
|
-
type:
|
|
5271
|
-
template:
|
|
5272
|
-
contact:
|
|
5273
|
-
category:
|
|
5274
|
-
status:
|
|
5266
|
+
declare const notificationQuerySchema: alepha1532.TObject<{
|
|
5267
|
+
page: alepha1532.TOptional<alepha1532.TInteger>;
|
|
5268
|
+
size: alepha1532.TOptional<alepha1532.TInteger>;
|
|
5269
|
+
sort: alepha1532.TOptional<alepha1532.TString>;
|
|
5270
|
+
type: alepha1532.TOptional<alepha1532.TUnsafe<"email" | "sms">>;
|
|
5271
|
+
template: alepha1532.TOptional<alepha1532.TString>;
|
|
5272
|
+
contact: alepha1532.TOptional<alepha1532.TString>;
|
|
5273
|
+
category: alepha1532.TOptional<alepha1532.TString>;
|
|
5274
|
+
status: alepha1532.TOptional<alepha1532.TUnsafe<"pending" | "sent" | "failed">>;
|
|
5275
5275
|
}>;
|
|
5276
5276
|
type NotificationQuery = Static<typeof notificationQuerySchema>;
|
|
5277
5277
|
//#endregion
|
|
@@ -5406,24 +5406,24 @@ declare module "alepha" {
|
|
|
5406
5406
|
declare class NotificationSenderService {
|
|
5407
5407
|
protected readonly alepha: Alepha;
|
|
5408
5408
|
protected readonly log: Logger;
|
|
5409
|
-
protected readonly notificationRepository: Repository<
|
|
5410
|
-
id: PgAttr<PgAttr<
|
|
5411
|
-
version: PgAttr<PgAttr<
|
|
5412
|
-
createdAt: PgAttr<PgAttr<
|
|
5413
|
-
updatedAt: PgAttr<PgAttr<
|
|
5414
|
-
type:
|
|
5415
|
-
template:
|
|
5416
|
-
category:
|
|
5417
|
-
critical:
|
|
5418
|
-
sensitive:
|
|
5419
|
-
contact:
|
|
5420
|
-
variables:
|
|
5421
|
-
scheduledAt:
|
|
5422
|
-
sentAt:
|
|
5423
|
-
error:
|
|
5424
|
-
at:
|
|
5425
|
-
name:
|
|
5426
|
-
message:
|
|
5409
|
+
protected readonly notificationRepository: Repository<alepha1532.TObject<{
|
|
5410
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5411
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5412
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5413
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5414
|
+
type: alepha1532.TUnsafe<"email" | "sms">;
|
|
5415
|
+
template: alepha1532.TString;
|
|
5416
|
+
category: alepha1532.TOptional<alepha1532.TString>;
|
|
5417
|
+
critical: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5418
|
+
sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5419
|
+
contact: alepha1532.TString;
|
|
5420
|
+
variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
|
|
5421
|
+
scheduledAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5422
|
+
sentAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5423
|
+
error: alepha1532.TOptional<alepha1532.TObject<{
|
|
5424
|
+
at: alepha1532.TString;
|
|
5425
|
+
name: alepha1532.TString;
|
|
5426
|
+
message: alepha1532.TString;
|
|
5427
5427
|
}>>;
|
|
5428
5428
|
}>>;
|
|
5429
5429
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
@@ -5440,15 +5440,15 @@ declare class NotificationSenderService {
|
|
|
5440
5440
|
body: string;
|
|
5441
5441
|
};
|
|
5442
5442
|
protected load(notification: NotificationEntity): {
|
|
5443
|
-
template: NotificationPrimitive<
|
|
5443
|
+
template: NotificationPrimitive<alepha1532.TObject<alepha1532.TProperties>>;
|
|
5444
5444
|
variables: Record<string, any>;
|
|
5445
5445
|
contact: string;
|
|
5446
5446
|
};
|
|
5447
5447
|
}
|
|
5448
5448
|
//#endregion
|
|
5449
5449
|
//#region ../../../alepha/src/api-notifications/services/NotificationService.d.ts
|
|
5450
|
-
declare const notificationServiceEnvSchema:
|
|
5451
|
-
NOTIFICATION_QUEUE:
|
|
5450
|
+
declare const notificationServiceEnvSchema: alepha1532.TObject<{
|
|
5451
|
+
NOTIFICATION_QUEUE: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5452
5452
|
}>;
|
|
5453
5453
|
declare module "alepha" {
|
|
5454
5454
|
interface Env extends Partial<Static<typeof notificationServiceEnvSchema>> {}
|
|
@@ -5459,71 +5459,71 @@ declare class NotificationService {
|
|
|
5459
5459
|
protected readonly env: {
|
|
5460
5460
|
NOTIFICATION_QUEUE?: boolean | undefined;
|
|
5461
5461
|
};
|
|
5462
|
-
protected readonly notificationRepository: Repository<
|
|
5463
|
-
id: PgAttr<PgAttr<
|
|
5464
|
-
version: PgAttr<PgAttr<
|
|
5465
|
-
createdAt: PgAttr<PgAttr<
|
|
5466
|
-
updatedAt: PgAttr<PgAttr<
|
|
5467
|
-
type:
|
|
5468
|
-
template:
|
|
5469
|
-
category:
|
|
5470
|
-
critical:
|
|
5471
|
-
sensitive:
|
|
5472
|
-
contact:
|
|
5473
|
-
variables:
|
|
5474
|
-
scheduledAt:
|
|
5475
|
-
sentAt:
|
|
5476
|
-
error:
|
|
5477
|
-
at:
|
|
5478
|
-
name:
|
|
5479
|
-
message:
|
|
5462
|
+
protected readonly notificationRepository: Repository<alepha1532.TObject<{
|
|
5463
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5464
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5465
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5466
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5467
|
+
type: alepha1532.TUnsafe<"email" | "sms">;
|
|
5468
|
+
template: alepha1532.TString;
|
|
5469
|
+
category: alepha1532.TOptional<alepha1532.TString>;
|
|
5470
|
+
critical: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5471
|
+
sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5472
|
+
contact: alepha1532.TString;
|
|
5473
|
+
variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
|
|
5474
|
+
scheduledAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5475
|
+
sentAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5476
|
+
error: alepha1532.TOptional<alepha1532.TObject<{
|
|
5477
|
+
at: alepha1532.TString;
|
|
5478
|
+
name: alepha1532.TString;
|
|
5479
|
+
message: alepha1532.TString;
|
|
5480
5480
|
}>>;
|
|
5481
5481
|
}>>;
|
|
5482
5482
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
5483
5483
|
protected readonly notificationSenderService: NotificationSenderService;
|
|
5484
|
-
readonly notificationBatch: BatchPrimitive<
|
|
5485
|
-
type:
|
|
5486
|
-
template:
|
|
5487
|
-
contact:
|
|
5488
|
-
variables:
|
|
5484
|
+
readonly notificationBatch: BatchPrimitive<alepha1532.TObject<{
|
|
5485
|
+
type: alepha1532.TUnsafe<"email" | "sms">;
|
|
5486
|
+
template: alepha1532.TString;
|
|
5487
|
+
contact: alepha1532.TString;
|
|
5488
|
+
variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
|
|
5489
5489
|
}>, Promise<void>>;
|
|
5490
|
-
findNotificationById(id: string): Promise<PgStatic<
|
|
5491
|
-
id: PgAttr<PgAttr<
|
|
5492
|
-
version: PgAttr<PgAttr<
|
|
5493
|
-
createdAt: PgAttr<PgAttr<
|
|
5494
|
-
updatedAt: PgAttr<PgAttr<
|
|
5495
|
-
type:
|
|
5496
|
-
template:
|
|
5497
|
-
category:
|
|
5498
|
-
critical:
|
|
5499
|
-
sensitive:
|
|
5500
|
-
contact:
|
|
5501
|
-
variables:
|
|
5502
|
-
scheduledAt:
|
|
5503
|
-
sentAt:
|
|
5504
|
-
error:
|
|
5505
|
-
at:
|
|
5506
|
-
name:
|
|
5507
|
-
message:
|
|
5490
|
+
findNotificationById(id: string): Promise<PgStatic<alepha1532.TObject<{
|
|
5491
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5492
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5493
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5494
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5495
|
+
type: alepha1532.TUnsafe<"email" | "sms">;
|
|
5496
|
+
template: alepha1532.TString;
|
|
5497
|
+
category: alepha1532.TOptional<alepha1532.TString>;
|
|
5498
|
+
critical: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5499
|
+
sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5500
|
+
contact: alepha1532.TString;
|
|
5501
|
+
variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
|
|
5502
|
+
scheduledAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5503
|
+
sentAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5504
|
+
error: alepha1532.TOptional<alepha1532.TObject<{
|
|
5505
|
+
at: alepha1532.TString;
|
|
5506
|
+
name: alepha1532.TString;
|
|
5507
|
+
message: alepha1532.TString;
|
|
5508
5508
|
}>>;
|
|
5509
|
-
}>, PgRelationMap<
|
|
5510
|
-
id: PgAttr<PgAttr<
|
|
5511
|
-
version: PgAttr<PgAttr<
|
|
5512
|
-
createdAt: PgAttr<PgAttr<
|
|
5513
|
-
updatedAt: PgAttr<PgAttr<
|
|
5514
|
-
type:
|
|
5515
|
-
template:
|
|
5516
|
-
category:
|
|
5517
|
-
critical:
|
|
5518
|
-
sensitive:
|
|
5519
|
-
contact:
|
|
5520
|
-
variables:
|
|
5521
|
-
scheduledAt:
|
|
5522
|
-
sentAt:
|
|
5523
|
-
error:
|
|
5524
|
-
at:
|
|
5525
|
-
name:
|
|
5526
|
-
message:
|
|
5509
|
+
}>, PgRelationMap<alepha1532.TObject<{
|
|
5510
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5511
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5512
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5513
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5514
|
+
type: alepha1532.TUnsafe<"email" | "sms">;
|
|
5515
|
+
template: alepha1532.TString;
|
|
5516
|
+
category: alepha1532.TOptional<alepha1532.TString>;
|
|
5517
|
+
critical: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5518
|
+
sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5519
|
+
contact: alepha1532.TString;
|
|
5520
|
+
variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
|
|
5521
|
+
scheduledAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5522
|
+
sentAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5523
|
+
error: alepha1532.TOptional<alepha1532.TObject<{
|
|
5524
|
+
at: alepha1532.TString;
|
|
5525
|
+
name: alepha1532.TString;
|
|
5526
|
+
message: alepha1532.TString;
|
|
5527
5527
|
}>>;
|
|
5528
5528
|
}>>>>;
|
|
5529
5529
|
findNotifications(q?: NotificationQuery): Promise<Page$1<NotificationEntity>>;
|
|
@@ -5542,140 +5542,140 @@ declare class NotificationController {
|
|
|
5542
5542
|
* Find notifications with pagination and filtering.
|
|
5543
5543
|
*/
|
|
5544
5544
|
readonly findNotifications: ActionPrimitiveFn<{
|
|
5545
|
-
query:
|
|
5546
|
-
page:
|
|
5547
|
-
size:
|
|
5548
|
-
sort:
|
|
5549
|
-
type:
|
|
5550
|
-
template:
|
|
5551
|
-
contact:
|
|
5552
|
-
category:
|
|
5553
|
-
status:
|
|
5545
|
+
query: alepha1532.TObject<{
|
|
5546
|
+
page: alepha1532.TOptional<alepha1532.TInteger>;
|
|
5547
|
+
size: alepha1532.TOptional<alepha1532.TInteger>;
|
|
5548
|
+
sort: alepha1532.TOptional<alepha1532.TString>;
|
|
5549
|
+
type: alepha1532.TOptional<alepha1532.TUnsafe<"email" | "sms">>;
|
|
5550
|
+
template: alepha1532.TOptional<alepha1532.TString>;
|
|
5551
|
+
contact: alepha1532.TOptional<alepha1532.TString>;
|
|
5552
|
+
category: alepha1532.TOptional<alepha1532.TString>;
|
|
5553
|
+
status: alepha1532.TOptional<alepha1532.TUnsafe<"pending" | "sent" | "failed">>;
|
|
5554
5554
|
}>;
|
|
5555
|
-
response:
|
|
5556
|
-
id: PgAttr<PgAttr<
|
|
5557
|
-
version: PgAttr<PgAttr<
|
|
5558
|
-
createdAt: PgAttr<PgAttr<
|
|
5559
|
-
updatedAt: PgAttr<PgAttr<
|
|
5560
|
-
type:
|
|
5561
|
-
template:
|
|
5562
|
-
category:
|
|
5563
|
-
critical:
|
|
5564
|
-
sensitive:
|
|
5565
|
-
contact:
|
|
5566
|
-
variables:
|
|
5567
|
-
scheduledAt:
|
|
5568
|
-
sentAt:
|
|
5569
|
-
error:
|
|
5570
|
-
at:
|
|
5571
|
-
name:
|
|
5572
|
-
message:
|
|
5555
|
+
response: alepha1532.TPage<alepha1532.TObject<{
|
|
5556
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5557
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5558
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5559
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5560
|
+
type: alepha1532.TUnsafe<"email" | "sms">;
|
|
5561
|
+
template: alepha1532.TString;
|
|
5562
|
+
category: alepha1532.TOptional<alepha1532.TString>;
|
|
5563
|
+
critical: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5564
|
+
sensitive: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5565
|
+
contact: alepha1532.TString;
|
|
5566
|
+
variables: alepha1532.TOptional<alepha1532.TRecord<"^.*$", alepha1532.TAny>>;
|
|
5567
|
+
scheduledAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5568
|
+
sentAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5569
|
+
error: alepha1532.TOptional<alepha1532.TObject<{
|
|
5570
|
+
at: alepha1532.TString;
|
|
5571
|
+
name: alepha1532.TString;
|
|
5572
|
+
message: alepha1532.TString;
|
|
5573
5573
|
}>>;
|
|
5574
5574
|
}>>;
|
|
5575
5575
|
}>;
|
|
5576
5576
|
}
|
|
5577
5577
|
//#endregion
|
|
5578
5578
|
//#region ../../../alepha/src/queue/providers/WorkerProvider.d.ts
|
|
5579
|
-
declare const envSchema:
|
|
5579
|
+
declare const envSchema: alepha1532.TObject<{
|
|
5580
5580
|
/**
|
|
5581
5581
|
* The timeout in seconds for blocking job acquisition.
|
|
5582
5582
|
* Workers will check for shutdown after each timeout period.
|
|
5583
5583
|
*/
|
|
5584
|
-
QUEUE_WORKER_BLOCKING_TIMEOUT:
|
|
5584
|
+
QUEUE_WORKER_BLOCKING_TIMEOUT: alepha1532.TInteger;
|
|
5585
5585
|
/**
|
|
5586
5586
|
* The number of workers to run concurrently. Defaults to 1.
|
|
5587
5587
|
* Useful only if you are doing a lot of I/O.
|
|
5588
5588
|
*/
|
|
5589
|
-
QUEUE_WORKER_CONCURRENCY:
|
|
5589
|
+
QUEUE_WORKER_CONCURRENCY: alepha1532.TInteger;
|
|
5590
5590
|
/**
|
|
5591
5591
|
* Interval in milliseconds for renewing job locks during processing.
|
|
5592
5592
|
* Should be less than the job's lock duration.
|
|
5593
5593
|
*/
|
|
5594
|
-
QUEUE_WORKER_LOCK_RENEWAL_INTERVAL:
|
|
5594
|
+
QUEUE_WORKER_LOCK_RENEWAL_INTERVAL: alepha1532.TInteger;
|
|
5595
5595
|
/**
|
|
5596
5596
|
* Interval in milliseconds for the scheduler to check delayed jobs and stalled jobs.
|
|
5597
5597
|
*/
|
|
5598
|
-
QUEUE_SCHEDULER_INTERVAL:
|
|
5598
|
+
QUEUE_SCHEDULER_INTERVAL: alepha1532.TInteger;
|
|
5599
5599
|
/**
|
|
5600
5600
|
* Threshold in milliseconds after lock expiration to consider a job stalled.
|
|
5601
5601
|
*/
|
|
5602
|
-
QUEUE_STALLED_THRESHOLD:
|
|
5602
|
+
QUEUE_STALLED_THRESHOLD: alepha1532.TInteger;
|
|
5603
5603
|
}>;
|
|
5604
5604
|
declare module "alepha" {
|
|
5605
5605
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
5606
5606
|
}
|
|
5607
5607
|
//#endregion
|
|
5608
5608
|
//#region ../../../alepha/src/api-users/atoms/realmAuthSettingsAtom.d.ts
|
|
5609
|
-
declare const realmAuthSettingsAtom:
|
|
5610
|
-
registrationAllowed:
|
|
5611
|
-
emailEnabled:
|
|
5612
|
-
emailRequired:
|
|
5613
|
-
usernameEnabled:
|
|
5614
|
-
usernameRequired:
|
|
5615
|
-
phoneEnabled:
|
|
5616
|
-
phoneRequired:
|
|
5617
|
-
verifyEmailRequired:
|
|
5618
|
-
verifyPhoneRequired:
|
|
5619
|
-
firstNameLastNameEnabled:
|
|
5620
|
-
firstNameLastNameRequired:
|
|
5621
|
-
resetPasswordAllowed:
|
|
5622
|
-
passwordPolicy:
|
|
5623
|
-
minLength:
|
|
5624
|
-
requireUppercase:
|
|
5625
|
-
requireLowercase:
|
|
5626
|
-
requireNumbers:
|
|
5627
|
-
requireSpecialCharacters:
|
|
5609
|
+
declare const realmAuthSettingsAtom: alepha1532.Atom<alepha1532.TObject<{
|
|
5610
|
+
registrationAllowed: alepha1532.TBoolean;
|
|
5611
|
+
emailEnabled: alepha1532.TBoolean;
|
|
5612
|
+
emailRequired: alepha1532.TBoolean;
|
|
5613
|
+
usernameEnabled: alepha1532.TBoolean;
|
|
5614
|
+
usernameRequired: alepha1532.TBoolean;
|
|
5615
|
+
phoneEnabled: alepha1532.TBoolean;
|
|
5616
|
+
phoneRequired: alepha1532.TBoolean;
|
|
5617
|
+
verifyEmailRequired: alepha1532.TBoolean;
|
|
5618
|
+
verifyPhoneRequired: alepha1532.TBoolean;
|
|
5619
|
+
firstNameLastNameEnabled: alepha1532.TBoolean;
|
|
5620
|
+
firstNameLastNameRequired: alepha1532.TBoolean;
|
|
5621
|
+
resetPasswordAllowed: alepha1532.TBoolean;
|
|
5622
|
+
passwordPolicy: alepha1532.TObject<{
|
|
5623
|
+
minLength: alepha1532.TInteger;
|
|
5624
|
+
requireUppercase: alepha1532.TBoolean;
|
|
5625
|
+
requireLowercase: alepha1532.TBoolean;
|
|
5626
|
+
requireNumbers: alepha1532.TBoolean;
|
|
5627
|
+
requireSpecialCharacters: alepha1532.TBoolean;
|
|
5628
5628
|
}>;
|
|
5629
5629
|
}>, "alepha.api.users.realmAuthSettings">;
|
|
5630
5630
|
type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
|
|
5631
5631
|
//#endregion
|
|
5632
5632
|
//#region ../../../alepha/src/api-users/entities/identities.d.ts
|
|
5633
|
-
declare const identities: EntityPrimitive<
|
|
5634
|
-
id: PgAttr<PgAttr<
|
|
5635
|
-
version: PgAttr<PgAttr<
|
|
5636
|
-
createdAt: PgAttr<PgAttr<
|
|
5637
|
-
updatedAt: PgAttr<PgAttr<
|
|
5638
|
-
userId: PgAttr<
|
|
5639
|
-
password:
|
|
5640
|
-
provider:
|
|
5641
|
-
providerUserId:
|
|
5642
|
-
providerData:
|
|
5633
|
+
declare const identities: EntityPrimitive<alepha1532.TObject<{
|
|
5634
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5635
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5636
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5637
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5638
|
+
userId: PgAttr<alepha1532.TString, typeof PG_REF>;
|
|
5639
|
+
password: alepha1532.TOptional<alepha1532.TString>;
|
|
5640
|
+
provider: alepha1532.TString;
|
|
5641
|
+
providerUserId: alepha1532.TOptional<alepha1532.TString>;
|
|
5642
|
+
providerData: alepha1532.TOptional<alepha1532.TRecord<string, alepha1532.TAny>>;
|
|
5643
5643
|
}>>;
|
|
5644
5644
|
//#endregion
|
|
5645
5645
|
//#region ../../../alepha/src/api-users/entities/sessions.d.ts
|
|
5646
|
-
declare const sessions: EntityPrimitive<
|
|
5647
|
-
id: PgAttr<PgAttr<
|
|
5648
|
-
version: PgAttr<PgAttr<
|
|
5649
|
-
createdAt: PgAttr<PgAttr<
|
|
5650
|
-
updatedAt: PgAttr<PgAttr<
|
|
5651
|
-
refreshToken:
|
|
5652
|
-
userId: PgAttr<
|
|
5653
|
-
expiresAt:
|
|
5654
|
-
ip:
|
|
5655
|
-
userAgent:
|
|
5656
|
-
os:
|
|
5657
|
-
browser:
|
|
5658
|
-
device:
|
|
5646
|
+
declare const sessions: EntityPrimitive<alepha1532.TObject<{
|
|
5647
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5648
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5649
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5650
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5651
|
+
refreshToken: alepha1532.TString;
|
|
5652
|
+
userId: PgAttr<alepha1532.TString, typeof PG_REF>;
|
|
5653
|
+
expiresAt: alepha1532.TString;
|
|
5654
|
+
ip: alepha1532.TOptional<alepha1532.TString>;
|
|
5655
|
+
userAgent: alepha1532.TOptional<alepha1532.TObject<{
|
|
5656
|
+
os: alepha1532.TString;
|
|
5657
|
+
browser: alepha1532.TString;
|
|
5658
|
+
device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5659
5659
|
}>>;
|
|
5660
5660
|
}>>;
|
|
5661
5661
|
type SessionEntity = Static<typeof sessions.schema>;
|
|
5662
5662
|
//#endregion
|
|
5663
5663
|
//#region ../../../alepha/src/api-users/entities/users.d.ts
|
|
5664
|
-
declare const users: EntityPrimitive<
|
|
5665
|
-
id: PgAttr<PgAttr<
|
|
5666
|
-
version: PgAttr<PgAttr<
|
|
5667
|
-
createdAt: PgAttr<PgAttr<
|
|
5668
|
-
updatedAt: PgAttr<PgAttr<
|
|
5669
|
-
realm: PgAttr<
|
|
5670
|
-
username:
|
|
5671
|
-
email:
|
|
5672
|
-
phoneNumber:
|
|
5673
|
-
roles: PgAttr<
|
|
5674
|
-
firstName:
|
|
5675
|
-
lastName:
|
|
5676
|
-
picture:
|
|
5677
|
-
enabled: PgAttr<
|
|
5678
|
-
emailVerified: PgAttr<
|
|
5664
|
+
declare const users: EntityPrimitive<alepha1532.TObject<{
|
|
5665
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5666
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5667
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5668
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5669
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
5670
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
5671
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
5672
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
5673
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
5674
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
5675
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
5676
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
5677
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
5678
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
5679
5679
|
}>>;
|
|
5680
5680
|
type UserEntity = Static<typeof users.schema>;
|
|
5681
5681
|
//#endregion
|
|
@@ -5692,51 +5692,51 @@ interface UserRealm {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
declare class UserRealmProvider {
|
|
5694
5694
|
protected readonly alepha: Alepha;
|
|
5695
|
-
protected readonly defaultIdentities: Repository<
|
|
5696
|
-
id: PgAttr<PgAttr<
|
|
5697
|
-
version: PgAttr<PgAttr<
|
|
5698
|
-
createdAt: PgAttr<PgAttr<
|
|
5699
|
-
updatedAt: PgAttr<PgAttr<
|
|
5700
|
-
userId: PgAttr<
|
|
5701
|
-
password:
|
|
5702
|
-
provider:
|
|
5703
|
-
providerUserId:
|
|
5704
|
-
providerData:
|
|
5695
|
+
protected readonly defaultIdentities: Repository<alepha1532.TObject<{
|
|
5696
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5697
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5698
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5699
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5700
|
+
userId: PgAttr<alepha1532.TString, typeof PG_REF>;
|
|
5701
|
+
password: alepha1532.TOptional<alepha1532.TString>;
|
|
5702
|
+
provider: alepha1532.TString;
|
|
5703
|
+
providerUserId: alepha1532.TOptional<alepha1532.TString>;
|
|
5704
|
+
providerData: alepha1532.TOptional<alepha1532.TRecord<string, alepha1532.TAny>>;
|
|
5705
5705
|
}>>;
|
|
5706
|
-
protected readonly defaultSessions: Repository<
|
|
5707
|
-
id: PgAttr<PgAttr<
|
|
5708
|
-
version: PgAttr<PgAttr<
|
|
5709
|
-
createdAt: PgAttr<PgAttr<
|
|
5710
|
-
updatedAt: PgAttr<PgAttr<
|
|
5711
|
-
refreshToken:
|
|
5712
|
-
userId: PgAttr<
|
|
5713
|
-
expiresAt:
|
|
5714
|
-
ip:
|
|
5715
|
-
userAgent:
|
|
5716
|
-
os:
|
|
5717
|
-
browser:
|
|
5718
|
-
device:
|
|
5706
|
+
protected readonly defaultSessions: Repository<alepha1532.TObject<{
|
|
5707
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5708
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5709
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5710
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5711
|
+
refreshToken: alepha1532.TString;
|
|
5712
|
+
userId: PgAttr<alepha1532.TString, typeof PG_REF>;
|
|
5713
|
+
expiresAt: alepha1532.TString;
|
|
5714
|
+
ip: alepha1532.TOptional<alepha1532.TString>;
|
|
5715
|
+
userAgent: alepha1532.TOptional<alepha1532.TObject<{
|
|
5716
|
+
os: alepha1532.TString;
|
|
5717
|
+
browser: alepha1532.TString;
|
|
5718
|
+
device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5719
5719
|
}>>;
|
|
5720
5720
|
}>>;
|
|
5721
|
-
protected readonly defaultUsers: Repository<
|
|
5722
|
-
id: PgAttr<PgAttr<
|
|
5723
|
-
version: PgAttr<PgAttr<
|
|
5724
|
-
createdAt: PgAttr<PgAttr<
|
|
5725
|
-
updatedAt: PgAttr<PgAttr<
|
|
5726
|
-
realm: PgAttr<
|
|
5727
|
-
username:
|
|
5728
|
-
email:
|
|
5729
|
-
phoneNumber:
|
|
5730
|
-
roles: PgAttr<
|
|
5731
|
-
firstName:
|
|
5732
|
-
lastName:
|
|
5733
|
-
picture:
|
|
5734
|
-
enabled: PgAttr<
|
|
5735
|
-
emailVerified: PgAttr<
|
|
5721
|
+
protected readonly defaultUsers: Repository<alepha1532.TObject<{
|
|
5722
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5723
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5724
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5725
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5726
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
5727
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
5728
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
5729
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
5730
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
5731
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
5732
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
5733
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
5734
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
5735
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
5736
5736
|
}>>;
|
|
5737
5737
|
protected realms: Map<string, UserRealm>;
|
|
5738
5738
|
avatars: BucketPrimitive;
|
|
5739
|
-
protected readonly onConfigure:
|
|
5739
|
+
protected readonly onConfigure: alepha1532.HookPrimitive<"configure">;
|
|
5740
5740
|
register(userRealmName: string, userRealmOptions?: UserRealmOptions): UserRealm;
|
|
5741
5741
|
/**
|
|
5742
5742
|
* Gets a registered realm by name, auto-creating default if needed.
|
|
@@ -5748,11 +5748,11 @@ declare class UserRealmProvider {
|
|
|
5748
5748
|
}
|
|
5749
5749
|
//#endregion
|
|
5750
5750
|
//#region ../../../alepha/src/api-users/schemas/sessionQuerySchema.d.ts
|
|
5751
|
-
declare const sessionQuerySchema:
|
|
5752
|
-
page:
|
|
5753
|
-
size:
|
|
5754
|
-
sort:
|
|
5755
|
-
userId:
|
|
5751
|
+
declare const sessionQuerySchema: alepha1532.TObject<{
|
|
5752
|
+
page: alepha1532.TOptional<alepha1532.TInteger>;
|
|
5753
|
+
size: alepha1532.TOptional<alepha1532.TInteger>;
|
|
5754
|
+
sort: alepha1532.TOptional<alepha1532.TString>;
|
|
5755
|
+
userId: alepha1532.TOptional<alepha1532.TString>;
|
|
5756
5756
|
}>;
|
|
5757
5757
|
type SessionQuery = Static<typeof sessionQuerySchema>;
|
|
5758
5758
|
//#endregion
|
|
@@ -5760,19 +5760,19 @@ type SessionQuery = Static<typeof sessionQuerySchema>;
|
|
|
5760
5760
|
declare class SessionCrudService {
|
|
5761
5761
|
protected readonly log: Logger;
|
|
5762
5762
|
protected readonly userRealmProvider: UserRealmProvider;
|
|
5763
|
-
sessions(userRealmName?: string): Repository<
|
|
5764
|
-
id: PgAttr<PgAttr<
|
|
5765
|
-
version: PgAttr<PgAttr<
|
|
5766
|
-
createdAt: PgAttr<PgAttr<
|
|
5767
|
-
updatedAt: PgAttr<PgAttr<
|
|
5768
|
-
refreshToken:
|
|
5769
|
-
userId: PgAttr<
|
|
5770
|
-
expiresAt:
|
|
5771
|
-
ip:
|
|
5772
|
-
userAgent:
|
|
5773
|
-
os:
|
|
5774
|
-
browser:
|
|
5775
|
-
device:
|
|
5763
|
+
sessions(userRealmName?: string): Repository<alepha1532.TObject<{
|
|
5764
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5765
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5766
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5767
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5768
|
+
refreshToken: alepha1532.TString;
|
|
5769
|
+
userId: PgAttr<alepha1532.TString, typeof PG_REF>;
|
|
5770
|
+
expiresAt: alepha1532.TString;
|
|
5771
|
+
ip: alepha1532.TOptional<alepha1532.TString>;
|
|
5772
|
+
userAgent: alepha1532.TOptional<alepha1532.TObject<{
|
|
5773
|
+
os: alepha1532.TString;
|
|
5774
|
+
browser: alepha1532.TString;
|
|
5775
|
+
device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5776
5776
|
}>>;
|
|
5777
5777
|
}>>;
|
|
5778
5778
|
/**
|
|
@@ -5798,26 +5798,26 @@ declare class SessionController {
|
|
|
5798
5798
|
* Find sessions with pagination and filtering.
|
|
5799
5799
|
*/
|
|
5800
5800
|
readonly findSessions: ActionPrimitiveFn<{
|
|
5801
|
-
query:
|
|
5802
|
-
page:
|
|
5803
|
-
size:
|
|
5804
|
-
sort:
|
|
5805
|
-
userId:
|
|
5806
|
-
userRealmName:
|
|
5801
|
+
query: alepha1532.TObject<{
|
|
5802
|
+
page: alepha1532.TOptional<alepha1532.TInteger>;
|
|
5803
|
+
size: alepha1532.TOptional<alepha1532.TInteger>;
|
|
5804
|
+
sort: alepha1532.TOptional<alepha1532.TString>;
|
|
5805
|
+
userId: alepha1532.TOptional<alepha1532.TString>;
|
|
5806
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
5807
5807
|
}>;
|
|
5808
|
-
response:
|
|
5809
|
-
id:
|
|
5810
|
-
version:
|
|
5811
|
-
createdAt:
|
|
5812
|
-
updatedAt:
|
|
5813
|
-
refreshToken:
|
|
5814
|
-
userId:
|
|
5815
|
-
expiresAt:
|
|
5816
|
-
ip:
|
|
5817
|
-
userAgent:
|
|
5818
|
-
os:
|
|
5819
|
-
browser:
|
|
5820
|
-
device:
|
|
5808
|
+
response: alepha1532.TPage<alepha1532.TObject<{
|
|
5809
|
+
id: alepha1532.TString;
|
|
5810
|
+
version: alepha1532.TNumber;
|
|
5811
|
+
createdAt: alepha1532.TString;
|
|
5812
|
+
updatedAt: alepha1532.TString;
|
|
5813
|
+
refreshToken: alepha1532.TString;
|
|
5814
|
+
userId: alepha1532.TString;
|
|
5815
|
+
expiresAt: alepha1532.TString;
|
|
5816
|
+
ip: alepha1532.TOptional<alepha1532.TString>;
|
|
5817
|
+
userAgent: alepha1532.TOptional<alepha1532.TObject<{
|
|
5818
|
+
os: alepha1532.TString;
|
|
5819
|
+
browser: alepha1532.TString;
|
|
5820
|
+
device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5821
5821
|
}>>;
|
|
5822
5822
|
}>>;
|
|
5823
5823
|
}>;
|
|
@@ -5825,25 +5825,25 @@ declare class SessionController {
|
|
|
5825
5825
|
* Get a session by ID.
|
|
5826
5826
|
*/
|
|
5827
5827
|
readonly getSession: ActionPrimitiveFn<{
|
|
5828
|
-
params:
|
|
5829
|
-
id:
|
|
5828
|
+
params: alepha1532.TObject<{
|
|
5829
|
+
id: alepha1532.TString;
|
|
5830
5830
|
}>;
|
|
5831
|
-
query:
|
|
5832
|
-
userRealmName:
|
|
5831
|
+
query: alepha1532.TObject<{
|
|
5832
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
5833
5833
|
}>;
|
|
5834
|
-
response:
|
|
5835
|
-
id:
|
|
5836
|
-
version:
|
|
5837
|
-
createdAt:
|
|
5838
|
-
updatedAt:
|
|
5839
|
-
refreshToken:
|
|
5840
|
-
userId:
|
|
5841
|
-
expiresAt:
|
|
5842
|
-
ip:
|
|
5843
|
-
userAgent:
|
|
5844
|
-
os:
|
|
5845
|
-
browser:
|
|
5846
|
-
device:
|
|
5834
|
+
response: alepha1532.TObject<{
|
|
5835
|
+
id: alepha1532.TString;
|
|
5836
|
+
version: alepha1532.TNumber;
|
|
5837
|
+
createdAt: alepha1532.TString;
|
|
5838
|
+
updatedAt: alepha1532.TString;
|
|
5839
|
+
refreshToken: alepha1532.TString;
|
|
5840
|
+
userId: alepha1532.TString;
|
|
5841
|
+
expiresAt: alepha1532.TString;
|
|
5842
|
+
ip: alepha1532.TOptional<alepha1532.TString>;
|
|
5843
|
+
userAgent: alepha1532.TOptional<alepha1532.TObject<{
|
|
5844
|
+
os: alepha1532.TString;
|
|
5845
|
+
browser: alepha1532.TString;
|
|
5846
|
+
device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5847
5847
|
}>>;
|
|
5848
5848
|
}>;
|
|
5849
5849
|
}>;
|
|
@@ -5851,50 +5851,50 @@ declare class SessionController {
|
|
|
5851
5851
|
* Delete a session.
|
|
5852
5852
|
*/
|
|
5853
5853
|
readonly deleteSession: ActionPrimitiveFn<{
|
|
5854
|
-
params:
|
|
5855
|
-
id:
|
|
5854
|
+
params: alepha1532.TObject<{
|
|
5855
|
+
id: alepha1532.TString;
|
|
5856
5856
|
}>;
|
|
5857
|
-
query:
|
|
5858
|
-
userRealmName:
|
|
5857
|
+
query: alepha1532.TObject<{
|
|
5858
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
5859
5859
|
}>;
|
|
5860
|
-
response:
|
|
5861
|
-
ok:
|
|
5862
|
-
id:
|
|
5863
|
-
count:
|
|
5860
|
+
response: alepha1532.TObject<{
|
|
5861
|
+
ok: alepha1532.TBoolean;
|
|
5862
|
+
id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
|
|
5863
|
+
count: alepha1532.TOptional<alepha1532.TNumber>;
|
|
5864
5864
|
}>;
|
|
5865
5865
|
}>;
|
|
5866
5866
|
}
|
|
5867
5867
|
//#endregion
|
|
5868
5868
|
//#region ../../../alepha/src/api-verifications/entities/verifications.d.ts
|
|
5869
|
-
declare const verifications: EntityPrimitive<
|
|
5870
|
-
id: PgAttr<PgAttr<
|
|
5871
|
-
createdAt: PgAttr<PgAttr<
|
|
5872
|
-
updatedAt: PgAttr<PgAttr<
|
|
5873
|
-
version: PgAttr<PgAttr<
|
|
5874
|
-
type:
|
|
5875
|
-
target:
|
|
5876
|
-
code:
|
|
5877
|
-
verifiedAt:
|
|
5878
|
-
attempts: PgAttr<
|
|
5869
|
+
declare const verifications: EntityPrimitive<alepha1532.TObject<{
|
|
5870
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5871
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5872
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5873
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5874
|
+
type: alepha1532.TUnsafe<"link" | "code">;
|
|
5875
|
+
target: alepha1532.TString;
|
|
5876
|
+
code: alepha1532.TString;
|
|
5877
|
+
verifiedAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5878
|
+
attempts: PgAttr<alepha1532.TInteger, typeof PG_DEFAULT>;
|
|
5879
5879
|
}>>;
|
|
5880
5880
|
type VerificationEntity = Static<typeof verifications.schema>;
|
|
5881
5881
|
//#endregion
|
|
5882
5882
|
//#region ../../../alepha/src/api-verifications/schemas/verificationSettingsSchema.d.ts
|
|
5883
|
-
declare const verificationSettingsSchema:
|
|
5884
|
-
code:
|
|
5885
|
-
maxAttempts:
|
|
5886
|
-
codeLength:
|
|
5887
|
-
codeExpiration:
|
|
5888
|
-
verificationCooldown:
|
|
5889
|
-
limitPerDay:
|
|
5883
|
+
declare const verificationSettingsSchema: alepha1532.TObject<{
|
|
5884
|
+
code: alepha1532.TObject<{
|
|
5885
|
+
maxAttempts: alepha1532.TInteger;
|
|
5886
|
+
codeLength: alepha1532.TInteger;
|
|
5887
|
+
codeExpiration: alepha1532.TInteger;
|
|
5888
|
+
verificationCooldown: alepha1532.TInteger;
|
|
5889
|
+
limitPerDay: alepha1532.TInteger;
|
|
5890
5890
|
}>;
|
|
5891
|
-
link:
|
|
5892
|
-
maxAttempts:
|
|
5893
|
-
codeExpiration:
|
|
5894
|
-
verificationCooldown:
|
|
5895
|
-
limitPerDay:
|
|
5891
|
+
link: alepha1532.TObject<{
|
|
5892
|
+
maxAttempts: alepha1532.TInteger;
|
|
5893
|
+
codeExpiration: alepha1532.TInteger;
|
|
5894
|
+
verificationCooldown: alepha1532.TInteger;
|
|
5895
|
+
limitPerDay: alepha1532.TInteger;
|
|
5896
5896
|
}>;
|
|
5897
|
-
purgeDays:
|
|
5897
|
+
purgeDays: alepha1532.TInteger;
|
|
5898
5898
|
}>;
|
|
5899
5899
|
type VerificationSettings = Static<typeof verificationSettingsSchema>;
|
|
5900
5900
|
//#endregion
|
|
@@ -5902,21 +5902,21 @@ type VerificationSettings = Static<typeof verificationSettingsSchema>;
|
|
|
5902
5902
|
/**
|
|
5903
5903
|
* Verification settings configuration atom
|
|
5904
5904
|
*/
|
|
5905
|
-
declare const verificationOptions:
|
|
5906
|
-
code:
|
|
5907
|
-
maxAttempts:
|
|
5908
|
-
codeLength:
|
|
5909
|
-
codeExpiration:
|
|
5910
|
-
verificationCooldown:
|
|
5911
|
-
limitPerDay:
|
|
5905
|
+
declare const verificationOptions: alepha1532.Atom<alepha1532.TObject<{
|
|
5906
|
+
code: alepha1532.TObject<{
|
|
5907
|
+
maxAttempts: alepha1532.TInteger;
|
|
5908
|
+
codeLength: alepha1532.TInteger;
|
|
5909
|
+
codeExpiration: alepha1532.TInteger;
|
|
5910
|
+
verificationCooldown: alepha1532.TInteger;
|
|
5911
|
+
limitPerDay: alepha1532.TInteger;
|
|
5912
5912
|
}>;
|
|
5913
|
-
link:
|
|
5914
|
-
maxAttempts:
|
|
5915
|
-
codeExpiration:
|
|
5916
|
-
verificationCooldown:
|
|
5917
|
-
limitPerDay:
|
|
5913
|
+
link: alepha1532.TObject<{
|
|
5914
|
+
maxAttempts: alepha1532.TInteger;
|
|
5915
|
+
codeExpiration: alepha1532.TInteger;
|
|
5916
|
+
verificationCooldown: alepha1532.TInteger;
|
|
5917
|
+
limitPerDay: alepha1532.TInteger;
|
|
5918
5918
|
}>;
|
|
5919
|
-
purgeDays:
|
|
5919
|
+
purgeDays: alepha1532.TInteger;
|
|
5920
5920
|
}>, "alepha.api.verifications.options">;
|
|
5921
5921
|
type VerificationOptions = Static<typeof verificationOptions.schema>;
|
|
5922
5922
|
declare module "alepha" {
|
|
@@ -5945,23 +5945,23 @@ declare class VerificationParameters {
|
|
|
5945
5945
|
}
|
|
5946
5946
|
//#endregion
|
|
5947
5947
|
//#region ../../../alepha/src/api-verifications/schemas/requestVerificationCodeResponseSchema.d.ts
|
|
5948
|
-
declare const requestVerificationCodeResponseSchema:
|
|
5949
|
-
token:
|
|
5950
|
-
codeExpiration:
|
|
5951
|
-
verificationCooldown:
|
|
5952
|
-
maxVerificationAttempts:
|
|
5948
|
+
declare const requestVerificationCodeResponseSchema: alepha1532.TObject<{
|
|
5949
|
+
token: alepha1532.TString;
|
|
5950
|
+
codeExpiration: alepha1532.TInteger;
|
|
5951
|
+
verificationCooldown: alepha1532.TInteger;
|
|
5952
|
+
maxVerificationAttempts: alepha1532.TInteger;
|
|
5953
5953
|
}>;
|
|
5954
5954
|
type RequestVerificationResponse = Static<typeof requestVerificationCodeResponseSchema>;
|
|
5955
5955
|
//#endregion
|
|
5956
5956
|
//#region ../../../alepha/src/api-verifications/schemas/validateVerificationCodeResponseSchema.d.ts
|
|
5957
|
-
declare const validateVerificationCodeResponseSchema:
|
|
5958
|
-
ok:
|
|
5959
|
-
alreadyVerified:
|
|
5957
|
+
declare const validateVerificationCodeResponseSchema: alepha1532.TObject<{
|
|
5958
|
+
ok: alepha1532.TBoolean;
|
|
5959
|
+
alreadyVerified: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
5960
5960
|
}>;
|
|
5961
5961
|
type ValidateVerificationCodeResponse = Static<typeof validateVerificationCodeResponseSchema>;
|
|
5962
5962
|
//#endregion
|
|
5963
5963
|
//#region ../../../alepha/src/api-verifications/schemas/verificationTypeEnumSchema.d.ts
|
|
5964
|
-
declare const verificationTypeEnumSchema:
|
|
5964
|
+
declare const verificationTypeEnumSchema: alepha1532.TUnsafe<"link" | "code">;
|
|
5965
5965
|
type VerificationTypeEnum = Static<typeof verificationTypeEnumSchema>;
|
|
5966
5966
|
//#endregion
|
|
5967
5967
|
//#region ../../../alepha/src/api-verifications/services/VerificationService.d.ts
|
|
@@ -5969,38 +5969,38 @@ declare class VerificationService {
|
|
|
5969
5969
|
protected readonly log: Logger;
|
|
5970
5970
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
5971
5971
|
protected readonly verificationParameters: VerificationParameters;
|
|
5972
|
-
protected readonly verificationRepository: Repository<
|
|
5973
|
-
id: PgAttr<PgAttr<
|
|
5974
|
-
createdAt: PgAttr<PgAttr<
|
|
5975
|
-
updatedAt: PgAttr<PgAttr<
|
|
5976
|
-
version: PgAttr<PgAttr<
|
|
5977
|
-
type:
|
|
5978
|
-
target:
|
|
5979
|
-
code:
|
|
5980
|
-
verifiedAt:
|
|
5981
|
-
attempts: PgAttr<
|
|
5972
|
+
protected readonly verificationRepository: Repository<alepha1532.TObject<{
|
|
5973
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5974
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5975
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5976
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5977
|
+
type: alepha1532.TUnsafe<"link" | "code">;
|
|
5978
|
+
target: alepha1532.TString;
|
|
5979
|
+
code: alepha1532.TString;
|
|
5980
|
+
verifiedAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5981
|
+
attempts: PgAttr<alepha1532.TInteger, typeof PG_DEFAULT>;
|
|
5982
5982
|
}>>;
|
|
5983
5983
|
findByEntry(entry: VerificationEntry): Promise<VerificationEntity>;
|
|
5984
|
-
findRecentsByEntry(entry: VerificationEntry): Promise<PgStatic<
|
|
5985
|
-
id: PgAttr<PgAttr<
|
|
5986
|
-
createdAt: PgAttr<PgAttr<
|
|
5987
|
-
updatedAt: PgAttr<PgAttr<
|
|
5988
|
-
version: PgAttr<PgAttr<
|
|
5989
|
-
type:
|
|
5990
|
-
target:
|
|
5991
|
-
code:
|
|
5992
|
-
verifiedAt:
|
|
5993
|
-
attempts: PgAttr<
|
|
5994
|
-
}>, PgRelationMap<
|
|
5995
|
-
id: PgAttr<PgAttr<
|
|
5996
|
-
createdAt: PgAttr<PgAttr<
|
|
5997
|
-
updatedAt: PgAttr<PgAttr<
|
|
5998
|
-
version: PgAttr<PgAttr<
|
|
5999
|
-
type:
|
|
6000
|
-
target:
|
|
6001
|
-
code:
|
|
6002
|
-
verifiedAt:
|
|
6003
|
-
attempts: PgAttr<
|
|
5984
|
+
findRecentsByEntry(entry: VerificationEntry): Promise<PgStatic<alepha1532.TObject<{
|
|
5985
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5986
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5987
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5988
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5989
|
+
type: alepha1532.TUnsafe<"link" | "code">;
|
|
5990
|
+
target: alepha1532.TString;
|
|
5991
|
+
code: alepha1532.TString;
|
|
5992
|
+
verifiedAt: alepha1532.TOptional<alepha1532.TString>;
|
|
5993
|
+
attempts: PgAttr<alepha1532.TInteger, typeof PG_DEFAULT>;
|
|
5994
|
+
}>, PgRelationMap<alepha1532.TObject<{
|
|
5995
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5996
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5997
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5998
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5999
|
+
type: alepha1532.TUnsafe<"link" | "code">;
|
|
6000
|
+
target: alepha1532.TString;
|
|
6001
|
+
code: alepha1532.TString;
|
|
6002
|
+
verifiedAt: alepha1532.TOptional<alepha1532.TString>;
|
|
6003
|
+
attempts: PgAttr<alepha1532.TInteger, typeof PG_DEFAULT>;
|
|
6004
6004
|
}>>>[]>;
|
|
6005
6005
|
/**
|
|
6006
6006
|
* Creates a verification entry and returns the token.
|
|
@@ -6023,60 +6023,60 @@ declare class VerificationController {
|
|
|
6023
6023
|
readonly url = "/verifications";
|
|
6024
6024
|
readonly group = "verifications";
|
|
6025
6025
|
readonly requestVerificationCode: ActionPrimitiveFn<{
|
|
6026
|
-
params:
|
|
6027
|
-
type:
|
|
6026
|
+
params: alepha1532.TObject<{
|
|
6027
|
+
type: alepha1532.TUnsafe<"link" | "code">;
|
|
6028
6028
|
}>;
|
|
6029
|
-
body:
|
|
6030
|
-
target:
|
|
6029
|
+
body: alepha1532.TObject<{
|
|
6030
|
+
target: alepha1532.TString;
|
|
6031
6031
|
}>;
|
|
6032
|
-
response:
|
|
6033
|
-
token:
|
|
6034
|
-
codeExpiration:
|
|
6035
|
-
verificationCooldown:
|
|
6036
|
-
maxVerificationAttempts:
|
|
6032
|
+
response: alepha1532.TObject<{
|
|
6033
|
+
token: alepha1532.TString;
|
|
6034
|
+
codeExpiration: alepha1532.TInteger;
|
|
6035
|
+
verificationCooldown: alepha1532.TInteger;
|
|
6036
|
+
maxVerificationAttempts: alepha1532.TInteger;
|
|
6037
6037
|
}>;
|
|
6038
6038
|
}>;
|
|
6039
6039
|
readonly validateVerificationCode: ActionPrimitiveFn<{
|
|
6040
|
-
params:
|
|
6041
|
-
type:
|
|
6040
|
+
params: alepha1532.TObject<{
|
|
6041
|
+
type: alepha1532.TUnsafe<"link" | "code">;
|
|
6042
6042
|
}>;
|
|
6043
|
-
body:
|
|
6044
|
-
target:
|
|
6045
|
-
token:
|
|
6043
|
+
body: alepha1532.TObject<{
|
|
6044
|
+
target: alepha1532.TString;
|
|
6045
|
+
token: alepha1532.TString;
|
|
6046
6046
|
}>;
|
|
6047
|
-
response:
|
|
6048
|
-
ok:
|
|
6049
|
-
alreadyVerified:
|
|
6047
|
+
response: alepha1532.TObject<{
|
|
6048
|
+
ok: alepha1532.TBoolean;
|
|
6049
|
+
alreadyVerified: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
6050
6050
|
}>;
|
|
6051
6051
|
}>;
|
|
6052
6052
|
}
|
|
6053
6053
|
//#endregion
|
|
6054
6054
|
//#region ../../../alepha/src/api-users/notifications/UserNotifications.d.ts
|
|
6055
6055
|
declare class UserNotifications {
|
|
6056
|
-
readonly passwordReset: NotificationPrimitive<
|
|
6057
|
-
email:
|
|
6058
|
-
code:
|
|
6059
|
-
expiresInMinutes:
|
|
6056
|
+
readonly passwordReset: NotificationPrimitive<alepha1532.TObject<{
|
|
6057
|
+
email: alepha1532.TString;
|
|
6058
|
+
code: alepha1532.TString;
|
|
6059
|
+
expiresInMinutes: alepha1532.TNumber;
|
|
6060
6060
|
}>>;
|
|
6061
|
-
readonly emailVerification: NotificationPrimitive<
|
|
6062
|
-
email:
|
|
6063
|
-
code:
|
|
6064
|
-
expiresInMinutes:
|
|
6061
|
+
readonly emailVerification: NotificationPrimitive<alepha1532.TObject<{
|
|
6062
|
+
email: alepha1532.TString;
|
|
6063
|
+
code: alepha1532.TString;
|
|
6064
|
+
expiresInMinutes: alepha1532.TNumber;
|
|
6065
6065
|
}>>;
|
|
6066
|
-
readonly phoneVerification: NotificationPrimitive<
|
|
6067
|
-
phoneNumber:
|
|
6068
|
-
code:
|
|
6069
|
-
expiresInMinutes:
|
|
6066
|
+
readonly phoneVerification: NotificationPrimitive<alepha1532.TObject<{
|
|
6067
|
+
phoneNumber: alepha1532.TString;
|
|
6068
|
+
code: alepha1532.TString;
|
|
6069
|
+
expiresInMinutes: alepha1532.TNumber;
|
|
6070
6070
|
}>>;
|
|
6071
|
-
readonly passwordResetLink: NotificationPrimitive<
|
|
6072
|
-
email:
|
|
6073
|
-
resetUrl:
|
|
6074
|
-
expiresInMinutes:
|
|
6071
|
+
readonly passwordResetLink: NotificationPrimitive<alepha1532.TObject<{
|
|
6072
|
+
email: alepha1532.TString;
|
|
6073
|
+
resetUrl: alepha1532.TString;
|
|
6074
|
+
expiresInMinutes: alepha1532.TNumber;
|
|
6075
6075
|
}>>;
|
|
6076
|
-
readonly emailVerificationLink: NotificationPrimitive<
|
|
6077
|
-
email:
|
|
6078
|
-
verifyUrl:
|
|
6079
|
-
expiresInMinutes:
|
|
6076
|
+
readonly emailVerificationLink: NotificationPrimitive<alepha1532.TObject<{
|
|
6077
|
+
email: alepha1532.TString;
|
|
6078
|
+
verifyUrl: alepha1532.TString;
|
|
6079
|
+
expiresInMinutes: alepha1532.TNumber;
|
|
6080
6080
|
}>>;
|
|
6081
6081
|
}
|
|
6082
6082
|
//#endregion
|
|
@@ -6087,10 +6087,10 @@ declare class UserNotifications {
|
|
|
6087
6087
|
* Requires the intent ID from Phase 1, the verification code,
|
|
6088
6088
|
* and the new password.
|
|
6089
6089
|
*/
|
|
6090
|
-
declare const completePasswordResetRequestSchema:
|
|
6091
|
-
intentId:
|
|
6092
|
-
code:
|
|
6093
|
-
newPassword:
|
|
6090
|
+
declare const completePasswordResetRequestSchema: alepha1532.TObject<{
|
|
6091
|
+
intentId: alepha1532.TString;
|
|
6092
|
+
code: alepha1532.TString;
|
|
6093
|
+
newPassword: alepha1532.TString;
|
|
6094
6094
|
}>;
|
|
6095
6095
|
type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSchema>;
|
|
6096
6096
|
//#endregion
|
|
@@ -6101,9 +6101,9 @@ type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSc
|
|
|
6101
6101
|
* Contains the intent ID needed for Phase 2 completion,
|
|
6102
6102
|
* along with expiration time.
|
|
6103
6103
|
*/
|
|
6104
|
-
declare const passwordResetIntentResponseSchema:
|
|
6105
|
-
intentId:
|
|
6106
|
-
expiresAt:
|
|
6104
|
+
declare const passwordResetIntentResponseSchema: alepha1532.TObject<{
|
|
6105
|
+
intentId: alepha1532.TString;
|
|
6106
|
+
expiresAt: alepha1532.TString;
|
|
6107
6107
|
}>;
|
|
6108
6108
|
type PasswordResetIntentResponse = Static<typeof passwordResetIntentResponseSchema>;
|
|
6109
6109
|
//#endregion
|
|
@@ -6126,47 +6126,47 @@ declare class CredentialService {
|
|
|
6126
6126
|
protected readonly userNotifications: UserNotifications;
|
|
6127
6127
|
protected readonly userRealmProvider: UserRealmProvider;
|
|
6128
6128
|
protected readonly intentCache: CachePrimitiveFn<PasswordResetIntent, any[]>;
|
|
6129
|
-
users(userRealmName?: string): Repository<
|
|
6130
|
-
id: PgAttr<PgAttr<
|
|
6131
|
-
version: PgAttr<PgAttr<
|
|
6132
|
-
createdAt: PgAttr<PgAttr<
|
|
6133
|
-
updatedAt: PgAttr<PgAttr<
|
|
6134
|
-
realm: PgAttr<
|
|
6135
|
-
username:
|
|
6136
|
-
email:
|
|
6137
|
-
phoneNumber:
|
|
6138
|
-
roles: PgAttr<
|
|
6139
|
-
firstName:
|
|
6140
|
-
lastName:
|
|
6141
|
-
picture:
|
|
6142
|
-
enabled: PgAttr<
|
|
6143
|
-
emailVerified: PgAttr<
|
|
6129
|
+
users(userRealmName?: string): Repository<alepha1532.TObject<{
|
|
6130
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6131
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6132
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6133
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6134
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
6135
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6136
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6137
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6138
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
6139
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6140
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6141
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6142
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6143
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6144
6144
|
}>>;
|
|
6145
|
-
sessions(userRealmName?: string): Repository<
|
|
6146
|
-
id: PgAttr<PgAttr<
|
|
6147
|
-
version: PgAttr<PgAttr<
|
|
6148
|
-
createdAt: PgAttr<PgAttr<
|
|
6149
|
-
updatedAt: PgAttr<PgAttr<
|
|
6150
|
-
refreshToken:
|
|
6151
|
-
userId: PgAttr<
|
|
6152
|
-
expiresAt:
|
|
6153
|
-
ip:
|
|
6154
|
-
userAgent:
|
|
6155
|
-
os:
|
|
6156
|
-
browser:
|
|
6157
|
-
device:
|
|
6145
|
+
sessions(userRealmName?: string): Repository<alepha1532.TObject<{
|
|
6146
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6147
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6148
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6149
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6150
|
+
refreshToken: alepha1532.TString;
|
|
6151
|
+
userId: PgAttr<alepha1532.TString, typeof PG_REF>;
|
|
6152
|
+
expiresAt: alepha1532.TString;
|
|
6153
|
+
ip: alepha1532.TOptional<alepha1532.TString>;
|
|
6154
|
+
userAgent: alepha1532.TOptional<alepha1532.TObject<{
|
|
6155
|
+
os: alepha1532.TString;
|
|
6156
|
+
browser: alepha1532.TString;
|
|
6157
|
+
device: alepha1532.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
6158
6158
|
}>>;
|
|
6159
6159
|
}>>;
|
|
6160
|
-
identities(userRealmName?: string): Repository<
|
|
6161
|
-
id: PgAttr<PgAttr<
|
|
6162
|
-
version: PgAttr<PgAttr<
|
|
6163
|
-
createdAt: PgAttr<PgAttr<
|
|
6164
|
-
updatedAt: PgAttr<PgAttr<
|
|
6165
|
-
userId: PgAttr<
|
|
6166
|
-
password:
|
|
6167
|
-
provider:
|
|
6168
|
-
providerUserId:
|
|
6169
|
-
providerData:
|
|
6160
|
+
identities(userRealmName?: string): Repository<alepha1532.TObject<{
|
|
6161
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6162
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6163
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6164
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6165
|
+
userId: PgAttr<alepha1532.TString, typeof PG_REF>;
|
|
6166
|
+
password: alepha1532.TOptional<alepha1532.TString>;
|
|
6167
|
+
provider: alepha1532.TString;
|
|
6168
|
+
providerUserId: alepha1532.TOptional<alepha1532.TString>;
|
|
6169
|
+
providerData: alepha1532.TOptional<alepha1532.TRecord<string, alepha1532.TAny>>;
|
|
6170
6170
|
}>>;
|
|
6171
6171
|
/**
|
|
6172
6172
|
* Phase 1: Create a password reset intent.
|
|
@@ -6203,11 +6203,11 @@ declare class CredentialService {
|
|
|
6203
6203
|
}
|
|
6204
6204
|
//#endregion
|
|
6205
6205
|
//#region ../../../alepha/src/api-users/schemas/completeRegistrationRequestSchema.d.ts
|
|
6206
|
-
declare const completeRegistrationRequestSchema:
|
|
6207
|
-
intentId:
|
|
6208
|
-
emailCode:
|
|
6209
|
-
phoneCode:
|
|
6210
|
-
captchaToken:
|
|
6206
|
+
declare const completeRegistrationRequestSchema: alepha1532.TObject<{
|
|
6207
|
+
intentId: alepha1532.TString;
|
|
6208
|
+
emailCode: alepha1532.TOptional<alepha1532.TString>;
|
|
6209
|
+
phoneCode: alepha1532.TOptional<alepha1532.TString>;
|
|
6210
|
+
captchaToken: alepha1532.TOptional<alepha1532.TString>;
|
|
6211
6211
|
}>;
|
|
6212
6212
|
type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSchema>;
|
|
6213
6213
|
//#endregion
|
|
@@ -6216,24 +6216,24 @@ type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSche
|
|
|
6216
6216
|
* Schema for user registration request body.
|
|
6217
6217
|
* Password is always required, other fields depend on realm settings.
|
|
6218
6218
|
*/
|
|
6219
|
-
declare const registerRequestSchema:
|
|
6220
|
-
password:
|
|
6221
|
-
username:
|
|
6222
|
-
email:
|
|
6223
|
-
phoneNumber:
|
|
6224
|
-
firstName:
|
|
6225
|
-
lastName:
|
|
6226
|
-
picture:
|
|
6219
|
+
declare const registerRequestSchema: alepha1532.TObject<{
|
|
6220
|
+
password: alepha1532.TString;
|
|
6221
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6222
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6223
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6224
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6225
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6226
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6227
6227
|
}>;
|
|
6228
6228
|
type RegisterRequest = Static<typeof registerRequestSchema>;
|
|
6229
6229
|
//#endregion
|
|
6230
6230
|
//#region ../../../alepha/src/api-users/schemas/registrationIntentResponseSchema.d.ts
|
|
6231
|
-
declare const registrationIntentResponseSchema:
|
|
6232
|
-
intentId:
|
|
6233
|
-
expectCaptcha:
|
|
6234
|
-
expectEmailVerification:
|
|
6235
|
-
expectPhoneVerification:
|
|
6236
|
-
expiresAt:
|
|
6231
|
+
declare const registrationIntentResponseSchema: alepha1532.TObject<{
|
|
6232
|
+
intentId: alepha1532.TString;
|
|
6233
|
+
expectCaptcha: alepha1532.TBoolean;
|
|
6234
|
+
expectEmailVerification: alepha1532.TBoolean;
|
|
6235
|
+
expectPhoneVerification: alepha1532.TBoolean;
|
|
6236
|
+
expiresAt: alepha1532.TString;
|
|
6237
6237
|
}>;
|
|
6238
6238
|
type RegistrationIntentResponse = Static<typeof registrationIntentResponseSchema>;
|
|
6239
6239
|
//#endregion
|
|
@@ -6304,46 +6304,46 @@ declare class RegistrationService {
|
|
|
6304
6304
|
}
|
|
6305
6305
|
//#endregion
|
|
6306
6306
|
//#region ../../../alepha/src/api-users/schemas/createUserSchema.d.ts
|
|
6307
|
-
declare const createUserSchema:
|
|
6308
|
-
id:
|
|
6309
|
-
email:
|
|
6310
|
-
username:
|
|
6311
|
-
picture:
|
|
6312
|
-
roles:
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6307
|
+
declare const createUserSchema: alepha1532.TObject<{
|
|
6308
|
+
id: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
|
|
6309
|
+
email: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6310
|
+
username: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6311
|
+
picture: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6312
|
+
roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
6313
|
+
version: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
|
|
6314
|
+
createdAt: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
|
|
6315
|
+
updatedAt: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
|
|
6316
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6317
|
+
firstName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6318
|
+
lastName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6319
|
+
enabled: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
|
|
6320
|
+
emailVerified: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
|
|
6321
6321
|
}>;
|
|
6322
6322
|
type CreateUser = Static<typeof createUserSchema>;
|
|
6323
6323
|
//#endregion
|
|
6324
6324
|
//#region ../../../alepha/src/api-users/schemas/updateUserSchema.d.ts
|
|
6325
|
-
declare const updateUserSchema:
|
|
6326
|
-
email:
|
|
6327
|
-
picture:
|
|
6328
|
-
roles:
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6325
|
+
declare const updateUserSchema: alepha1532.TObject<{
|
|
6326
|
+
email: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6327
|
+
picture: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6328
|
+
roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
6329
|
+
realm: alepha1532.TOptional<PgAttr<alepha1532.TString, typeof PG_DEFAULT>>;
|
|
6330
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6331
|
+
firstName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6332
|
+
lastName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6333
|
+
enabled: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
|
|
6334
6334
|
}>;
|
|
6335
6335
|
type UpdateUser = Static<typeof updateUserSchema>;
|
|
6336
6336
|
//#endregion
|
|
6337
6337
|
//#region ../../../alepha/src/api-users/schemas/userQuerySchema.d.ts
|
|
6338
|
-
declare const userQuerySchema:
|
|
6339
|
-
page:
|
|
6340
|
-
size:
|
|
6341
|
-
sort:
|
|
6342
|
-
email:
|
|
6343
|
-
enabled:
|
|
6344
|
-
emailVerified:
|
|
6345
|
-
roles:
|
|
6346
|
-
query:
|
|
6338
|
+
declare const userQuerySchema: alepha1532.TObject<{
|
|
6339
|
+
page: alepha1532.TOptional<alepha1532.TInteger>;
|
|
6340
|
+
size: alepha1532.TOptional<alepha1532.TInteger>;
|
|
6341
|
+
sort: alepha1532.TOptional<alepha1532.TString>;
|
|
6342
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6343
|
+
enabled: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
6344
|
+
emailVerified: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
6345
|
+
roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
6346
|
+
query: alepha1532.TOptional<alepha1532.TString>;
|
|
6347
6347
|
}>;
|
|
6348
6348
|
type UserQuery = Static<typeof userQuerySchema>;
|
|
6349
6349
|
//#endregion
|
|
@@ -6353,21 +6353,21 @@ declare class UserService {
|
|
|
6353
6353
|
protected readonly verificationController: HttpVirtualClient<VerificationController>;
|
|
6354
6354
|
protected readonly userNotifications: UserNotifications;
|
|
6355
6355
|
protected readonly userRealmProvider: UserRealmProvider;
|
|
6356
|
-
users(userRealmName?: string): Repository<
|
|
6357
|
-
id: PgAttr<PgAttr<
|
|
6358
|
-
version: PgAttr<PgAttr<
|
|
6359
|
-
createdAt: PgAttr<PgAttr<
|
|
6360
|
-
updatedAt: PgAttr<PgAttr<
|
|
6361
|
-
realm: PgAttr<
|
|
6362
|
-
username:
|
|
6363
|
-
email:
|
|
6364
|
-
phoneNumber:
|
|
6365
|
-
roles: PgAttr<
|
|
6366
|
-
firstName:
|
|
6367
|
-
lastName:
|
|
6368
|
-
picture:
|
|
6369
|
-
enabled: PgAttr<
|
|
6370
|
-
emailVerified: PgAttr<
|
|
6356
|
+
users(userRealmName?: string): Repository<alepha1532.TObject<{
|
|
6357
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6358
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6359
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6360
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6361
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
6362
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6363
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6364
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6365
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
6366
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6367
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6368
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6369
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6370
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6371
6371
|
}>>;
|
|
6372
6372
|
/**
|
|
6373
6373
|
* Request email verification for a user.
|
|
@@ -6420,122 +6420,122 @@ declare class UserController {
|
|
|
6420
6420
|
* Validates data, creates verification sessions, and stores intent in cache.
|
|
6421
6421
|
*/
|
|
6422
6422
|
readonly createRegistrationIntent: ActionPrimitiveFn<{
|
|
6423
|
-
body:
|
|
6424
|
-
password:
|
|
6425
|
-
username:
|
|
6426
|
-
email:
|
|
6427
|
-
phoneNumber:
|
|
6428
|
-
firstName:
|
|
6429
|
-
lastName:
|
|
6430
|
-
picture:
|
|
6423
|
+
body: alepha1532.TObject<{
|
|
6424
|
+
password: alepha1532.TString;
|
|
6425
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6426
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6427
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6428
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6429
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6430
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6431
6431
|
}>;
|
|
6432
|
-
query:
|
|
6433
|
-
userRealmName:
|
|
6432
|
+
query: alepha1532.TObject<{
|
|
6433
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6434
6434
|
}>;
|
|
6435
|
-
response:
|
|
6436
|
-
intentId:
|
|
6437
|
-
expectCaptcha:
|
|
6438
|
-
expectEmailVerification:
|
|
6439
|
-
expectPhoneVerification:
|
|
6440
|
-
expiresAt:
|
|
6435
|
+
response: alepha1532.TObject<{
|
|
6436
|
+
intentId: alepha1532.TString;
|
|
6437
|
+
expectCaptcha: alepha1532.TBoolean;
|
|
6438
|
+
expectEmailVerification: alepha1532.TBoolean;
|
|
6439
|
+
expectPhoneVerification: alepha1532.TBoolean;
|
|
6440
|
+
expiresAt: alepha1532.TString;
|
|
6441
6441
|
}>;
|
|
6442
6442
|
}>;
|
|
6443
6443
|
/**
|
|
6444
6444
|
* Find users with pagination and filtering.
|
|
6445
6445
|
*/
|
|
6446
6446
|
readonly findUsers: ActionPrimitiveFn<{
|
|
6447
|
-
query:
|
|
6448
|
-
page:
|
|
6449
|
-
size:
|
|
6450
|
-
sort:
|
|
6451
|
-
email:
|
|
6452
|
-
enabled:
|
|
6453
|
-
emailVerified:
|
|
6454
|
-
roles:
|
|
6455
|
-
query:
|
|
6456
|
-
userRealmName:
|
|
6447
|
+
query: alepha1532.TObject<{
|
|
6448
|
+
page: alepha1532.TOptional<alepha1532.TInteger>;
|
|
6449
|
+
size: alepha1532.TOptional<alepha1532.TInteger>;
|
|
6450
|
+
sort: alepha1532.TOptional<alepha1532.TString>;
|
|
6451
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6452
|
+
enabled: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
6453
|
+
emailVerified: alepha1532.TOptional<alepha1532.TBoolean>;
|
|
6454
|
+
roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
6455
|
+
query: alepha1532.TOptional<alepha1532.TString>;
|
|
6456
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6457
6457
|
}>;
|
|
6458
|
-
response:
|
|
6459
|
-
id: PgAttr<PgAttr<
|
|
6460
|
-
version: PgAttr<PgAttr<
|
|
6461
|
-
createdAt: PgAttr<PgAttr<
|
|
6462
|
-
updatedAt: PgAttr<PgAttr<
|
|
6463
|
-
realm: PgAttr<
|
|
6464
|
-
username:
|
|
6465
|
-
email:
|
|
6466
|
-
phoneNumber:
|
|
6467
|
-
roles: PgAttr<
|
|
6468
|
-
firstName:
|
|
6469
|
-
lastName:
|
|
6470
|
-
picture:
|
|
6471
|
-
enabled: PgAttr<
|
|
6472
|
-
emailVerified: PgAttr<
|
|
6458
|
+
response: alepha1532.TPage<alepha1532.TObject<{
|
|
6459
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6460
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6461
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6462
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6463
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
6464
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6465
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6466
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6467
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
6468
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6469
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6470
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6471
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6472
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6473
6473
|
}>>;
|
|
6474
6474
|
}>;
|
|
6475
6475
|
/**
|
|
6476
6476
|
* Get a user by ID.
|
|
6477
6477
|
*/
|
|
6478
6478
|
readonly getUser: ActionPrimitiveFn<{
|
|
6479
|
-
params:
|
|
6480
|
-
id:
|
|
6479
|
+
params: alepha1532.TObject<{
|
|
6480
|
+
id: alepha1532.TString;
|
|
6481
6481
|
}>;
|
|
6482
|
-
query:
|
|
6483
|
-
userRealmName:
|
|
6482
|
+
query: alepha1532.TObject<{
|
|
6483
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6484
6484
|
}>;
|
|
6485
|
-
response:
|
|
6486
|
-
id: PgAttr<PgAttr<
|
|
6487
|
-
version: PgAttr<PgAttr<
|
|
6488
|
-
createdAt: PgAttr<PgAttr<
|
|
6489
|
-
updatedAt: PgAttr<PgAttr<
|
|
6490
|
-
realm: PgAttr<
|
|
6491
|
-
username:
|
|
6492
|
-
email:
|
|
6493
|
-
phoneNumber:
|
|
6494
|
-
roles: PgAttr<
|
|
6495
|
-
firstName:
|
|
6496
|
-
lastName:
|
|
6497
|
-
picture:
|
|
6498
|
-
enabled: PgAttr<
|
|
6499
|
-
emailVerified: PgAttr<
|
|
6485
|
+
response: alepha1532.TObject<{
|
|
6486
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6487
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6488
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6489
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6490
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
6491
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6492
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6493
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6494
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
6495
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6496
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6497
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6498
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6499
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6500
6500
|
}>;
|
|
6501
6501
|
}>;
|
|
6502
6502
|
/**
|
|
6503
6503
|
* Create a new user.
|
|
6504
6504
|
*/
|
|
6505
6505
|
readonly createUser: ActionPrimitiveFn<{
|
|
6506
|
-
query:
|
|
6507
|
-
userRealmName:
|
|
6506
|
+
query: alepha1532.TObject<{
|
|
6507
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6508
6508
|
}>;
|
|
6509
|
-
body:
|
|
6510
|
-
id:
|
|
6511
|
-
email:
|
|
6512
|
-
username:
|
|
6513
|
-
picture:
|
|
6514
|
-
roles:
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6509
|
+
body: alepha1532.TObject<{
|
|
6510
|
+
id: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
|
|
6511
|
+
email: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6512
|
+
username: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6513
|
+
picture: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6514
|
+
roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
6515
|
+
version: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
|
|
6516
|
+
createdAt: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
|
|
6517
|
+
updatedAt: alepha1532.TOptional<PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
|
|
6518
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6519
|
+
firstName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6520
|
+
lastName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6521
|
+
enabled: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
|
|
6522
|
+
emailVerified: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
|
|
6523
6523
|
}>;
|
|
6524
|
-
response:
|
|
6525
|
-
id: PgAttr<PgAttr<
|
|
6526
|
-
version: PgAttr<PgAttr<
|
|
6527
|
-
createdAt: PgAttr<PgAttr<
|
|
6528
|
-
updatedAt: PgAttr<PgAttr<
|
|
6529
|
-
realm: PgAttr<
|
|
6530
|
-
username:
|
|
6531
|
-
email:
|
|
6532
|
-
phoneNumber:
|
|
6533
|
-
roles: PgAttr<
|
|
6534
|
-
firstName:
|
|
6535
|
-
lastName:
|
|
6536
|
-
picture:
|
|
6537
|
-
enabled: PgAttr<
|
|
6538
|
-
emailVerified: PgAttr<
|
|
6524
|
+
response: alepha1532.TObject<{
|
|
6525
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6526
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6527
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6528
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6529
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
6530
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6531
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6532
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6533
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
6534
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6535
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6536
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6537
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6538
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6539
6539
|
}>;
|
|
6540
6540
|
}>;
|
|
6541
6541
|
/**
|
|
@@ -6543,80 +6543,80 @@ declare class UserController {
|
|
|
6543
6543
|
* Validates verification codes and creates the user.
|
|
6544
6544
|
*/
|
|
6545
6545
|
readonly createUserFromIntent: ActionPrimitiveFn<{
|
|
6546
|
-
body:
|
|
6547
|
-
intentId:
|
|
6548
|
-
emailCode:
|
|
6549
|
-
phoneCode:
|
|
6550
|
-
captchaToken:
|
|
6546
|
+
body: alepha1532.TObject<{
|
|
6547
|
+
intentId: alepha1532.TString;
|
|
6548
|
+
emailCode: alepha1532.TOptional<alepha1532.TString>;
|
|
6549
|
+
phoneCode: alepha1532.TOptional<alepha1532.TString>;
|
|
6550
|
+
captchaToken: alepha1532.TOptional<alepha1532.TString>;
|
|
6551
6551
|
}>;
|
|
6552
|
-
response:
|
|
6553
|
-
id: PgAttr<PgAttr<
|
|
6554
|
-
version: PgAttr<PgAttr<
|
|
6555
|
-
createdAt: PgAttr<PgAttr<
|
|
6556
|
-
updatedAt: PgAttr<PgAttr<
|
|
6557
|
-
realm: PgAttr<
|
|
6558
|
-
username:
|
|
6559
|
-
email:
|
|
6560
|
-
phoneNumber:
|
|
6561
|
-
roles: PgAttr<
|
|
6562
|
-
firstName:
|
|
6563
|
-
lastName:
|
|
6564
|
-
picture:
|
|
6565
|
-
enabled: PgAttr<
|
|
6566
|
-
emailVerified: PgAttr<
|
|
6552
|
+
response: alepha1532.TObject<{
|
|
6553
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6554
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6555
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6556
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6557
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
6558
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6559
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6560
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6561
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
6562
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6563
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6564
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6565
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6566
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6567
6567
|
}>;
|
|
6568
6568
|
}>;
|
|
6569
6569
|
/**
|
|
6570
6570
|
* Update a user.
|
|
6571
6571
|
*/
|
|
6572
6572
|
readonly updateUser: ActionPrimitiveFn<{
|
|
6573
|
-
params:
|
|
6574
|
-
id:
|
|
6573
|
+
params: alepha1532.TObject<{
|
|
6574
|
+
id: alepha1532.TString;
|
|
6575
6575
|
}>;
|
|
6576
|
-
query:
|
|
6577
|
-
userRealmName:
|
|
6576
|
+
query: alepha1532.TObject<{
|
|
6577
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6578
6578
|
}>;
|
|
6579
|
-
body:
|
|
6580
|
-
email:
|
|
6581
|
-
picture:
|
|
6582
|
-
roles:
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6579
|
+
body: alepha1532.TObject<{
|
|
6580
|
+
email: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6581
|
+
picture: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6582
|
+
roles: alepha1532.TOptional<alepha1532.TArray<alepha1532.TString>>;
|
|
6583
|
+
realm: alepha1532.TOptional<PgAttr<alepha1532.TString, typeof PG_DEFAULT>>;
|
|
6584
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6585
|
+
firstName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6586
|
+
lastName: alepha1532.TOptional<alepha1532.TOptional<alepha1532.TString>>;
|
|
6587
|
+
enabled: alepha1532.TOptional<PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>>;
|
|
6588
6588
|
}>;
|
|
6589
|
-
response:
|
|
6590
|
-
id: PgAttr<PgAttr<
|
|
6591
|
-
version: PgAttr<PgAttr<
|
|
6592
|
-
createdAt: PgAttr<PgAttr<
|
|
6593
|
-
updatedAt: PgAttr<PgAttr<
|
|
6594
|
-
realm: PgAttr<
|
|
6595
|
-
username:
|
|
6596
|
-
email:
|
|
6597
|
-
phoneNumber:
|
|
6598
|
-
roles: PgAttr<
|
|
6599
|
-
firstName:
|
|
6600
|
-
lastName:
|
|
6601
|
-
picture:
|
|
6602
|
-
enabled: PgAttr<
|
|
6603
|
-
emailVerified: PgAttr<
|
|
6589
|
+
response: alepha1532.TObject<{
|
|
6590
|
+
id: PgAttr<PgAttr<alepha1532.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6591
|
+
version: PgAttr<PgAttr<alepha1532.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6592
|
+
createdAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6593
|
+
updatedAt: PgAttr<PgAttr<alepha1532.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6594
|
+
realm: PgAttr<alepha1532.TString, typeof PG_DEFAULT>;
|
|
6595
|
+
username: alepha1532.TOptional<alepha1532.TString>;
|
|
6596
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6597
|
+
phoneNumber: alepha1532.TOptional<alepha1532.TString>;
|
|
6598
|
+
roles: PgAttr<alepha1532.TArray<alepha1532.TString>, typeof PG_DEFAULT>;
|
|
6599
|
+
firstName: alepha1532.TOptional<alepha1532.TString>;
|
|
6600
|
+
lastName: alepha1532.TOptional<alepha1532.TString>;
|
|
6601
|
+
picture: alepha1532.TOptional<alepha1532.TString>;
|
|
6602
|
+
enabled: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6603
|
+
emailVerified: PgAttr<alepha1532.TBoolean, typeof PG_DEFAULT>;
|
|
6604
6604
|
}>;
|
|
6605
6605
|
}>;
|
|
6606
6606
|
/**
|
|
6607
6607
|
* Delete a user.
|
|
6608
6608
|
*/
|
|
6609
6609
|
readonly deleteUser: ActionPrimitiveFn<{
|
|
6610
|
-
params:
|
|
6611
|
-
id:
|
|
6610
|
+
params: alepha1532.TObject<{
|
|
6611
|
+
id: alepha1532.TString;
|
|
6612
6612
|
}>;
|
|
6613
|
-
query:
|
|
6614
|
-
userRealmName:
|
|
6613
|
+
query: alepha1532.TObject<{
|
|
6614
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6615
6615
|
}>;
|
|
6616
|
-
response:
|
|
6617
|
-
ok:
|
|
6618
|
-
id:
|
|
6619
|
-
count:
|
|
6616
|
+
response: alepha1532.TObject<{
|
|
6617
|
+
ok: alepha1532.TBoolean;
|
|
6618
|
+
id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
|
|
6619
|
+
count: alepha1532.TOptional<alepha1532.TNumber>;
|
|
6620
6620
|
}>;
|
|
6621
6621
|
}>;
|
|
6622
6622
|
/**
|
|
@@ -6624,15 +6624,15 @@ declare class UserController {
|
|
|
6624
6624
|
* Validates email, sends verification code, and stores intent in cache.
|
|
6625
6625
|
*/
|
|
6626
6626
|
readonly createPasswordResetIntent: ActionPrimitiveFn<{
|
|
6627
|
-
query:
|
|
6628
|
-
userRealmName:
|
|
6627
|
+
query: alepha1532.TObject<{
|
|
6628
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6629
6629
|
}>;
|
|
6630
|
-
body:
|
|
6631
|
-
email:
|
|
6630
|
+
body: alepha1532.TObject<{
|
|
6631
|
+
email: alepha1532.TString;
|
|
6632
6632
|
}>;
|
|
6633
|
-
response:
|
|
6634
|
-
intentId:
|
|
6635
|
-
expiresAt:
|
|
6633
|
+
response: alepha1532.TObject<{
|
|
6634
|
+
intentId: alepha1532.TString;
|
|
6635
|
+
expiresAt: alepha1532.TString;
|
|
6636
6636
|
}>;
|
|
6637
6637
|
}>;
|
|
6638
6638
|
/**
|
|
@@ -6640,61 +6640,61 @@ declare class UserController {
|
|
|
6640
6640
|
* Validates verification code, updates password, and invalidates sessions.
|
|
6641
6641
|
*/
|
|
6642
6642
|
readonly completePasswordReset: ActionPrimitiveFn<{
|
|
6643
|
-
body:
|
|
6644
|
-
intentId:
|
|
6645
|
-
code:
|
|
6646
|
-
newPassword:
|
|
6643
|
+
body: alepha1532.TObject<{
|
|
6644
|
+
intentId: alepha1532.TString;
|
|
6645
|
+
code: alepha1532.TString;
|
|
6646
|
+
newPassword: alepha1532.TString;
|
|
6647
6647
|
}>;
|
|
6648
|
-
response:
|
|
6649
|
-
ok:
|
|
6650
|
-
id:
|
|
6651
|
-
count:
|
|
6648
|
+
response: alepha1532.TObject<{
|
|
6649
|
+
ok: alepha1532.TBoolean;
|
|
6650
|
+
id: alepha1532.TOptional<alepha1532.TUnion<[alepha1532.TString, alepha1532.TInteger]>>;
|
|
6651
|
+
count: alepha1532.TOptional<alepha1532.TNumber>;
|
|
6652
6652
|
}>;
|
|
6653
6653
|
}>;
|
|
6654
6654
|
/**
|
|
6655
6655
|
* @deprecated Use createPasswordResetIntent instead
|
|
6656
6656
|
*/
|
|
6657
6657
|
requestPasswordReset: ActionPrimitiveFn<{
|
|
6658
|
-
query:
|
|
6659
|
-
userRealmName:
|
|
6658
|
+
query: alepha1532.TObject<{
|
|
6659
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6660
6660
|
}>;
|
|
6661
|
-
body:
|
|
6662
|
-
email:
|
|
6661
|
+
body: alepha1532.TObject<{
|
|
6662
|
+
email: alepha1532.TString;
|
|
6663
6663
|
}>;
|
|
6664
|
-
response:
|
|
6665
|
-
success:
|
|
6666
|
-
message:
|
|
6664
|
+
response: alepha1532.TObject<{
|
|
6665
|
+
success: alepha1532.TBoolean;
|
|
6666
|
+
message: alepha1532.TString;
|
|
6667
6667
|
}>;
|
|
6668
6668
|
}>;
|
|
6669
6669
|
/**
|
|
6670
6670
|
* @deprecated Use completePasswordReset instead
|
|
6671
6671
|
*/
|
|
6672
6672
|
validateResetToken: ActionPrimitiveFn<{
|
|
6673
|
-
query:
|
|
6674
|
-
email:
|
|
6675
|
-
token:
|
|
6676
|
-
userRealmName:
|
|
6673
|
+
query: alepha1532.TObject<{
|
|
6674
|
+
email: alepha1532.TString;
|
|
6675
|
+
token: alepha1532.TString;
|
|
6676
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6677
6677
|
}>;
|
|
6678
|
-
response:
|
|
6679
|
-
valid:
|
|
6680
|
-
email:
|
|
6678
|
+
response: alepha1532.TObject<{
|
|
6679
|
+
valid: alepha1532.TBoolean;
|
|
6680
|
+
email: alepha1532.TOptional<alepha1532.TString>;
|
|
6681
6681
|
}>;
|
|
6682
6682
|
}>;
|
|
6683
6683
|
/**
|
|
6684
6684
|
* @deprecated Use completePasswordReset instead
|
|
6685
6685
|
*/
|
|
6686
6686
|
resetPassword: ActionPrimitiveFn<{
|
|
6687
|
-
query:
|
|
6688
|
-
userRealmName:
|
|
6687
|
+
query: alepha1532.TObject<{
|
|
6688
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6689
6689
|
}>;
|
|
6690
|
-
body:
|
|
6691
|
-
email:
|
|
6692
|
-
token:
|
|
6693
|
-
newPassword:
|
|
6690
|
+
body: alepha1532.TObject<{
|
|
6691
|
+
email: alepha1532.TString;
|
|
6692
|
+
token: alepha1532.TString;
|
|
6693
|
+
newPassword: alepha1532.TString;
|
|
6694
6694
|
}>;
|
|
6695
|
-
response:
|
|
6696
|
-
success:
|
|
6697
|
-
message:
|
|
6695
|
+
response: alepha1532.TObject<{
|
|
6696
|
+
success: alepha1532.TBoolean;
|
|
6697
|
+
message: alepha1532.TString;
|
|
6698
6698
|
}>;
|
|
6699
6699
|
}>;
|
|
6700
6700
|
/**
|
|
@@ -6704,17 +6704,17 @@ declare class UserController {
|
|
|
6704
6704
|
* @param verifyUrl - Required when method is "link". The base URL for the verification link. Token and email will be appended as query params.
|
|
6705
6705
|
*/
|
|
6706
6706
|
requestEmailVerification: ActionPrimitiveFn<{
|
|
6707
|
-
query:
|
|
6708
|
-
userRealmName:
|
|
6709
|
-
method:
|
|
6710
|
-
verifyUrl:
|
|
6707
|
+
query: alepha1532.TObject<{
|
|
6708
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6709
|
+
method: alepha1532.TOptional<alepha1532.TUnsafe<"link" | "code">>;
|
|
6710
|
+
verifyUrl: alepha1532.TOptional<alepha1532.TString>;
|
|
6711
6711
|
}>;
|
|
6712
|
-
body:
|
|
6713
|
-
email:
|
|
6712
|
+
body: alepha1532.TObject<{
|
|
6713
|
+
email: alepha1532.TString;
|
|
6714
6714
|
}>;
|
|
6715
|
-
response:
|
|
6716
|
-
success:
|
|
6717
|
-
message:
|
|
6715
|
+
response: alepha1532.TObject<{
|
|
6716
|
+
success: alepha1532.TBoolean;
|
|
6717
|
+
message: alepha1532.TString;
|
|
6718
6718
|
}>;
|
|
6719
6719
|
}>;
|
|
6720
6720
|
/**
|
|
@@ -6722,28 +6722,28 @@ declare class UserController {
|
|
|
6722
6722
|
* Updates the user's emailVerified status.
|
|
6723
6723
|
*/
|
|
6724
6724
|
verifyEmail: ActionPrimitiveFn<{
|
|
6725
|
-
query:
|
|
6726
|
-
userRealmName:
|
|
6725
|
+
query: alepha1532.TObject<{
|
|
6726
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6727
6727
|
}>;
|
|
6728
|
-
body:
|
|
6729
|
-
email:
|
|
6730
|
-
token:
|
|
6728
|
+
body: alepha1532.TObject<{
|
|
6729
|
+
email: alepha1532.TString;
|
|
6730
|
+
token: alepha1532.TString;
|
|
6731
6731
|
}>;
|
|
6732
|
-
response:
|
|
6733
|
-
success:
|
|
6734
|
-
message:
|
|
6732
|
+
response: alepha1532.TObject<{
|
|
6733
|
+
success: alepha1532.TBoolean;
|
|
6734
|
+
message: alepha1532.TString;
|
|
6735
6735
|
}>;
|
|
6736
6736
|
}>;
|
|
6737
6737
|
/**
|
|
6738
6738
|
* Check if an email is verified.
|
|
6739
6739
|
*/
|
|
6740
6740
|
checkEmailVerification: ActionPrimitiveFn<{
|
|
6741
|
-
query:
|
|
6742
|
-
email:
|
|
6743
|
-
userRealmName:
|
|
6741
|
+
query: alepha1532.TObject<{
|
|
6742
|
+
email: alepha1532.TString;
|
|
6743
|
+
userRealmName: alepha1532.TOptional<alepha1532.TString>;
|
|
6744
6744
|
}>;
|
|
6745
|
-
response:
|
|
6746
|
-
verified:
|
|
6745
|
+
response: alepha1532.TObject<{
|
|
6746
|
+
verified: alepha1532.TBoolean;
|
|
6747
6747
|
}>;
|
|
6748
6748
|
}>;
|
|
6749
6749
|
}
|
|
@@ -6889,7 +6889,7 @@ declare class MainRouter {
|
|
|
6889
6889
|
*
|
|
6890
6890
|
* @module alepha.ui.admin
|
|
6891
6891
|
*/
|
|
6892
|
-
declare const AlephaUIAdmin:
|
|
6892
|
+
declare const AlephaUIAdmin: alepha1532.Service<alepha1532.Module>;
|
|
6893
6893
|
//#endregion
|
|
6894
6894
|
export { AdminFiles, AdminJobs, AdminLayout, AdminNotifications, AdminParameters, AdminRouter, AdminSessions, AdminSidebar, AdminUserCreate, AdminUserDetails, AdminUserLayout, AdminUserSessions, AdminUserSettings, AdminUsers, AdminVerifications, AlephaUIAdmin, MainRouter };
|
|
6895
6895
|
//# sourceMappingURL=index.d.ts.map
|