@alepha/ui 0.13.3 → 0.13.5
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/AdminFiles-B-0UcHVV.js +3 -0
- package/dist/admin/{AdminFiles-BjofP3OC.js → AdminFiles-B_jfB_Py.js} +4 -4
- package/dist/admin/{AdminFiles-BjofP3OC.js.map → AdminFiles-B_jfB_Py.js.map} +1 -1
- package/dist/admin/{AdminLayout-JakF7ESb.js → AdminLayout-BMtiXAzS.js} +37 -29
- package/dist/admin/AdminLayout-BMtiXAzS.js.map +1 -0
- package/dist/admin/AdminLayout-BNo3GoHR.js +3 -0
- package/dist/admin/{AdminNotifications-BPrxALdS.js → AdminNotifications-BFEjqpqx.js} +3 -3
- package/dist/admin/{AdminNotifications-BPrxALdS.js.map → AdminNotifications-BFEjqpqx.js.map} +1 -1
- package/dist/admin/AdminNotifications-DJs2ZjNj.js +3 -0
- package/dist/admin/{AdminSessions-CMmBtbSw.js → AdminSessions-D7DESfWK.js} +4 -4
- package/dist/admin/{AdminSessions-CMmBtbSw.js.map → AdminSessions-D7DESfWK.js.map} +1 -1
- package/dist/admin/AdminSessions-PS2M8iXi.js +3 -0
- package/dist/admin/{AdminUserCreate-Coa_yi6m.js → AdminUserCreate-Bhxsn92l.js} +3 -3
- package/dist/admin/{AdminUserCreate-Coa_yi6m.js.map → AdminUserCreate-Bhxsn92l.js.map} +1 -1
- package/dist/admin/{AdminUserCreate-DjiCcAk0.js → AdminUserCreate-CYI_xW5T.js} +1 -1
- package/dist/admin/{AdminUserDetails-BCFwOm9w.js → AdminUserDetails-C2y1Ig4n.js} +5 -5
- package/dist/admin/{AdminUserDetails-BCFwOm9w.js.map → AdminUserDetails-C2y1Ig4n.js.map} +1 -1
- package/dist/admin/{AdminUserDetails-C5yeJNa3.js → AdminUserDetails-Cmzx9HxH.js} +1 -1
- package/dist/admin/{AdminUserLayout-B8ga5QvP.js → AdminUserLayout-DGSf612u.js} +1 -1
- package/dist/admin/{AdminUserLayout-CR2OqV9Z.js → AdminUserLayout-sW6cjZL0.js} +3 -3
- package/dist/admin/{AdminUserLayout-CR2OqV9Z.js.map → AdminUserLayout-sW6cjZL0.js.map} +1 -1
- package/dist/admin/{AdminUserSessions-Bcf6-rjG.js → AdminUserSessions-CvN15wPe.js} +4 -4
- package/dist/admin/{AdminUserSessions-Bcf6-rjG.js.map → AdminUserSessions-CvN15wPe.js.map} +1 -1
- package/dist/admin/AdminUserSessions-D-aOcZgV.js +3 -0
- package/dist/admin/AdminUserSettings-CEMhIYrI.js +3 -0
- package/dist/admin/{AdminUserSettings-DRYVdW6S.js → AdminUserSettings-DvaaxgcV.js} +3 -3
- package/dist/admin/{AdminUserSettings-DRYVdW6S.js.map → AdminUserSettings-DvaaxgcV.js.map} +1 -1
- package/dist/admin/{AdminUsers-IN_2yHKt.js → AdminUsers-BR3C-jrg.js} +3 -3
- package/dist/admin/{AdminUsers-IN_2yHKt.js.map → AdminUsers-BR3C-jrg.js.map} +1 -1
- package/dist/admin/AdminUsers-CMW9vN09.js +3 -0
- package/dist/admin/index.d.ts +1169 -1163
- package/dist/admin/index.js +31 -29
- package/dist/admin/index.js.map +1 -1
- package/dist/auth/{AuthLayout-BSL8ZHgr.js → AuthLayout-CzwUKD9y.js} +2 -2
- package/dist/auth/{AuthLayout-BSL8ZHgr.js.map → AuthLayout-CzwUKD9y.js.map} +1 -1
- package/dist/auth/{IconGoogle-v_58os2T.js → IconGoogle-Cm5d8J3f.js} +3 -3
- package/dist/auth/{IconGoogle-v_58os2T.js.map → IconGoogle-Cm5d8J3f.js.map} +1 -1
- package/dist/auth/{Login-kBfaRgKG.js → Login-7HlBjDeV.js} +4 -4
- package/dist/auth/{Login-kBfaRgKG.js.map → Login-7HlBjDeV.js.map} +1 -1
- package/dist/auth/Login-C-e27DGb.js +4 -0
- package/dist/auth/{Register-BxJmOqpF.js → Register-CuQr3kgi.js} +3 -3
- package/dist/auth/{Register-BxJmOqpF.js.map → Register-CuQr3kgi.js.map} +1 -1
- package/dist/auth/Register-DbvXwgbG.js +4 -0
- package/dist/auth/{ResetPassword-BhyZ9ek4.js → ResetPassword-BzU-cdd4.js} +2 -2
- package/dist/auth/{ResetPassword-BhyZ9ek4.js.map → ResetPassword-BzU-cdd4.js.map} +1 -1
- package/dist/auth/ResetPassword-DSvrdpaA.js +3 -0
- package/dist/auth/VerifyEmail-Dc9ABKUw.js +3 -0
- package/dist/auth/{VerifyEmail-DeLct3oQ.js → VerifyEmail-R79sSej_.js} +2 -2
- package/dist/auth/{VerifyEmail-DeLct3oQ.js.map → VerifyEmail-R79sSej_.js.map} +1 -1
- package/dist/auth/index.d.ts +534 -534
- package/dist/auth/index.js +15 -14
- package/dist/auth/index.js.map +1 -1
- package/dist/core/index.d.ts +187 -187
- package/dist/core/index.js +51 -59
- package/dist/core/index.js.map +1 -1
- package/package.json +5 -4
- package/src/admin/AdminSidebar.ts +31 -0
- package/src/admin/components/AdminLayout.tsx +5 -26
- package/src/admin/index.ts +4 -1
- package/src/auth/components/Login.tsx +1 -1
- package/src/auth/components/buttons/UserButton.tsx +7 -1
- package/src/core/components/buttons/ActionButton.tsx +1 -0
- package/src/core/components/layout/Sidebar.tsx +0 -2
- package/src/core/hooks/useTheme.ts +2 -2
- package/src/core/providers/ThemeProvider.ts +11 -8
- package/src/core/themes/midnight.ts +1 -7
- package/styles.css +84 -0
- package/dist/admin/AdminFiles-DldZB7oo.js +0 -3
- package/dist/admin/AdminLayout-JakF7ESb.js.map +0 -1
- package/dist/admin/AdminLayout-qNsIyl30.js +0 -3
- package/dist/admin/AdminNotifications-DV-35Fi3.js +0 -3
- package/dist/admin/AdminSessions-Df2VYzlE.js +0 -3
- package/dist/admin/AdminUserSessions-A_5KkqTY.js +0 -3
- package/dist/admin/AdminUserSettings-DAsAhFjX.js +0 -3
- package/dist/admin/AdminUsers-Dd9a5UqO.js +0 -3
- package/dist/auth/Login-DDsyCNAA.js +0 -4
- package/dist/auth/Register-D10MnlQc.js +0 -4
- package/dist/auth/ResetPassword-llBG-STp.js +0 -3
- package/dist/auth/VerifyEmail-BvOG-IUC.js +0 -3
package/dist/admin/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { SidebarNode } from "@alepha/ui";
|
|
1
2
|
import { AuthRouter } from "@alepha/ui/auth";
|
|
2
|
-
import * as
|
|
3
|
+
import * as alepha1543 from "alepha";
|
|
3
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";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
import * as react0 from "react";
|
|
6
6
|
import { FC, ReactNode } from "react";
|
|
7
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
8
|
import { IncomingMessage, Server, ServerResponse } from "node:http";
|
|
8
9
|
import { Readable } from "node:stream";
|
|
9
10
|
import { ReadableStream } from "node:stream/web";
|
|
@@ -23,34 +24,34 @@ import { LockConfig, LockStrength, PgColumn, PgColumnBuilderBase, PgDatabase, Pg
|
|
|
23
24
|
import { PgTransactionConfig } from "drizzle-orm/pg-core/session";
|
|
24
25
|
import * as DrizzleKit from "drizzle-kit/api";
|
|
25
26
|
|
|
26
|
-
//#region
|
|
27
|
-
declare const userAccountInfoSchema:
|
|
28
|
-
id:
|
|
29
|
-
name:
|
|
30
|
-
email:
|
|
31
|
-
username:
|
|
32
|
-
picture:
|
|
33
|
-
sessionId:
|
|
34
|
-
organizations:
|
|
35
|
-
roles:
|
|
27
|
+
//#region ../../../alepha/src/security/schemas/userAccountInfoSchema.d.ts
|
|
28
|
+
declare const userAccountInfoSchema: alepha1543.TObject<{
|
|
29
|
+
id: alepha1543.TString;
|
|
30
|
+
name: alepha1543.TOptional<alepha1543.TString>;
|
|
31
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
32
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
33
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
34
|
+
sessionId: alepha1543.TOptional<alepha1543.TString>;
|
|
35
|
+
organizations: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
36
|
+
roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
36
37
|
}>;
|
|
37
38
|
type UserAccount = Static<typeof userAccountInfoSchema>;
|
|
38
39
|
//#endregion
|
|
39
|
-
//#region
|
|
40
|
-
declare const errorSchema:
|
|
41
|
-
error:
|
|
42
|
-
status:
|
|
43
|
-
message:
|
|
44
|
-
details:
|
|
45
|
-
requestId:
|
|
46
|
-
cause:
|
|
47
|
-
name:
|
|
48
|
-
message:
|
|
40
|
+
//#region ../../../alepha/src/server/schemas/errorSchema.d.ts
|
|
41
|
+
declare const errorSchema: alepha1543.TObject<{
|
|
42
|
+
error: alepha1543.TString;
|
|
43
|
+
status: alepha1543.TInteger;
|
|
44
|
+
message: alepha1543.TString;
|
|
45
|
+
details: alepha1543.TOptional<alepha1543.TString>;
|
|
46
|
+
requestId: alepha1543.TOptional<alepha1543.TString>;
|
|
47
|
+
cause: alepha1543.TOptional<alepha1543.TObject<{
|
|
48
|
+
name: alepha1543.TString;
|
|
49
|
+
message: alepha1543.TString;
|
|
49
50
|
}>>;
|
|
50
51
|
}>;
|
|
51
52
|
type ErrorSchema = Static<typeof errorSchema>;
|
|
52
53
|
//#endregion
|
|
53
|
-
//#region
|
|
54
|
+
//#region ../../../alepha/src/server/errors/HttpError.d.ts
|
|
54
55
|
declare class HttpError extends AlephaError {
|
|
55
56
|
name: string;
|
|
56
57
|
static is: (error: unknown, status?: number) => error is HttpErrorLike;
|
|
@@ -69,7 +70,7 @@ interface HttpErrorLike extends Error {
|
|
|
69
70
|
status: number;
|
|
70
71
|
}
|
|
71
72
|
//#endregion
|
|
72
|
-
//#region
|
|
73
|
+
//#region ../../../alepha/src/router/providers/RouterProvider.d.ts
|
|
73
74
|
declare abstract class RouterProvider<T$1 extends Route = Route> {
|
|
74
75
|
protected routePathRegex: RegExp;
|
|
75
76
|
protected tree: Tree<T$1>;
|
|
@@ -113,11 +114,11 @@ interface Tree<T$1 extends Route> {
|
|
|
113
114
|
};
|
|
114
115
|
}
|
|
115
116
|
//#endregion
|
|
116
|
-
//#region
|
|
117
|
+
//#region ../../../alepha/src/server/constants/routeMethods.d.ts
|
|
117
118
|
declare const routeMethods: readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS", "CONNECT", "TRACE"];
|
|
118
119
|
type RouteMethod = (typeof routeMethods)[number];
|
|
119
120
|
//#endregion
|
|
120
|
-
//#region
|
|
121
|
+
//#region ../../../alepha/src/server/helpers/ServerReply.d.ts
|
|
121
122
|
/**
|
|
122
123
|
* Helper for building server replies.
|
|
123
124
|
*/
|
|
@@ -145,7 +146,7 @@ declare class ServerReply {
|
|
|
145
146
|
setBody(body: any): this;
|
|
146
147
|
}
|
|
147
148
|
//#endregion
|
|
148
|
-
//#region
|
|
149
|
+
//#region ../../../alepha/src/server/services/UserAgentParser.d.ts
|
|
149
150
|
interface UserAgentInfo {
|
|
150
151
|
os: "Windows" | "Android" | "Ubuntu" | "MacOS" | "iOS" | "Linux" | "FreeBSD" | "OpenBSD" | "ChromeOS" | "BlackBerry" | "Symbian" | "Windows Phone";
|
|
151
152
|
browser: "Chrome" | "Firefox" | "Safari" | "Edge" | "Opera" | "Internet Explorer" | "Brave" | "Vivaldi" | "Samsung Browser" | "UC Browser" | "Yandex";
|
|
@@ -161,7 +162,7 @@ declare class UserAgentParser {
|
|
|
161
162
|
parse(userAgent?: string): UserAgentInfo;
|
|
162
163
|
}
|
|
163
164
|
//#endregion
|
|
164
|
-
//#region
|
|
165
|
+
//#region ../../../alepha/src/server/interfaces/ServerRequest.d.ts
|
|
165
166
|
type TRequestBody = TObject | TString | TArray | TRecord | TStream;
|
|
166
167
|
type TResponseBody = TObject | TString | TRecord | TFile | TArray | TStream | TVoid;
|
|
167
168
|
interface RequestConfigSchema {
|
|
@@ -283,20 +284,20 @@ interface WebRequestEvent {
|
|
|
283
284
|
res?: Response;
|
|
284
285
|
}
|
|
285
286
|
//#endregion
|
|
286
|
-
//#region
|
|
287
|
-
declare const logEntrySchema:
|
|
288
|
-
level:
|
|
289
|
-
message:
|
|
290
|
-
service:
|
|
291
|
-
module:
|
|
292
|
-
context:
|
|
293
|
-
app:
|
|
294
|
-
data:
|
|
295
|
-
timestamp:
|
|
287
|
+
//#region ../../../alepha/src/logger/schemas/logEntrySchema.d.ts
|
|
288
|
+
declare const logEntrySchema: alepha1543.TObject<{
|
|
289
|
+
level: alepha1543.TUnsafe<"TRACE" | "SILENT" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
290
|
+
message: alepha1543.TString;
|
|
291
|
+
service: alepha1543.TString;
|
|
292
|
+
module: alepha1543.TString;
|
|
293
|
+
context: alepha1543.TOptional<alepha1543.TString>;
|
|
294
|
+
app: alepha1543.TOptional<alepha1543.TString>;
|
|
295
|
+
data: alepha1543.TOptional<alepha1543.TAny>;
|
|
296
|
+
timestamp: alepha1543.TNumber;
|
|
296
297
|
}>;
|
|
297
298
|
type LogEntry = Static<typeof logEntrySchema>;
|
|
298
299
|
//#endregion
|
|
299
|
-
//#region
|
|
300
|
+
//#region ../../../alepha/src/datetime/providers/DateTimeProvider.d.ts
|
|
300
301
|
type DateTime = DayjsApi.Dayjs;
|
|
301
302
|
type Duration = dayjsDuration.Duration;
|
|
302
303
|
type DurationLike = number | dayjsDuration.Duration | [number, ManipulateType];
|
|
@@ -307,8 +308,8 @@ declare class DateTimeProvider {
|
|
|
307
308
|
protected readonly timeouts: Timeout[];
|
|
308
309
|
protected readonly intervals: Interval[];
|
|
309
310
|
constructor();
|
|
310
|
-
protected readonly onStart:
|
|
311
|
-
protected readonly onStop:
|
|
311
|
+
protected readonly onStart: alepha1543.HookPrimitive<"start">;
|
|
312
|
+
protected readonly onStop: alepha1543.HookPrimitive<"stop">;
|
|
312
313
|
setLocale(locale: string): void;
|
|
313
314
|
isDateTime(value: unknown): value is DateTime;
|
|
314
315
|
/**
|
|
@@ -402,17 +403,17 @@ interface Timeout {
|
|
|
402
403
|
clear: () => void;
|
|
403
404
|
}
|
|
404
405
|
//#endregion
|
|
405
|
-
//#region
|
|
406
|
+
//#region ../../../alepha/src/logger/providers/LogDestinationProvider.d.ts
|
|
406
407
|
declare abstract class LogDestinationProvider {
|
|
407
408
|
abstract write(message: string, entry: LogEntry): void;
|
|
408
409
|
}
|
|
409
410
|
//#endregion
|
|
410
|
-
//#region
|
|
411
|
+
//#region ../../../alepha/src/logger/providers/LogFormatterProvider.d.ts
|
|
411
412
|
declare abstract class LogFormatterProvider {
|
|
412
413
|
abstract format(entry: LogEntry): string;
|
|
413
414
|
}
|
|
414
415
|
//#endregion
|
|
415
|
-
//#region
|
|
416
|
+
//#region ../../../alepha/src/logger/services/Logger.d.ts
|
|
416
417
|
declare class Logger implements LoggerInterface {
|
|
417
418
|
protected readonly alepha: Alepha;
|
|
418
419
|
protected readonly formatter: LogFormatterProvider;
|
|
@@ -439,8 +440,8 @@ declare class Logger implements LoggerInterface {
|
|
|
439
440
|
protected emit(entry: LogEntry, message?: string): void;
|
|
440
441
|
}
|
|
441
442
|
//#endregion
|
|
442
|
-
//#region
|
|
443
|
-
declare const envSchema$9:
|
|
443
|
+
//#region ../../../alepha/src/logger/index.d.ts
|
|
444
|
+
declare const envSchema$9: alepha1543.TObject<{
|
|
444
445
|
/**
|
|
445
446
|
* Default log level for the application.
|
|
446
447
|
*
|
|
@@ -457,14 +458,14 @@ declare const envSchema$9: alepha1636.TObject<{
|
|
|
457
458
|
* LOG_LEVEL=my.module.name:debug,info # Set debug level for my.module.name and info for all other modules
|
|
458
459
|
* LOG_LEVEL=alepha:trace, info # Set trace level for all alepha modules and info for all other modules
|
|
459
460
|
*/
|
|
460
|
-
LOG_LEVEL:
|
|
461
|
+
LOG_LEVEL: alepha1543.TOptional<alepha1543.TString>;
|
|
461
462
|
/**
|
|
462
463
|
* Built-in log formats.
|
|
463
464
|
* - "json" - JSON format, useful for structured logging and log aggregation. {@link JsonFormatterProvider}
|
|
464
465
|
* - "pretty" - Simple text format, human-readable, with colors. {@link SimpleFormatterProvider}
|
|
465
466
|
* - "raw" - Raw format, no formatting, just the message. {@link RawFormatterProvider}
|
|
466
467
|
*/
|
|
467
|
-
LOG_FORMAT:
|
|
468
|
+
LOG_FORMAT: alepha1543.TOptional<alepha1543.TUnsafe<"json" | "pretty" | "raw">>;
|
|
468
469
|
}>;
|
|
469
470
|
declare module "alepha" {
|
|
470
471
|
interface Env extends Partial<Static<typeof envSchema$9>> {}
|
|
@@ -482,7 +483,7 @@ declare module "alepha" {
|
|
|
482
483
|
}
|
|
483
484
|
}
|
|
484
485
|
//#endregion
|
|
485
|
-
//#region
|
|
486
|
+
//#region ../../../alepha/src/server/services/ServerRequestParser.d.ts
|
|
486
487
|
declare class ServerRequestParser {
|
|
487
488
|
protected readonly alepha: Alepha;
|
|
488
489
|
protected readonly userAgentParser: UserAgentParser;
|
|
@@ -492,7 +493,7 @@ declare class ServerRequestParser {
|
|
|
492
493
|
getRequestIp(request: ServerRequestData): string | undefined;
|
|
493
494
|
}
|
|
494
495
|
//#endregion
|
|
495
|
-
//#region
|
|
496
|
+
//#region ../../../alepha/src/server/providers/ServerTimingProvider.d.ts
|
|
496
497
|
type TimingMap = Record<string, [number, number]>;
|
|
497
498
|
declare class ServerTimingProvider {
|
|
498
499
|
protected readonly log: Logger;
|
|
@@ -501,15 +502,15 @@ declare class ServerTimingProvider {
|
|
|
501
502
|
prefix: string;
|
|
502
503
|
disabled: boolean;
|
|
503
504
|
};
|
|
504
|
-
readonly onRequest:
|
|
505
|
-
readonly onResponse:
|
|
505
|
+
readonly onRequest: alepha1543.HookPrimitive<"server:onRequest">;
|
|
506
|
+
readonly onResponse: alepha1543.HookPrimitive<"server:onResponse">;
|
|
506
507
|
protected get handlerName(): string;
|
|
507
508
|
beginTiming(name: string): void;
|
|
508
509
|
endTiming(name: string): void;
|
|
509
510
|
protected setDuration(name: string, timing: TimingMap): void;
|
|
510
511
|
}
|
|
511
512
|
//#endregion
|
|
512
|
-
//#region
|
|
513
|
+
//#region ../../../alepha/src/server/providers/ServerRouterProvider.d.ts
|
|
513
514
|
/**
|
|
514
515
|
* Main router for all routes on the server side.
|
|
515
516
|
*
|
|
@@ -548,7 +549,7 @@ declare class ServerRouterProvider extends RouterProvider<ServerRouteMatcher> {
|
|
|
548
549
|
}, request: ServerRequestConfig): void;
|
|
549
550
|
}
|
|
550
551
|
//#endregion
|
|
551
|
-
//#region
|
|
552
|
+
//#region ../../../alepha/src/server/providers/ServerProvider.d.ts
|
|
552
553
|
/**
|
|
553
554
|
* Base server provider to handle incoming requests and route them.
|
|
554
555
|
*
|
|
@@ -566,11 +567,11 @@ declare class ServerProvider {
|
|
|
566
567
|
/**
|
|
567
568
|
* When a Node.js HTTP request is received from outside. (Vercel, AWS Lambda, etc.)
|
|
568
569
|
*/
|
|
569
|
-
protected readonly onNodeRequest:
|
|
570
|
+
protected readonly onNodeRequest: alepha1543.HookPrimitive<"node:request">;
|
|
570
571
|
/**
|
|
571
572
|
* When a Web (Fetch API) request is received from outside. (Netlify, Cloudflare Workers, etc.)
|
|
572
573
|
*/
|
|
573
|
-
protected readonly onWebRequest:
|
|
574
|
+
protected readonly onWebRequest: alepha1543.HookPrimitive<"web:request">;
|
|
574
575
|
/**
|
|
575
576
|
* Handle Node.js HTTP request event.
|
|
576
577
|
*
|
|
@@ -587,7 +588,7 @@ declare class ServerProvider {
|
|
|
587
588
|
protected isViteNotFound(url?: string, route?: Route, params?: Record<string, string>): boolean;
|
|
588
589
|
}
|
|
589
590
|
//#endregion
|
|
590
|
-
//#region
|
|
591
|
+
//#region ../../../alepha/src/cache/providers/CacheProvider.d.ts
|
|
591
592
|
/**
|
|
592
593
|
* Cache provider interface.
|
|
593
594
|
*
|
|
@@ -630,7 +631,7 @@ declare abstract class CacheProvider {
|
|
|
630
631
|
abstract clear(): Promise<void>;
|
|
631
632
|
}
|
|
632
633
|
//#endregion
|
|
633
|
-
//#region
|
|
634
|
+
//#region ../../../alepha/src/cache/primitives/$cache.d.ts
|
|
634
635
|
interface CachePrimitiveOptions<TReturn = any, TParameter extends any[] = any[]> {
|
|
635
636
|
/**
|
|
636
637
|
* The cache name. This is useful for invalidating multiple caches at once.
|
|
@@ -697,7 +698,7 @@ interface CachePrimitiveFn<TReturn = any, TParameter extends any[] = any[]> exte
|
|
|
697
698
|
(...args: TParameter): Promise<TReturn>;
|
|
698
699
|
}
|
|
699
700
|
//#endregion
|
|
700
|
-
//#region
|
|
701
|
+
//#region ../../../alepha/src/server/services/HttpClient.d.ts
|
|
701
702
|
declare class HttpClient {
|
|
702
703
|
protected readonly log: Logger;
|
|
703
704
|
protected readonly alepha: Alepha;
|
|
@@ -769,7 +770,7 @@ interface HttpAction {
|
|
|
769
770
|
};
|
|
770
771
|
}
|
|
771
772
|
//#endregion
|
|
772
|
-
//#region
|
|
773
|
+
//#region ../../../alepha/src/server/primitives/$action.d.ts
|
|
773
774
|
interface ActionPrimitiveOptions<TConfig extends RequestConfigSchema> extends Omit<ServerRoute, "handler" | "path" | "schema" | "mapParams"> {
|
|
774
775
|
/**
|
|
775
776
|
* Name of the action.
|
|
@@ -907,33 +908,33 @@ type ServerActionHandler<TConfig extends RequestConfigSchema = RequestConfigSche
|
|
|
907
908
|
*/
|
|
908
909
|
interface ServerActionRequest<TConfig extends RequestConfigSchema> extends ServerRequest<TConfig> {}
|
|
909
910
|
//#endregion
|
|
910
|
-
//#region
|
|
911
|
-
declare const okSchema:
|
|
912
|
-
ok:
|
|
913
|
-
id:
|
|
914
|
-
count:
|
|
911
|
+
//#region ../../../alepha/src/server/schemas/okSchema.d.ts
|
|
912
|
+
declare const okSchema: alepha1543.TObject<{
|
|
913
|
+
ok: alepha1543.TBoolean;
|
|
914
|
+
id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
|
|
915
|
+
count: alepha1543.TOptional<alepha1543.TNumber>;
|
|
915
916
|
}>;
|
|
916
917
|
type Ok = Static<typeof okSchema>;
|
|
917
918
|
//#endregion
|
|
918
|
-
//#region
|
|
919
|
-
declare const envSchema$8:
|
|
920
|
-
SERVER_PORT:
|
|
921
|
-
SERVER_HOST:
|
|
919
|
+
//#region ../../../alepha/src/server/providers/BunHttpServerProvider.d.ts
|
|
920
|
+
declare const envSchema$8: alepha1543.TObject<{
|
|
921
|
+
SERVER_PORT: alepha1543.TInteger;
|
|
922
|
+
SERVER_HOST: alepha1543.TString;
|
|
922
923
|
}>;
|
|
923
924
|
declare module "alepha" {
|
|
924
925
|
interface Env extends Partial<Static<typeof envSchema$8>> {}
|
|
925
926
|
}
|
|
926
927
|
//#endregion
|
|
927
|
-
//#region
|
|
928
|
-
declare const envSchema$7:
|
|
929
|
-
SERVER_PORT:
|
|
930
|
-
SERVER_HOST:
|
|
928
|
+
//#region ../../../alepha/src/server/providers/NodeHttpServerProvider.d.ts
|
|
929
|
+
declare const envSchema$7: alepha1543.TObject<{
|
|
930
|
+
SERVER_PORT: alepha1543.TInteger;
|
|
931
|
+
SERVER_HOST: alepha1543.TString;
|
|
931
932
|
}>;
|
|
932
933
|
declare module "alepha" {
|
|
933
934
|
interface Env extends Partial<Static<typeof envSchema$7>> {}
|
|
934
935
|
}
|
|
935
936
|
//#endregion
|
|
936
|
-
//#region
|
|
937
|
+
//#region ../../../alepha/src/server/index.d.ts
|
|
937
938
|
declare module "alepha" {
|
|
938
939
|
interface State {
|
|
939
940
|
"alepha.node.server"?: Server;
|
|
@@ -989,7 +990,7 @@ declare module "alepha" {
|
|
|
989
990
|
}
|
|
990
991
|
}
|
|
991
992
|
//#endregion
|
|
992
|
-
//#region
|
|
993
|
+
//#region ../../../alepha/src/security/interfaces/UserAccountToken.d.ts
|
|
993
994
|
/**
|
|
994
995
|
* Add contextual metadata to a user account info.
|
|
995
996
|
* E.g. UserAccountToken is a UserAccountInfo during a request.
|
|
@@ -1010,28 +1011,28 @@ interface UserAccountToken extends UserAccount {
|
|
|
1010
1011
|
ownership?: string | boolean;
|
|
1011
1012
|
}
|
|
1012
1013
|
//#endregion
|
|
1013
|
-
//#region
|
|
1014
|
-
declare const roleSchema:
|
|
1015
|
-
name:
|
|
1016
|
-
description:
|
|
1017
|
-
default:
|
|
1018
|
-
permissions:
|
|
1019
|
-
name:
|
|
1020
|
-
ownership:
|
|
1021
|
-
exclude:
|
|
1014
|
+
//#region ../../../alepha/src/security/schemas/roleSchema.d.ts
|
|
1015
|
+
declare const roleSchema: alepha1543.TObject<{
|
|
1016
|
+
name: alepha1543.TString;
|
|
1017
|
+
description: alepha1543.TOptional<alepha1543.TString>;
|
|
1018
|
+
default: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
1019
|
+
permissions: alepha1543.TArray<alepha1543.TObject<{
|
|
1020
|
+
name: alepha1543.TString;
|
|
1021
|
+
ownership: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
1022
|
+
exclude: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
1022
1023
|
}>>;
|
|
1023
1024
|
}>;
|
|
1024
1025
|
type Role = Static<typeof roleSchema>;
|
|
1025
1026
|
//#endregion
|
|
1026
|
-
//#region
|
|
1027
|
-
declare const envSchema$6:
|
|
1028
|
-
APP_SECRET:
|
|
1027
|
+
//#region ../../../alepha/src/security/providers/SecurityProvider.d.ts
|
|
1028
|
+
declare const envSchema$6: alepha1543.TObject<{
|
|
1029
|
+
APP_SECRET: alepha1543.TString;
|
|
1029
1030
|
}>;
|
|
1030
1031
|
declare module "alepha" {
|
|
1031
1032
|
interface Env extends Partial<Static<typeof envSchema$6>> {}
|
|
1032
1033
|
}
|
|
1033
1034
|
//#endregion
|
|
1034
|
-
//#region
|
|
1035
|
+
//#region ../../../alepha/src/security/primitives/$realm.d.ts
|
|
1035
1036
|
type RealmPrimitiveOptions = {
|
|
1036
1037
|
/**
|
|
1037
1038
|
* Define the realm name.
|
|
@@ -1096,14 +1097,14 @@ interface RealmExternal {
|
|
|
1096
1097
|
jwks: (() => string) | JSONWebKeySet;
|
|
1097
1098
|
}
|
|
1098
1099
|
//#endregion
|
|
1099
|
-
//#region
|
|
1100
|
+
//#region ../../../alepha/src/security/providers/CryptoProvider.d.ts
|
|
1100
1101
|
declare class CryptoProvider {
|
|
1101
1102
|
hashPassword(password: string): Promise<string>;
|
|
1102
1103
|
verifyPassword(password: string, stored: string): Promise<boolean>;
|
|
1103
1104
|
randomUUID(): string;
|
|
1104
1105
|
}
|
|
1105
1106
|
//#endregion
|
|
1106
|
-
//#region
|
|
1107
|
+
//#region ../../../alepha/src/security/index.d.ts
|
|
1107
1108
|
declare module "alepha" {
|
|
1108
1109
|
interface Hooks {
|
|
1109
1110
|
"security:user:created": {
|
|
@@ -1125,19 +1126,19 @@ declare module "alepha" {
|
|
|
1125
1126
|
* @module alepha.security
|
|
1126
1127
|
*/
|
|
1127
1128
|
//#endregion
|
|
1128
|
-
//#region
|
|
1129
|
+
//#region ../../../alepha/src/server-security/providers/ServerBasicAuthProvider.d.ts
|
|
1129
1130
|
interface BasicAuthOptions {
|
|
1130
1131
|
username: string;
|
|
1131
1132
|
password: string;
|
|
1132
1133
|
}
|
|
1133
1134
|
//#endregion
|
|
1134
|
-
//#region
|
|
1135
|
+
//#region ../../../alepha/src/server-security/providers/ServerSecurityProvider.d.ts
|
|
1135
1136
|
type ServerRouteSecure = {
|
|
1136
1137
|
realm?: string;
|
|
1137
1138
|
basic?: BasicAuthOptions;
|
|
1138
1139
|
};
|
|
1139
1140
|
//#endregion
|
|
1140
|
-
//#region
|
|
1141
|
+
//#region ../../../alepha/src/server-security/index.d.ts
|
|
1141
1142
|
declare module "alepha" {
|
|
1142
1143
|
interface State {
|
|
1143
1144
|
/**
|
|
@@ -1189,30 +1190,30 @@ declare module "alepha/server" {
|
|
|
1189
1190
|
* @module alepha.server.security
|
|
1190
1191
|
*/
|
|
1191
1192
|
//#endregion
|
|
1192
|
-
//#region
|
|
1193
|
-
declare const apiLinkSchema:
|
|
1194
|
-
name:
|
|
1195
|
-
group:
|
|
1196
|
-
path:
|
|
1197
|
-
method:
|
|
1198
|
-
requestBodyType:
|
|
1199
|
-
service:
|
|
1193
|
+
//#region ../../../alepha/src/server-links/schemas/apiLinksResponseSchema.d.ts
|
|
1194
|
+
declare const apiLinkSchema: alepha1543.TObject<{
|
|
1195
|
+
name: alepha1543.TString;
|
|
1196
|
+
group: alepha1543.TOptional<alepha1543.TString>;
|
|
1197
|
+
path: alepha1543.TString;
|
|
1198
|
+
method: alepha1543.TOptional<alepha1543.TString>;
|
|
1199
|
+
requestBodyType: alepha1543.TOptional<alepha1543.TString>;
|
|
1200
|
+
service: alepha1543.TOptional<alepha1543.TString>;
|
|
1200
1201
|
}>;
|
|
1201
|
-
declare const apiLinksResponseSchema:
|
|
1202
|
-
prefix:
|
|
1203
|
-
links:
|
|
1204
|
-
name:
|
|
1205
|
-
group:
|
|
1206
|
-
path:
|
|
1207
|
-
method:
|
|
1208
|
-
requestBodyType:
|
|
1209
|
-
service:
|
|
1202
|
+
declare const apiLinksResponseSchema: alepha1543.TObject<{
|
|
1203
|
+
prefix: alepha1543.TOptional<alepha1543.TString>;
|
|
1204
|
+
links: alepha1543.TArray<alepha1543.TObject<{
|
|
1205
|
+
name: alepha1543.TString;
|
|
1206
|
+
group: alepha1543.TOptional<alepha1543.TString>;
|
|
1207
|
+
path: alepha1543.TString;
|
|
1208
|
+
method: alepha1543.TOptional<alepha1543.TString>;
|
|
1209
|
+
requestBodyType: alepha1543.TOptional<alepha1543.TString>;
|
|
1210
|
+
service: alepha1543.TOptional<alepha1543.TString>;
|
|
1210
1211
|
}>>;
|
|
1211
1212
|
}>;
|
|
1212
1213
|
type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
|
|
1213
1214
|
type ApiLink = Static<typeof apiLinkSchema>;
|
|
1214
1215
|
//#endregion
|
|
1215
|
-
//#region
|
|
1216
|
+
//#region ../../../alepha/src/server-links/providers/LinkProvider.d.ts
|
|
1216
1217
|
/**
|
|
1217
1218
|
* Browser, SSR friendly, service to handle links.
|
|
1218
1219
|
*/
|
|
@@ -1279,7 +1280,7 @@ interface VirtualAction<T$1 extends RequestConfigSchema> extends Pick<ActionPrim
|
|
|
1279
1280
|
can: () => boolean;
|
|
1280
1281
|
}
|
|
1281
1282
|
//#endregion
|
|
1282
|
-
//#region
|
|
1283
|
+
//#region ../../../alepha/src/retry/providers/RetryProvider.d.ts
|
|
1283
1284
|
interface RetryOptions<T$1 extends (...args: any[]) => any> {
|
|
1284
1285
|
/**
|
|
1285
1286
|
* The function to retry.
|
|
@@ -1366,7 +1367,7 @@ declare class RetryProvider {
|
|
|
1366
1367
|
protected calculateBackoff(attempt: number, options?: number | RetryBackoffOptions): number;
|
|
1367
1368
|
}
|
|
1368
1369
|
//#endregion
|
|
1369
|
-
//#region
|
|
1370
|
+
//#region ../../../alepha/src/retry/primitives/$retry.d.ts
|
|
1370
1371
|
interface RetryPrimitiveOptions<T$1 extends (...args: any[]) => any> {
|
|
1371
1372
|
/**
|
|
1372
1373
|
* The function to retry.
|
|
@@ -1408,7 +1409,7 @@ interface RetryPrimitiveOptions<T$1 extends (...args: any[]) => any> {
|
|
|
1408
1409
|
signal?: AbortSignal;
|
|
1409
1410
|
}
|
|
1410
1411
|
//#endregion
|
|
1411
|
-
//#region
|
|
1412
|
+
//#region ../../../alepha/src/server-links/index.d.ts
|
|
1412
1413
|
declare module "alepha" {
|
|
1413
1414
|
interface State {
|
|
1414
1415
|
/**
|
|
@@ -1432,7 +1433,7 @@ declare module "alepha" {
|
|
|
1432
1433
|
* @module alepha.server.links
|
|
1433
1434
|
*/
|
|
1434
1435
|
//#endregion
|
|
1435
|
-
//#region
|
|
1436
|
+
//#region ../../../alepha/src/server-cache/providers/ServerCacheProvider.d.ts
|
|
1436
1437
|
declare module "alepha/server" {
|
|
1437
1438
|
interface ServerRoute {
|
|
1438
1439
|
/**
|
|
@@ -1529,13 +1530,13 @@ boolean
|
|
|
1529
1530
|
};
|
|
1530
1531
|
};
|
|
1531
1532
|
//#endregion
|
|
1532
|
-
//#region
|
|
1533
|
+
//#region ../../../react/src/core/components/ClientOnly.d.ts
|
|
1533
1534
|
interface ClientOnlyProps {
|
|
1534
1535
|
fallback?: ReactNode;
|
|
1535
1536
|
disabled?: boolean;
|
|
1536
1537
|
}
|
|
1537
1538
|
//#endregion
|
|
1538
|
-
//#region
|
|
1539
|
+
//#region ../../../react/src/core/errors/Redirection.d.ts
|
|
1539
1540
|
/**
|
|
1540
1541
|
* Used for Redirection during the page loading.
|
|
1541
1542
|
*
|
|
@@ -1546,9 +1547,9 @@ declare class Redirection extends Error {
|
|
|
1546
1547
|
constructor(redirect: string);
|
|
1547
1548
|
}
|
|
1548
1549
|
//#endregion
|
|
1549
|
-
//#region
|
|
1550
|
-
declare const envSchema$5:
|
|
1551
|
-
REACT_STRICT_MODE:
|
|
1550
|
+
//#region ../../../react/src/core/providers/ReactPageProvider.d.ts
|
|
1551
|
+
declare const envSchema$5: alepha1543.TObject<{
|
|
1552
|
+
REACT_STRICT_MODE: alepha1543.TBoolean;
|
|
1552
1553
|
}>;
|
|
1553
1554
|
declare module "alepha" {
|
|
1554
1555
|
interface Env extends Partial<Static<typeof envSchema$5>> {}
|
|
@@ -1591,7 +1592,7 @@ declare class ReactPageProvider {
|
|
|
1591
1592
|
}, params?: Record<string, any>): string;
|
|
1592
1593
|
compile(path: string, params?: Record<string, string>): string;
|
|
1593
1594
|
protected renderView(index: number, path: string, view: ReactNode | undefined, page: PageRoute): ReactNode;
|
|
1594
|
-
protected readonly configure:
|
|
1595
|
+
protected readonly configure: alepha1543.HookPrimitive<"configure">;
|
|
1595
1596
|
protected map(pages: Array<PagePrimitive>, target: PagePrimitive): PageRouteEntry;
|
|
1596
1597
|
add(entry: PageRouteEntry): void;
|
|
1597
1598
|
protected createMatch(page: PageRoute): string;
|
|
@@ -1671,7 +1672,7 @@ interface CreateLayersResult {
|
|
|
1671
1672
|
state?: ReactRouterState;
|
|
1672
1673
|
}
|
|
1673
1674
|
//#endregion
|
|
1674
|
-
//#region
|
|
1675
|
+
//#region ../../../react/src/core/services/ReactPageService.d.ts
|
|
1675
1676
|
declare class ReactPageService {
|
|
1676
1677
|
fetch(pathname: string, options?: PagePrimitiveRenderOptions): Promise<{
|
|
1677
1678
|
html: string;
|
|
@@ -1680,7 +1681,7 @@ declare class ReactPageService {
|
|
|
1680
1681
|
render(name: string, options?: PagePrimitiveRenderOptions): Promise<PagePrimitiveRenderResult>;
|
|
1681
1682
|
}
|
|
1682
1683
|
//#endregion
|
|
1683
|
-
//#region
|
|
1684
|
+
//#region ../../../react/src/core/primitives/$page.d.ts
|
|
1684
1685
|
interface PagePrimitiveOptions<TConfig extends PageConfigSchema = PageConfigSchema, TProps extends object = TPropsDefault, TPropsParent extends object = TPropsParentDefault> {
|
|
1685
1686
|
/**
|
|
1686
1687
|
* Identifier name for the page. Must be unique.
|
|
@@ -1909,7 +1910,7 @@ type CssAnimation = {
|
|
|
1909
1910
|
timing?: string;
|
|
1910
1911
|
};
|
|
1911
1912
|
//#endregion
|
|
1912
|
-
//#region
|
|
1913
|
+
//#region ../../../react/src/core/providers/ReactBrowserRouterProvider.d.ts
|
|
1913
1914
|
interface BrowserRoute extends Route {
|
|
1914
1915
|
page: PageRoute;
|
|
1915
1916
|
}
|
|
@@ -1918,14 +1919,14 @@ declare class ReactBrowserRouterProvider extends RouterProvider<BrowserRoute> {
|
|
|
1918
1919
|
protected readonly alepha: Alepha;
|
|
1919
1920
|
protected readonly pageApi: ReactPageProvider;
|
|
1920
1921
|
add(entry: PageRouteEntry): void;
|
|
1921
|
-
protected readonly configure:
|
|
1922
|
+
protected readonly configure: alepha1543.HookPrimitive<"configure">;
|
|
1922
1923
|
transition(url: URL, previous?: PreviousLayerData[], meta?: {}): Promise<string | void>;
|
|
1923
1924
|
root(state: ReactRouterState): ReactNode;
|
|
1924
1925
|
}
|
|
1925
1926
|
//#endregion
|
|
1926
|
-
//#region
|
|
1927
|
-
declare const envSchema$4:
|
|
1928
|
-
REACT_ROOT_ID:
|
|
1927
|
+
//#region ../../../react/src/core/providers/ReactBrowserProvider.d.ts
|
|
1928
|
+
declare const envSchema$4: alepha1543.TObject<{
|
|
1929
|
+
REACT_ROOT_ID: alepha1543.TString;
|
|
1929
1930
|
}>;
|
|
1930
1931
|
declare module "alepha" {
|
|
1931
1932
|
interface Env extends Partial<Static<typeof envSchema$4>> {}
|
|
@@ -1933,8 +1934,8 @@ declare module "alepha" {
|
|
|
1933
1934
|
/**
|
|
1934
1935
|
* React browser renderer configuration atom
|
|
1935
1936
|
*/
|
|
1936
|
-
declare const reactBrowserOptions:
|
|
1937
|
-
scrollRestoration:
|
|
1937
|
+
declare const reactBrowserOptions: alepha1543.Atom<alepha1543.TObject<{
|
|
1938
|
+
scrollRestoration: alepha1543.TUnsafe<"top" | "manual">;
|
|
1938
1939
|
}>, "alepha.react.browser.options">;
|
|
1939
1940
|
type ReactBrowserRendererOptions = Static<typeof reactBrowserOptions.schema>;
|
|
1940
1941
|
declare module "alepha" {
|
|
@@ -1982,8 +1983,8 @@ declare class ReactBrowserProvider {
|
|
|
1982
1983
|
* Get embedded layers from the server.
|
|
1983
1984
|
*/
|
|
1984
1985
|
protected getHydrationState(): ReactHydrationState | undefined;
|
|
1985
|
-
protected readonly onTransitionEnd:
|
|
1986
|
-
readonly ready:
|
|
1986
|
+
protected readonly onTransitionEnd: alepha1543.HookPrimitive<"react:transition:end">;
|
|
1987
|
+
readonly ready: alepha1543.HookPrimitive<"ready">;
|
|
1987
1988
|
}
|
|
1988
1989
|
interface RouterGoOptions {
|
|
1989
1990
|
replace?: boolean;
|
|
@@ -2007,7 +2008,7 @@ interface RouterRenderOptions {
|
|
|
2007
2008
|
meta?: Record<string, any>;
|
|
2008
2009
|
}
|
|
2009
2010
|
//#endregion
|
|
2010
|
-
//#region
|
|
2011
|
+
//#region ../../../react/src/head/interfaces/Head.d.ts
|
|
2011
2012
|
interface Head extends SimpleHead {
|
|
2012
2013
|
description?: string;
|
|
2013
2014
|
keywords?: string[];
|
|
@@ -2052,7 +2053,7 @@ interface SimpleHead {
|
|
|
2052
2053
|
}>;
|
|
2053
2054
|
}
|
|
2054
2055
|
//#endregion
|
|
2055
|
-
//#region
|
|
2056
|
+
//#region ../../../react/src/head/index.d.ts
|
|
2056
2057
|
declare module "@alepha/react" {
|
|
2057
2058
|
interface PagePrimitiveOptions<TConfig extends PageConfigSchema = PageConfigSchema, TProps extends object = TPropsDefault, TPropsParent extends object = TPropsParentDefault> {
|
|
2058
2059
|
head?: Head | ((props: TProps, previous?: Head) => Head);
|
|
@@ -2068,7 +2069,7 @@ declare module "@alepha/react" {
|
|
|
2068
2069
|
* @module alepha.react.head
|
|
2069
2070
|
*/
|
|
2070
2071
|
//#endregion
|
|
2071
|
-
//#region
|
|
2072
|
+
//#region ../../../react/src/core/services/ReactRouter.d.ts
|
|
2072
2073
|
declare class ReactRouter<T$1 extends object> {
|
|
2073
2074
|
protected readonly alepha: Alepha;
|
|
2074
2075
|
protected readonly pageApi: ReactPageProvider;
|
|
@@ -2148,7 +2149,7 @@ declare class ReactRouter<T$1 extends object> {
|
|
|
2148
2149
|
}
|
|
2149
2150
|
type VirtualRouter<T$1> = { [K in keyof T$1 as T$1[K] extends PagePrimitive ? K : never]: T$1[K] };
|
|
2150
2151
|
//#endregion
|
|
2151
|
-
//#region
|
|
2152
|
+
//#region ../../../alepha/src/file/providers/FileSystemProvider.d.ts
|
|
2152
2153
|
/**
|
|
2153
2154
|
* Options for creating a file from a URL
|
|
2154
2155
|
*/
|
|
@@ -2417,7 +2418,7 @@ declare abstract class FileSystemProvider {
|
|
|
2417
2418
|
abstract writeFile(path: string, data: Uint8Array | Buffer | string | FileLike): Promise<void>;
|
|
2418
2419
|
}
|
|
2419
2420
|
//#endregion
|
|
2420
|
-
//#region
|
|
2421
|
+
//#region ../../../alepha/src/file/services/FileDetector.d.ts
|
|
2421
2422
|
interface FileTypeResult {
|
|
2422
2423
|
/**
|
|
2423
2424
|
* The detected MIME type
|
|
@@ -2544,11 +2545,11 @@ declare class FileDetector {
|
|
|
2544
2545
|
protected matchesSignature(buffer: Buffer, signature: (number | null)[]): boolean;
|
|
2545
2546
|
}
|
|
2546
2547
|
//#endregion
|
|
2547
|
-
//#region
|
|
2548
|
-
declare const envSchema$3:
|
|
2549
|
-
REACT_SSR_ENABLED:
|
|
2550
|
-
REACT_ROOT_ID:
|
|
2551
|
-
REACT_SERVER_TEMPLATE:
|
|
2548
|
+
//#region ../../../react/src/core/providers/ReactServerProvider.d.ts
|
|
2549
|
+
declare const envSchema$3: alepha1543.TObject<{
|
|
2550
|
+
REACT_SSR_ENABLED: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
2551
|
+
REACT_ROOT_ID: alepha1543.TString;
|
|
2552
|
+
REACT_SERVER_TEMPLATE: alepha1543.TOptional<alepha1543.TString>;
|
|
2552
2553
|
}>;
|
|
2553
2554
|
declare module "alepha" {
|
|
2554
2555
|
interface Env extends Partial<Static<typeof envSchema$3>> {}
|
|
@@ -2559,11 +2560,11 @@ declare module "alepha" {
|
|
|
2559
2560
|
/**
|
|
2560
2561
|
* React server provider configuration atom
|
|
2561
2562
|
*/
|
|
2562
|
-
declare const reactServerOptions:
|
|
2563
|
-
publicDir:
|
|
2564
|
-
staticServer:
|
|
2565
|
-
disabled:
|
|
2566
|
-
path:
|
|
2563
|
+
declare const reactServerOptions: alepha1543.Atom<alepha1543.TObject<{
|
|
2564
|
+
publicDir: alepha1543.TString;
|
|
2565
|
+
staticServer: alepha1543.TObject<{
|
|
2566
|
+
disabled: alepha1543.TBoolean;
|
|
2567
|
+
path: alepha1543.TString;
|
|
2567
2568
|
}>;
|
|
2568
2569
|
}>, "alepha.react.server.options">;
|
|
2569
2570
|
type ReactServerProviderOptions = Static<typeof reactServerOptions.schema>;
|
|
@@ -2573,7 +2574,7 @@ declare module "alepha" {
|
|
|
2573
2574
|
}
|
|
2574
2575
|
}
|
|
2575
2576
|
//#endregion
|
|
2576
|
-
//#region
|
|
2577
|
+
//#region ../../../react/src/core/index.d.ts
|
|
2577
2578
|
declare module "alepha" {
|
|
2578
2579
|
interface State {
|
|
2579
2580
|
"alepha.react.router.state"?: ReactRouterState;
|
|
@@ -2676,21 +2677,21 @@ declare module "alepha" {
|
|
|
2676
2677
|
* @module alepha.react
|
|
2677
2678
|
*/
|
|
2678
2679
|
//#endregion
|
|
2679
|
-
//#region
|
|
2680
|
-
declare const tokensSchema:
|
|
2681
|
-
provider:
|
|
2682
|
-
access_token:
|
|
2683
|
-
issued_at:
|
|
2684
|
-
expires_in:
|
|
2685
|
-
refresh_token:
|
|
2686
|
-
refresh_token_expires_in:
|
|
2687
|
-
refresh_expires_in:
|
|
2688
|
-
id_token:
|
|
2689
|
-
scope:
|
|
2680
|
+
//#region ../../../alepha/src/server-auth/schemas/tokensSchema.d.ts
|
|
2681
|
+
declare const tokensSchema: alepha1543.TObject<{
|
|
2682
|
+
provider: alepha1543.TString;
|
|
2683
|
+
access_token: alepha1543.TString;
|
|
2684
|
+
issued_at: alepha1543.TNumber;
|
|
2685
|
+
expires_in: alepha1543.TOptional<alepha1543.TNumber>;
|
|
2686
|
+
refresh_token: alepha1543.TOptional<alepha1543.TString>;
|
|
2687
|
+
refresh_token_expires_in: alepha1543.TOptional<alepha1543.TNumber>;
|
|
2688
|
+
refresh_expires_in: alepha1543.TOptional<alepha1543.TNumber>;
|
|
2689
|
+
id_token: alepha1543.TOptional<alepha1543.TString>;
|
|
2690
|
+
scope: alepha1543.TOptional<alepha1543.TString>;
|
|
2690
2691
|
}>;
|
|
2691
2692
|
type Tokens = Static<typeof tokensSchema>;
|
|
2692
2693
|
//#endregion
|
|
2693
|
-
//#region
|
|
2694
|
+
//#region ../../../alepha/src/server-cookies/primitives/$cookie.d.ts
|
|
2694
2695
|
interface Cookies {
|
|
2695
2696
|
req: Record<string, string>;
|
|
2696
2697
|
res: Record<string, Cookie | null>;
|
|
@@ -2705,7 +2706,7 @@ interface Cookie {
|
|
|
2705
2706
|
domain?: string;
|
|
2706
2707
|
}
|
|
2707
2708
|
//#endregion
|
|
2708
|
-
//#region
|
|
2709
|
+
//#region ../../../alepha/src/server-cookies/index.d.ts
|
|
2709
2710
|
declare module "alepha/server" {
|
|
2710
2711
|
interface ServerRequest {
|
|
2711
2712
|
cookies: Cookies;
|
|
@@ -2722,7 +2723,7 @@ declare module "alepha/server" {
|
|
|
2722
2723
|
* @module alepha.server.cookies
|
|
2723
2724
|
*/
|
|
2724
2725
|
//#endregion
|
|
2725
|
-
//#region
|
|
2726
|
+
//#region ../../../alepha/src/server-auth/index.d.ts
|
|
2726
2727
|
declare module "alepha" {
|
|
2727
2728
|
interface State {
|
|
2728
2729
|
/**
|
|
@@ -2747,7 +2748,7 @@ declare module "alepha" {
|
|
|
2747
2748
|
* @module alepha.server.auth
|
|
2748
2749
|
*/
|
|
2749
2750
|
//#endregion
|
|
2750
|
-
//#region
|
|
2751
|
+
//#region ../../../react/src/auth/services/ReactAuth.d.ts
|
|
2751
2752
|
/**
|
|
2752
2753
|
* Browser, SSR friendly, service to handle authentication.
|
|
2753
2754
|
*/
|
|
@@ -2756,8 +2757,8 @@ declare class ReactAuth {
|
|
|
2756
2757
|
protected readonly alepha: Alepha;
|
|
2757
2758
|
protected readonly httpClient: HttpClient;
|
|
2758
2759
|
protected readonly linkProvider: LinkProvider;
|
|
2759
|
-
protected readonly onBeginTransition:
|
|
2760
|
-
protected readonly onFetchRequest:
|
|
2760
|
+
protected readonly onBeginTransition: alepha1543.HookPrimitive<"react:transition:begin">;
|
|
2761
|
+
protected readonly onFetchRequest: alepha1543.HookPrimitive<"client:onRequest">;
|
|
2761
2762
|
/**
|
|
2762
2763
|
* Get the current authenticated user.
|
|
2763
2764
|
*
|
|
@@ -2785,7 +2786,7 @@ declare class ReactAuth {
|
|
|
2785
2786
|
logout(): void;
|
|
2786
2787
|
}
|
|
2787
2788
|
//#endregion
|
|
2788
|
-
//#region
|
|
2789
|
+
//#region ../../../react/src/auth/index.d.ts
|
|
2789
2790
|
declare module "@alepha/react" {
|
|
2790
2791
|
interface ReactRouterState {
|
|
2791
2792
|
user?: UserAccount;
|
|
@@ -2798,7 +2799,7 @@ declare module "@alepha/react" {
|
|
|
2798
2799
|
* @module alepha.react.auth
|
|
2799
2800
|
*/
|
|
2800
2801
|
//#endregion
|
|
2801
|
-
//#region
|
|
2802
|
+
//#region ../../../alepha/src/orm/schemas/insertSchema.d.ts
|
|
2802
2803
|
/**
|
|
2803
2804
|
* Transforms a TObject schema for insert operations.
|
|
2804
2805
|
* All default properties at the root level are made optional.
|
|
@@ -2813,7 +2814,7 @@ type TObjectInsert<T$1 extends TObject> = TObject<{ [K in keyof T$1["properties"
|
|
|
2813
2814
|
"~optional": true;
|
|
2814
2815
|
} ? TOptional<T$1["properties"][K]> : T$1["properties"][K] }>;
|
|
2815
2816
|
//#endregion
|
|
2816
|
-
//#region
|
|
2817
|
+
//#region ../../../alepha/src/orm/schemas/updateSchema.d.ts
|
|
2817
2818
|
/**
|
|
2818
2819
|
* Transforms a TObject schema for update operations.
|
|
2819
2820
|
* All optional properties at the root level are made nullable (i.e., `T | null`).
|
|
@@ -2825,7 +2826,7 @@ type TObjectInsert<T$1 extends TObject> = TObject<{ [K in keyof T$1["properties"
|
|
|
2825
2826
|
*/
|
|
2826
2827
|
type TObjectUpdate<T$1 extends TObject> = TObject<{ [K in keyof T$1["properties"]]: T$1["properties"][K] extends TOptional<infer U> ? TOptional<TUnion<[U, TNull]>> : T$1["properties"][K] }>;
|
|
2827
2828
|
//#endregion
|
|
2828
|
-
//#region
|
|
2829
|
+
//#region ../../../alepha/src/orm/primitives/$entity.d.ts
|
|
2829
2830
|
interface EntityPrimitiveOptions<T$1 extends TObject, Keys = keyof Static<T$1>> {
|
|
2830
2831
|
/**
|
|
2831
2832
|
* The database table name that will be created for this entity.
|
|
@@ -2964,7 +2965,7 @@ type EntityColumn<T$1 extends TObject> = {
|
|
|
2964
2965
|
};
|
|
2965
2966
|
type EntityColumns<T$1 extends TObject> = { [key in keyof T$1["properties"]]: EntityColumn<T$1> };
|
|
2966
2967
|
//#endregion
|
|
2967
|
-
//#region
|
|
2968
|
+
//#region ../../../alepha/src/orm/constants/PG_SYMBOLS.d.ts
|
|
2968
2969
|
declare const PG_DEFAULT: unique symbol;
|
|
2969
2970
|
declare const PG_PRIMARY_KEY: unique symbol;
|
|
2970
2971
|
declare const PG_CREATED_AT: unique symbol;
|
|
@@ -3014,13 +3015,13 @@ interface PgRefOptions {
|
|
|
3014
3015
|
};
|
|
3015
3016
|
}
|
|
3016
3017
|
//#endregion
|
|
3017
|
-
//#region
|
|
3018
|
+
//#region ../../../alepha/src/orm/errors/DbError.d.ts
|
|
3018
3019
|
declare class DbError extends AlephaError {
|
|
3019
3020
|
name: string;
|
|
3020
3021
|
constructor(message: string, cause?: unknown);
|
|
3021
3022
|
}
|
|
3022
3023
|
//#endregion
|
|
3023
|
-
//#region
|
|
3024
|
+
//#region ../../../alepha/src/orm/interfaces/FilterOperators.d.ts
|
|
3024
3025
|
interface FilterOperators<TValue> {
|
|
3025
3026
|
/**
|
|
3026
3027
|
* Test that two values are equal.
|
|
@@ -3436,7 +3437,7 @@ interface FilterOperators<TValue> {
|
|
|
3436
3437
|
arrayOverlaps?: TValue;
|
|
3437
3438
|
}
|
|
3438
3439
|
//#endregion
|
|
3439
|
-
//#region
|
|
3440
|
+
//#region ../../../alepha/src/orm/interfaces/PgQuery.d.ts
|
|
3440
3441
|
/**
|
|
3441
3442
|
* Order direction for sorting
|
|
3442
3443
|
*/
|
|
@@ -3485,7 +3486,7 @@ type PgRelation<Base extends TObject> = {
|
|
|
3485
3486
|
with?: PgRelationMap<TObject>;
|
|
3486
3487
|
};
|
|
3487
3488
|
//#endregion
|
|
3488
|
-
//#region
|
|
3489
|
+
//#region ../../../alepha/src/orm/interfaces/PgQueryWhere.d.ts
|
|
3489
3490
|
type PgQueryWhere<T$1 extends TObject, Relations extends PgRelationMap<TObject> | undefined = undefined> = (PgQueryWhereOperators<T$1> & PgQueryWhereConditions<T$1>) | (PgQueryWhereRelations<Relations> & PgQueryWhereOperators<T$1> & PgQueryWhereConditions<T$1, Relations>);
|
|
3490
3491
|
type PgQueryWhereOrSQL<T$1 extends TObject, Relations extends PgRelationMap<TObject> | undefined = undefined> = SQLWrapper | PgQueryWhere<T$1, Relations>;
|
|
3491
3492
|
type PgQueryWhereOperators<T$1 extends TObject> = { [Key in keyof Static<T$1>]?: FilterOperators<Static<T$1>[Key]> | Static<T$1>[Key] | (Static<T$1>[Key] extends object ? NestedJsonbQuery<Static<T$1>[Key]> : never) };
|
|
@@ -3564,7 +3565,7 @@ type PgQueryWhereRelations<Relations extends PgRelationMap<TObject> | undefined
|
|
|
3564
3565
|
*/
|
|
3565
3566
|
type NestedJsonbQuery<T$1> = T$1 extends object ? T$1 extends Array<infer U> ? U extends object ? { [K in keyof U]?: FilterOperators<U[K]> | U[K] } : FilterOperators<U> | U : { [K in keyof T$1]?: FilterOperators<T$1[K]> | T$1[K] | (T$1[K] extends object ? NestedJsonbQuery<T$1[K]> : never) } : FilterOperators<T$1> | T$1;
|
|
3566
3567
|
//#endregion
|
|
3567
|
-
//#region
|
|
3568
|
+
//#region ../../../alepha/src/orm/helpers/pgAttr.d.ts
|
|
3568
3569
|
/**
|
|
3569
3570
|
* Type representation.
|
|
3570
3571
|
*/
|
|
@@ -3577,7 +3578,7 @@ interface PgAttrField {
|
|
|
3577
3578
|
one?: boolean;
|
|
3578
3579
|
}
|
|
3579
3580
|
//#endregion
|
|
3580
|
-
//#region
|
|
3581
|
+
//#region ../../../alepha/src/orm/primitives/$sequence.d.ts
|
|
3581
3582
|
interface SequencePrimitiveOptions extends PgSequenceOptions {
|
|
3582
3583
|
/**
|
|
3583
3584
|
* The name of the sequence. If not provided, the property key will be used.
|
|
@@ -3594,7 +3595,7 @@ declare class SequencePrimitive extends Primitive<SequencePrimitiveOptions> {
|
|
|
3594
3595
|
protected $provider(): DatabaseProvider;
|
|
3595
3596
|
}
|
|
3596
3597
|
//#endregion
|
|
3597
|
-
//#region
|
|
3598
|
+
//#region ../../../alepha/src/orm/services/ModelBuilder.d.ts
|
|
3598
3599
|
/**
|
|
3599
3600
|
* Database-specific table configuration functions
|
|
3600
3601
|
*/
|
|
@@ -3651,7 +3652,7 @@ declare abstract class ModelBuilder {
|
|
|
3651
3652
|
protected buildTableConfig<TConfig, TSelf>(entity: EntityPrimitive, builders: TableConfigBuilders<TConfig>, tableResolver?: (entityName: string) => any, customConfigHandler?: (config: any, self: TSelf) => TConfig[]): ((self: TSelf) => TConfig[]) | undefined;
|
|
3652
3653
|
}
|
|
3653
3654
|
//#endregion
|
|
3654
|
-
//#region
|
|
3655
|
+
//#region ../../../alepha/src/orm/providers/DrizzleKitProvider.d.ts
|
|
3655
3656
|
declare class DrizzleKitProvider {
|
|
3656
3657
|
protected readonly log: Logger;
|
|
3657
3658
|
protected readonly alepha: Alepha;
|
|
@@ -3689,15 +3690,15 @@ declare class DrizzleKitProvider {
|
|
|
3689
3690
|
*/
|
|
3690
3691
|
importDrizzleKit(): typeof DrizzleKit;
|
|
3691
3692
|
}
|
|
3692
|
-
declare const devMigrationsSchema:
|
|
3693
|
-
id:
|
|
3694
|
-
name:
|
|
3695
|
-
snapshot:
|
|
3696
|
-
created_at:
|
|
3693
|
+
declare const devMigrationsSchema: alepha1543.TObject<{
|
|
3694
|
+
id: alepha1543.TNumber;
|
|
3695
|
+
name: alepha1543.TString;
|
|
3696
|
+
snapshot: alepha1543.TString;
|
|
3697
|
+
created_at: alepha1543.TString;
|
|
3697
3698
|
}>;
|
|
3698
3699
|
type DevMigrations = Static<typeof devMigrationsSchema>;
|
|
3699
3700
|
//#endregion
|
|
3700
|
-
//#region
|
|
3701
|
+
//#region ../../../alepha/src/orm/providers/drivers/DatabaseProvider.d.ts
|
|
3701
3702
|
type SQLLike = SQLWrapper | string;
|
|
3702
3703
|
declare abstract class DatabaseProvider {
|
|
3703
3704
|
protected readonly alepha: Alepha;
|
|
@@ -3748,7 +3749,7 @@ declare abstract class DatabaseProvider {
|
|
|
3748
3749
|
protected abstract executeMigrations(migrationsFolder: string): Promise<void>;
|
|
3749
3750
|
}
|
|
3750
3751
|
//#endregion
|
|
3751
|
-
//#region
|
|
3752
|
+
//#region ../../../alepha/src/orm/services/PgJsonQueryManager.d.ts
|
|
3752
3753
|
/**
|
|
3753
3754
|
* Manages JSONB query generation for nested object and array queries in PostgreSQL.
|
|
3754
3755
|
* This class handles complex nested queries using PostgreSQL's JSONB operators.
|
|
@@ -3821,7 +3822,7 @@ declare class PgJsonQueryManager {
|
|
|
3821
3822
|
isArrayProperty(schema: TObject, path: string[]): boolean;
|
|
3822
3823
|
}
|
|
3823
3824
|
//#endregion
|
|
3824
|
-
//#region
|
|
3825
|
+
//#region ../../../alepha/src/orm/services/QueryManager.d.ts
|
|
3825
3826
|
declare class QueryManager {
|
|
3826
3827
|
protected readonly jsonQueryManager: PgJsonQueryManager;
|
|
3827
3828
|
protected readonly alepha: Alepha;
|
|
@@ -3890,7 +3891,7 @@ declare class QueryManager {
|
|
|
3890
3891
|
createPagination<T$1>(entities: T$1[], limit?: number, offset?: number, sort?: Array<{
|
|
3891
3892
|
column: string;
|
|
3892
3893
|
direction: "asc" | "desc";
|
|
3893
|
-
}>):
|
|
3894
|
+
}>): alepha1543.Page<T$1>;
|
|
3894
3895
|
}
|
|
3895
3896
|
interface PgJoin {
|
|
3896
3897
|
table: string;
|
|
@@ -3900,7 +3901,7 @@ interface PgJoin {
|
|
|
3900
3901
|
parent?: string;
|
|
3901
3902
|
}
|
|
3902
3903
|
//#endregion
|
|
3903
|
-
//#region
|
|
3904
|
+
//#region ../../../alepha/src/orm/services/PgRelationManager.d.ts
|
|
3904
3905
|
declare class PgRelationManager {
|
|
3905
3906
|
/**
|
|
3906
3907
|
* Recursively build joins for the query builder based on the relations map
|
|
@@ -3920,7 +3921,7 @@ declare class PgRelationManager {
|
|
|
3920
3921
|
buildSchemaWithJoins(baseSchema: TObject, joins: PgJoin[], parentPath?: string): TObject;
|
|
3921
3922
|
}
|
|
3922
3923
|
//#endregion
|
|
3923
|
-
//#region
|
|
3924
|
+
//#region ../../../alepha/src/orm/services/Repository.d.ts
|
|
3924
3925
|
declare abstract class Repository<T$1 extends TObject> {
|
|
3925
3926
|
readonly entity: EntityPrimitive<T$1>;
|
|
3926
3927
|
readonly provider: DatabaseProvider;
|
|
@@ -4194,19 +4195,19 @@ interface StatementOptions {
|
|
|
4194
4195
|
now?: DateTime | string;
|
|
4195
4196
|
}
|
|
4196
4197
|
//#endregion
|
|
4197
|
-
//#region
|
|
4198
|
-
declare const envSchema$2:
|
|
4199
|
-
LOCK_PREFIX_KEY:
|
|
4198
|
+
//#region ../../../alepha/src/lock/primitives/$lock.d.ts
|
|
4199
|
+
declare const envSchema$2: alepha1543.TObject<{
|
|
4200
|
+
LOCK_PREFIX_KEY: alepha1543.TString;
|
|
4200
4201
|
}>;
|
|
4201
4202
|
declare module "alepha" {
|
|
4202
4203
|
interface Env extends Partial<Static<typeof envSchema$2>> {}
|
|
4203
4204
|
}
|
|
4204
4205
|
//#endregion
|
|
4205
|
-
//#region
|
|
4206
|
+
//#region ../../../alepha/src/orm/providers/drivers/NodePostgresProvider.d.ts
|
|
4206
4207
|
declare module "alepha" {
|
|
4207
4208
|
interface Env extends Partial<Static<typeof envSchema$1>> {}
|
|
4208
4209
|
}
|
|
4209
|
-
declare const envSchema$1:
|
|
4210
|
+
declare const envSchema$1: alepha1543.TObject<{
|
|
4210
4211
|
/**
|
|
4211
4212
|
* Main configuration for database connection.
|
|
4212
4213
|
* Accept a string in the format of a Postgres connection URL.
|
|
@@ -4214,21 +4215,21 @@ declare const envSchema$1: alepha1636.TObject<{
|
|
|
4214
4215
|
* or
|
|
4215
4216
|
* Example: postgres://user:password@localhost:5432/database?sslmode=require
|
|
4216
4217
|
*/
|
|
4217
|
-
DATABASE_URL:
|
|
4218
|
+
DATABASE_URL: alepha1543.TOptional<alepha1543.TString>;
|
|
4218
4219
|
/**
|
|
4219
4220
|
* In addition to the DATABASE_URL, you can specify the postgres schema name.
|
|
4220
4221
|
*
|
|
4221
4222
|
* It will monkey patch drizzle tables.
|
|
4222
4223
|
*/
|
|
4223
|
-
POSTGRES_SCHEMA:
|
|
4224
|
+
POSTGRES_SCHEMA: alepha1543.TOptional<alepha1543.TString>;
|
|
4224
4225
|
}>;
|
|
4225
4226
|
//#endregion
|
|
4226
|
-
//#region
|
|
4227
|
+
//#region ../../../alepha/src/orm/providers/drivers/NodeSqliteProvider.d.ts
|
|
4227
4228
|
/**
|
|
4228
4229
|
* Configuration options for the Node.js SQLite database provider.
|
|
4229
4230
|
*/
|
|
4230
|
-
declare const nodeSqliteOptions:
|
|
4231
|
-
path:
|
|
4231
|
+
declare const nodeSqliteOptions: alepha1543.Atom<alepha1543.TObject<{
|
|
4232
|
+
path: alepha1543.TOptional<alepha1543.TString>;
|
|
4232
4233
|
}>, "alepha.postgres.node-sqlite.options">;
|
|
4233
4234
|
type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
|
|
4234
4235
|
declare module "alepha" {
|
|
@@ -4243,7 +4244,7 @@ declare module "alepha" {
|
|
|
4243
4244
|
* This is NOT recommended for production use.
|
|
4244
4245
|
*/
|
|
4245
4246
|
//#endregion
|
|
4246
|
-
//#region
|
|
4247
|
+
//#region ../../../alepha/src/orm/index.d.ts
|
|
4247
4248
|
declare module "alepha" {
|
|
4248
4249
|
interface Hooks {
|
|
4249
4250
|
/**
|
|
@@ -4311,7 +4312,7 @@ declare module "alepha" {
|
|
|
4311
4312
|
}
|
|
4312
4313
|
}
|
|
4313
4314
|
//#endregion
|
|
4314
|
-
//#region
|
|
4315
|
+
//#region ../../../alepha/src/bucket/providers/FileStorageProvider.d.ts
|
|
4315
4316
|
declare abstract class FileStorageProvider {
|
|
4316
4317
|
/**
|
|
4317
4318
|
* Uploads a file to the storage.
|
|
@@ -4347,7 +4348,7 @@ declare abstract class FileStorageProvider {
|
|
|
4347
4348
|
abstract delete(bucketName: string, fileId: string): Promise<void>;
|
|
4348
4349
|
}
|
|
4349
4350
|
//#endregion
|
|
4350
|
-
//#region
|
|
4351
|
+
//#region ../../../alepha/src/bucket/providers/MemoryFileStorageProvider.d.ts
|
|
4351
4352
|
declare class MemoryFileStorageProvider implements FileStorageProvider {
|
|
4352
4353
|
readonly files: Record<string, FileLike>;
|
|
4353
4354
|
protected readonly fileSystem: FileSystemProvider;
|
|
@@ -4359,7 +4360,7 @@ declare class MemoryFileStorageProvider implements FileStorageProvider {
|
|
|
4359
4360
|
protected createId(): string;
|
|
4360
4361
|
}
|
|
4361
4362
|
//#endregion
|
|
4362
|
-
//#region
|
|
4363
|
+
//#region ../../../alepha/src/bucket/primitives/$bucket.d.ts
|
|
4363
4364
|
interface BucketPrimitiveOptions extends BucketFileOptions {
|
|
4364
4365
|
/**
|
|
4365
4366
|
* File storage provider configuration for the bucket.
|
|
@@ -4531,12 +4532,12 @@ interface BucketFileOptions {
|
|
|
4531
4532
|
maxSize?: number;
|
|
4532
4533
|
}
|
|
4533
4534
|
//#endregion
|
|
4534
|
-
//#region
|
|
4535
|
+
//#region ../../../alepha/src/bucket/providers/LocalFileStorageProvider.d.ts
|
|
4535
4536
|
/**
|
|
4536
4537
|
* Local file storage configuration atom
|
|
4537
4538
|
*/
|
|
4538
|
-
declare const localFileStorageOptions:
|
|
4539
|
-
storagePath:
|
|
4539
|
+
declare const localFileStorageOptions: alepha1543.Atom<alepha1543.TObject<{
|
|
4540
|
+
storagePath: alepha1543.TString;
|
|
4540
4541
|
}>, "alepha.bucket.local.options">;
|
|
4541
4542
|
type LocalFileStorageProviderOptions = Static<typeof localFileStorageOptions.schema>;
|
|
4542
4543
|
declare module "alepha" {
|
|
@@ -4545,7 +4546,7 @@ declare module "alepha" {
|
|
|
4545
4546
|
}
|
|
4546
4547
|
}
|
|
4547
4548
|
//#endregion
|
|
4548
|
-
//#region
|
|
4549
|
+
//#region ../../../alepha/src/bucket/index.d.ts
|
|
4549
4550
|
declare module "alepha" {
|
|
4550
4551
|
interface Hooks {
|
|
4551
4552
|
/**
|
|
@@ -4579,102 +4580,102 @@ declare module "alepha" {
|
|
|
4579
4580
|
* @module alepha.bucket
|
|
4580
4581
|
*/
|
|
4581
4582
|
//#endregion
|
|
4582
|
-
//#region
|
|
4583
|
-
declare const files: EntityPrimitive<
|
|
4584
|
-
id: PgAttr<PgAttr<
|
|
4585
|
-
version: PgAttr<PgAttr<
|
|
4586
|
-
createdAt: PgAttr<PgAttr<
|
|
4587
|
-
updatedAt: PgAttr<PgAttr<
|
|
4588
|
-
blobId:
|
|
4589
|
-
creator:
|
|
4590
|
-
creatorRealm:
|
|
4591
|
-
creatorName:
|
|
4592
|
-
bucket:
|
|
4593
|
-
expirationDate:
|
|
4594
|
-
name:
|
|
4595
|
-
size:
|
|
4596
|
-
mimeType:
|
|
4597
|
-
tags:
|
|
4598
|
-
checksum:
|
|
4583
|
+
//#region ../../../alepha/src/api-files/entities/files.d.ts
|
|
4584
|
+
declare const files: EntityPrimitive<alepha1543.TObject<{
|
|
4585
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4586
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4587
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4588
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4589
|
+
blobId: alepha1543.TString;
|
|
4590
|
+
creator: alepha1543.TOptional<alepha1543.TString>;
|
|
4591
|
+
creatorRealm: alepha1543.TOptional<alepha1543.TString>;
|
|
4592
|
+
creatorName: alepha1543.TOptional<alepha1543.TString>;
|
|
4593
|
+
bucket: alepha1543.TString;
|
|
4594
|
+
expirationDate: alepha1543.TOptional<alepha1543.TString>;
|
|
4595
|
+
name: alepha1543.TString;
|
|
4596
|
+
size: alepha1543.TNumber;
|
|
4597
|
+
mimeType: alepha1543.TString;
|
|
4598
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4599
|
+
checksum: alepha1543.TOptional<alepha1543.TString>;
|
|
4599
4600
|
}>>;
|
|
4600
4601
|
type FileEntity = Static<typeof files.schema>;
|
|
4601
4602
|
//#endregion
|
|
4602
|
-
//#region
|
|
4603
|
-
declare const fileQuerySchema:
|
|
4604
|
-
page:
|
|
4605
|
-
size:
|
|
4606
|
-
sort:
|
|
4607
|
-
bucket:
|
|
4608
|
-
tags:
|
|
4609
|
-
name:
|
|
4610
|
-
mimeType:
|
|
4611
|
-
creator:
|
|
4612
|
-
createdAfter:
|
|
4613
|
-
createdBefore:
|
|
4603
|
+
//#region ../../../alepha/src/api-files/schemas/fileQuerySchema.d.ts
|
|
4604
|
+
declare const fileQuerySchema: alepha1543.TObject<{
|
|
4605
|
+
page: alepha1543.TOptional<alepha1543.TInteger>;
|
|
4606
|
+
size: alepha1543.TOptional<alepha1543.TInteger>;
|
|
4607
|
+
sort: alepha1543.TOptional<alepha1543.TString>;
|
|
4608
|
+
bucket: alepha1543.TOptional<alepha1543.TString>;
|
|
4609
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4610
|
+
name: alepha1543.TOptional<alepha1543.TString>;
|
|
4611
|
+
mimeType: alepha1543.TOptional<alepha1543.TString>;
|
|
4612
|
+
creator: alepha1543.TOptional<alepha1543.TString>;
|
|
4613
|
+
createdAfter: alepha1543.TOptional<alepha1543.TString>;
|
|
4614
|
+
createdBefore: alepha1543.TOptional<alepha1543.TString>;
|
|
4614
4615
|
}>;
|
|
4615
4616
|
type FileQuery = Static<typeof fileQuerySchema>;
|
|
4616
4617
|
//#endregion
|
|
4617
|
-
//#region
|
|
4618
|
-
declare const fileResourceSchema:
|
|
4619
|
-
id: PgAttr<PgAttr<
|
|
4620
|
-
version: PgAttr<PgAttr<
|
|
4621
|
-
createdAt: PgAttr<PgAttr<
|
|
4622
|
-
updatedAt: PgAttr<PgAttr<
|
|
4623
|
-
blobId:
|
|
4624
|
-
creator:
|
|
4625
|
-
creatorRealm:
|
|
4626
|
-
creatorName:
|
|
4627
|
-
bucket:
|
|
4628
|
-
expirationDate:
|
|
4629
|
-
name:
|
|
4630
|
-
size:
|
|
4631
|
-
mimeType:
|
|
4632
|
-
tags:
|
|
4633
|
-
checksum:
|
|
4618
|
+
//#region ../../../alepha/src/api-files/schemas/fileResourceSchema.d.ts
|
|
4619
|
+
declare const fileResourceSchema: alepha1543.TObject<{
|
|
4620
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4621
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4622
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4623
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4624
|
+
blobId: alepha1543.TString;
|
|
4625
|
+
creator: alepha1543.TOptional<alepha1543.TString>;
|
|
4626
|
+
creatorRealm: alepha1543.TOptional<alepha1543.TString>;
|
|
4627
|
+
creatorName: alepha1543.TOptional<alepha1543.TString>;
|
|
4628
|
+
bucket: alepha1543.TString;
|
|
4629
|
+
expirationDate: alepha1543.TOptional<alepha1543.TString>;
|
|
4630
|
+
name: alepha1543.TString;
|
|
4631
|
+
size: alepha1543.TNumber;
|
|
4632
|
+
mimeType: alepha1543.TString;
|
|
4633
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4634
|
+
checksum: alepha1543.TOptional<alepha1543.TString>;
|
|
4634
4635
|
}>;
|
|
4635
4636
|
type FileResource = Static<typeof fileResourceSchema>;
|
|
4636
4637
|
//#endregion
|
|
4637
|
-
//#region
|
|
4638
|
-
declare const storageStatsSchema:
|
|
4639
|
-
totalSize:
|
|
4640
|
-
totalFiles:
|
|
4641
|
-
byBucket:
|
|
4642
|
-
bucket:
|
|
4643
|
-
totalSize:
|
|
4644
|
-
fileCount:
|
|
4638
|
+
//#region ../../../alepha/src/api-files/schemas/storageStatsSchema.d.ts
|
|
4639
|
+
declare const storageStatsSchema: alepha1543.TObject<{
|
|
4640
|
+
totalSize: alepha1543.TNumber;
|
|
4641
|
+
totalFiles: alepha1543.TNumber;
|
|
4642
|
+
byBucket: alepha1543.TArray<alepha1543.TObject<{
|
|
4643
|
+
bucket: alepha1543.TString;
|
|
4644
|
+
totalSize: alepha1543.TNumber;
|
|
4645
|
+
fileCount: alepha1543.TNumber;
|
|
4645
4646
|
}>>;
|
|
4646
|
-
byMimeType:
|
|
4647
|
-
mimeType:
|
|
4648
|
-
fileCount:
|
|
4647
|
+
byMimeType: alepha1543.TArray<alepha1543.TObject<{
|
|
4648
|
+
mimeType: alepha1543.TString;
|
|
4649
|
+
fileCount: alepha1543.TNumber;
|
|
4649
4650
|
}>>;
|
|
4650
4651
|
}>;
|
|
4651
4652
|
type StorageStats = Static<typeof storageStatsSchema>;
|
|
4652
4653
|
//#endregion
|
|
4653
|
-
//#region
|
|
4654
|
+
//#region ../../../alepha/src/api-files/services/FileService.d.ts
|
|
4654
4655
|
declare class FileService {
|
|
4655
4656
|
protected readonly alepha: Alepha;
|
|
4656
4657
|
protected readonly log: Logger;
|
|
4657
|
-
protected readonly fileRepository: Repository<
|
|
4658
|
-
id: PgAttr<PgAttr<
|
|
4659
|
-
version: PgAttr<PgAttr<
|
|
4660
|
-
createdAt: PgAttr<PgAttr<
|
|
4661
|
-
updatedAt: PgAttr<PgAttr<
|
|
4662
|
-
blobId:
|
|
4663
|
-
creator:
|
|
4664
|
-
creatorRealm:
|
|
4665
|
-
creatorName:
|
|
4666
|
-
bucket:
|
|
4667
|
-
expirationDate:
|
|
4668
|
-
name:
|
|
4669
|
-
size:
|
|
4670
|
-
mimeType:
|
|
4671
|
-
tags:
|
|
4672
|
-
checksum:
|
|
4658
|
+
protected readonly fileRepository: Repository<alepha1543.TObject<{
|
|
4659
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4660
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4661
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4662
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4663
|
+
blobId: alepha1543.TString;
|
|
4664
|
+
creator: alepha1543.TOptional<alepha1543.TString>;
|
|
4665
|
+
creatorRealm: alepha1543.TOptional<alepha1543.TString>;
|
|
4666
|
+
creatorName: alepha1543.TOptional<alepha1543.TString>;
|
|
4667
|
+
bucket: alepha1543.TString;
|
|
4668
|
+
expirationDate: alepha1543.TOptional<alepha1543.TString>;
|
|
4669
|
+
name: alepha1543.TString;
|
|
4670
|
+
size: alepha1543.TNumber;
|
|
4671
|
+
mimeType: alepha1543.TString;
|
|
4672
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4673
|
+
checksum: alepha1543.TOptional<alepha1543.TString>;
|
|
4673
4674
|
}>>;
|
|
4674
4675
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
4675
4676
|
protected readonly defaultBucket: BucketPrimitive;
|
|
4676
|
-
protected onUploadFile:
|
|
4677
|
-
protected onDeleteBucketFile:
|
|
4677
|
+
protected onUploadFile: alepha1543.HookPrimitive<"bucket:file:uploaded">;
|
|
4678
|
+
protected onDeleteBucketFile: alepha1543.HookPrimitive<"bucket:file:deleted">;
|
|
4678
4679
|
/**
|
|
4679
4680
|
* Calculates SHA-256 checksum of a file.
|
|
4680
4681
|
*
|
|
@@ -4794,7 +4795,7 @@ declare class FileService {
|
|
|
4794
4795
|
entityToResource(entity: FileEntity): FileResource;
|
|
4795
4796
|
}
|
|
4796
4797
|
//#endregion
|
|
4797
|
-
//#region
|
|
4798
|
+
//#region ../../../alepha/src/api-files/controllers/FileController.d.ts
|
|
4798
4799
|
/**
|
|
4799
4800
|
* REST API controller for file management operations.
|
|
4800
4801
|
* Provides endpoints for uploading, downloading, listing, and deleting files.
|
|
@@ -4808,34 +4809,34 @@ declare class FileController {
|
|
|
4808
4809
|
* Supports filtering by bucket and tags.
|
|
4809
4810
|
*/
|
|
4810
4811
|
readonly findFiles: ActionPrimitiveFn<{
|
|
4811
|
-
query:
|
|
4812
|
-
page:
|
|
4813
|
-
size:
|
|
4814
|
-
sort:
|
|
4815
|
-
bucket:
|
|
4816
|
-
tags:
|
|
4817
|
-
name:
|
|
4818
|
-
mimeType:
|
|
4819
|
-
creator:
|
|
4820
|
-
createdAfter:
|
|
4821
|
-
createdBefore:
|
|
4812
|
+
query: alepha1543.TObject<{
|
|
4813
|
+
page: alepha1543.TOptional<alepha1543.TInteger>;
|
|
4814
|
+
size: alepha1543.TOptional<alepha1543.TInteger>;
|
|
4815
|
+
sort: alepha1543.TOptional<alepha1543.TString>;
|
|
4816
|
+
bucket: alepha1543.TOptional<alepha1543.TString>;
|
|
4817
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4818
|
+
name: alepha1543.TOptional<alepha1543.TString>;
|
|
4819
|
+
mimeType: alepha1543.TOptional<alepha1543.TString>;
|
|
4820
|
+
creator: alepha1543.TOptional<alepha1543.TString>;
|
|
4821
|
+
createdAfter: alepha1543.TOptional<alepha1543.TString>;
|
|
4822
|
+
createdBefore: alepha1543.TOptional<alepha1543.TString>;
|
|
4822
4823
|
}>;
|
|
4823
|
-
response:
|
|
4824
|
-
id: PgAttr<PgAttr<
|
|
4825
|
-
version: PgAttr<PgAttr<
|
|
4826
|
-
createdAt: PgAttr<PgAttr<
|
|
4827
|
-
updatedAt: PgAttr<PgAttr<
|
|
4828
|
-
blobId:
|
|
4829
|
-
creator:
|
|
4830
|
-
creatorRealm:
|
|
4831
|
-
creatorName:
|
|
4832
|
-
bucket:
|
|
4833
|
-
expirationDate:
|
|
4834
|
-
name:
|
|
4835
|
-
size:
|
|
4836
|
-
mimeType:
|
|
4837
|
-
tags:
|
|
4838
|
-
checksum:
|
|
4824
|
+
response: alepha1543.TPage<alepha1543.TObject<{
|
|
4825
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4826
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4827
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4828
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4829
|
+
blobId: alepha1543.TString;
|
|
4830
|
+
creator: alepha1543.TOptional<alepha1543.TString>;
|
|
4831
|
+
creatorRealm: alepha1543.TOptional<alepha1543.TString>;
|
|
4832
|
+
creatorName: alepha1543.TOptional<alepha1543.TString>;
|
|
4833
|
+
bucket: alepha1543.TString;
|
|
4834
|
+
expirationDate: alepha1543.TOptional<alepha1543.TString>;
|
|
4835
|
+
name: alepha1543.TString;
|
|
4836
|
+
size: alepha1543.TNumber;
|
|
4837
|
+
mimeType: alepha1543.TString;
|
|
4838
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4839
|
+
checksum: alepha1543.TOptional<alepha1543.TString>;
|
|
4839
4840
|
}>>;
|
|
4840
4841
|
}>;
|
|
4841
4842
|
/**
|
|
@@ -4843,13 +4844,13 @@ declare class FileController {
|
|
|
4843
4844
|
* Removes the file from the bucket and cleans up the database record.
|
|
4844
4845
|
*/
|
|
4845
4846
|
readonly deleteFile: ActionPrimitiveFn<{
|
|
4846
|
-
params:
|
|
4847
|
-
id:
|
|
4847
|
+
params: alepha1543.TObject<{
|
|
4848
|
+
id: alepha1543.TString;
|
|
4848
4849
|
}>;
|
|
4849
|
-
response:
|
|
4850
|
-
ok:
|
|
4851
|
-
id:
|
|
4852
|
-
count:
|
|
4850
|
+
response: alepha1543.TObject<{
|
|
4851
|
+
ok: alepha1543.TBoolean;
|
|
4852
|
+
id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
|
|
4853
|
+
count: alepha1543.TOptional<alepha1543.TNumber>;
|
|
4853
4854
|
}>;
|
|
4854
4855
|
}>;
|
|
4855
4856
|
/**
|
|
@@ -4858,29 +4859,29 @@ declare class FileController {
|
|
|
4858
4859
|
* Optionally specify bucket and expiration date.
|
|
4859
4860
|
*/
|
|
4860
4861
|
readonly uploadFile: ActionPrimitiveFn<{
|
|
4861
|
-
body:
|
|
4862
|
-
file:
|
|
4862
|
+
body: alepha1543.TObject<{
|
|
4863
|
+
file: alepha1543.TFile;
|
|
4863
4864
|
}>;
|
|
4864
|
-
query:
|
|
4865
|
-
expirationDate:
|
|
4866
|
-
bucket:
|
|
4865
|
+
query: alepha1543.TObject<{
|
|
4866
|
+
expirationDate: alepha1543.TOptional<alepha1543.TString>;
|
|
4867
|
+
bucket: alepha1543.TOptional<alepha1543.TString>;
|
|
4867
4868
|
}>;
|
|
4868
|
-
response:
|
|
4869
|
-
id: PgAttr<PgAttr<
|
|
4870
|
-
version: PgAttr<PgAttr<
|
|
4871
|
-
createdAt: PgAttr<PgAttr<
|
|
4872
|
-
updatedAt: PgAttr<PgAttr<
|
|
4873
|
-
blobId:
|
|
4874
|
-
creator:
|
|
4875
|
-
creatorRealm:
|
|
4876
|
-
creatorName:
|
|
4877
|
-
bucket:
|
|
4878
|
-
expirationDate:
|
|
4879
|
-
name:
|
|
4880
|
-
size:
|
|
4881
|
-
mimeType:
|
|
4882
|
-
tags:
|
|
4883
|
-
checksum:
|
|
4869
|
+
response: alepha1543.TObject<{
|
|
4870
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4871
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4872
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4873
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4874
|
+
blobId: alepha1543.TString;
|
|
4875
|
+
creator: alepha1543.TOptional<alepha1543.TString>;
|
|
4876
|
+
creatorRealm: alepha1543.TOptional<alepha1543.TString>;
|
|
4877
|
+
creatorName: alepha1543.TOptional<alepha1543.TString>;
|
|
4878
|
+
bucket: alepha1543.TString;
|
|
4879
|
+
expirationDate: alepha1543.TOptional<alepha1543.TString>;
|
|
4880
|
+
name: alepha1543.TString;
|
|
4881
|
+
size: alepha1543.TNumber;
|
|
4882
|
+
mimeType: alepha1543.TString;
|
|
4883
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4884
|
+
checksum: alepha1543.TOptional<alepha1543.TString>;
|
|
4884
4885
|
}>;
|
|
4885
4886
|
}>;
|
|
4886
4887
|
/**
|
|
@@ -4888,30 +4889,30 @@ declare class FileController {
|
|
|
4888
4889
|
* Allows updating name, tags, and expiration date without modifying file content.
|
|
4889
4890
|
*/
|
|
4890
4891
|
readonly updateFile: ActionPrimitiveFn<{
|
|
4891
|
-
params:
|
|
4892
|
-
id:
|
|
4892
|
+
params: alepha1543.TObject<{
|
|
4893
|
+
id: alepha1543.TString;
|
|
4893
4894
|
}>;
|
|
4894
|
-
body:
|
|
4895
|
-
name:
|
|
4896
|
-
tags:
|
|
4897
|
-
expirationDate:
|
|
4895
|
+
body: alepha1543.TObject<{
|
|
4896
|
+
name: alepha1543.TOptional<alepha1543.TString>;
|
|
4897
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4898
|
+
expirationDate: alepha1543.TOptional<alepha1543.TString>;
|
|
4898
4899
|
}>;
|
|
4899
|
-
response:
|
|
4900
|
-
id: PgAttr<PgAttr<
|
|
4901
|
-
version: PgAttr<PgAttr<
|
|
4902
|
-
createdAt: PgAttr<PgAttr<
|
|
4903
|
-
updatedAt: PgAttr<PgAttr<
|
|
4904
|
-
blobId:
|
|
4905
|
-
creator:
|
|
4906
|
-
creatorRealm:
|
|
4907
|
-
creatorName:
|
|
4908
|
-
bucket:
|
|
4909
|
-
expirationDate:
|
|
4910
|
-
name:
|
|
4911
|
-
size:
|
|
4912
|
-
mimeType:
|
|
4913
|
-
tags:
|
|
4914
|
-
checksum:
|
|
4900
|
+
response: alepha1543.TObject<{
|
|
4901
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
4902
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
4903
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
4904
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
4905
|
+
blobId: alepha1543.TString;
|
|
4906
|
+
creator: alepha1543.TOptional<alepha1543.TString>;
|
|
4907
|
+
creatorRealm: alepha1543.TOptional<alepha1543.TString>;
|
|
4908
|
+
creatorName: alepha1543.TOptional<alepha1543.TString>;
|
|
4909
|
+
bucket: alepha1543.TString;
|
|
4910
|
+
expirationDate: alepha1543.TOptional<alepha1543.TString>;
|
|
4911
|
+
name: alepha1543.TString;
|
|
4912
|
+
size: alepha1543.TNumber;
|
|
4913
|
+
mimeType: alepha1543.TString;
|
|
4914
|
+
tags: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
4915
|
+
checksum: alepha1543.TOptional<alepha1543.TString>;
|
|
4915
4916
|
}>;
|
|
4916
4917
|
}>;
|
|
4917
4918
|
/**
|
|
@@ -4920,14 +4921,14 @@ declare class FileController {
|
|
|
4920
4921
|
* Cached with ETag support for 1 year (immutable).
|
|
4921
4922
|
*/
|
|
4922
4923
|
readonly streamFile: ActionPrimitiveFn<{
|
|
4923
|
-
params:
|
|
4924
|
-
id:
|
|
4924
|
+
params: alepha1543.TObject<{
|
|
4925
|
+
id: alepha1543.TString;
|
|
4925
4926
|
}>;
|
|
4926
|
-
response:
|
|
4927
|
+
response: alepha1543.TFile;
|
|
4927
4928
|
}>;
|
|
4928
4929
|
}
|
|
4929
4930
|
//#endregion
|
|
4930
|
-
//#region
|
|
4931
|
+
//#region ../../../alepha/src/api-files/index.d.ts
|
|
4931
4932
|
declare module "alepha/bucket" {
|
|
4932
4933
|
interface BucketFileOptions {
|
|
4933
4934
|
/**
|
|
@@ -4959,7 +4960,7 @@ declare module "alepha/bucket" {
|
|
|
4959
4960
|
* @module alepha.api.files
|
|
4960
4961
|
*/
|
|
4961
4962
|
//#endregion
|
|
4962
|
-
//#region
|
|
4963
|
+
//#region ../../../alepha/src/batch/providers/BatchProvider.d.ts
|
|
4963
4964
|
interface BatchOptions<TItem, TResponse = any> {
|
|
4964
4965
|
/**
|
|
4965
4966
|
* The batch processing handler function that processes arrays of validated items.
|
|
@@ -5146,7 +5147,7 @@ declare class BatchProvider {
|
|
|
5146
5147
|
protected startProcessing<TItem, TResponse>(context: BatchContext<TItem, TResponse>): Promise<void>;
|
|
5147
5148
|
}
|
|
5148
5149
|
//#endregion
|
|
5149
|
-
//#region
|
|
5150
|
+
//#region ../../../alepha/src/batch/primitives/$batch.d.ts
|
|
5150
5151
|
interface BatchPrimitiveOptions<TItem extends TSchema, TResponse = any> {
|
|
5151
5152
|
/**
|
|
5152
5153
|
* TypeBox schema for validating each item added to the batch.
|
|
@@ -5225,56 +5226,56 @@ declare class BatchPrimitive<TItem extends TSchema, TResponse = any> extends Pri
|
|
|
5225
5226
|
* @returns The number of items cleared
|
|
5226
5227
|
*/
|
|
5227
5228
|
clearCompleted(status?: "completed" | "failed"): number;
|
|
5228
|
-
protected readonly onReady:
|
|
5229
|
-
protected readonly dispose:
|
|
5230
|
-
}
|
|
5231
|
-
//#endregion
|
|
5232
|
-
//#region
|
|
5233
|
-
declare const notifications: EntityPrimitive<
|
|
5234
|
-
id: PgAttr<PgAttr<
|
|
5235
|
-
version: PgAttr<PgAttr<
|
|
5236
|
-
createdAt: PgAttr<PgAttr<
|
|
5237
|
-
updatedAt: PgAttr<PgAttr<
|
|
5238
|
-
type:
|
|
5239
|
-
template:
|
|
5240
|
-
category:
|
|
5241
|
-
critical:
|
|
5242
|
-
sensitive:
|
|
5243
|
-
contact:
|
|
5244
|
-
variables:
|
|
5245
|
-
scheduledAt:
|
|
5246
|
-
sentAt:
|
|
5247
|
-
error:
|
|
5248
|
-
at:
|
|
5249
|
-
name:
|
|
5250
|
-
message:
|
|
5229
|
+
protected readonly onReady: alepha1543.HookPrimitive<"ready">;
|
|
5230
|
+
protected readonly dispose: alepha1543.HookPrimitive<"stop">;
|
|
5231
|
+
}
|
|
5232
|
+
//#endregion
|
|
5233
|
+
//#region ../../../alepha/src/api-notifications/entities/notifications.d.ts
|
|
5234
|
+
declare const notifications: EntityPrimitive<alepha1543.TObject<{
|
|
5235
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5236
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5237
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5238
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5239
|
+
type: alepha1543.TUnsafe<"email" | "sms">;
|
|
5240
|
+
template: alepha1543.TString;
|
|
5241
|
+
category: alepha1543.TOptional<alepha1543.TString>;
|
|
5242
|
+
critical: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5243
|
+
sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5244
|
+
contact: alepha1543.TString;
|
|
5245
|
+
variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
|
|
5246
|
+
scheduledAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5247
|
+
sentAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5248
|
+
error: alepha1543.TOptional<alepha1543.TObject<{
|
|
5249
|
+
at: alepha1543.TString;
|
|
5250
|
+
name: alepha1543.TString;
|
|
5251
|
+
message: alepha1543.TString;
|
|
5251
5252
|
}>>;
|
|
5252
5253
|
}>>;
|
|
5253
5254
|
type NotificationEntity = Static<typeof notifications.schema>;
|
|
5254
5255
|
//#endregion
|
|
5255
|
-
//#region
|
|
5256
|
-
declare const notificationCreateSchema:
|
|
5257
|
-
type:
|
|
5258
|
-
template:
|
|
5259
|
-
contact:
|
|
5260
|
-
variables:
|
|
5256
|
+
//#region ../../../alepha/src/api-notifications/schemas/notificationCreateSchema.d.ts
|
|
5257
|
+
declare const notificationCreateSchema: alepha1543.TObject<{
|
|
5258
|
+
type: alepha1543.TUnsafe<"email" | "sms">;
|
|
5259
|
+
template: alepha1543.TString;
|
|
5260
|
+
contact: alepha1543.TString;
|
|
5261
|
+
variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
|
|
5261
5262
|
}>;
|
|
5262
5263
|
type NotificationCreate = Static<typeof notificationCreateSchema>;
|
|
5263
5264
|
//#endregion
|
|
5264
|
-
//#region
|
|
5265
|
-
declare const notificationQuerySchema:
|
|
5266
|
-
page:
|
|
5267
|
-
size:
|
|
5268
|
-
sort:
|
|
5269
|
-
type:
|
|
5270
|
-
template:
|
|
5271
|
-
contact:
|
|
5272
|
-
category:
|
|
5273
|
-
status:
|
|
5265
|
+
//#region ../../../alepha/src/api-notifications/schemas/notificationQuerySchema.d.ts
|
|
5266
|
+
declare const notificationQuerySchema: alepha1543.TObject<{
|
|
5267
|
+
page: alepha1543.TOptional<alepha1543.TInteger>;
|
|
5268
|
+
size: alepha1543.TOptional<alepha1543.TInteger>;
|
|
5269
|
+
sort: alepha1543.TOptional<alepha1543.TString>;
|
|
5270
|
+
type: alepha1543.TOptional<alepha1543.TUnsafe<"email" | "sms">>;
|
|
5271
|
+
template: alepha1543.TOptional<alepha1543.TString>;
|
|
5272
|
+
contact: alepha1543.TOptional<alepha1543.TString>;
|
|
5273
|
+
category: alepha1543.TOptional<alepha1543.TString>;
|
|
5274
|
+
status: alepha1543.TOptional<alepha1543.TUnsafe<"pending" | "sent" | "failed">>;
|
|
5274
5275
|
}>;
|
|
5275
5276
|
type NotificationQuery = Static<typeof notificationQuerySchema>;
|
|
5276
5277
|
//#endregion
|
|
5277
|
-
//#region
|
|
5278
|
+
//#region ../../../alepha/src/api-notifications/primitives/$notification.d.ts
|
|
5278
5279
|
interface NotificationPrimitiveOptions<T$1 extends TObject> extends NotificationMessage<T$1> {
|
|
5279
5280
|
name?: string;
|
|
5280
5281
|
description?: string;
|
|
@@ -5306,7 +5307,7 @@ interface NotificationMessage<T$1 extends TObject> {
|
|
|
5306
5307
|
};
|
|
5307
5308
|
}
|
|
5308
5309
|
//#endregion
|
|
5309
|
-
//#region
|
|
5310
|
+
//#region ../../../alepha/src/email/providers/EmailProvider.d.ts
|
|
5310
5311
|
/**
|
|
5311
5312
|
* Email provider interface.
|
|
5312
5313
|
*
|
|
@@ -5326,7 +5327,7 @@ type EmailSendOptions = {
|
|
|
5326
5327
|
body: string;
|
|
5327
5328
|
};
|
|
5328
5329
|
//#endregion
|
|
5329
|
-
//#region
|
|
5330
|
+
//#region ../../../alepha/src/email/index.d.ts
|
|
5330
5331
|
declare module "alepha" {
|
|
5331
5332
|
interface Hooks {
|
|
5332
5333
|
"email:sending": {
|
|
@@ -5354,7 +5355,7 @@ declare module "alepha" {
|
|
|
5354
5355
|
* @module alepha.email
|
|
5355
5356
|
*/
|
|
5356
5357
|
//#endregion
|
|
5357
|
-
//#region
|
|
5358
|
+
//#region ../../../alepha/src/sms/providers/SmsProvider.d.ts
|
|
5358
5359
|
/**
|
|
5359
5360
|
* SMS provider interface.
|
|
5360
5361
|
*
|
|
@@ -5373,7 +5374,7 @@ type SmsSendOptions = {
|
|
|
5373
5374
|
message: string;
|
|
5374
5375
|
};
|
|
5375
5376
|
//#endregion
|
|
5376
|
-
//#region
|
|
5377
|
+
//#region ../../../alepha/src/sms/index.d.ts
|
|
5377
5378
|
declare module "alepha" {
|
|
5378
5379
|
interface Hooks {
|
|
5379
5380
|
"sms:sending": {
|
|
@@ -5401,28 +5402,28 @@ declare module "alepha" {
|
|
|
5401
5402
|
* @module alepha.sms
|
|
5402
5403
|
*/
|
|
5403
5404
|
//#endregion
|
|
5404
|
-
//#region
|
|
5405
|
+
//#region ../../../alepha/src/api-notifications/services/NotificationSenderService.d.ts
|
|
5405
5406
|
declare class NotificationSenderService {
|
|
5406
5407
|
protected readonly alepha: Alepha;
|
|
5407
5408
|
protected readonly log: Logger;
|
|
5408
|
-
protected readonly notificationRepository: Repository<
|
|
5409
|
-
id: PgAttr<PgAttr<
|
|
5410
|
-
version: PgAttr<PgAttr<
|
|
5411
|
-
createdAt: PgAttr<PgAttr<
|
|
5412
|
-
updatedAt: PgAttr<PgAttr<
|
|
5413
|
-
type:
|
|
5414
|
-
template:
|
|
5415
|
-
category:
|
|
5416
|
-
critical:
|
|
5417
|
-
sensitive:
|
|
5418
|
-
contact:
|
|
5419
|
-
variables:
|
|
5420
|
-
scheduledAt:
|
|
5421
|
-
sentAt:
|
|
5422
|
-
error:
|
|
5423
|
-
at:
|
|
5424
|
-
name:
|
|
5425
|
-
message:
|
|
5409
|
+
protected readonly notificationRepository: Repository<alepha1543.TObject<{
|
|
5410
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5411
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5412
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5413
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5414
|
+
type: alepha1543.TUnsafe<"email" | "sms">;
|
|
5415
|
+
template: alepha1543.TString;
|
|
5416
|
+
category: alepha1543.TOptional<alepha1543.TString>;
|
|
5417
|
+
critical: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5418
|
+
sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5419
|
+
contact: alepha1543.TString;
|
|
5420
|
+
variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
|
|
5421
|
+
scheduledAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5422
|
+
sentAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5423
|
+
error: alepha1543.TOptional<alepha1543.TObject<{
|
|
5424
|
+
at: alepha1543.TString;
|
|
5425
|
+
name: alepha1543.TString;
|
|
5426
|
+
message: alepha1543.TString;
|
|
5426
5427
|
}>>;
|
|
5427
5428
|
}>>;
|
|
5428
5429
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
@@ -5439,15 +5440,15 @@ declare class NotificationSenderService {
|
|
|
5439
5440
|
body: string;
|
|
5440
5441
|
};
|
|
5441
5442
|
protected load(notification: NotificationEntity): {
|
|
5442
|
-
template: NotificationPrimitive<
|
|
5443
|
+
template: NotificationPrimitive<alepha1543.TObject<alepha1543.TProperties>>;
|
|
5443
5444
|
variables: Record<string, any>;
|
|
5444
5445
|
contact: string;
|
|
5445
5446
|
};
|
|
5446
5447
|
}
|
|
5447
5448
|
//#endregion
|
|
5448
|
-
//#region
|
|
5449
|
-
declare const notificationServiceEnvSchema:
|
|
5450
|
-
NOTIFICATION_QUEUE:
|
|
5449
|
+
//#region ../../../alepha/src/api-notifications/services/NotificationService.d.ts
|
|
5450
|
+
declare const notificationServiceEnvSchema: alepha1543.TObject<{
|
|
5451
|
+
NOTIFICATION_QUEUE: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5451
5452
|
}>;
|
|
5452
5453
|
declare module "alepha" {
|
|
5453
5454
|
interface Env extends Partial<Static<typeof notificationServiceEnvSchema>> {}
|
|
@@ -5458,71 +5459,71 @@ declare class NotificationService {
|
|
|
5458
5459
|
protected readonly env: {
|
|
5459
5460
|
NOTIFICATION_QUEUE?: boolean | undefined;
|
|
5460
5461
|
};
|
|
5461
|
-
protected readonly notificationRepository: Repository<
|
|
5462
|
-
id: PgAttr<PgAttr<
|
|
5463
|
-
version: PgAttr<PgAttr<
|
|
5464
|
-
createdAt: PgAttr<PgAttr<
|
|
5465
|
-
updatedAt: PgAttr<PgAttr<
|
|
5466
|
-
type:
|
|
5467
|
-
template:
|
|
5468
|
-
category:
|
|
5469
|
-
critical:
|
|
5470
|
-
sensitive:
|
|
5471
|
-
contact:
|
|
5472
|
-
variables:
|
|
5473
|
-
scheduledAt:
|
|
5474
|
-
sentAt:
|
|
5475
|
-
error:
|
|
5476
|
-
at:
|
|
5477
|
-
name:
|
|
5478
|
-
message:
|
|
5462
|
+
protected readonly notificationRepository: Repository<alepha1543.TObject<{
|
|
5463
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5464
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5465
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5466
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5467
|
+
type: alepha1543.TUnsafe<"email" | "sms">;
|
|
5468
|
+
template: alepha1543.TString;
|
|
5469
|
+
category: alepha1543.TOptional<alepha1543.TString>;
|
|
5470
|
+
critical: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5471
|
+
sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5472
|
+
contact: alepha1543.TString;
|
|
5473
|
+
variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
|
|
5474
|
+
scheduledAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5475
|
+
sentAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5476
|
+
error: alepha1543.TOptional<alepha1543.TObject<{
|
|
5477
|
+
at: alepha1543.TString;
|
|
5478
|
+
name: alepha1543.TString;
|
|
5479
|
+
message: alepha1543.TString;
|
|
5479
5480
|
}>>;
|
|
5480
5481
|
}>>;
|
|
5481
5482
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
5482
5483
|
protected readonly notificationSenderService: NotificationSenderService;
|
|
5483
|
-
readonly notificationBatch: BatchPrimitive<
|
|
5484
|
-
type:
|
|
5485
|
-
template:
|
|
5486
|
-
contact:
|
|
5487
|
-
variables:
|
|
5484
|
+
readonly notificationBatch: BatchPrimitive<alepha1543.TObject<{
|
|
5485
|
+
type: alepha1543.TUnsafe<"email" | "sms">;
|
|
5486
|
+
template: alepha1543.TString;
|
|
5487
|
+
contact: alepha1543.TString;
|
|
5488
|
+
variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
|
|
5488
5489
|
}>, Promise<void>>;
|
|
5489
|
-
findNotificationById(id: string): Promise<PgStatic<
|
|
5490
|
-
id: PgAttr<PgAttr<
|
|
5491
|
-
version: PgAttr<PgAttr<
|
|
5492
|
-
createdAt: PgAttr<PgAttr<
|
|
5493
|
-
updatedAt: PgAttr<PgAttr<
|
|
5494
|
-
type:
|
|
5495
|
-
template:
|
|
5496
|
-
category:
|
|
5497
|
-
critical:
|
|
5498
|
-
sensitive:
|
|
5499
|
-
contact:
|
|
5500
|
-
variables:
|
|
5501
|
-
scheduledAt:
|
|
5502
|
-
sentAt:
|
|
5503
|
-
error:
|
|
5504
|
-
at:
|
|
5505
|
-
name:
|
|
5506
|
-
message:
|
|
5490
|
+
findNotificationById(id: string): Promise<PgStatic<alepha1543.TObject<{
|
|
5491
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5492
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5493
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5494
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5495
|
+
type: alepha1543.TUnsafe<"email" | "sms">;
|
|
5496
|
+
template: alepha1543.TString;
|
|
5497
|
+
category: alepha1543.TOptional<alepha1543.TString>;
|
|
5498
|
+
critical: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5499
|
+
sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5500
|
+
contact: alepha1543.TString;
|
|
5501
|
+
variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
|
|
5502
|
+
scheduledAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5503
|
+
sentAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5504
|
+
error: alepha1543.TOptional<alepha1543.TObject<{
|
|
5505
|
+
at: alepha1543.TString;
|
|
5506
|
+
name: alepha1543.TString;
|
|
5507
|
+
message: alepha1543.TString;
|
|
5507
5508
|
}>>;
|
|
5508
|
-
}>, PgRelationMap<
|
|
5509
|
-
id: PgAttr<PgAttr<
|
|
5510
|
-
version: PgAttr<PgAttr<
|
|
5511
|
-
createdAt: PgAttr<PgAttr<
|
|
5512
|
-
updatedAt: PgAttr<PgAttr<
|
|
5513
|
-
type:
|
|
5514
|
-
template:
|
|
5515
|
-
category:
|
|
5516
|
-
critical:
|
|
5517
|
-
sensitive:
|
|
5518
|
-
contact:
|
|
5519
|
-
variables:
|
|
5520
|
-
scheduledAt:
|
|
5521
|
-
sentAt:
|
|
5522
|
-
error:
|
|
5523
|
-
at:
|
|
5524
|
-
name:
|
|
5525
|
-
message:
|
|
5509
|
+
}>, PgRelationMap<alepha1543.TObject<{
|
|
5510
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5511
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5512
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5513
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5514
|
+
type: alepha1543.TUnsafe<"email" | "sms">;
|
|
5515
|
+
template: alepha1543.TString;
|
|
5516
|
+
category: alepha1543.TOptional<alepha1543.TString>;
|
|
5517
|
+
critical: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5518
|
+
sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5519
|
+
contact: alepha1543.TString;
|
|
5520
|
+
variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
|
|
5521
|
+
scheduledAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5522
|
+
sentAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5523
|
+
error: alepha1543.TOptional<alepha1543.TObject<{
|
|
5524
|
+
at: alepha1543.TString;
|
|
5525
|
+
name: alepha1543.TString;
|
|
5526
|
+
message: alepha1543.TString;
|
|
5526
5527
|
}>>;
|
|
5527
5528
|
}>>>>;
|
|
5528
5529
|
findNotifications(q?: NotificationQuery): Promise<Page$1<NotificationEntity>>;
|
|
@@ -5532,7 +5533,7 @@ declare class NotificationService {
|
|
|
5532
5533
|
createNotification(entry: NotificationCreate): Promise<void>;
|
|
5533
5534
|
}
|
|
5534
5535
|
//#endregion
|
|
5535
|
-
//#region
|
|
5536
|
+
//#region ../../../alepha/src/api-notifications/controllers/NotificationController.d.ts
|
|
5536
5537
|
declare class NotificationController {
|
|
5537
5538
|
protected readonly url = "/notifications";
|
|
5538
5539
|
protected readonly group = "notifications";
|
|
@@ -5541,144 +5542,144 @@ declare class NotificationController {
|
|
|
5541
5542
|
* Find notifications with pagination and filtering.
|
|
5542
5543
|
*/
|
|
5543
5544
|
readonly findNotifications: ActionPrimitiveFn<{
|
|
5544
|
-
query:
|
|
5545
|
-
page:
|
|
5546
|
-
size:
|
|
5547
|
-
sort:
|
|
5548
|
-
type:
|
|
5549
|
-
template:
|
|
5550
|
-
contact:
|
|
5551
|
-
category:
|
|
5552
|
-
status:
|
|
5545
|
+
query: alepha1543.TObject<{
|
|
5546
|
+
page: alepha1543.TOptional<alepha1543.TInteger>;
|
|
5547
|
+
size: alepha1543.TOptional<alepha1543.TInteger>;
|
|
5548
|
+
sort: alepha1543.TOptional<alepha1543.TString>;
|
|
5549
|
+
type: alepha1543.TOptional<alepha1543.TUnsafe<"email" | "sms">>;
|
|
5550
|
+
template: alepha1543.TOptional<alepha1543.TString>;
|
|
5551
|
+
contact: alepha1543.TOptional<alepha1543.TString>;
|
|
5552
|
+
category: alepha1543.TOptional<alepha1543.TString>;
|
|
5553
|
+
status: alepha1543.TOptional<alepha1543.TUnsafe<"pending" | "sent" | "failed">>;
|
|
5553
5554
|
}>;
|
|
5554
|
-
response:
|
|
5555
|
-
id: PgAttr<PgAttr<
|
|
5556
|
-
version: PgAttr<PgAttr<
|
|
5557
|
-
createdAt: PgAttr<PgAttr<
|
|
5558
|
-
updatedAt: PgAttr<PgAttr<
|
|
5559
|
-
type:
|
|
5560
|
-
template:
|
|
5561
|
-
category:
|
|
5562
|
-
critical:
|
|
5563
|
-
sensitive:
|
|
5564
|
-
contact:
|
|
5565
|
-
variables:
|
|
5566
|
-
scheduledAt:
|
|
5567
|
-
sentAt:
|
|
5568
|
-
error:
|
|
5569
|
-
at:
|
|
5570
|
-
name:
|
|
5571
|
-
message:
|
|
5555
|
+
response: alepha1543.TPage<alepha1543.TObject<{
|
|
5556
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5557
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5558
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5559
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5560
|
+
type: alepha1543.TUnsafe<"email" | "sms">;
|
|
5561
|
+
template: alepha1543.TString;
|
|
5562
|
+
category: alepha1543.TOptional<alepha1543.TString>;
|
|
5563
|
+
critical: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5564
|
+
sensitive: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5565
|
+
contact: alepha1543.TString;
|
|
5566
|
+
variables: alepha1543.TOptional<alepha1543.TRecord<"^.*$", alepha1543.TAny>>;
|
|
5567
|
+
scheduledAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5568
|
+
sentAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5569
|
+
error: alepha1543.TOptional<alepha1543.TObject<{
|
|
5570
|
+
at: alepha1543.TString;
|
|
5571
|
+
name: alepha1543.TString;
|
|
5572
|
+
message: alepha1543.TString;
|
|
5572
5573
|
}>>;
|
|
5573
5574
|
}>>;
|
|
5574
5575
|
}>;
|
|
5575
5576
|
}
|
|
5576
5577
|
//#endregion
|
|
5577
|
-
//#region
|
|
5578
|
-
declare const envSchema:
|
|
5578
|
+
//#region ../../../alepha/src/queue/providers/WorkerProvider.d.ts
|
|
5579
|
+
declare const envSchema: alepha1543.TObject<{
|
|
5579
5580
|
/**
|
|
5580
5581
|
* The timeout in seconds for blocking job acquisition.
|
|
5581
5582
|
* Workers will check for shutdown after each timeout period.
|
|
5582
5583
|
*/
|
|
5583
|
-
QUEUE_WORKER_BLOCKING_TIMEOUT:
|
|
5584
|
+
QUEUE_WORKER_BLOCKING_TIMEOUT: alepha1543.TInteger;
|
|
5584
5585
|
/**
|
|
5585
5586
|
* The number of workers to run concurrently. Defaults to 1.
|
|
5586
5587
|
* Useful only if you are doing a lot of I/O.
|
|
5587
5588
|
*/
|
|
5588
|
-
QUEUE_WORKER_CONCURRENCY:
|
|
5589
|
+
QUEUE_WORKER_CONCURRENCY: alepha1543.TInteger;
|
|
5589
5590
|
/**
|
|
5590
5591
|
* Interval in milliseconds for renewing job locks during processing.
|
|
5591
5592
|
* Should be less than the job's lock duration.
|
|
5592
5593
|
*/
|
|
5593
|
-
QUEUE_WORKER_LOCK_RENEWAL_INTERVAL:
|
|
5594
|
+
QUEUE_WORKER_LOCK_RENEWAL_INTERVAL: alepha1543.TInteger;
|
|
5594
5595
|
/**
|
|
5595
5596
|
* Interval in milliseconds for the scheduler to check delayed jobs and stalled jobs.
|
|
5596
5597
|
*/
|
|
5597
|
-
QUEUE_SCHEDULER_INTERVAL:
|
|
5598
|
+
QUEUE_SCHEDULER_INTERVAL: alepha1543.TInteger;
|
|
5598
5599
|
/**
|
|
5599
5600
|
* Threshold in milliseconds after lock expiration to consider a job stalled.
|
|
5600
5601
|
*/
|
|
5601
|
-
QUEUE_STALLED_THRESHOLD:
|
|
5602
|
+
QUEUE_STALLED_THRESHOLD: alepha1543.TInteger;
|
|
5602
5603
|
}>;
|
|
5603
5604
|
declare module "alepha" {
|
|
5604
5605
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
5605
5606
|
}
|
|
5606
5607
|
//#endregion
|
|
5607
|
-
//#region
|
|
5608
|
-
declare const realmAuthSettingsAtom:
|
|
5609
|
-
registrationAllowed:
|
|
5610
|
-
emailEnabled:
|
|
5611
|
-
emailRequired:
|
|
5612
|
-
usernameEnabled:
|
|
5613
|
-
usernameRequired:
|
|
5614
|
-
phoneEnabled:
|
|
5615
|
-
phoneRequired:
|
|
5616
|
-
verifyEmailRequired:
|
|
5617
|
-
verifyPhoneRequired:
|
|
5618
|
-
firstNameLastNameEnabled:
|
|
5619
|
-
firstNameLastNameRequired:
|
|
5620
|
-
resetPasswordAllowed:
|
|
5621
|
-
passwordPolicy:
|
|
5622
|
-
minLength:
|
|
5623
|
-
requireUppercase:
|
|
5624
|
-
requireLowercase:
|
|
5625
|
-
requireNumbers:
|
|
5626
|
-
requireSpecialCharacters:
|
|
5608
|
+
//#region ../../../alepha/src/api-users/atoms/realmAuthSettingsAtom.d.ts
|
|
5609
|
+
declare const realmAuthSettingsAtom: alepha1543.Atom<alepha1543.TObject<{
|
|
5610
|
+
registrationAllowed: alepha1543.TBoolean;
|
|
5611
|
+
emailEnabled: alepha1543.TBoolean;
|
|
5612
|
+
emailRequired: alepha1543.TBoolean;
|
|
5613
|
+
usernameEnabled: alepha1543.TBoolean;
|
|
5614
|
+
usernameRequired: alepha1543.TBoolean;
|
|
5615
|
+
phoneEnabled: alepha1543.TBoolean;
|
|
5616
|
+
phoneRequired: alepha1543.TBoolean;
|
|
5617
|
+
verifyEmailRequired: alepha1543.TBoolean;
|
|
5618
|
+
verifyPhoneRequired: alepha1543.TBoolean;
|
|
5619
|
+
firstNameLastNameEnabled: alepha1543.TBoolean;
|
|
5620
|
+
firstNameLastNameRequired: alepha1543.TBoolean;
|
|
5621
|
+
resetPasswordAllowed: alepha1543.TBoolean;
|
|
5622
|
+
passwordPolicy: alepha1543.TObject<{
|
|
5623
|
+
minLength: alepha1543.TInteger;
|
|
5624
|
+
requireUppercase: alepha1543.TBoolean;
|
|
5625
|
+
requireLowercase: alepha1543.TBoolean;
|
|
5626
|
+
requireNumbers: alepha1543.TBoolean;
|
|
5627
|
+
requireSpecialCharacters: alepha1543.TBoolean;
|
|
5627
5628
|
}>;
|
|
5628
5629
|
}>, "alepha.api.users.realmAuthSettings">;
|
|
5629
5630
|
type RealmAuthSettings = Static<typeof realmAuthSettingsAtom.schema>;
|
|
5630
5631
|
//#endregion
|
|
5631
|
-
//#region
|
|
5632
|
-
declare const identities: EntityPrimitive<
|
|
5633
|
-
id: PgAttr<PgAttr<
|
|
5634
|
-
version: PgAttr<PgAttr<
|
|
5635
|
-
createdAt: PgAttr<PgAttr<
|
|
5636
|
-
updatedAt: PgAttr<PgAttr<
|
|
5637
|
-
userId: PgAttr<
|
|
5638
|
-
password:
|
|
5639
|
-
provider:
|
|
5640
|
-
providerUserId:
|
|
5641
|
-
providerData:
|
|
5632
|
+
//#region ../../../alepha/src/api-users/entities/identities.d.ts
|
|
5633
|
+
declare const identities: EntityPrimitive<alepha1543.TObject<{
|
|
5634
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5635
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5636
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5637
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5638
|
+
userId: PgAttr<alepha1543.TString, typeof PG_REF>;
|
|
5639
|
+
password: alepha1543.TOptional<alepha1543.TString>;
|
|
5640
|
+
provider: alepha1543.TString;
|
|
5641
|
+
providerUserId: alepha1543.TOptional<alepha1543.TString>;
|
|
5642
|
+
providerData: alepha1543.TOptional<alepha1543.TRecord<string, alepha1543.TAny>>;
|
|
5642
5643
|
}>>;
|
|
5643
5644
|
//#endregion
|
|
5644
|
-
//#region
|
|
5645
|
-
declare const sessions: EntityPrimitive<
|
|
5646
|
-
id: PgAttr<PgAttr<
|
|
5647
|
-
version: PgAttr<PgAttr<
|
|
5648
|
-
createdAt: PgAttr<PgAttr<
|
|
5649
|
-
updatedAt: PgAttr<PgAttr<
|
|
5650
|
-
refreshToken:
|
|
5651
|
-
userId: PgAttr<
|
|
5652
|
-
expiresAt:
|
|
5653
|
-
ip:
|
|
5654
|
-
userAgent:
|
|
5655
|
-
os:
|
|
5656
|
-
browser:
|
|
5657
|
-
device:
|
|
5645
|
+
//#region ../../../alepha/src/api-users/entities/sessions.d.ts
|
|
5646
|
+
declare const sessions: EntityPrimitive<alepha1543.TObject<{
|
|
5647
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5648
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5649
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5650
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5651
|
+
refreshToken: alepha1543.TString;
|
|
5652
|
+
userId: PgAttr<alepha1543.TString, typeof PG_REF>;
|
|
5653
|
+
expiresAt: alepha1543.TString;
|
|
5654
|
+
ip: alepha1543.TOptional<alepha1543.TString>;
|
|
5655
|
+
userAgent: alepha1543.TOptional<alepha1543.TObject<{
|
|
5656
|
+
os: alepha1543.TString;
|
|
5657
|
+
browser: alepha1543.TString;
|
|
5658
|
+
device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5658
5659
|
}>>;
|
|
5659
5660
|
}>>;
|
|
5660
5661
|
type SessionEntity = Static<typeof sessions.schema>;
|
|
5661
5662
|
//#endregion
|
|
5662
|
-
//#region
|
|
5663
|
-
declare const users: EntityPrimitive<
|
|
5664
|
-
id: PgAttr<PgAttr<
|
|
5665
|
-
version: PgAttr<PgAttr<
|
|
5666
|
-
createdAt: PgAttr<PgAttr<
|
|
5667
|
-
updatedAt: PgAttr<PgAttr<
|
|
5668
|
-
realm: PgAttr<
|
|
5669
|
-
username:
|
|
5670
|
-
email:
|
|
5671
|
-
phoneNumber:
|
|
5672
|
-
roles: PgAttr<
|
|
5673
|
-
firstName:
|
|
5674
|
-
lastName:
|
|
5675
|
-
picture:
|
|
5676
|
-
enabled: PgAttr<
|
|
5677
|
-
emailVerified: PgAttr<
|
|
5663
|
+
//#region ../../../alepha/src/api-users/entities/users.d.ts
|
|
5664
|
+
declare const users: EntityPrimitive<alepha1543.TObject<{
|
|
5665
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5666
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5667
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5668
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5669
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
5670
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
5671
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
5672
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
5673
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
5674
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
5675
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
5676
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
5677
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
5678
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
5678
5679
|
}>>;
|
|
5679
5680
|
type UserEntity = Static<typeof users.schema>;
|
|
5680
5681
|
//#endregion
|
|
5681
|
-
//#region
|
|
5682
|
+
//#region ../../../alepha/src/api-users/providers/UserRealmProvider.d.ts
|
|
5682
5683
|
interface UserRealmRepositories {
|
|
5683
5684
|
identities: Repository<typeof identities.schema>;
|
|
5684
5685
|
sessions: Repository<typeof sessions.schema>;
|
|
@@ -5691,51 +5692,51 @@ interface UserRealm {
|
|
|
5691
5692
|
}
|
|
5692
5693
|
declare class UserRealmProvider {
|
|
5693
5694
|
protected readonly alepha: Alepha;
|
|
5694
|
-
protected readonly defaultIdentities: Repository<
|
|
5695
|
-
id: PgAttr<PgAttr<
|
|
5696
|
-
version: PgAttr<PgAttr<
|
|
5697
|
-
createdAt: PgAttr<PgAttr<
|
|
5698
|
-
updatedAt: PgAttr<PgAttr<
|
|
5699
|
-
userId: PgAttr<
|
|
5700
|
-
password:
|
|
5701
|
-
provider:
|
|
5702
|
-
providerUserId:
|
|
5703
|
-
providerData:
|
|
5695
|
+
protected readonly defaultIdentities: Repository<alepha1543.TObject<{
|
|
5696
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5697
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5698
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5699
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5700
|
+
userId: PgAttr<alepha1543.TString, typeof PG_REF>;
|
|
5701
|
+
password: alepha1543.TOptional<alepha1543.TString>;
|
|
5702
|
+
provider: alepha1543.TString;
|
|
5703
|
+
providerUserId: alepha1543.TOptional<alepha1543.TString>;
|
|
5704
|
+
providerData: alepha1543.TOptional<alepha1543.TRecord<string, alepha1543.TAny>>;
|
|
5704
5705
|
}>>;
|
|
5705
|
-
protected readonly defaultSessions: Repository<
|
|
5706
|
-
id: PgAttr<PgAttr<
|
|
5707
|
-
version: PgAttr<PgAttr<
|
|
5708
|
-
createdAt: PgAttr<PgAttr<
|
|
5709
|
-
updatedAt: PgAttr<PgAttr<
|
|
5710
|
-
refreshToken:
|
|
5711
|
-
userId: PgAttr<
|
|
5712
|
-
expiresAt:
|
|
5713
|
-
ip:
|
|
5714
|
-
userAgent:
|
|
5715
|
-
os:
|
|
5716
|
-
browser:
|
|
5717
|
-
device:
|
|
5706
|
+
protected readonly defaultSessions: Repository<alepha1543.TObject<{
|
|
5707
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5708
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5709
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5710
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5711
|
+
refreshToken: alepha1543.TString;
|
|
5712
|
+
userId: PgAttr<alepha1543.TString, typeof PG_REF>;
|
|
5713
|
+
expiresAt: alepha1543.TString;
|
|
5714
|
+
ip: alepha1543.TOptional<alepha1543.TString>;
|
|
5715
|
+
userAgent: alepha1543.TOptional<alepha1543.TObject<{
|
|
5716
|
+
os: alepha1543.TString;
|
|
5717
|
+
browser: alepha1543.TString;
|
|
5718
|
+
device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5718
5719
|
}>>;
|
|
5719
5720
|
}>>;
|
|
5720
|
-
protected readonly defaultUsers: Repository<
|
|
5721
|
-
id: PgAttr<PgAttr<
|
|
5722
|
-
version: PgAttr<PgAttr<
|
|
5723
|
-
createdAt: PgAttr<PgAttr<
|
|
5724
|
-
updatedAt: PgAttr<PgAttr<
|
|
5725
|
-
realm: PgAttr<
|
|
5726
|
-
username:
|
|
5727
|
-
email:
|
|
5728
|
-
phoneNumber:
|
|
5729
|
-
roles: PgAttr<
|
|
5730
|
-
firstName:
|
|
5731
|
-
lastName:
|
|
5732
|
-
picture:
|
|
5733
|
-
enabled: PgAttr<
|
|
5734
|
-
emailVerified: PgAttr<
|
|
5721
|
+
protected readonly defaultUsers: Repository<alepha1543.TObject<{
|
|
5722
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5723
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5724
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5725
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5726
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
5727
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
5728
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
5729
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
5730
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
5731
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
5732
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
5733
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
5734
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
5735
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
5735
5736
|
}>>;
|
|
5736
5737
|
protected realms: Map<string, UserRealm>;
|
|
5737
5738
|
avatars: BucketPrimitive;
|
|
5738
|
-
protected readonly onConfigure:
|
|
5739
|
+
protected readonly onConfigure: alepha1543.HookPrimitive<"configure">;
|
|
5739
5740
|
register(userRealmName: string, userRealmOptions?: UserRealmOptions): UserRealm;
|
|
5740
5741
|
/**
|
|
5741
5742
|
* Gets a registered realm by name, auto-creating default if needed.
|
|
@@ -5746,32 +5747,32 @@ declare class UserRealmProvider {
|
|
|
5746
5747
|
userRepository(userRealmName?: string): Repository<typeof users.schema>;
|
|
5747
5748
|
}
|
|
5748
5749
|
//#endregion
|
|
5749
|
-
//#region
|
|
5750
|
-
declare const sessionQuerySchema:
|
|
5751
|
-
page:
|
|
5752
|
-
size:
|
|
5753
|
-
sort:
|
|
5754
|
-
userId:
|
|
5750
|
+
//#region ../../../alepha/src/api-users/schemas/sessionQuerySchema.d.ts
|
|
5751
|
+
declare const sessionQuerySchema: alepha1543.TObject<{
|
|
5752
|
+
page: alepha1543.TOptional<alepha1543.TInteger>;
|
|
5753
|
+
size: alepha1543.TOptional<alepha1543.TInteger>;
|
|
5754
|
+
sort: alepha1543.TOptional<alepha1543.TString>;
|
|
5755
|
+
userId: alepha1543.TOptional<alepha1543.TString>;
|
|
5755
5756
|
}>;
|
|
5756
5757
|
type SessionQuery = Static<typeof sessionQuerySchema>;
|
|
5757
5758
|
//#endregion
|
|
5758
|
-
//#region
|
|
5759
|
+
//#region ../../../alepha/src/api-users/services/SessionCrudService.d.ts
|
|
5759
5760
|
declare class SessionCrudService {
|
|
5760
5761
|
protected readonly log: Logger;
|
|
5761
5762
|
protected readonly userRealmProvider: UserRealmProvider;
|
|
5762
|
-
sessions(userRealmName?: string): Repository<
|
|
5763
|
-
id: PgAttr<PgAttr<
|
|
5764
|
-
version: PgAttr<PgAttr<
|
|
5765
|
-
createdAt: PgAttr<PgAttr<
|
|
5766
|
-
updatedAt: PgAttr<PgAttr<
|
|
5767
|
-
refreshToken:
|
|
5768
|
-
userId: PgAttr<
|
|
5769
|
-
expiresAt:
|
|
5770
|
-
ip:
|
|
5771
|
-
userAgent:
|
|
5772
|
-
os:
|
|
5773
|
-
browser:
|
|
5774
|
-
device:
|
|
5763
|
+
sessions(userRealmName?: string): Repository<alepha1543.TObject<{
|
|
5764
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5765
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5766
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5767
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5768
|
+
refreshToken: alepha1543.TString;
|
|
5769
|
+
userId: PgAttr<alepha1543.TString, typeof PG_REF>;
|
|
5770
|
+
expiresAt: alepha1543.TString;
|
|
5771
|
+
ip: alepha1543.TOptional<alepha1543.TString>;
|
|
5772
|
+
userAgent: alepha1543.TOptional<alepha1543.TObject<{
|
|
5773
|
+
os: alepha1543.TString;
|
|
5774
|
+
browser: alepha1543.TString;
|
|
5775
|
+
device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5775
5776
|
}>>;
|
|
5776
5777
|
}>>;
|
|
5777
5778
|
/**
|
|
@@ -5788,7 +5789,7 @@ declare class SessionCrudService {
|
|
|
5788
5789
|
deleteSession(id: string, userRealmName?: string): Promise<void>;
|
|
5789
5790
|
}
|
|
5790
5791
|
//#endregion
|
|
5791
|
-
//#region
|
|
5792
|
+
//#region ../../../alepha/src/api-users/controllers/SessionController.d.ts
|
|
5792
5793
|
declare class SessionController {
|
|
5793
5794
|
protected readonly url = "/sessions";
|
|
5794
5795
|
protected readonly group = "sessions";
|
|
@@ -5797,26 +5798,26 @@ declare class SessionController {
|
|
|
5797
5798
|
* Find sessions with pagination and filtering.
|
|
5798
5799
|
*/
|
|
5799
5800
|
readonly findSessions: ActionPrimitiveFn<{
|
|
5800
|
-
query:
|
|
5801
|
-
page:
|
|
5802
|
-
size:
|
|
5803
|
-
sort:
|
|
5804
|
-
userId:
|
|
5805
|
-
userRealmName:
|
|
5801
|
+
query: alepha1543.TObject<{
|
|
5802
|
+
page: alepha1543.TOptional<alepha1543.TInteger>;
|
|
5803
|
+
size: alepha1543.TOptional<alepha1543.TInteger>;
|
|
5804
|
+
sort: alepha1543.TOptional<alepha1543.TString>;
|
|
5805
|
+
userId: alepha1543.TOptional<alepha1543.TString>;
|
|
5806
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
5806
5807
|
}>;
|
|
5807
|
-
response:
|
|
5808
|
-
id:
|
|
5809
|
-
version:
|
|
5810
|
-
createdAt:
|
|
5811
|
-
updatedAt:
|
|
5812
|
-
refreshToken:
|
|
5813
|
-
userId:
|
|
5814
|
-
expiresAt:
|
|
5815
|
-
ip:
|
|
5816
|
-
userAgent:
|
|
5817
|
-
os:
|
|
5818
|
-
browser:
|
|
5819
|
-
device:
|
|
5808
|
+
response: alepha1543.TPage<alepha1543.TObject<{
|
|
5809
|
+
id: alepha1543.TString;
|
|
5810
|
+
version: alepha1543.TNumber;
|
|
5811
|
+
createdAt: alepha1543.TString;
|
|
5812
|
+
updatedAt: alepha1543.TString;
|
|
5813
|
+
refreshToken: alepha1543.TString;
|
|
5814
|
+
userId: alepha1543.TString;
|
|
5815
|
+
expiresAt: alepha1543.TString;
|
|
5816
|
+
ip: alepha1543.TOptional<alepha1543.TString>;
|
|
5817
|
+
userAgent: alepha1543.TOptional<alepha1543.TObject<{
|
|
5818
|
+
os: alepha1543.TString;
|
|
5819
|
+
browser: alepha1543.TString;
|
|
5820
|
+
device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5820
5821
|
}>>;
|
|
5821
5822
|
}>>;
|
|
5822
5823
|
}>;
|
|
@@ -5824,25 +5825,25 @@ declare class SessionController {
|
|
|
5824
5825
|
* Get a session by ID.
|
|
5825
5826
|
*/
|
|
5826
5827
|
readonly getSession: ActionPrimitiveFn<{
|
|
5827
|
-
params:
|
|
5828
|
-
id:
|
|
5828
|
+
params: alepha1543.TObject<{
|
|
5829
|
+
id: alepha1543.TString;
|
|
5829
5830
|
}>;
|
|
5830
|
-
query:
|
|
5831
|
-
userRealmName:
|
|
5831
|
+
query: alepha1543.TObject<{
|
|
5832
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
5832
5833
|
}>;
|
|
5833
|
-
response:
|
|
5834
|
-
id:
|
|
5835
|
-
version:
|
|
5836
|
-
createdAt:
|
|
5837
|
-
updatedAt:
|
|
5838
|
-
refreshToken:
|
|
5839
|
-
userId:
|
|
5840
|
-
expiresAt:
|
|
5841
|
-
ip:
|
|
5842
|
-
userAgent:
|
|
5843
|
-
os:
|
|
5844
|
-
browser:
|
|
5845
|
-
device:
|
|
5834
|
+
response: alepha1543.TObject<{
|
|
5835
|
+
id: alepha1543.TString;
|
|
5836
|
+
version: alepha1543.TNumber;
|
|
5837
|
+
createdAt: alepha1543.TString;
|
|
5838
|
+
updatedAt: alepha1543.TString;
|
|
5839
|
+
refreshToken: alepha1543.TString;
|
|
5840
|
+
userId: alepha1543.TString;
|
|
5841
|
+
expiresAt: alepha1543.TString;
|
|
5842
|
+
ip: alepha1543.TOptional<alepha1543.TString>;
|
|
5843
|
+
userAgent: alepha1543.TOptional<alepha1543.TObject<{
|
|
5844
|
+
os: alepha1543.TString;
|
|
5845
|
+
browser: alepha1543.TString;
|
|
5846
|
+
device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
5846
5847
|
}>>;
|
|
5847
5848
|
}>;
|
|
5848
5849
|
}>;
|
|
@@ -5850,72 +5851,72 @@ declare class SessionController {
|
|
|
5850
5851
|
* Delete a session.
|
|
5851
5852
|
*/
|
|
5852
5853
|
readonly deleteSession: ActionPrimitiveFn<{
|
|
5853
|
-
params:
|
|
5854
|
-
id:
|
|
5854
|
+
params: alepha1543.TObject<{
|
|
5855
|
+
id: alepha1543.TString;
|
|
5855
5856
|
}>;
|
|
5856
|
-
query:
|
|
5857
|
-
userRealmName:
|
|
5857
|
+
query: alepha1543.TObject<{
|
|
5858
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
5858
5859
|
}>;
|
|
5859
|
-
response:
|
|
5860
|
-
ok:
|
|
5861
|
-
id:
|
|
5862
|
-
count:
|
|
5860
|
+
response: alepha1543.TObject<{
|
|
5861
|
+
ok: alepha1543.TBoolean;
|
|
5862
|
+
id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
|
|
5863
|
+
count: alepha1543.TOptional<alepha1543.TNumber>;
|
|
5863
5864
|
}>;
|
|
5864
5865
|
}>;
|
|
5865
5866
|
}
|
|
5866
5867
|
//#endregion
|
|
5867
|
-
//#region
|
|
5868
|
-
declare const verifications: EntityPrimitive<
|
|
5869
|
-
id: PgAttr<PgAttr<
|
|
5870
|
-
createdAt: PgAttr<PgAttr<
|
|
5871
|
-
updatedAt: PgAttr<PgAttr<
|
|
5872
|
-
version: PgAttr<PgAttr<
|
|
5873
|
-
type:
|
|
5874
|
-
target:
|
|
5875
|
-
code:
|
|
5876
|
-
verifiedAt:
|
|
5877
|
-
attempts: PgAttr<
|
|
5868
|
+
//#region ../../../alepha/src/api-verifications/entities/verifications.d.ts
|
|
5869
|
+
declare const verifications: EntityPrimitive<alepha1543.TObject<{
|
|
5870
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5871
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5872
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5873
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5874
|
+
type: alepha1543.TUnsafe<"link" | "code">;
|
|
5875
|
+
target: alepha1543.TString;
|
|
5876
|
+
code: alepha1543.TString;
|
|
5877
|
+
verifiedAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5878
|
+
attempts: PgAttr<alepha1543.TInteger, typeof PG_DEFAULT>;
|
|
5878
5879
|
}>>;
|
|
5879
5880
|
type VerificationEntity = Static<typeof verifications.schema>;
|
|
5880
5881
|
//#endregion
|
|
5881
|
-
//#region
|
|
5882
|
-
declare const verificationSettingsSchema:
|
|
5883
|
-
code:
|
|
5884
|
-
maxAttempts:
|
|
5885
|
-
codeLength:
|
|
5886
|
-
codeExpiration:
|
|
5887
|
-
verificationCooldown:
|
|
5888
|
-
limitPerDay:
|
|
5882
|
+
//#region ../../../alepha/src/api-verifications/schemas/verificationSettingsSchema.d.ts
|
|
5883
|
+
declare const verificationSettingsSchema: alepha1543.TObject<{
|
|
5884
|
+
code: alepha1543.TObject<{
|
|
5885
|
+
maxAttempts: alepha1543.TInteger;
|
|
5886
|
+
codeLength: alepha1543.TInteger;
|
|
5887
|
+
codeExpiration: alepha1543.TInteger;
|
|
5888
|
+
verificationCooldown: alepha1543.TInteger;
|
|
5889
|
+
limitPerDay: alepha1543.TInteger;
|
|
5889
5890
|
}>;
|
|
5890
|
-
link:
|
|
5891
|
-
maxAttempts:
|
|
5892
|
-
codeExpiration:
|
|
5893
|
-
verificationCooldown:
|
|
5894
|
-
limitPerDay:
|
|
5891
|
+
link: alepha1543.TObject<{
|
|
5892
|
+
maxAttempts: alepha1543.TInteger;
|
|
5893
|
+
codeExpiration: alepha1543.TInteger;
|
|
5894
|
+
verificationCooldown: alepha1543.TInteger;
|
|
5895
|
+
limitPerDay: alepha1543.TInteger;
|
|
5895
5896
|
}>;
|
|
5896
|
-
purgeDays:
|
|
5897
|
+
purgeDays: alepha1543.TInteger;
|
|
5897
5898
|
}>;
|
|
5898
5899
|
type VerificationSettings = Static<typeof verificationSettingsSchema>;
|
|
5899
5900
|
//#endregion
|
|
5900
|
-
//#region
|
|
5901
|
+
//#region ../../../alepha/src/api-verifications/parameters/VerificationParameters.d.ts
|
|
5901
5902
|
/**
|
|
5902
5903
|
* Verification settings configuration atom
|
|
5903
5904
|
*/
|
|
5904
|
-
declare const verificationOptions:
|
|
5905
|
-
code:
|
|
5906
|
-
maxAttempts:
|
|
5907
|
-
codeLength:
|
|
5908
|
-
codeExpiration:
|
|
5909
|
-
verificationCooldown:
|
|
5910
|
-
limitPerDay:
|
|
5905
|
+
declare const verificationOptions: alepha1543.Atom<alepha1543.TObject<{
|
|
5906
|
+
code: alepha1543.TObject<{
|
|
5907
|
+
maxAttempts: alepha1543.TInteger;
|
|
5908
|
+
codeLength: alepha1543.TInteger;
|
|
5909
|
+
codeExpiration: alepha1543.TInteger;
|
|
5910
|
+
verificationCooldown: alepha1543.TInteger;
|
|
5911
|
+
limitPerDay: alepha1543.TInteger;
|
|
5911
5912
|
}>;
|
|
5912
|
-
link:
|
|
5913
|
-
maxAttempts:
|
|
5914
|
-
codeExpiration:
|
|
5915
|
-
verificationCooldown:
|
|
5916
|
-
limitPerDay:
|
|
5913
|
+
link: alepha1543.TObject<{
|
|
5914
|
+
maxAttempts: alepha1543.TInteger;
|
|
5915
|
+
codeExpiration: alepha1543.TInteger;
|
|
5916
|
+
verificationCooldown: alepha1543.TInteger;
|
|
5917
|
+
limitPerDay: alepha1543.TInteger;
|
|
5917
5918
|
}>;
|
|
5918
|
-
purgeDays:
|
|
5919
|
+
purgeDays: alepha1543.TInteger;
|
|
5919
5920
|
}>, "alepha.api.verifications.options">;
|
|
5920
5921
|
type VerificationOptions = Static<typeof verificationOptions.schema>;
|
|
5921
5922
|
declare module "alepha" {
|
|
@@ -5943,63 +5944,63 @@ declare class VerificationParameters {
|
|
|
5943
5944
|
get<K$1 extends keyof VerificationSettings>(key: K$1): VerificationSettings[K$1];
|
|
5944
5945
|
}
|
|
5945
5946
|
//#endregion
|
|
5946
|
-
//#region
|
|
5947
|
-
declare const requestVerificationCodeResponseSchema:
|
|
5948
|
-
token:
|
|
5949
|
-
codeExpiration:
|
|
5950
|
-
verificationCooldown:
|
|
5951
|
-
maxVerificationAttempts:
|
|
5947
|
+
//#region ../../../alepha/src/api-verifications/schemas/requestVerificationCodeResponseSchema.d.ts
|
|
5948
|
+
declare const requestVerificationCodeResponseSchema: alepha1543.TObject<{
|
|
5949
|
+
token: alepha1543.TString;
|
|
5950
|
+
codeExpiration: alepha1543.TInteger;
|
|
5951
|
+
verificationCooldown: alepha1543.TInteger;
|
|
5952
|
+
maxVerificationAttempts: alepha1543.TInteger;
|
|
5952
5953
|
}>;
|
|
5953
5954
|
type RequestVerificationResponse = Static<typeof requestVerificationCodeResponseSchema>;
|
|
5954
5955
|
//#endregion
|
|
5955
|
-
//#region
|
|
5956
|
-
declare const validateVerificationCodeResponseSchema:
|
|
5957
|
-
ok:
|
|
5958
|
-
alreadyVerified:
|
|
5956
|
+
//#region ../../../alepha/src/api-verifications/schemas/validateVerificationCodeResponseSchema.d.ts
|
|
5957
|
+
declare const validateVerificationCodeResponseSchema: alepha1543.TObject<{
|
|
5958
|
+
ok: alepha1543.TBoolean;
|
|
5959
|
+
alreadyVerified: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
5959
5960
|
}>;
|
|
5960
5961
|
type ValidateVerificationCodeResponse = Static<typeof validateVerificationCodeResponseSchema>;
|
|
5961
5962
|
//#endregion
|
|
5962
|
-
//#region
|
|
5963
|
-
declare const verificationTypeEnumSchema:
|
|
5963
|
+
//#region ../../../alepha/src/api-verifications/schemas/verificationTypeEnumSchema.d.ts
|
|
5964
|
+
declare const verificationTypeEnumSchema: alepha1543.TUnsafe<"link" | "code">;
|
|
5964
5965
|
type VerificationTypeEnum = Static<typeof verificationTypeEnumSchema>;
|
|
5965
5966
|
//#endregion
|
|
5966
|
-
//#region
|
|
5967
|
+
//#region ../../../alepha/src/api-verifications/services/VerificationService.d.ts
|
|
5967
5968
|
declare class VerificationService {
|
|
5968
5969
|
protected readonly log: Logger;
|
|
5969
5970
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
5970
5971
|
protected readonly verificationParameters: VerificationParameters;
|
|
5971
|
-
protected readonly verificationRepository: Repository<
|
|
5972
|
-
id: PgAttr<PgAttr<
|
|
5973
|
-
createdAt: PgAttr<PgAttr<
|
|
5974
|
-
updatedAt: PgAttr<PgAttr<
|
|
5975
|
-
version: PgAttr<PgAttr<
|
|
5976
|
-
type:
|
|
5977
|
-
target:
|
|
5978
|
-
code:
|
|
5979
|
-
verifiedAt:
|
|
5980
|
-
attempts: PgAttr<
|
|
5972
|
+
protected readonly verificationRepository: Repository<alepha1543.TObject<{
|
|
5973
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5974
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5975
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5976
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5977
|
+
type: alepha1543.TUnsafe<"link" | "code">;
|
|
5978
|
+
target: alepha1543.TString;
|
|
5979
|
+
code: alepha1543.TString;
|
|
5980
|
+
verifiedAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5981
|
+
attempts: PgAttr<alepha1543.TInteger, typeof PG_DEFAULT>;
|
|
5981
5982
|
}>>;
|
|
5982
5983
|
findByEntry(entry: VerificationEntry): Promise<VerificationEntity>;
|
|
5983
|
-
findRecentsByEntry(entry: VerificationEntry): Promise<PgStatic<
|
|
5984
|
-
id: PgAttr<PgAttr<
|
|
5985
|
-
createdAt: PgAttr<PgAttr<
|
|
5986
|
-
updatedAt: PgAttr<PgAttr<
|
|
5987
|
-
version: PgAttr<PgAttr<
|
|
5988
|
-
type:
|
|
5989
|
-
target:
|
|
5990
|
-
code:
|
|
5991
|
-
verifiedAt:
|
|
5992
|
-
attempts: PgAttr<
|
|
5993
|
-
}>, PgRelationMap<
|
|
5994
|
-
id: PgAttr<PgAttr<
|
|
5995
|
-
createdAt: PgAttr<PgAttr<
|
|
5996
|
-
updatedAt: PgAttr<PgAttr<
|
|
5997
|
-
version: PgAttr<PgAttr<
|
|
5998
|
-
type:
|
|
5999
|
-
target:
|
|
6000
|
-
code:
|
|
6001
|
-
verifiedAt:
|
|
6002
|
-
attempts: PgAttr<
|
|
5984
|
+
findRecentsByEntry(entry: VerificationEntry): Promise<PgStatic<alepha1543.TObject<{
|
|
5985
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5986
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5987
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5988
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5989
|
+
type: alepha1543.TUnsafe<"link" | "code">;
|
|
5990
|
+
target: alepha1543.TString;
|
|
5991
|
+
code: alepha1543.TString;
|
|
5992
|
+
verifiedAt: alepha1543.TOptional<alepha1543.TString>;
|
|
5993
|
+
attempts: PgAttr<alepha1543.TInteger, typeof PG_DEFAULT>;
|
|
5994
|
+
}>, PgRelationMap<alepha1543.TObject<{
|
|
5995
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
5996
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
5997
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
5998
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
5999
|
+
type: alepha1543.TUnsafe<"link" | "code">;
|
|
6000
|
+
target: alepha1543.TString;
|
|
6001
|
+
code: alepha1543.TString;
|
|
6002
|
+
verifiedAt: alepha1543.TOptional<alepha1543.TString>;
|
|
6003
|
+
attempts: PgAttr<alepha1543.TInteger, typeof PG_DEFAULT>;
|
|
6003
6004
|
}>>>[]>;
|
|
6004
6005
|
/**
|
|
6005
6006
|
* Creates a verification entry and returns the token.
|
|
@@ -6016,97 +6017,97 @@ interface VerificationEntry {
|
|
|
6016
6017
|
target: string;
|
|
6017
6018
|
}
|
|
6018
6019
|
//#endregion
|
|
6019
|
-
//#region
|
|
6020
|
+
//#region ../../../alepha/src/api-verifications/controllers/VerificationController.d.ts
|
|
6020
6021
|
declare class VerificationController {
|
|
6021
6022
|
protected readonly verificationService: VerificationService;
|
|
6022
6023
|
readonly url = "/verifications";
|
|
6023
6024
|
readonly group = "verifications";
|
|
6024
6025
|
readonly requestVerificationCode: ActionPrimitiveFn<{
|
|
6025
|
-
params:
|
|
6026
|
-
type:
|
|
6026
|
+
params: alepha1543.TObject<{
|
|
6027
|
+
type: alepha1543.TUnsafe<"link" | "code">;
|
|
6027
6028
|
}>;
|
|
6028
|
-
body:
|
|
6029
|
-
target:
|
|
6029
|
+
body: alepha1543.TObject<{
|
|
6030
|
+
target: alepha1543.TString;
|
|
6030
6031
|
}>;
|
|
6031
|
-
response:
|
|
6032
|
-
token:
|
|
6033
|
-
codeExpiration:
|
|
6034
|
-
verificationCooldown:
|
|
6035
|
-
maxVerificationAttempts:
|
|
6032
|
+
response: alepha1543.TObject<{
|
|
6033
|
+
token: alepha1543.TString;
|
|
6034
|
+
codeExpiration: alepha1543.TInteger;
|
|
6035
|
+
verificationCooldown: alepha1543.TInteger;
|
|
6036
|
+
maxVerificationAttempts: alepha1543.TInteger;
|
|
6036
6037
|
}>;
|
|
6037
6038
|
}>;
|
|
6038
6039
|
readonly validateVerificationCode: ActionPrimitiveFn<{
|
|
6039
|
-
params:
|
|
6040
|
-
type:
|
|
6040
|
+
params: alepha1543.TObject<{
|
|
6041
|
+
type: alepha1543.TUnsafe<"link" | "code">;
|
|
6041
6042
|
}>;
|
|
6042
|
-
body:
|
|
6043
|
-
target:
|
|
6044
|
-
token:
|
|
6043
|
+
body: alepha1543.TObject<{
|
|
6044
|
+
target: alepha1543.TString;
|
|
6045
|
+
token: alepha1543.TString;
|
|
6045
6046
|
}>;
|
|
6046
|
-
response:
|
|
6047
|
-
ok:
|
|
6048
|
-
alreadyVerified:
|
|
6047
|
+
response: alepha1543.TObject<{
|
|
6048
|
+
ok: alepha1543.TBoolean;
|
|
6049
|
+
alreadyVerified: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
6049
6050
|
}>;
|
|
6050
6051
|
}>;
|
|
6051
6052
|
}
|
|
6052
6053
|
//#endregion
|
|
6053
|
-
//#region
|
|
6054
|
+
//#region ../../../alepha/src/api-users/notifications/UserNotifications.d.ts
|
|
6054
6055
|
declare class UserNotifications {
|
|
6055
|
-
readonly passwordReset: NotificationPrimitive<
|
|
6056
|
-
email:
|
|
6057
|
-
code:
|
|
6058
|
-
expiresInMinutes:
|
|
6056
|
+
readonly passwordReset: NotificationPrimitive<alepha1543.TObject<{
|
|
6057
|
+
email: alepha1543.TString;
|
|
6058
|
+
code: alepha1543.TString;
|
|
6059
|
+
expiresInMinutes: alepha1543.TNumber;
|
|
6059
6060
|
}>>;
|
|
6060
|
-
readonly emailVerification: NotificationPrimitive<
|
|
6061
|
-
email:
|
|
6062
|
-
code:
|
|
6063
|
-
expiresInMinutes:
|
|
6061
|
+
readonly emailVerification: NotificationPrimitive<alepha1543.TObject<{
|
|
6062
|
+
email: alepha1543.TString;
|
|
6063
|
+
code: alepha1543.TString;
|
|
6064
|
+
expiresInMinutes: alepha1543.TNumber;
|
|
6064
6065
|
}>>;
|
|
6065
|
-
readonly phoneVerification: NotificationPrimitive<
|
|
6066
|
-
phoneNumber:
|
|
6067
|
-
code:
|
|
6068
|
-
expiresInMinutes:
|
|
6066
|
+
readonly phoneVerification: NotificationPrimitive<alepha1543.TObject<{
|
|
6067
|
+
phoneNumber: alepha1543.TString;
|
|
6068
|
+
code: alepha1543.TString;
|
|
6069
|
+
expiresInMinutes: alepha1543.TNumber;
|
|
6069
6070
|
}>>;
|
|
6070
|
-
readonly passwordResetLink: NotificationPrimitive<
|
|
6071
|
-
email:
|
|
6072
|
-
resetUrl:
|
|
6073
|
-
expiresInMinutes:
|
|
6071
|
+
readonly passwordResetLink: NotificationPrimitive<alepha1543.TObject<{
|
|
6072
|
+
email: alepha1543.TString;
|
|
6073
|
+
resetUrl: alepha1543.TString;
|
|
6074
|
+
expiresInMinutes: alepha1543.TNumber;
|
|
6074
6075
|
}>>;
|
|
6075
|
-
readonly emailVerificationLink: NotificationPrimitive<
|
|
6076
|
-
email:
|
|
6077
|
-
verifyUrl:
|
|
6078
|
-
expiresInMinutes:
|
|
6076
|
+
readonly emailVerificationLink: NotificationPrimitive<alepha1543.TObject<{
|
|
6077
|
+
email: alepha1543.TString;
|
|
6078
|
+
verifyUrl: alepha1543.TString;
|
|
6079
|
+
expiresInMinutes: alepha1543.TNumber;
|
|
6079
6080
|
}>>;
|
|
6080
6081
|
}
|
|
6081
6082
|
//#endregion
|
|
6082
|
-
//#region
|
|
6083
|
+
//#region ../../../alepha/src/api-users/schemas/completePasswordResetRequestSchema.d.ts
|
|
6083
6084
|
/**
|
|
6084
6085
|
* Request schema for completing a password reset.
|
|
6085
6086
|
*
|
|
6086
6087
|
* Requires the intent ID from Phase 1, the verification code,
|
|
6087
6088
|
* and the new password.
|
|
6088
6089
|
*/
|
|
6089
|
-
declare const completePasswordResetRequestSchema:
|
|
6090
|
-
intentId:
|
|
6091
|
-
code:
|
|
6092
|
-
newPassword:
|
|
6090
|
+
declare const completePasswordResetRequestSchema: alepha1543.TObject<{
|
|
6091
|
+
intentId: alepha1543.TString;
|
|
6092
|
+
code: alepha1543.TString;
|
|
6093
|
+
newPassword: alepha1543.TString;
|
|
6093
6094
|
}>;
|
|
6094
6095
|
type CompletePasswordResetRequest = Static<typeof completePasswordResetRequestSchema>;
|
|
6095
6096
|
//#endregion
|
|
6096
|
-
//#region
|
|
6097
|
+
//#region ../../../alepha/src/api-users/schemas/passwordResetIntentResponseSchema.d.ts
|
|
6097
6098
|
/**
|
|
6098
6099
|
* Response schema for password reset intent creation.
|
|
6099
6100
|
*
|
|
6100
6101
|
* Contains the intent ID needed for Phase 2 completion,
|
|
6101
6102
|
* along with expiration time.
|
|
6102
6103
|
*/
|
|
6103
|
-
declare const passwordResetIntentResponseSchema:
|
|
6104
|
-
intentId:
|
|
6105
|
-
expiresAt:
|
|
6104
|
+
declare const passwordResetIntentResponseSchema: alepha1543.TObject<{
|
|
6105
|
+
intentId: alepha1543.TString;
|
|
6106
|
+
expiresAt: alepha1543.TString;
|
|
6106
6107
|
}>;
|
|
6107
6108
|
type PasswordResetIntentResponse = Static<typeof passwordResetIntentResponseSchema>;
|
|
6108
6109
|
//#endregion
|
|
6109
|
-
//#region
|
|
6110
|
+
//#region ../../../alepha/src/api-users/services/CredentialService.d.ts
|
|
6110
6111
|
/**
|
|
6111
6112
|
* Intent stored in cache during the password reset flow.
|
|
6112
6113
|
*/
|
|
@@ -6125,47 +6126,47 @@ declare class CredentialService {
|
|
|
6125
6126
|
protected readonly userNotifications: UserNotifications;
|
|
6126
6127
|
protected readonly userRealmProvider: UserRealmProvider;
|
|
6127
6128
|
protected readonly intentCache: CachePrimitiveFn<PasswordResetIntent, any[]>;
|
|
6128
|
-
users(userRealmName?: string): Repository<
|
|
6129
|
-
id: PgAttr<PgAttr<
|
|
6130
|
-
version: PgAttr<PgAttr<
|
|
6131
|
-
createdAt: PgAttr<PgAttr<
|
|
6132
|
-
updatedAt: PgAttr<PgAttr<
|
|
6133
|
-
realm: PgAttr<
|
|
6134
|
-
username:
|
|
6135
|
-
email:
|
|
6136
|
-
phoneNumber:
|
|
6137
|
-
roles: PgAttr<
|
|
6138
|
-
firstName:
|
|
6139
|
-
lastName:
|
|
6140
|
-
picture:
|
|
6141
|
-
enabled: PgAttr<
|
|
6142
|
-
emailVerified: PgAttr<
|
|
6129
|
+
users(userRealmName?: string): Repository<alepha1543.TObject<{
|
|
6130
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6131
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6132
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6133
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6134
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
6135
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6136
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6137
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6138
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
6139
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6140
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6141
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6142
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6143
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6143
6144
|
}>>;
|
|
6144
|
-
sessions(userRealmName?: string): Repository<
|
|
6145
|
-
id: PgAttr<PgAttr<
|
|
6146
|
-
version: PgAttr<PgAttr<
|
|
6147
|
-
createdAt: PgAttr<PgAttr<
|
|
6148
|
-
updatedAt: PgAttr<PgAttr<
|
|
6149
|
-
refreshToken:
|
|
6150
|
-
userId: PgAttr<
|
|
6151
|
-
expiresAt:
|
|
6152
|
-
ip:
|
|
6153
|
-
userAgent:
|
|
6154
|
-
os:
|
|
6155
|
-
browser:
|
|
6156
|
-
device:
|
|
6145
|
+
sessions(userRealmName?: string): Repository<alepha1543.TObject<{
|
|
6146
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6147
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6148
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6149
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6150
|
+
refreshToken: alepha1543.TString;
|
|
6151
|
+
userId: PgAttr<alepha1543.TString, typeof PG_REF>;
|
|
6152
|
+
expiresAt: alepha1543.TString;
|
|
6153
|
+
ip: alepha1543.TOptional<alepha1543.TString>;
|
|
6154
|
+
userAgent: alepha1543.TOptional<alepha1543.TObject<{
|
|
6155
|
+
os: alepha1543.TString;
|
|
6156
|
+
browser: alepha1543.TString;
|
|
6157
|
+
device: alepha1543.TUnsafe<"MOBILE" | "DESKTOP" | "TABLET">;
|
|
6157
6158
|
}>>;
|
|
6158
6159
|
}>>;
|
|
6159
|
-
identities(userRealmName?: string): Repository<
|
|
6160
|
-
id: PgAttr<PgAttr<
|
|
6161
|
-
version: PgAttr<PgAttr<
|
|
6162
|
-
createdAt: PgAttr<PgAttr<
|
|
6163
|
-
updatedAt: PgAttr<PgAttr<
|
|
6164
|
-
userId: PgAttr<
|
|
6165
|
-
password:
|
|
6166
|
-
provider:
|
|
6167
|
-
providerUserId:
|
|
6168
|
-
providerData:
|
|
6160
|
+
identities(userRealmName?: string): Repository<alepha1543.TObject<{
|
|
6161
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6162
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6163
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6164
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6165
|
+
userId: PgAttr<alepha1543.TString, typeof PG_REF>;
|
|
6166
|
+
password: alepha1543.TOptional<alepha1543.TString>;
|
|
6167
|
+
provider: alepha1543.TString;
|
|
6168
|
+
providerUserId: alepha1543.TOptional<alepha1543.TString>;
|
|
6169
|
+
providerData: alepha1543.TOptional<alepha1543.TRecord<string, alepha1543.TAny>>;
|
|
6169
6170
|
}>>;
|
|
6170
6171
|
/**
|
|
6171
6172
|
* Phase 1: Create a password reset intent.
|
|
@@ -6201,42 +6202,42 @@ declare class CredentialService {
|
|
|
6201
6202
|
resetPassword(email: string, token: string, newPassword: string, userRealmName?: string): Promise<void>;
|
|
6202
6203
|
}
|
|
6203
6204
|
//#endregion
|
|
6204
|
-
//#region
|
|
6205
|
-
declare const completeRegistrationRequestSchema:
|
|
6206
|
-
intentId:
|
|
6207
|
-
emailCode:
|
|
6208
|
-
phoneCode:
|
|
6209
|
-
captchaToken:
|
|
6205
|
+
//#region ../../../alepha/src/api-users/schemas/completeRegistrationRequestSchema.d.ts
|
|
6206
|
+
declare const completeRegistrationRequestSchema: alepha1543.TObject<{
|
|
6207
|
+
intentId: alepha1543.TString;
|
|
6208
|
+
emailCode: alepha1543.TOptional<alepha1543.TString>;
|
|
6209
|
+
phoneCode: alepha1543.TOptional<alepha1543.TString>;
|
|
6210
|
+
captchaToken: alepha1543.TOptional<alepha1543.TString>;
|
|
6210
6211
|
}>;
|
|
6211
6212
|
type CompleteRegistrationRequest = Static<typeof completeRegistrationRequestSchema>;
|
|
6212
6213
|
//#endregion
|
|
6213
|
-
//#region
|
|
6214
|
+
//#region ../../../alepha/src/api-users/schemas/registerRequestSchema.d.ts
|
|
6214
6215
|
/**
|
|
6215
6216
|
* Schema for user registration request body.
|
|
6216
6217
|
* Password is always required, other fields depend on realm settings.
|
|
6217
6218
|
*/
|
|
6218
|
-
declare const registerRequestSchema:
|
|
6219
|
-
password:
|
|
6220
|
-
username:
|
|
6221
|
-
email:
|
|
6222
|
-
phoneNumber:
|
|
6223
|
-
firstName:
|
|
6224
|
-
lastName:
|
|
6225
|
-
picture:
|
|
6219
|
+
declare const registerRequestSchema: alepha1543.TObject<{
|
|
6220
|
+
password: alepha1543.TString;
|
|
6221
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6222
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6223
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6224
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6225
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6226
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6226
6227
|
}>;
|
|
6227
6228
|
type RegisterRequest = Static<typeof registerRequestSchema>;
|
|
6228
6229
|
//#endregion
|
|
6229
|
-
//#region
|
|
6230
|
-
declare const registrationIntentResponseSchema:
|
|
6231
|
-
intentId:
|
|
6232
|
-
expectCaptcha:
|
|
6233
|
-
expectEmailVerification:
|
|
6234
|
-
expectPhoneVerification:
|
|
6235
|
-
expiresAt:
|
|
6230
|
+
//#region ../../../alepha/src/api-users/schemas/registrationIntentResponseSchema.d.ts
|
|
6231
|
+
declare const registrationIntentResponseSchema: alepha1543.TObject<{
|
|
6232
|
+
intentId: alepha1543.TString;
|
|
6233
|
+
expectCaptcha: alepha1543.TBoolean;
|
|
6234
|
+
expectEmailVerification: alepha1543.TBoolean;
|
|
6235
|
+
expectPhoneVerification: alepha1543.TBoolean;
|
|
6236
|
+
expiresAt: alepha1543.TString;
|
|
6236
6237
|
}>;
|
|
6237
6238
|
type RegistrationIntentResponse = Static<typeof registrationIntentResponseSchema>;
|
|
6238
6239
|
//#endregion
|
|
6239
|
-
//#region
|
|
6240
|
+
//#region ../../../alepha/src/api-users/services/RegistrationService.d.ts
|
|
6240
6241
|
/**
|
|
6241
6242
|
* Intent stored in cache during the registration flow.
|
|
6242
6243
|
*/
|
|
@@ -6302,71 +6303,71 @@ declare class RegistrationService {
|
|
|
6302
6303
|
protected verifyPhoneCode(phoneNumber: string, code: string): Promise<void>;
|
|
6303
6304
|
}
|
|
6304
6305
|
//#endregion
|
|
6305
|
-
//#region
|
|
6306
|
-
declare const createUserSchema:
|
|
6307
|
-
id:
|
|
6308
|
-
email:
|
|
6309
|
-
username:
|
|
6310
|
-
picture:
|
|
6311
|
-
roles:
|
|
6312
|
-
phoneNumber:
|
|
6313
|
-
firstName:
|
|
6314
|
-
lastName:
|
|
6315
|
-
enabled:
|
|
6316
|
-
emailVerified:
|
|
6317
|
-
version:
|
|
6318
|
-
createdAt:
|
|
6319
|
-
updatedAt:
|
|
6306
|
+
//#region ../../../alepha/src/api-users/schemas/createUserSchema.d.ts
|
|
6307
|
+
declare const createUserSchema: alepha1543.TObject<{
|
|
6308
|
+
id: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
|
|
6309
|
+
email: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6310
|
+
username: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6311
|
+
picture: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6312
|
+
roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
6313
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6314
|
+
firstName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6315
|
+
lastName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6316
|
+
enabled: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
|
|
6317
|
+
emailVerified: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
|
|
6318
|
+
version: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
|
|
6319
|
+
createdAt: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
|
|
6320
|
+
updatedAt: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
|
|
6320
6321
|
}>;
|
|
6321
6322
|
type CreateUser = Static<typeof createUserSchema>;
|
|
6322
6323
|
//#endregion
|
|
6323
|
-
//#region
|
|
6324
|
-
declare const updateUserSchema:
|
|
6325
|
-
email:
|
|
6326
|
-
picture:
|
|
6327
|
-
roles:
|
|
6328
|
-
phoneNumber:
|
|
6329
|
-
firstName:
|
|
6330
|
-
lastName:
|
|
6331
|
-
enabled:
|
|
6332
|
-
realm:
|
|
6324
|
+
//#region ../../../alepha/src/api-users/schemas/updateUserSchema.d.ts
|
|
6325
|
+
declare const updateUserSchema: alepha1543.TObject<{
|
|
6326
|
+
email: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6327
|
+
picture: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6328
|
+
roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
6329
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6330
|
+
firstName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6331
|
+
lastName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6332
|
+
enabled: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
|
|
6333
|
+
realm: alepha1543.TOptional<PgAttr<alepha1543.TString, typeof PG_DEFAULT>>;
|
|
6333
6334
|
}>;
|
|
6334
6335
|
type UpdateUser = Static<typeof updateUserSchema>;
|
|
6335
6336
|
//#endregion
|
|
6336
|
-
//#region
|
|
6337
|
-
declare const userQuerySchema:
|
|
6338
|
-
page:
|
|
6339
|
-
size:
|
|
6340
|
-
sort:
|
|
6341
|
-
email:
|
|
6342
|
-
enabled:
|
|
6343
|
-
emailVerified:
|
|
6344
|
-
roles:
|
|
6345
|
-
query:
|
|
6337
|
+
//#region ../../../alepha/src/api-users/schemas/userQuerySchema.d.ts
|
|
6338
|
+
declare const userQuerySchema: alepha1543.TObject<{
|
|
6339
|
+
page: alepha1543.TOptional<alepha1543.TInteger>;
|
|
6340
|
+
size: alepha1543.TOptional<alepha1543.TInteger>;
|
|
6341
|
+
sort: alepha1543.TOptional<alepha1543.TString>;
|
|
6342
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6343
|
+
enabled: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
6344
|
+
emailVerified: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
6345
|
+
roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
6346
|
+
query: alepha1543.TOptional<alepha1543.TString>;
|
|
6346
6347
|
}>;
|
|
6347
6348
|
type UserQuery = Static<typeof userQuerySchema>;
|
|
6348
6349
|
//#endregion
|
|
6349
|
-
//#region
|
|
6350
|
+
//#region ../../../alepha/src/api-users/services/UserService.d.ts
|
|
6350
6351
|
declare class UserService {
|
|
6351
6352
|
protected readonly log: Logger;
|
|
6352
6353
|
protected readonly verificationController: HttpVirtualClient<VerificationController>;
|
|
6353
6354
|
protected readonly userNotifications: UserNotifications;
|
|
6354
6355
|
protected readonly userRealmProvider: UserRealmProvider;
|
|
6355
|
-
users(userRealmName?: string): Repository<
|
|
6356
|
-
id: PgAttr<PgAttr<
|
|
6357
|
-
version: PgAttr<PgAttr<
|
|
6358
|
-
createdAt: PgAttr<PgAttr<
|
|
6359
|
-
updatedAt: PgAttr<PgAttr<
|
|
6360
|
-
realm: PgAttr<
|
|
6361
|
-
username:
|
|
6362
|
-
email:
|
|
6363
|
-
phoneNumber:
|
|
6364
|
-
roles: PgAttr<
|
|
6365
|
-
firstName:
|
|
6366
|
-
lastName:
|
|
6367
|
-
picture:
|
|
6368
|
-
enabled: PgAttr<
|
|
6369
|
-
emailVerified: PgAttr<
|
|
6356
|
+
users(userRealmName?: string): Repository<alepha1543.TObject<{
|
|
6357
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6358
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6359
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6360
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6361
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
6362
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6363
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6364
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6365
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
6366
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6367
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6368
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6369
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6370
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6370
6371
|
}>>;
|
|
6371
6372
|
/**
|
|
6372
6373
|
* Request email verification for a user.
|
|
@@ -6407,7 +6408,7 @@ declare class UserService {
|
|
|
6407
6408
|
deleteUser(id: string, userRealmName?: string): Promise<void>;
|
|
6408
6409
|
}
|
|
6409
6410
|
//#endregion
|
|
6410
|
-
//#region
|
|
6411
|
+
//#region ../../../alepha/src/api-users/controllers/UserController.d.ts
|
|
6411
6412
|
declare class UserController {
|
|
6412
6413
|
protected readonly url = "/users";
|
|
6413
6414
|
protected readonly group = "users";
|
|
@@ -6419,122 +6420,122 @@ declare class UserController {
|
|
|
6419
6420
|
* Validates data, creates verification sessions, and stores intent in cache.
|
|
6420
6421
|
*/
|
|
6421
6422
|
readonly createRegistrationIntent: ActionPrimitiveFn<{
|
|
6422
|
-
body:
|
|
6423
|
-
password:
|
|
6424
|
-
username:
|
|
6425
|
-
email:
|
|
6426
|
-
phoneNumber:
|
|
6427
|
-
firstName:
|
|
6428
|
-
lastName:
|
|
6429
|
-
picture:
|
|
6423
|
+
body: alepha1543.TObject<{
|
|
6424
|
+
password: alepha1543.TString;
|
|
6425
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6426
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6427
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6428
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6429
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6430
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6430
6431
|
}>;
|
|
6431
|
-
query:
|
|
6432
|
-
userRealmName:
|
|
6432
|
+
query: alepha1543.TObject<{
|
|
6433
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6433
6434
|
}>;
|
|
6434
|
-
response:
|
|
6435
|
-
intentId:
|
|
6436
|
-
expectCaptcha:
|
|
6437
|
-
expectEmailVerification:
|
|
6438
|
-
expectPhoneVerification:
|
|
6439
|
-
expiresAt:
|
|
6435
|
+
response: alepha1543.TObject<{
|
|
6436
|
+
intentId: alepha1543.TString;
|
|
6437
|
+
expectCaptcha: alepha1543.TBoolean;
|
|
6438
|
+
expectEmailVerification: alepha1543.TBoolean;
|
|
6439
|
+
expectPhoneVerification: alepha1543.TBoolean;
|
|
6440
|
+
expiresAt: alepha1543.TString;
|
|
6440
6441
|
}>;
|
|
6441
6442
|
}>;
|
|
6442
6443
|
/**
|
|
6443
6444
|
* Find users with pagination and filtering.
|
|
6444
6445
|
*/
|
|
6445
6446
|
readonly findUsers: ActionPrimitiveFn<{
|
|
6446
|
-
query:
|
|
6447
|
-
page:
|
|
6448
|
-
size:
|
|
6449
|
-
sort:
|
|
6450
|
-
email:
|
|
6451
|
-
enabled:
|
|
6452
|
-
emailVerified:
|
|
6453
|
-
roles:
|
|
6454
|
-
query:
|
|
6455
|
-
userRealmName:
|
|
6447
|
+
query: alepha1543.TObject<{
|
|
6448
|
+
page: alepha1543.TOptional<alepha1543.TInteger>;
|
|
6449
|
+
size: alepha1543.TOptional<alepha1543.TInteger>;
|
|
6450
|
+
sort: alepha1543.TOptional<alepha1543.TString>;
|
|
6451
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6452
|
+
enabled: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
6453
|
+
emailVerified: alepha1543.TOptional<alepha1543.TBoolean>;
|
|
6454
|
+
roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
6455
|
+
query: alepha1543.TOptional<alepha1543.TString>;
|
|
6456
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6456
6457
|
}>;
|
|
6457
|
-
response:
|
|
6458
|
-
id: PgAttr<PgAttr<
|
|
6459
|
-
version: PgAttr<PgAttr<
|
|
6460
|
-
createdAt: PgAttr<PgAttr<
|
|
6461
|
-
updatedAt: PgAttr<PgAttr<
|
|
6462
|
-
realm: PgAttr<
|
|
6463
|
-
username:
|
|
6464
|
-
email:
|
|
6465
|
-
phoneNumber:
|
|
6466
|
-
roles: PgAttr<
|
|
6467
|
-
firstName:
|
|
6468
|
-
lastName:
|
|
6469
|
-
picture:
|
|
6470
|
-
enabled: PgAttr<
|
|
6471
|
-
emailVerified: PgAttr<
|
|
6458
|
+
response: alepha1543.TPage<alepha1543.TObject<{
|
|
6459
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6460
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6461
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6462
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6463
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
6464
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6465
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6466
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6467
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
6468
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6469
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6470
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6471
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6472
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6472
6473
|
}>>;
|
|
6473
6474
|
}>;
|
|
6474
6475
|
/**
|
|
6475
6476
|
* Get a user by ID.
|
|
6476
6477
|
*/
|
|
6477
6478
|
readonly getUser: ActionPrimitiveFn<{
|
|
6478
|
-
params:
|
|
6479
|
-
id:
|
|
6479
|
+
params: alepha1543.TObject<{
|
|
6480
|
+
id: alepha1543.TString;
|
|
6480
6481
|
}>;
|
|
6481
|
-
query:
|
|
6482
|
-
userRealmName:
|
|
6482
|
+
query: alepha1543.TObject<{
|
|
6483
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6483
6484
|
}>;
|
|
6484
|
-
response:
|
|
6485
|
-
id: PgAttr<PgAttr<
|
|
6486
|
-
version: PgAttr<PgAttr<
|
|
6487
|
-
createdAt: PgAttr<PgAttr<
|
|
6488
|
-
updatedAt: PgAttr<PgAttr<
|
|
6489
|
-
realm: PgAttr<
|
|
6490
|
-
username:
|
|
6491
|
-
email:
|
|
6492
|
-
phoneNumber:
|
|
6493
|
-
roles: PgAttr<
|
|
6494
|
-
firstName:
|
|
6495
|
-
lastName:
|
|
6496
|
-
picture:
|
|
6497
|
-
enabled: PgAttr<
|
|
6498
|
-
emailVerified: PgAttr<
|
|
6485
|
+
response: alepha1543.TObject<{
|
|
6486
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6487
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6488
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6489
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6490
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
6491
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6492
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6493
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6494
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
6495
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6496
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6497
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6498
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6499
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6499
6500
|
}>;
|
|
6500
6501
|
}>;
|
|
6501
6502
|
/**
|
|
6502
6503
|
* Create a new user.
|
|
6503
6504
|
*/
|
|
6504
6505
|
readonly createUser: ActionPrimitiveFn<{
|
|
6505
|
-
query:
|
|
6506
|
-
userRealmName:
|
|
6506
|
+
query: alepha1543.TObject<{
|
|
6507
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6507
6508
|
}>;
|
|
6508
|
-
body:
|
|
6509
|
-
id:
|
|
6510
|
-
email:
|
|
6511
|
-
username:
|
|
6512
|
-
picture:
|
|
6513
|
-
roles:
|
|
6514
|
-
phoneNumber:
|
|
6515
|
-
firstName:
|
|
6516
|
-
lastName:
|
|
6517
|
-
enabled:
|
|
6518
|
-
emailVerified:
|
|
6519
|
-
version:
|
|
6520
|
-
createdAt:
|
|
6521
|
-
updatedAt:
|
|
6509
|
+
body: alepha1543.TObject<{
|
|
6510
|
+
id: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>>;
|
|
6511
|
+
email: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6512
|
+
username: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6513
|
+
picture: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6514
|
+
roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
6515
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6516
|
+
firstName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6517
|
+
lastName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6518
|
+
enabled: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
|
|
6519
|
+
emailVerified: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
|
|
6520
|
+
version: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>>;
|
|
6521
|
+
createdAt: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>>;
|
|
6522
|
+
updatedAt: alepha1543.TOptional<PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>>;
|
|
6522
6523
|
}>;
|
|
6523
|
-
response:
|
|
6524
|
-
id: PgAttr<PgAttr<
|
|
6525
|
-
version: PgAttr<PgAttr<
|
|
6526
|
-
createdAt: PgAttr<PgAttr<
|
|
6527
|
-
updatedAt: PgAttr<PgAttr<
|
|
6528
|
-
realm: PgAttr<
|
|
6529
|
-
username:
|
|
6530
|
-
email:
|
|
6531
|
-
phoneNumber:
|
|
6532
|
-
roles: PgAttr<
|
|
6533
|
-
firstName:
|
|
6534
|
-
lastName:
|
|
6535
|
-
picture:
|
|
6536
|
-
enabled: PgAttr<
|
|
6537
|
-
emailVerified: PgAttr<
|
|
6524
|
+
response: alepha1543.TObject<{
|
|
6525
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6526
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6527
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6528
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6529
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
6530
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6531
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6532
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6533
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
6534
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6535
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6536
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6537
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6538
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6538
6539
|
}>;
|
|
6539
6540
|
}>;
|
|
6540
6541
|
/**
|
|
@@ -6542,80 +6543,80 @@ declare class UserController {
|
|
|
6542
6543
|
* Validates verification codes and creates the user.
|
|
6543
6544
|
*/
|
|
6544
6545
|
readonly createUserFromIntent: ActionPrimitiveFn<{
|
|
6545
|
-
body:
|
|
6546
|
-
intentId:
|
|
6547
|
-
emailCode:
|
|
6548
|
-
phoneCode:
|
|
6549
|
-
captchaToken:
|
|
6546
|
+
body: alepha1543.TObject<{
|
|
6547
|
+
intentId: alepha1543.TString;
|
|
6548
|
+
emailCode: alepha1543.TOptional<alepha1543.TString>;
|
|
6549
|
+
phoneCode: alepha1543.TOptional<alepha1543.TString>;
|
|
6550
|
+
captchaToken: alepha1543.TOptional<alepha1543.TString>;
|
|
6550
6551
|
}>;
|
|
6551
|
-
response:
|
|
6552
|
-
id: PgAttr<PgAttr<
|
|
6553
|
-
version: PgAttr<PgAttr<
|
|
6554
|
-
createdAt: PgAttr<PgAttr<
|
|
6555
|
-
updatedAt: PgAttr<PgAttr<
|
|
6556
|
-
realm: PgAttr<
|
|
6557
|
-
username:
|
|
6558
|
-
email:
|
|
6559
|
-
phoneNumber:
|
|
6560
|
-
roles: PgAttr<
|
|
6561
|
-
firstName:
|
|
6562
|
-
lastName:
|
|
6563
|
-
picture:
|
|
6564
|
-
enabled: PgAttr<
|
|
6565
|
-
emailVerified: PgAttr<
|
|
6552
|
+
response: alepha1543.TObject<{
|
|
6553
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6554
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6555
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6556
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6557
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
6558
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6559
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6560
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6561
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
6562
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6563
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6564
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6565
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6566
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6566
6567
|
}>;
|
|
6567
6568
|
}>;
|
|
6568
6569
|
/**
|
|
6569
6570
|
* Update a user.
|
|
6570
6571
|
*/
|
|
6571
6572
|
readonly updateUser: ActionPrimitiveFn<{
|
|
6572
|
-
params:
|
|
6573
|
-
id:
|
|
6573
|
+
params: alepha1543.TObject<{
|
|
6574
|
+
id: alepha1543.TString;
|
|
6574
6575
|
}>;
|
|
6575
|
-
query:
|
|
6576
|
-
userRealmName:
|
|
6576
|
+
query: alepha1543.TObject<{
|
|
6577
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6577
6578
|
}>;
|
|
6578
|
-
body:
|
|
6579
|
-
email:
|
|
6580
|
-
picture:
|
|
6581
|
-
roles:
|
|
6582
|
-
phoneNumber:
|
|
6583
|
-
firstName:
|
|
6584
|
-
lastName:
|
|
6585
|
-
enabled:
|
|
6586
|
-
realm:
|
|
6579
|
+
body: alepha1543.TObject<{
|
|
6580
|
+
email: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6581
|
+
picture: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6582
|
+
roles: alepha1543.TOptional<alepha1543.TArray<alepha1543.TString>>;
|
|
6583
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6584
|
+
firstName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6585
|
+
lastName: alepha1543.TOptional<alepha1543.TOptional<alepha1543.TString>>;
|
|
6586
|
+
enabled: alepha1543.TOptional<PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>>;
|
|
6587
|
+
realm: alepha1543.TOptional<PgAttr<alepha1543.TString, typeof PG_DEFAULT>>;
|
|
6587
6588
|
}>;
|
|
6588
|
-
response:
|
|
6589
|
-
id: PgAttr<PgAttr<
|
|
6590
|
-
version: PgAttr<PgAttr<
|
|
6591
|
-
createdAt: PgAttr<PgAttr<
|
|
6592
|
-
updatedAt: PgAttr<PgAttr<
|
|
6593
|
-
realm: PgAttr<
|
|
6594
|
-
username:
|
|
6595
|
-
email:
|
|
6596
|
-
phoneNumber:
|
|
6597
|
-
roles: PgAttr<
|
|
6598
|
-
firstName:
|
|
6599
|
-
lastName:
|
|
6600
|
-
picture:
|
|
6601
|
-
enabled: PgAttr<
|
|
6602
|
-
emailVerified: PgAttr<
|
|
6589
|
+
response: alepha1543.TObject<{
|
|
6590
|
+
id: PgAttr<PgAttr<alepha1543.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
6591
|
+
version: PgAttr<PgAttr<alepha1543.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
6592
|
+
createdAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
6593
|
+
updatedAt: PgAttr<PgAttr<alepha1543.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
6594
|
+
realm: PgAttr<alepha1543.TString, typeof PG_DEFAULT>;
|
|
6595
|
+
username: alepha1543.TOptional<alepha1543.TString>;
|
|
6596
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6597
|
+
phoneNumber: alepha1543.TOptional<alepha1543.TString>;
|
|
6598
|
+
roles: PgAttr<alepha1543.TArray<alepha1543.TString>, typeof PG_DEFAULT>;
|
|
6599
|
+
firstName: alepha1543.TOptional<alepha1543.TString>;
|
|
6600
|
+
lastName: alepha1543.TOptional<alepha1543.TString>;
|
|
6601
|
+
picture: alepha1543.TOptional<alepha1543.TString>;
|
|
6602
|
+
enabled: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6603
|
+
emailVerified: PgAttr<alepha1543.TBoolean, typeof PG_DEFAULT>;
|
|
6603
6604
|
}>;
|
|
6604
6605
|
}>;
|
|
6605
6606
|
/**
|
|
6606
6607
|
* Delete a user.
|
|
6607
6608
|
*/
|
|
6608
6609
|
readonly deleteUser: ActionPrimitiveFn<{
|
|
6609
|
-
params:
|
|
6610
|
-
id:
|
|
6610
|
+
params: alepha1543.TObject<{
|
|
6611
|
+
id: alepha1543.TString;
|
|
6611
6612
|
}>;
|
|
6612
|
-
query:
|
|
6613
|
-
userRealmName:
|
|
6613
|
+
query: alepha1543.TObject<{
|
|
6614
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6614
6615
|
}>;
|
|
6615
|
-
response:
|
|
6616
|
-
ok:
|
|
6617
|
-
id:
|
|
6618
|
-
count:
|
|
6616
|
+
response: alepha1543.TObject<{
|
|
6617
|
+
ok: alepha1543.TBoolean;
|
|
6618
|
+
id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
|
|
6619
|
+
count: alepha1543.TOptional<alepha1543.TNumber>;
|
|
6619
6620
|
}>;
|
|
6620
6621
|
}>;
|
|
6621
6622
|
/**
|
|
@@ -6623,15 +6624,15 @@ declare class UserController {
|
|
|
6623
6624
|
* Validates email, sends verification code, and stores intent in cache.
|
|
6624
6625
|
*/
|
|
6625
6626
|
readonly createPasswordResetIntent: ActionPrimitiveFn<{
|
|
6626
|
-
query:
|
|
6627
|
-
userRealmName:
|
|
6627
|
+
query: alepha1543.TObject<{
|
|
6628
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6628
6629
|
}>;
|
|
6629
|
-
body:
|
|
6630
|
-
email:
|
|
6630
|
+
body: alepha1543.TObject<{
|
|
6631
|
+
email: alepha1543.TString;
|
|
6631
6632
|
}>;
|
|
6632
|
-
response:
|
|
6633
|
-
intentId:
|
|
6634
|
-
expiresAt:
|
|
6633
|
+
response: alepha1543.TObject<{
|
|
6634
|
+
intentId: alepha1543.TString;
|
|
6635
|
+
expiresAt: alepha1543.TString;
|
|
6635
6636
|
}>;
|
|
6636
6637
|
}>;
|
|
6637
6638
|
/**
|
|
@@ -6639,61 +6640,61 @@ declare class UserController {
|
|
|
6639
6640
|
* Validates verification code, updates password, and invalidates sessions.
|
|
6640
6641
|
*/
|
|
6641
6642
|
readonly completePasswordReset: ActionPrimitiveFn<{
|
|
6642
|
-
body:
|
|
6643
|
-
intentId:
|
|
6644
|
-
code:
|
|
6645
|
-
newPassword:
|
|
6643
|
+
body: alepha1543.TObject<{
|
|
6644
|
+
intentId: alepha1543.TString;
|
|
6645
|
+
code: alepha1543.TString;
|
|
6646
|
+
newPassword: alepha1543.TString;
|
|
6646
6647
|
}>;
|
|
6647
|
-
response:
|
|
6648
|
-
ok:
|
|
6649
|
-
id:
|
|
6650
|
-
count:
|
|
6648
|
+
response: alepha1543.TObject<{
|
|
6649
|
+
ok: alepha1543.TBoolean;
|
|
6650
|
+
id: alepha1543.TOptional<alepha1543.TUnion<[alepha1543.TString, alepha1543.TInteger]>>;
|
|
6651
|
+
count: alepha1543.TOptional<alepha1543.TNumber>;
|
|
6651
6652
|
}>;
|
|
6652
6653
|
}>;
|
|
6653
6654
|
/**
|
|
6654
6655
|
* @deprecated Use createPasswordResetIntent instead
|
|
6655
6656
|
*/
|
|
6656
6657
|
requestPasswordReset: ActionPrimitiveFn<{
|
|
6657
|
-
query:
|
|
6658
|
-
userRealmName:
|
|
6658
|
+
query: alepha1543.TObject<{
|
|
6659
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6659
6660
|
}>;
|
|
6660
|
-
body:
|
|
6661
|
-
email:
|
|
6661
|
+
body: alepha1543.TObject<{
|
|
6662
|
+
email: alepha1543.TString;
|
|
6662
6663
|
}>;
|
|
6663
|
-
response:
|
|
6664
|
-
success:
|
|
6665
|
-
message:
|
|
6664
|
+
response: alepha1543.TObject<{
|
|
6665
|
+
success: alepha1543.TBoolean;
|
|
6666
|
+
message: alepha1543.TString;
|
|
6666
6667
|
}>;
|
|
6667
6668
|
}>;
|
|
6668
6669
|
/**
|
|
6669
6670
|
* @deprecated Use completePasswordReset instead
|
|
6670
6671
|
*/
|
|
6671
6672
|
validateResetToken: ActionPrimitiveFn<{
|
|
6672
|
-
query:
|
|
6673
|
-
email:
|
|
6674
|
-
token:
|
|
6675
|
-
userRealmName:
|
|
6673
|
+
query: alepha1543.TObject<{
|
|
6674
|
+
email: alepha1543.TString;
|
|
6675
|
+
token: alepha1543.TString;
|
|
6676
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6676
6677
|
}>;
|
|
6677
|
-
response:
|
|
6678
|
-
valid:
|
|
6679
|
-
email:
|
|
6678
|
+
response: alepha1543.TObject<{
|
|
6679
|
+
valid: alepha1543.TBoolean;
|
|
6680
|
+
email: alepha1543.TOptional<alepha1543.TString>;
|
|
6680
6681
|
}>;
|
|
6681
6682
|
}>;
|
|
6682
6683
|
/**
|
|
6683
6684
|
* @deprecated Use completePasswordReset instead
|
|
6684
6685
|
*/
|
|
6685
6686
|
resetPassword: ActionPrimitiveFn<{
|
|
6686
|
-
query:
|
|
6687
|
-
userRealmName:
|
|
6687
|
+
query: alepha1543.TObject<{
|
|
6688
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6688
6689
|
}>;
|
|
6689
|
-
body:
|
|
6690
|
-
email:
|
|
6691
|
-
token:
|
|
6692
|
-
newPassword:
|
|
6690
|
+
body: alepha1543.TObject<{
|
|
6691
|
+
email: alepha1543.TString;
|
|
6692
|
+
token: alepha1543.TString;
|
|
6693
|
+
newPassword: alepha1543.TString;
|
|
6693
6694
|
}>;
|
|
6694
|
-
response:
|
|
6695
|
-
success:
|
|
6696
|
-
message:
|
|
6695
|
+
response: alepha1543.TObject<{
|
|
6696
|
+
success: alepha1543.TBoolean;
|
|
6697
|
+
message: alepha1543.TString;
|
|
6697
6698
|
}>;
|
|
6698
6699
|
}>;
|
|
6699
6700
|
/**
|
|
@@ -6703,17 +6704,17 @@ declare class UserController {
|
|
|
6703
6704
|
* @param verifyUrl - Required when method is "link". The base URL for the verification link. Token and email will be appended as query params.
|
|
6704
6705
|
*/
|
|
6705
6706
|
requestEmailVerification: ActionPrimitiveFn<{
|
|
6706
|
-
query:
|
|
6707
|
-
userRealmName:
|
|
6708
|
-
method:
|
|
6709
|
-
verifyUrl:
|
|
6707
|
+
query: alepha1543.TObject<{
|
|
6708
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6709
|
+
method: alepha1543.TOptional<alepha1543.TUnsafe<"link" | "code">>;
|
|
6710
|
+
verifyUrl: alepha1543.TOptional<alepha1543.TString>;
|
|
6710
6711
|
}>;
|
|
6711
|
-
body:
|
|
6712
|
-
email:
|
|
6712
|
+
body: alepha1543.TObject<{
|
|
6713
|
+
email: alepha1543.TString;
|
|
6713
6714
|
}>;
|
|
6714
|
-
response:
|
|
6715
|
-
success:
|
|
6716
|
-
message:
|
|
6715
|
+
response: alepha1543.TObject<{
|
|
6716
|
+
success: alepha1543.TBoolean;
|
|
6717
|
+
message: alepha1543.TString;
|
|
6717
6718
|
}>;
|
|
6718
6719
|
}>;
|
|
6719
6720
|
/**
|
|
@@ -6721,33 +6722,33 @@ declare class UserController {
|
|
|
6721
6722
|
* Updates the user's emailVerified status.
|
|
6722
6723
|
*/
|
|
6723
6724
|
verifyEmail: ActionPrimitiveFn<{
|
|
6724
|
-
query:
|
|
6725
|
-
userRealmName:
|
|
6725
|
+
query: alepha1543.TObject<{
|
|
6726
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6726
6727
|
}>;
|
|
6727
|
-
body:
|
|
6728
|
-
email:
|
|
6729
|
-
token:
|
|
6728
|
+
body: alepha1543.TObject<{
|
|
6729
|
+
email: alepha1543.TString;
|
|
6730
|
+
token: alepha1543.TString;
|
|
6730
6731
|
}>;
|
|
6731
|
-
response:
|
|
6732
|
-
success:
|
|
6733
|
-
message:
|
|
6732
|
+
response: alepha1543.TObject<{
|
|
6733
|
+
success: alepha1543.TBoolean;
|
|
6734
|
+
message: alepha1543.TString;
|
|
6734
6735
|
}>;
|
|
6735
6736
|
}>;
|
|
6736
6737
|
/**
|
|
6737
6738
|
* Check if an email is verified.
|
|
6738
6739
|
*/
|
|
6739
6740
|
checkEmailVerification: ActionPrimitiveFn<{
|
|
6740
|
-
query:
|
|
6741
|
-
email:
|
|
6742
|
-
userRealmName:
|
|
6741
|
+
query: alepha1543.TObject<{
|
|
6742
|
+
email: alepha1543.TString;
|
|
6743
|
+
userRealmName: alepha1543.TOptional<alepha1543.TString>;
|
|
6743
6744
|
}>;
|
|
6744
|
-
response:
|
|
6745
|
-
verified:
|
|
6745
|
+
response: alepha1543.TObject<{
|
|
6746
|
+
verified: alepha1543.TBoolean;
|
|
6746
6747
|
}>;
|
|
6747
6748
|
}>;
|
|
6748
6749
|
}
|
|
6749
6750
|
//#endregion
|
|
6750
|
-
//#region
|
|
6751
|
+
//#region ../../../alepha/src/api-users/primitives/$userRealm.d.ts
|
|
6751
6752
|
interface UserRealmOptions {
|
|
6752
6753
|
/**
|
|
6753
6754
|
* Secret key for signing tokens.
|
|
@@ -6781,7 +6782,7 @@ interface UserRealmOptions {
|
|
|
6781
6782
|
};
|
|
6782
6783
|
}
|
|
6783
6784
|
//#endregion
|
|
6784
|
-
//#region src/admin/AdminRouter.d.ts
|
|
6785
|
+
//#region ../../src/admin/AdminRouter.d.ts
|
|
6785
6786
|
declare class AdminRouter {
|
|
6786
6787
|
protected readonly router: ReactRouter<object>;
|
|
6787
6788
|
protected readonly authRouter: AuthRouter;
|
|
@@ -6802,67 +6803,72 @@ declare class AdminRouter {
|
|
|
6802
6803
|
readonly adminFiles: PagePrimitive<PageConfigSchema, any, {}>;
|
|
6803
6804
|
}
|
|
6804
6805
|
//#endregion
|
|
6805
|
-
//#region src/admin/
|
|
6806
|
+
//#region ../../src/admin/AdminSidebar.d.ts
|
|
6807
|
+
declare class AdminSidebar {
|
|
6808
|
+
menu: (router: ReactRouter<any>) => SidebarNode[];
|
|
6809
|
+
}
|
|
6810
|
+
//#endregion
|
|
6811
|
+
//#region ../../src/admin/components/AdminFiles.d.ts
|
|
6806
6812
|
declare const AdminFiles: () => react_jsx_runtime0.JSX.Element;
|
|
6807
6813
|
//#endregion
|
|
6808
|
-
//#region src/admin/components/AdminJobs.d.ts
|
|
6814
|
+
//#region ../../src/admin/components/AdminJobs.d.ts
|
|
6809
6815
|
declare const AdminJobs: () => react_jsx_runtime0.JSX.Element;
|
|
6810
6816
|
//#endregion
|
|
6811
|
-
//#region src/admin/components/AdminLayout.d.ts
|
|
6817
|
+
//#region ../../src/admin/components/AdminLayout.d.ts
|
|
6812
6818
|
declare const AdminLayout: () => react_jsx_runtime0.JSX.Element;
|
|
6813
6819
|
//#endregion
|
|
6814
|
-
//#region src/admin/components/AdminNotifications.d.ts
|
|
6820
|
+
//#region ../../src/admin/components/AdminNotifications.d.ts
|
|
6815
6821
|
declare const AdminNotifications: () => react_jsx_runtime0.JSX.Element;
|
|
6816
6822
|
//#endregion
|
|
6817
|
-
//#region src/admin/components/AdminParameters.d.ts
|
|
6823
|
+
//#region ../../src/admin/components/AdminParameters.d.ts
|
|
6818
6824
|
declare const AdminParameters: () => react_jsx_runtime0.JSX.Element;
|
|
6819
6825
|
//#endregion
|
|
6820
|
-
//#region src/admin/components/AdminSessions.d.ts
|
|
6826
|
+
//#region ../../src/admin/components/AdminSessions.d.ts
|
|
6821
6827
|
interface AdminSessionsProps {
|
|
6822
6828
|
userRealmName?: string;
|
|
6823
6829
|
}
|
|
6824
6830
|
declare const AdminSessions: (props: AdminSessionsProps) => react_jsx_runtime0.JSX.Element;
|
|
6825
6831
|
//#endregion
|
|
6826
|
-
//#region src/admin/components/AdminUserCreate.d.ts
|
|
6832
|
+
//#region ../../src/admin/components/AdminUserCreate.d.ts
|
|
6827
6833
|
interface AdminUserCreateProps {
|
|
6828
6834
|
userRealmName?: string;
|
|
6829
6835
|
}
|
|
6830
6836
|
declare const AdminUserCreate: (props: AdminUserCreateProps) => react_jsx_runtime0.JSX.Element;
|
|
6831
6837
|
//#endregion
|
|
6832
|
-
//#region src/admin/components/AdminUserDetails.d.ts
|
|
6838
|
+
//#region ../../src/admin/components/AdminUserDetails.d.ts
|
|
6833
6839
|
interface AdminUserDetailsProps {
|
|
6834
6840
|
userRealmName?: string;
|
|
6835
6841
|
}
|
|
6836
6842
|
declare const AdminUserDetails: (props: AdminUserDetailsProps) => react_jsx_runtime0.JSX.Element;
|
|
6837
6843
|
//#endregion
|
|
6838
|
-
//#region src/admin/components/AdminUserLayout.d.ts
|
|
6844
|
+
//#region ../../src/admin/components/AdminUserLayout.d.ts
|
|
6839
6845
|
interface AdminUserLayoutProps {
|
|
6840
6846
|
userRealmName?: string;
|
|
6841
6847
|
}
|
|
6842
6848
|
declare const AdminUserLayout: (props: AdminUserLayoutProps) => react_jsx_runtime0.JSX.Element;
|
|
6843
6849
|
//#endregion
|
|
6844
|
-
//#region src/admin/components/AdminUserSessions.d.ts
|
|
6850
|
+
//#region ../../src/admin/components/AdminUserSessions.d.ts
|
|
6845
6851
|
interface AdminUserSessionsProps {
|
|
6846
6852
|
userRealmName?: string;
|
|
6847
6853
|
}
|
|
6848
6854
|
declare const AdminUserSessions: (props: AdminUserSessionsProps) => react_jsx_runtime0.JSX.Element;
|
|
6849
6855
|
//#endregion
|
|
6850
|
-
//#region src/admin/components/AdminUserSettings.d.ts
|
|
6856
|
+
//#region ../../src/admin/components/AdminUserSettings.d.ts
|
|
6851
6857
|
interface AdminUserSettingsProps {
|
|
6852
6858
|
userRealmName?: string;
|
|
6853
6859
|
}
|
|
6854
6860
|
declare const AdminUserSettings: (props: AdminUserSettingsProps) => react_jsx_runtime0.JSX.Element;
|
|
6855
6861
|
//#endregion
|
|
6856
|
-
//#region src/admin/components/AdminUsers.d.ts
|
|
6862
|
+
//#region ../../src/admin/components/AdminUsers.d.ts
|
|
6857
6863
|
interface AdminUsersProps {
|
|
6858
6864
|
userRealmName?: string;
|
|
6859
6865
|
}
|
|
6860
6866
|
declare const AdminUsers: (props: AdminUsersProps) => react_jsx_runtime0.JSX.Element;
|
|
6861
6867
|
//#endregion
|
|
6862
|
-
//#region src/admin/components/AdminVerifications.d.ts
|
|
6868
|
+
//#region ../../src/admin/components/AdminVerifications.d.ts
|
|
6863
6869
|
declare const AdminVerifications: () => react_jsx_runtime0.JSX.Element;
|
|
6864
6870
|
//#endregion
|
|
6865
|
-
//#region src/admin/MainRouter.d.ts
|
|
6871
|
+
//#region ../../src/admin/MainRouter.d.ts
|
|
6866
6872
|
/**
|
|
6867
6873
|
* Main application router that combines Auth and Admin routers.
|
|
6868
6874
|
*
|
|
@@ -6877,13 +6883,13 @@ declare class MainRouter {
|
|
|
6877
6883
|
layout: PagePrimitive<PageConfigSchema, any, TPropsParentDefault>;
|
|
6878
6884
|
}
|
|
6879
6885
|
//#endregion
|
|
6880
|
-
//#region src/admin/index.d.ts
|
|
6886
|
+
//#region ../../src/admin/index.d.ts
|
|
6881
6887
|
/**
|
|
6882
6888
|
* Admin panel UI Module
|
|
6883
6889
|
*
|
|
6884
6890
|
* @module alepha.ui.admin
|
|
6885
6891
|
*/
|
|
6886
|
-
declare const AlephaUIAdmin:
|
|
6892
|
+
declare const AlephaUIAdmin: alepha1543.Service<alepha1543.Module>;
|
|
6887
6893
|
//#endregion
|
|
6888
|
-
export { AdminFiles, AdminJobs, AdminLayout, AdminNotifications, AdminParameters, AdminRouter, AdminSessions, AdminUserCreate, AdminUserDetails, AdminUserLayout, AdminUserSessions, AdminUserSettings, AdminUsers, AdminVerifications, AlephaUIAdmin, MainRouter };
|
|
6894
|
+
export { AdminFiles, AdminJobs, AdminLayout, AdminNotifications, AdminParameters, AdminRouter, AdminSessions, AdminSidebar, AdminUserCreate, AdminUserDetails, AdminUserLayout, AdminUserSessions, AdminUserSettings, AdminUsers, AdminVerifications, AlephaUIAdmin, MainRouter };
|
|
6889
6895
|
//# sourceMappingURL=index.d.ts.map
|