nucleus-core-ts 0.8.96 → 0.8.99
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 +21 -21
- package/dist/index.js +49 -49
- package/package.json +1 -1
- package/schemas/config.nucleus.json +16 -0
- package/scripts/generate-types-schema.ts +13 -0
- package/scripts/publish.ts +1 -1
package/dist/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var Os: () => import("h-state").StoreType<{
|
|
2
2
|
connection: {
|
|
3
3
|
status: string;
|
|
4
4
|
clientId: null;
|
|
@@ -9,7 +9,7 @@ declare var Cs: () => import("h-state").StoreType<{
|
|
|
9
9
|
events: never[];
|
|
10
10
|
maxEvents: number;
|
|
11
11
|
}, Record<string, unknown>>;
|
|
12
|
-
declare function
|
|
12
|
+
declare function o5(n: any): {
|
|
13
13
|
isConnected: boolean;
|
|
14
14
|
isConnecting: boolean;
|
|
15
15
|
clientId: null;
|
|
@@ -24,13 +24,13 @@ 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: ea;
|
|
28
28
|
declare function jd(): {};
|
|
29
|
-
declare function
|
|
29
|
+
declare function Kd(n: any): {};
|
|
30
30
|
declare function qd(n: any): {};
|
|
31
31
|
declare function Fd(n: any): {};
|
|
32
|
-
declare function
|
|
33
|
-
declare function
|
|
32
|
+
declare function G2(n: any, r: any): any;
|
|
33
|
+
declare function vd(n: any): {
|
|
34
34
|
ADMIN_IMPERSONATE: {
|
|
35
35
|
method: string;
|
|
36
36
|
path: string;
|
|
@@ -56,7 +56,7 @@ declare function Kd(n: any): {
|
|
|
56
56
|
_error: undefined;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
declare function
|
|
59
|
+
declare function Z2(n: any, r: any, t: any, o: any): (e: any, s: any) => Promise<{
|
|
60
60
|
isSuccess: boolean;
|
|
61
61
|
errors: {
|
|
62
62
|
message: string;
|
|
@@ -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 ea {
|
|
76
76
|
constructor(n?: {});
|
|
77
77
|
config: {
|
|
78
78
|
timeout: number;
|
|
@@ -80,7 +80,7 @@ declare class ic {
|
|
|
80
80
|
retryDelay: number;
|
|
81
81
|
debug: boolean;
|
|
82
82
|
};
|
|
83
|
-
logger:
|
|
83
|
+
logger: Gr;
|
|
84
84
|
buildUrl(n: any): any;
|
|
85
85
|
buildHeaders(n: any): Headers;
|
|
86
86
|
parseResponseHeaders(n: any): {
|
|
@@ -226,7 +226,7 @@ declare class ic {
|
|
|
226
226
|
createdAt: Date;
|
|
227
227
|
}>;
|
|
228
228
|
}
|
|
229
|
-
declare function
|
|
229
|
+
declare function BR(n: any): Promise<fh<"", {
|
|
230
230
|
decorator: {};
|
|
231
231
|
store: {};
|
|
232
232
|
derive: {};
|
|
@@ -513,32 +513,32 @@ declare namespace Ds {
|
|
|
513
513
|
export { subEndpoints_6 as subEndpoints };
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
declare class
|
|
516
|
+
declare class Gr {
|
|
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: bi[];
|
|
523
|
+
auditTransports: ui[];
|
|
524
524
|
context: {};
|
|
525
525
|
correlationId: any;
|
|
526
|
-
child(n: any, r: any):
|
|
527
|
-
withCorrelationId(n: any):
|
|
526
|
+
child(n: any, r: any): Gr;
|
|
527
|
+
withCorrelationId(n: any): Gr;
|
|
528
528
|
addTransport(n: any): void;
|
|
529
529
|
addAuditTransport(n: any): void;
|
|
530
530
|
setLevel(n: any): void;
|
|
531
531
|
setAuditEnabled(n: any): void;
|
|
532
532
|
isAuditEnabled(): any;
|
|
533
533
|
shouldLog(n: any): boolean;
|
|
534
|
-
createEntry(n: any, r: any, t: any, o: any,
|
|
534
|
+
createEntry(n: any, r: any, t: any, o: any, c: any): {
|
|
535
535
|
timestamp: string;
|
|
536
536
|
level: any;
|
|
537
537
|
message: any;
|
|
538
538
|
service: any;
|
|
539
539
|
correlationId: any;
|
|
540
540
|
};
|
|
541
|
-
log(n: any, r: any, t: any, o: any,
|
|
541
|
+
log(n: any, r: any, t: any, o: any, c: any): void;
|
|
542
542
|
debug(n: any, r: any): void;
|
|
543
543
|
info(n: any, r: any): void;
|
|
544
544
|
warn(n: any, r: any): void;
|
|
@@ -554,8 +554,8 @@ declare class Pr {
|
|
|
554
554
|
trace(n: any): Promise<void>;
|
|
555
555
|
traceSync(n: any): void;
|
|
556
556
|
}
|
|
557
|
-
import
|
|
558
|
-
declare class
|
|
557
|
+
import fh from "elysia";
|
|
558
|
+
declare class bi {
|
|
559
559
|
constructor(n?: {});
|
|
560
560
|
name: string;
|
|
561
561
|
colorize: any;
|
|
@@ -568,11 +568,11 @@ declare class ue {
|
|
|
568
568
|
(...data: any[]): void;
|
|
569
569
|
};
|
|
570
570
|
}
|
|
571
|
-
declare class
|
|
571
|
+
declare class ui {
|
|
572
572
|
constructor(n?: {});
|
|
573
573
|
name: string;
|
|
574
574
|
enabled: any;
|
|
575
575
|
write(n: any): void;
|
|
576
576
|
}
|
|
577
|
-
export {
|
|
577
|
+
export { Os as usePubSubStore, o5 as usePubSub, F2 as serverFetch, jd as generateSystemTableEndpoints, Kd as generateMonitoringEndpoints, qd as generateEndpointsFromConfig, Fd as generateAuthEndpoints, G2 as generateAllEndpoints, vd as generateAdminEndpoints, Z2 as createServerFactory, J2 as createApiHook, ea as ServerFetch, BR as NucleusElysiaPlugin, Ds as AUTH_ENDPOINT_CONFIGS };
|
|
578
578
|
//# sourceMappingURL=index.d.ts.map
|