@alepha/ui 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/index.d.cts +70 -70
- package/dist/admin/index.d.ts +70 -70
- package/dist/auth/index.d.cts +408 -408
- package/dist/auth/index.d.ts +408 -408
- package/dist/core/index.d.cts +22 -22
- package/dist/core/index.d.ts +92 -92
- package/package.json +3 -3
package/dist/admin/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as alepha62 from "alepha";
|
|
2
2
|
import { Alepha, AlephaError, Async, Descriptor, FileLike, InstantiableClass, LogLevel, LoggerInterface, Static, StreamLike, TArray, TFile, TObject, TRecord, TSchema, TStream, TString, TVoid } from "alepha";
|
|
3
3
|
import { IncomingMessage, Server, ServerResponse } from "node:http";
|
|
4
4
|
import dayjsDuration from "dayjs/plugin/duration.js";
|
|
@@ -9,15 +9,15 @@ import { FC, ReactNode } from "react";
|
|
|
9
9
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
10
10
|
|
|
11
11
|
//#region ../alepha/src/logger/schemas/logEntrySchema.d.ts
|
|
12
|
-
declare const logEntrySchema:
|
|
13
|
-
level:
|
|
14
|
-
message:
|
|
15
|
-
service:
|
|
16
|
-
module:
|
|
17
|
-
context:
|
|
18
|
-
app:
|
|
19
|
-
data:
|
|
20
|
-
timestamp:
|
|
12
|
+
declare const logEntrySchema: alepha62.TObject<{
|
|
13
|
+
level: alepha62.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
14
|
+
message: alepha62.TString;
|
|
15
|
+
service: alepha62.TString;
|
|
16
|
+
module: alepha62.TString;
|
|
17
|
+
context: alepha62.TOptional<alepha62.TString>;
|
|
18
|
+
app: alepha62.TOptional<alepha62.TString>;
|
|
19
|
+
data: alepha62.TOptional<alepha62.TAny>;
|
|
20
|
+
timestamp: alepha62.TNumber;
|
|
21
21
|
}>;
|
|
22
22
|
type LogEntry = Static<typeof logEntrySchema>;
|
|
23
23
|
//#endregion
|
|
@@ -32,8 +32,8 @@ declare class DateTimeProvider {
|
|
|
32
32
|
protected readonly timeouts: Timeout[];
|
|
33
33
|
protected readonly intervals: Interval[];
|
|
34
34
|
constructor();
|
|
35
|
-
protected readonly onStart:
|
|
36
|
-
protected readonly onStop:
|
|
35
|
+
protected readonly onStart: alepha62.HookDescriptor<"start">;
|
|
36
|
+
protected readonly onStop: alepha62.HookDescriptor<"stop">;
|
|
37
37
|
setLocale(locale: string): void;
|
|
38
38
|
isDateTime(value: unknown): value is DateTime;
|
|
39
39
|
/**
|
|
@@ -165,7 +165,7 @@ declare class Logger implements LoggerInterface {
|
|
|
165
165
|
}
|
|
166
166
|
//#endregion
|
|
167
167
|
//#region ../alepha/src/logger/index.d.ts
|
|
168
|
-
declare const envSchema$6:
|
|
168
|
+
declare const envSchema$6: alepha62.TObject<{
|
|
169
169
|
/**
|
|
170
170
|
* Default log level for the application.
|
|
171
171
|
*
|
|
@@ -182,14 +182,14 @@ declare const envSchema$6: alepha80.TObject<{
|
|
|
182
182
|
* LOG_LEVEL=my.module.name:debug,info # Set debug level for my.module.name and info for all other modules
|
|
183
183
|
* LOG_LEVEL=alepha:trace, info # Set trace level for all alepha modules and info for all other modules
|
|
184
184
|
*/
|
|
185
|
-
LOG_LEVEL:
|
|
185
|
+
LOG_LEVEL: alepha62.TOptional<alepha62.TString>;
|
|
186
186
|
/**
|
|
187
187
|
* Built-in log formats.
|
|
188
188
|
* - "json" - JSON format, useful for structured logging and log aggregation. {@link JsonFormatterProvider}
|
|
189
189
|
* - "pretty" - Simple text format, human-readable, with colors. {@link SimpleFormatterProvider}
|
|
190
190
|
* - "raw" - Raw format, no formatting, just the message. {@link RawFormatterProvider}
|
|
191
191
|
*/
|
|
192
|
-
LOG_FORMAT:
|
|
192
|
+
LOG_FORMAT: alepha62.TOptional<alepha62.TUnsafe<"json" | "pretty" | "raw">>;
|
|
193
193
|
}>;
|
|
194
194
|
declare module "alepha" {
|
|
195
195
|
interface Env extends Partial<Static<typeof envSchema$6>> {}
|
|
@@ -440,8 +440,8 @@ declare class ServerTimingProvider {
|
|
|
440
440
|
prefix: string;
|
|
441
441
|
disabled: boolean;
|
|
442
442
|
};
|
|
443
|
-
readonly onRequest:
|
|
444
|
-
readonly onResponse:
|
|
443
|
+
readonly onRequest: alepha62.HookDescriptor<"server:onRequest">;
|
|
444
|
+
readonly onResponse: alepha62.HookDescriptor<"server:onResponse">;
|
|
445
445
|
protected get handlerName(): string;
|
|
446
446
|
beginTiming(name: string): void;
|
|
447
447
|
endTiming(name: string): void;
|
|
@@ -505,11 +505,11 @@ declare class ServerProvider {
|
|
|
505
505
|
/**
|
|
506
506
|
* When a Node.js HTTP request is received from outside. (Vercel, AWS Lambda, etc.)
|
|
507
507
|
*/
|
|
508
|
-
protected readonly onNodeRequest:
|
|
508
|
+
protected readonly onNodeRequest: alepha62.HookDescriptor<"node:request">;
|
|
509
509
|
/**
|
|
510
510
|
* When a Web (Fetch API) request is received from outside. (Netlify, Cloudflare Workers, etc.)
|
|
511
511
|
*/
|
|
512
|
-
protected readonly onWebRequest:
|
|
512
|
+
protected readonly onWebRequest: alepha62.HookDescriptor<"web:request">;
|
|
513
513
|
/**
|
|
514
514
|
* Handle Node.js HTTP request event.
|
|
515
515
|
*
|
|
@@ -844,15 +844,15 @@ type ServerActionHandler<TConfig extends RequestConfigSchema = RequestConfigSche
|
|
|
844
844
|
interface ServerActionRequest<TConfig extends RequestConfigSchema> extends ServerRequest<TConfig> {}
|
|
845
845
|
//#endregion
|
|
846
846
|
//#region ../alepha/src/server/schemas/errorSchema.d.ts
|
|
847
|
-
declare const errorSchema:
|
|
848
|
-
error:
|
|
849
|
-
status:
|
|
850
|
-
message:
|
|
851
|
-
details:
|
|
852
|
-
requestId:
|
|
853
|
-
cause:
|
|
854
|
-
name:
|
|
855
|
-
message:
|
|
847
|
+
declare const errorSchema: alepha62.TObject<{
|
|
848
|
+
error: alepha62.TString;
|
|
849
|
+
status: alepha62.TInteger;
|
|
850
|
+
message: alepha62.TString;
|
|
851
|
+
details: alepha62.TOptional<alepha62.TString>;
|
|
852
|
+
requestId: alepha62.TOptional<alepha62.TString>;
|
|
853
|
+
cause: alepha62.TOptional<alepha62.TObject<{
|
|
854
|
+
name: alepha62.TString;
|
|
855
|
+
message: alepha62.TString;
|
|
856
856
|
}>>;
|
|
857
857
|
}>;
|
|
858
858
|
type ErrorSchema = Static<typeof errorSchema>;
|
|
@@ -877,18 +877,18 @@ interface HttpErrorLike extends Error {
|
|
|
877
877
|
}
|
|
878
878
|
//#endregion
|
|
879
879
|
//#region ../alepha/src/server/providers/BunHttpServerProvider.d.ts
|
|
880
|
-
declare const envSchema$5:
|
|
881
|
-
SERVER_PORT:
|
|
882
|
-
SERVER_HOST:
|
|
880
|
+
declare const envSchema$5: alepha62.TObject<{
|
|
881
|
+
SERVER_PORT: alepha62.TInteger;
|
|
882
|
+
SERVER_HOST: alepha62.TString;
|
|
883
883
|
}>;
|
|
884
884
|
declare module "alepha" {
|
|
885
885
|
interface Env extends Partial<Static<typeof envSchema$5>> {}
|
|
886
886
|
}
|
|
887
887
|
//#endregion
|
|
888
888
|
//#region ../alepha/src/server/providers/NodeHttpServerProvider.d.ts
|
|
889
|
-
declare const envSchema$4:
|
|
890
|
-
SERVER_PORT:
|
|
891
|
-
SERVER_HOST:
|
|
889
|
+
declare const envSchema$4: alepha62.TObject<{
|
|
890
|
+
SERVER_PORT: alepha62.TInteger;
|
|
891
|
+
SERVER_HOST: alepha62.TString;
|
|
892
892
|
}>;
|
|
893
893
|
declare module "alepha" {
|
|
894
894
|
interface Env extends Partial<Static<typeof envSchema$4>> {}
|
|
@@ -1065,8 +1065,8 @@ declare class Redirection extends Error {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
//#endregion
|
|
1067
1067
|
//#region ../react/src/core/providers/ReactPageProvider.d.ts
|
|
1068
|
-
declare const envSchema$3:
|
|
1069
|
-
REACT_STRICT_MODE:
|
|
1068
|
+
declare const envSchema$3: alepha62.TObject<{
|
|
1069
|
+
REACT_STRICT_MODE: alepha62.TBoolean;
|
|
1070
1070
|
}>;
|
|
1071
1071
|
declare module "alepha" {
|
|
1072
1072
|
interface Env extends Partial<Static<typeof envSchema$3>> {}
|
|
@@ -1363,15 +1363,15 @@ type CssAnimation = {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
//#endregion
|
|
1365
1365
|
//#region ../alepha/src/security/schemas/userAccountInfoSchema.d.ts
|
|
1366
|
-
declare const userAccountInfoSchema:
|
|
1367
|
-
id:
|
|
1368
|
-
name:
|
|
1369
|
-
email:
|
|
1370
|
-
username:
|
|
1371
|
-
picture:
|
|
1372
|
-
sessionId:
|
|
1373
|
-
organizations:
|
|
1374
|
-
roles:
|
|
1366
|
+
declare const userAccountInfoSchema: alepha62.TObject<{
|
|
1367
|
+
id: alepha62.TString;
|
|
1368
|
+
name: alepha62.TOptional<alepha62.TString>;
|
|
1369
|
+
email: alepha62.TOptional<alepha62.TString>;
|
|
1370
|
+
username: alepha62.TOptional<alepha62.TString>;
|
|
1371
|
+
picture: alepha62.TOptional<alepha62.TString>;
|
|
1372
|
+
sessionId: alepha62.TOptional<alepha62.TString>;
|
|
1373
|
+
organizations: alepha62.TOptional<alepha62.TArray<alepha62.TString>>;
|
|
1374
|
+
roles: alepha62.TOptional<alepha62.TArray<alepha62.TString>>;
|
|
1375
1375
|
}>;
|
|
1376
1376
|
type UserAccount = Static<typeof userAccountInfoSchema>;
|
|
1377
1377
|
//#endregion
|
|
@@ -1397,8 +1397,8 @@ interface UserAccountToken extends UserAccount {
|
|
|
1397
1397
|
}
|
|
1398
1398
|
//#endregion
|
|
1399
1399
|
//#region ../alepha/src/security/providers/SecurityProvider.d.ts
|
|
1400
|
-
declare const envSchema$2:
|
|
1401
|
-
APP_SECRET:
|
|
1400
|
+
declare const envSchema$2: alepha62.TObject<{
|
|
1401
|
+
APP_SECRET: alepha62.TString;
|
|
1402
1402
|
}>;
|
|
1403
1403
|
declare module "alepha" {
|
|
1404
1404
|
interface Env extends Partial<Static<typeof envSchema$2>> {}
|
|
@@ -1491,15 +1491,15 @@ declare module "alepha/server" {
|
|
|
1491
1491
|
*/
|
|
1492
1492
|
//#endregion
|
|
1493
1493
|
//#region ../alepha/src/server-links/schemas/apiLinksResponseSchema.d.ts
|
|
1494
|
-
declare const apiLinksResponseSchema:
|
|
1495
|
-
prefix:
|
|
1496
|
-
links:
|
|
1497
|
-
name:
|
|
1498
|
-
group:
|
|
1499
|
-
path:
|
|
1500
|
-
method:
|
|
1501
|
-
requestBodyType:
|
|
1502
|
-
service:
|
|
1494
|
+
declare const apiLinksResponseSchema: alepha62.TObject<{
|
|
1495
|
+
prefix: alepha62.TOptional<alepha62.TString>;
|
|
1496
|
+
links: alepha62.TArray<alepha62.TObject<{
|
|
1497
|
+
name: alepha62.TString;
|
|
1498
|
+
group: alepha62.TOptional<alepha62.TString>;
|
|
1499
|
+
path: alepha62.TString;
|
|
1500
|
+
method: alepha62.TOptional<alepha62.TString>;
|
|
1501
|
+
requestBodyType: alepha62.TOptional<alepha62.TString>;
|
|
1502
|
+
service: alepha62.TOptional<alepha62.TString>;
|
|
1503
1503
|
}>>;
|
|
1504
1504
|
}>;
|
|
1505
1505
|
type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
|
|
@@ -1529,8 +1529,8 @@ declare module "alepha" {
|
|
|
1529
1529
|
*/
|
|
1530
1530
|
//#endregion
|
|
1531
1531
|
//#region ../react/src/core/providers/ReactBrowserProvider.d.ts
|
|
1532
|
-
declare const envSchema$1:
|
|
1533
|
-
REACT_ROOT_ID:
|
|
1532
|
+
declare const envSchema$1: alepha62.TObject<{
|
|
1533
|
+
REACT_ROOT_ID: alepha62.TString;
|
|
1534
1534
|
}>;
|
|
1535
1535
|
declare module "alepha" {
|
|
1536
1536
|
interface Env extends Partial<Static<typeof envSchema$1>> {}
|
|
@@ -1538,8 +1538,8 @@ declare module "alepha" {
|
|
|
1538
1538
|
/**
|
|
1539
1539
|
* React browser renderer configuration atom
|
|
1540
1540
|
*/
|
|
1541
|
-
declare const reactBrowserOptions:
|
|
1542
|
-
scrollRestoration:
|
|
1541
|
+
declare const reactBrowserOptions: alepha62.Atom<alepha62.TObject<{
|
|
1542
|
+
scrollRestoration: alepha62.TUnsafe<"top" | "manual">;
|
|
1543
1543
|
}>, "alepha.react.browser.options">;
|
|
1544
1544
|
type ReactBrowserRendererOptions = Static<typeof reactBrowserOptions.schema>;
|
|
1545
1545
|
declare module "alepha" {
|
|
@@ -1554,10 +1554,10 @@ type ReactHydrationState = {
|
|
|
1554
1554
|
};
|
|
1555
1555
|
//#endregion
|
|
1556
1556
|
//#region ../react/src/core/providers/ReactServerProvider.d.ts
|
|
1557
|
-
declare const envSchema:
|
|
1558
|
-
REACT_SSR_ENABLED:
|
|
1559
|
-
REACT_ROOT_ID:
|
|
1560
|
-
REACT_SERVER_TEMPLATE:
|
|
1557
|
+
declare const envSchema: alepha62.TObject<{
|
|
1558
|
+
REACT_SSR_ENABLED: alepha62.TOptional<alepha62.TBoolean>;
|
|
1559
|
+
REACT_ROOT_ID: alepha62.TString;
|
|
1560
|
+
REACT_SERVER_TEMPLATE: alepha62.TOptional<alepha62.TString>;
|
|
1561
1561
|
}>;
|
|
1562
1562
|
declare module "alepha" {
|
|
1563
1563
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
@@ -1568,11 +1568,11 @@ declare module "alepha" {
|
|
|
1568
1568
|
/**
|
|
1569
1569
|
* React server provider configuration atom
|
|
1570
1570
|
*/
|
|
1571
|
-
declare const reactServerOptions:
|
|
1572
|
-
publicDir:
|
|
1573
|
-
staticServer:
|
|
1574
|
-
disabled:
|
|
1575
|
-
path:
|
|
1571
|
+
declare const reactServerOptions: alepha62.Atom<alepha62.TObject<{
|
|
1572
|
+
publicDir: alepha62.TString;
|
|
1573
|
+
staticServer: alepha62.TObject<{
|
|
1574
|
+
disabled: alepha62.TBoolean;
|
|
1575
|
+
path: alepha62.TString;
|
|
1576
1576
|
}>;
|
|
1577
1577
|
}>, "alepha.react.server.options">;
|
|
1578
1578
|
type ReactServerProviderOptions = Static<typeof reactServerOptions.schema>;
|
|
@@ -1733,7 +1733,7 @@ declare const AdminVerifications: () => react_jsx_runtime0.JSX.Element;
|
|
|
1733
1733
|
*
|
|
1734
1734
|
* @module alepha.ui.admin
|
|
1735
1735
|
*/
|
|
1736
|
-
declare const AlephaUIAdmin:
|
|
1736
|
+
declare const AlephaUIAdmin: alepha62.Service<alepha62.Module>;
|
|
1737
1737
|
//#endregion
|
|
1738
1738
|
export { AdminFiles, AdminJobs, AdminLayout, AdminNotifications, AdminParameters, AdminRouter, AdminSessions, type AdminSessionsProps, AdminUsers, type AdminUsersProps, AdminVerifications, AlephaUIAdmin };
|
|
1739
1739
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/admin/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as alepha82 from "alepha";
|
|
2
2
|
import { Alepha, AlephaError, Async, Descriptor, FileLike, InstantiableClass, LogLevel, LoggerInterface, Static, StreamLike, TArray, TFile, TObject, TRecord, TSchema, TStream, TString, TVoid } from "alepha";
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { FC, ReactNode } from "react";
|
|
@@ -15,15 +15,15 @@ import { Readable } from "node:stream";
|
|
|
15
15
|
import { ReadableStream } from "node:stream/web";
|
|
16
16
|
|
|
17
17
|
//#region ../alepha/src/logger/schemas/logEntrySchema.d.ts
|
|
18
|
-
declare const logEntrySchema:
|
|
19
|
-
level:
|
|
20
|
-
message:
|
|
21
|
-
service:
|
|
22
|
-
module:
|
|
23
|
-
context:
|
|
24
|
-
app:
|
|
25
|
-
data:
|
|
26
|
-
timestamp:
|
|
18
|
+
declare const logEntrySchema: alepha82.TObject<{
|
|
19
|
+
level: alepha82.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
20
|
+
message: alepha82.TString;
|
|
21
|
+
service: alepha82.TString;
|
|
22
|
+
module: alepha82.TString;
|
|
23
|
+
context: alepha82.TOptional<alepha82.TString>;
|
|
24
|
+
app: alepha82.TOptional<alepha82.TString>;
|
|
25
|
+
data: alepha82.TOptional<alepha82.TAny>;
|
|
26
|
+
timestamp: alepha82.TNumber;
|
|
27
27
|
}>;
|
|
28
28
|
type LogEntry = Static<typeof logEntrySchema>;
|
|
29
29
|
//#endregion
|
|
@@ -38,8 +38,8 @@ declare class DateTimeProvider {
|
|
|
38
38
|
protected readonly timeouts: Timeout[];
|
|
39
39
|
protected readonly intervals: Interval[];
|
|
40
40
|
constructor();
|
|
41
|
-
protected readonly onStart:
|
|
42
|
-
protected readonly onStop:
|
|
41
|
+
protected readonly onStart: alepha82.HookDescriptor<"start">;
|
|
42
|
+
protected readonly onStop: alepha82.HookDescriptor<"stop">;
|
|
43
43
|
setLocale(locale: string): void;
|
|
44
44
|
isDateTime(value: unknown): value is DateTime;
|
|
45
45
|
/**
|
|
@@ -171,7 +171,7 @@ declare class Logger implements LoggerInterface {
|
|
|
171
171
|
}
|
|
172
172
|
//#endregion
|
|
173
173
|
//#region ../alepha/src/logger/index.d.ts
|
|
174
|
-
declare const envSchema$6:
|
|
174
|
+
declare const envSchema$6: alepha82.TObject<{
|
|
175
175
|
/**
|
|
176
176
|
* Default log level for the application.
|
|
177
177
|
*
|
|
@@ -188,14 +188,14 @@ declare const envSchema$6: alepha89.TObject<{
|
|
|
188
188
|
* LOG_LEVEL=my.module.name:debug,info # Set debug level for my.module.name and info for all other modules
|
|
189
189
|
* LOG_LEVEL=alepha:trace, info # Set trace level for all alepha modules and info for all other modules
|
|
190
190
|
*/
|
|
191
|
-
LOG_LEVEL:
|
|
191
|
+
LOG_LEVEL: alepha82.TOptional<alepha82.TString>;
|
|
192
192
|
/**
|
|
193
193
|
* Built-in log formats.
|
|
194
194
|
* - "json" - JSON format, useful for structured logging and log aggregation. {@link JsonFormatterProvider}
|
|
195
195
|
* - "pretty" - Simple text format, human-readable, with colors. {@link SimpleFormatterProvider}
|
|
196
196
|
* - "raw" - Raw format, no formatting, just the message. {@link RawFormatterProvider}
|
|
197
197
|
*/
|
|
198
|
-
LOG_FORMAT:
|
|
198
|
+
LOG_FORMAT: alepha82.TOptional<alepha82.TUnsafe<"json" | "pretty" | "raw">>;
|
|
199
199
|
}>;
|
|
200
200
|
declare module "alepha" {
|
|
201
201
|
interface Env extends Partial<Static<typeof envSchema$6>> {}
|
|
@@ -446,8 +446,8 @@ declare class ServerTimingProvider {
|
|
|
446
446
|
prefix: string;
|
|
447
447
|
disabled: boolean;
|
|
448
448
|
};
|
|
449
|
-
readonly onRequest:
|
|
450
|
-
readonly onResponse:
|
|
449
|
+
readonly onRequest: alepha82.HookDescriptor<"server:onRequest">;
|
|
450
|
+
readonly onResponse: alepha82.HookDescriptor<"server:onResponse">;
|
|
451
451
|
protected get handlerName(): string;
|
|
452
452
|
beginTiming(name: string): void;
|
|
453
453
|
endTiming(name: string): void;
|
|
@@ -511,11 +511,11 @@ declare class ServerProvider {
|
|
|
511
511
|
/**
|
|
512
512
|
* When a Node.js HTTP request is received from outside. (Vercel, AWS Lambda, etc.)
|
|
513
513
|
*/
|
|
514
|
-
protected readonly onNodeRequest:
|
|
514
|
+
protected readonly onNodeRequest: alepha82.HookDescriptor<"node:request">;
|
|
515
515
|
/**
|
|
516
516
|
* When a Web (Fetch API) request is received from outside. (Netlify, Cloudflare Workers, etc.)
|
|
517
517
|
*/
|
|
518
|
-
protected readonly onWebRequest:
|
|
518
|
+
protected readonly onWebRequest: alepha82.HookDescriptor<"web:request">;
|
|
519
519
|
/**
|
|
520
520
|
* Handle Node.js HTTP request event.
|
|
521
521
|
*
|
|
@@ -850,15 +850,15 @@ type ServerActionHandler<TConfig extends RequestConfigSchema = RequestConfigSche
|
|
|
850
850
|
interface ServerActionRequest<TConfig extends RequestConfigSchema> extends ServerRequest<TConfig> {}
|
|
851
851
|
//#endregion
|
|
852
852
|
//#region ../alepha/src/server/schemas/errorSchema.d.ts
|
|
853
|
-
declare const errorSchema:
|
|
854
|
-
error:
|
|
855
|
-
status:
|
|
856
|
-
message:
|
|
857
|
-
details:
|
|
858
|
-
requestId:
|
|
859
|
-
cause:
|
|
860
|
-
name:
|
|
861
|
-
message:
|
|
853
|
+
declare const errorSchema: alepha82.TObject<{
|
|
854
|
+
error: alepha82.TString;
|
|
855
|
+
status: alepha82.TInteger;
|
|
856
|
+
message: alepha82.TString;
|
|
857
|
+
details: alepha82.TOptional<alepha82.TString>;
|
|
858
|
+
requestId: alepha82.TOptional<alepha82.TString>;
|
|
859
|
+
cause: alepha82.TOptional<alepha82.TObject<{
|
|
860
|
+
name: alepha82.TString;
|
|
861
|
+
message: alepha82.TString;
|
|
862
862
|
}>>;
|
|
863
863
|
}>;
|
|
864
864
|
type ErrorSchema = Static<typeof errorSchema>;
|
|
@@ -883,18 +883,18 @@ interface HttpErrorLike extends Error {
|
|
|
883
883
|
}
|
|
884
884
|
//#endregion
|
|
885
885
|
//#region ../alepha/src/server/providers/BunHttpServerProvider.d.ts
|
|
886
|
-
declare const envSchema$5:
|
|
887
|
-
SERVER_PORT:
|
|
888
|
-
SERVER_HOST:
|
|
886
|
+
declare const envSchema$5: alepha82.TObject<{
|
|
887
|
+
SERVER_PORT: alepha82.TInteger;
|
|
888
|
+
SERVER_HOST: alepha82.TString;
|
|
889
889
|
}>;
|
|
890
890
|
declare module "alepha" {
|
|
891
891
|
interface Env extends Partial<Static<typeof envSchema$5>> {}
|
|
892
892
|
}
|
|
893
893
|
//#endregion
|
|
894
894
|
//#region ../alepha/src/server/providers/NodeHttpServerProvider.d.ts
|
|
895
|
-
declare const envSchema$4:
|
|
896
|
-
SERVER_PORT:
|
|
897
|
-
SERVER_HOST:
|
|
895
|
+
declare const envSchema$4: alepha82.TObject<{
|
|
896
|
+
SERVER_PORT: alepha82.TInteger;
|
|
897
|
+
SERVER_HOST: alepha82.TString;
|
|
898
898
|
}>;
|
|
899
899
|
declare module "alepha" {
|
|
900
900
|
interface Env extends Partial<Static<typeof envSchema$4>> {}
|
|
@@ -1071,8 +1071,8 @@ declare class Redirection extends Error {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
//#endregion
|
|
1073
1073
|
//#region ../react/src/core/providers/ReactPageProvider.d.ts
|
|
1074
|
-
declare const envSchema$3:
|
|
1075
|
-
REACT_STRICT_MODE:
|
|
1074
|
+
declare const envSchema$3: alepha82.TObject<{
|
|
1075
|
+
REACT_STRICT_MODE: alepha82.TBoolean;
|
|
1076
1076
|
}>;
|
|
1077
1077
|
declare module "alepha" {
|
|
1078
1078
|
interface Env extends Partial<Static<typeof envSchema$3>> {}
|
|
@@ -1369,15 +1369,15 @@ type CssAnimation = {
|
|
|
1369
1369
|
};
|
|
1370
1370
|
//#endregion
|
|
1371
1371
|
//#region ../alepha/src/security/schemas/userAccountInfoSchema.d.ts
|
|
1372
|
-
declare const userAccountInfoSchema:
|
|
1373
|
-
id:
|
|
1374
|
-
name:
|
|
1375
|
-
email:
|
|
1376
|
-
username:
|
|
1377
|
-
picture:
|
|
1378
|
-
sessionId:
|
|
1379
|
-
organizations:
|
|
1380
|
-
roles:
|
|
1372
|
+
declare const userAccountInfoSchema: alepha82.TObject<{
|
|
1373
|
+
id: alepha82.TString;
|
|
1374
|
+
name: alepha82.TOptional<alepha82.TString>;
|
|
1375
|
+
email: alepha82.TOptional<alepha82.TString>;
|
|
1376
|
+
username: alepha82.TOptional<alepha82.TString>;
|
|
1377
|
+
picture: alepha82.TOptional<alepha82.TString>;
|
|
1378
|
+
sessionId: alepha82.TOptional<alepha82.TString>;
|
|
1379
|
+
organizations: alepha82.TOptional<alepha82.TArray<alepha82.TString>>;
|
|
1380
|
+
roles: alepha82.TOptional<alepha82.TArray<alepha82.TString>>;
|
|
1381
1381
|
}>;
|
|
1382
1382
|
type UserAccount = Static<typeof userAccountInfoSchema>;
|
|
1383
1383
|
//#endregion
|
|
@@ -1403,8 +1403,8 @@ interface UserAccountToken extends UserAccount {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
//#endregion
|
|
1405
1405
|
//#region ../alepha/src/security/providers/SecurityProvider.d.ts
|
|
1406
|
-
declare const envSchema$2:
|
|
1407
|
-
APP_SECRET:
|
|
1406
|
+
declare const envSchema$2: alepha82.TObject<{
|
|
1407
|
+
APP_SECRET: alepha82.TString;
|
|
1408
1408
|
}>;
|
|
1409
1409
|
declare module "alepha" {
|
|
1410
1410
|
interface Env extends Partial<Static<typeof envSchema$2>> {}
|
|
@@ -1497,15 +1497,15 @@ declare module "alepha/server" {
|
|
|
1497
1497
|
*/
|
|
1498
1498
|
//#endregion
|
|
1499
1499
|
//#region ../alepha/src/server-links/schemas/apiLinksResponseSchema.d.ts
|
|
1500
|
-
declare const apiLinksResponseSchema:
|
|
1501
|
-
prefix:
|
|
1502
|
-
links:
|
|
1503
|
-
name:
|
|
1504
|
-
group:
|
|
1505
|
-
path:
|
|
1506
|
-
method:
|
|
1507
|
-
requestBodyType:
|
|
1508
|
-
service:
|
|
1500
|
+
declare const apiLinksResponseSchema: alepha82.TObject<{
|
|
1501
|
+
prefix: alepha82.TOptional<alepha82.TString>;
|
|
1502
|
+
links: alepha82.TArray<alepha82.TObject<{
|
|
1503
|
+
name: alepha82.TString;
|
|
1504
|
+
group: alepha82.TOptional<alepha82.TString>;
|
|
1505
|
+
path: alepha82.TString;
|
|
1506
|
+
method: alepha82.TOptional<alepha82.TString>;
|
|
1507
|
+
requestBodyType: alepha82.TOptional<alepha82.TString>;
|
|
1508
|
+
service: alepha82.TOptional<alepha82.TString>;
|
|
1509
1509
|
}>>;
|
|
1510
1510
|
}>;
|
|
1511
1511
|
type ApiLinksResponse = Static<typeof apiLinksResponseSchema>;
|
|
@@ -1535,8 +1535,8 @@ declare module "alepha" {
|
|
|
1535
1535
|
*/
|
|
1536
1536
|
//#endregion
|
|
1537
1537
|
//#region ../react/src/core/providers/ReactBrowserProvider.d.ts
|
|
1538
|
-
declare const envSchema$1:
|
|
1539
|
-
REACT_ROOT_ID:
|
|
1538
|
+
declare const envSchema$1: alepha82.TObject<{
|
|
1539
|
+
REACT_ROOT_ID: alepha82.TString;
|
|
1540
1540
|
}>;
|
|
1541
1541
|
declare module "alepha" {
|
|
1542
1542
|
interface Env extends Partial<Static<typeof envSchema$1>> {}
|
|
@@ -1544,8 +1544,8 @@ declare module "alepha" {
|
|
|
1544
1544
|
/**
|
|
1545
1545
|
* React browser renderer configuration atom
|
|
1546
1546
|
*/
|
|
1547
|
-
declare const reactBrowserOptions:
|
|
1548
|
-
scrollRestoration:
|
|
1547
|
+
declare const reactBrowserOptions: alepha82.Atom<alepha82.TObject<{
|
|
1548
|
+
scrollRestoration: alepha82.TUnsafe<"top" | "manual">;
|
|
1549
1549
|
}>, "alepha.react.browser.options">;
|
|
1550
1550
|
type ReactBrowserRendererOptions = Static<typeof reactBrowserOptions.schema>;
|
|
1551
1551
|
declare module "alepha" {
|
|
@@ -1560,10 +1560,10 @@ type ReactHydrationState = {
|
|
|
1560
1560
|
};
|
|
1561
1561
|
//#endregion
|
|
1562
1562
|
//#region ../react/src/core/providers/ReactServerProvider.d.ts
|
|
1563
|
-
declare const envSchema:
|
|
1564
|
-
REACT_SSR_ENABLED:
|
|
1565
|
-
REACT_ROOT_ID:
|
|
1566
|
-
REACT_SERVER_TEMPLATE:
|
|
1563
|
+
declare const envSchema: alepha82.TObject<{
|
|
1564
|
+
REACT_SSR_ENABLED: alepha82.TOptional<alepha82.TBoolean>;
|
|
1565
|
+
REACT_ROOT_ID: alepha82.TString;
|
|
1566
|
+
REACT_SERVER_TEMPLATE: alepha82.TOptional<alepha82.TString>;
|
|
1567
1567
|
}>;
|
|
1568
1568
|
declare module "alepha" {
|
|
1569
1569
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
@@ -1574,11 +1574,11 @@ declare module "alepha" {
|
|
|
1574
1574
|
/**
|
|
1575
1575
|
* React server provider configuration atom
|
|
1576
1576
|
*/
|
|
1577
|
-
declare const reactServerOptions:
|
|
1578
|
-
publicDir:
|
|
1579
|
-
staticServer:
|
|
1580
|
-
disabled:
|
|
1581
|
-
path:
|
|
1577
|
+
declare const reactServerOptions: alepha82.Atom<alepha82.TObject<{
|
|
1578
|
+
publicDir: alepha82.TString;
|
|
1579
|
+
staticServer: alepha82.TObject<{
|
|
1580
|
+
disabled: alepha82.TBoolean;
|
|
1581
|
+
path: alepha82.TString;
|
|
1582
1582
|
}>;
|
|
1583
1583
|
}>, "alepha.react.server.options">;
|
|
1584
1584
|
type ReactServerProviderOptions = Static<typeof reactServerOptions.schema>;
|
|
@@ -1739,7 +1739,7 @@ declare const AdminVerifications: () => react_jsx_runtime0.JSX.Element;
|
|
|
1739
1739
|
*
|
|
1740
1740
|
* @module alepha.ui.admin
|
|
1741
1741
|
*/
|
|
1742
|
-
declare const AlephaUIAdmin:
|
|
1742
|
+
declare const AlephaUIAdmin: alepha82.Service<alepha82.Module>;
|
|
1743
1743
|
//#endregion
|
|
1744
1744
|
export { AdminFiles, AdminJobs, AdminLayout, AdminNotifications, AdminParameters, AdminRouter, AdminSessions, type AdminSessionsProps, AdminUsers, type AdminUsersProps, AdminVerifications, AlephaUIAdmin };
|
|
1745
1745
|
//# sourceMappingURL=index.d.ts.map
|