nucleus-core-ts 0.8.95 → 0.8.97
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/dist/index.d.ts +12 -12
- package/dist/index.js +32 -32
- package/dist/src/ElysiaPlugin/routes/auth/login/index.d.ts +1 -0
- package/dist/src/ElysiaPlugin/routes/auth/refresh/index.d.ts +2 -2
- package/dist/src/ElysiaPlugin/routes/auth/types.d.ts +1 -0
- package/dist/src/types.d.ts +6 -0
- package/package.json +1 -1
- package/schemas/config.nucleus.json +16 -0
- package/scripts/generate-types-schema.ts +13 -0
package/dist/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ declare function oh(n: any): {
|
|
|
24
24
|
clearEvents: unknown;
|
|
25
25
|
getEventsByTopic: (H: any) => never[];
|
|
26
26
|
};
|
|
27
|
-
declare var F2:
|
|
27
|
+
declare var F2: ic;
|
|
28
28
|
declare function jd(): {};
|
|
29
29
|
declare function pd(n: any): {};
|
|
30
30
|
declare function qd(n: any): {};
|
|
@@ -72,7 +72,7 @@ declare function I2(n: any, r: any, t: any, o: any): (i: any, s: any) => Promise
|
|
|
72
72
|
message: any;
|
|
73
73
|
}>;
|
|
74
74
|
declare function J2(n: any, r: any): () => {};
|
|
75
|
-
declare class
|
|
75
|
+
declare class ic {
|
|
76
76
|
constructor(n?: {});
|
|
77
77
|
config: {
|
|
78
78
|
timeout: number;
|
|
@@ -80,7 +80,7 @@ declare class ec {
|
|
|
80
80
|
retryDelay: number;
|
|
81
81
|
debug: boolean;
|
|
82
82
|
};
|
|
83
|
-
logger:
|
|
83
|
+
logger: Pr;
|
|
84
84
|
buildUrl(n: any): any;
|
|
85
85
|
buildHeaders(n: any): Headers;
|
|
86
86
|
parseResponseHeaders(n: any): {
|
|
@@ -226,7 +226,7 @@ declare class ec {
|
|
|
226
226
|
createdAt: Date;
|
|
227
227
|
}>;
|
|
228
228
|
}
|
|
229
|
-
declare function
|
|
229
|
+
declare function Uk(n: any): Promise<l5<"", {
|
|
230
230
|
decorator: {};
|
|
231
231
|
store: {};
|
|
232
232
|
derive: {};
|
|
@@ -513,18 +513,18 @@ declare namespace Ds {
|
|
|
513
513
|
export { subEndpoints_6 as subEndpoints };
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
declare class
|
|
516
|
+
declare class Pr {
|
|
517
517
|
static instance: null;
|
|
518
518
|
static getInstance(n: any): null;
|
|
519
519
|
static resetInstance(): void;
|
|
520
520
|
constructor(n: {} | undefined, r: {} | undefined, t: any);
|
|
521
521
|
config: any;
|
|
522
|
-
transports:
|
|
523
|
-
auditTransports:
|
|
522
|
+
transports: ue[];
|
|
523
|
+
auditTransports: ge[];
|
|
524
524
|
context: {};
|
|
525
525
|
correlationId: any;
|
|
526
|
-
child(n: any, r: any):
|
|
527
|
-
withCorrelationId(n: any):
|
|
526
|
+
child(n: any, r: any): Pr;
|
|
527
|
+
withCorrelationId(n: any): Pr;
|
|
528
528
|
addTransport(n: any): void;
|
|
529
529
|
addAuditTransport(n: any): void;
|
|
530
530
|
setLevel(n: any): void;
|
|
@@ -555,7 +555,7 @@ declare class Qr {
|
|
|
555
555
|
traceSync(n: any): void;
|
|
556
556
|
}
|
|
557
557
|
import l5 from "elysia";
|
|
558
|
-
declare class
|
|
558
|
+
declare class ue {
|
|
559
559
|
constructor(n?: {});
|
|
560
560
|
name: string;
|
|
561
561
|
colorize: any;
|
|
@@ -568,11 +568,11 @@ declare class de {
|
|
|
568
568
|
(...data: any[]): void;
|
|
569
569
|
};
|
|
570
570
|
}
|
|
571
|
-
declare class
|
|
571
|
+
declare class ge {
|
|
572
572
|
constructor(n?: {});
|
|
573
573
|
name: string;
|
|
574
574
|
enabled: any;
|
|
575
575
|
write(n: any): void;
|
|
576
576
|
}
|
|
577
|
-
export { Cs as usePubSubStore, oh as usePubSub, F2 as serverFetch, jd as generateSystemTableEndpoints, pd as generateMonitoringEndpoints, qd as generateEndpointsFromConfig, Fd as generateAuthEndpoints, P2 as generateAllEndpoints, Kd as generateAdminEndpoints, I2 as createServerFactory, J2 as createApiHook,
|
|
577
|
+
export { Cs as usePubSubStore, oh as usePubSub, F2 as serverFetch, jd as generateSystemTableEndpoints, pd as generateMonitoringEndpoints, qd as generateEndpointsFromConfig, Fd as generateAuthEndpoints, P2 as generateAllEndpoints, Kd as generateAdminEndpoints, I2 as createServerFactory, J2 as createApiHook, ic as ServerFetch, Uk as NucleusElysiaPlugin, Ds as AUTH_ENDPOINT_CONFIGS };
|
|
578
578
|
//# sourceMappingURL=index.d.ts.map
|