nucleus-core-ts 0.8.33 → 0.8.35

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.
@@ -1,4 +1,4 @@
1
- declare var Sc: () => import("h-state").StoreType<{
1
+ declare var Rc: () => import("h-state").StoreType<{
2
2
  connection: {
3
3
  status: string;
4
4
  clientId: null;
@@ -9,7 +9,7 @@ declare var Sc: () => import("h-state").StoreType<{
9
9
  events: never[];
10
10
  maxEvents: number;
11
11
  }, Record<string, unknown>>;
12
- declare function hh(n: any): {
12
+ declare function EE(n: any): {
13
13
  isConnected: boolean;
14
14
  isConnecting: boolean;
15
15
  clientId: null;
@@ -19,17 +19,17 @@ declare function hh(n: any): {
19
19
  reconnectAttempt: number;
20
20
  connect: () => void;
21
21
  disconnect: () => void;
22
- subscribe: (_: any) => void;
23
- unsubscribe: (_: any) => void;
22
+ subscribe: (E: any) => void;
23
+ unsubscribe: (E: any) => void;
24
24
  clearEvents: unknown;
25
- getEventsByTopic: (_: any) => never[];
25
+ getEventsByTopic: (E: any) => never[];
26
26
  };
27
- declare var ah: yo;
27
+ declare var sE: yo;
28
28
  declare function Au(): {};
29
29
  declare function Ru(n: any): {};
30
30
  declare function Su(n: any): {};
31
31
  declare function Z1(n: any, r: any): any;
32
- declare function uh(n: any, r: any, e: any, t: any): (i: any, c: any) => Promise<{
32
+ declare function uE(n: any, r: any, t: any, e: any): (i: any, c: any) => Promise<{
33
33
  isSuccess: boolean;
34
34
  errors: {
35
35
  message: string;
@@ -44,7 +44,7 @@ declare function uh(n: any, r: any, e: any, t: any): (i: any, c: any) => Promise
44
44
  code: any;
45
45
  message: any;
46
46
  }>;
47
- declare function v1(n: any, r: any): () => {};
47
+ declare function K1(n: any, r: any): () => {};
48
48
  declare class yo {
49
49
  constructor(n?: {});
50
50
  config: {
@@ -53,13 +53,13 @@ declare class yo {
53
53
  retryDelay: number;
54
54
  debug: boolean;
55
55
  };
56
- logger: Cr;
56
+ logger: Hr;
57
57
  buildUrl(n: any): any;
58
58
  buildHeaders(n: any): Headers;
59
59
  parseResponseHeaders(n: any): {
60
60
  "set-cookie": any;
61
61
  };
62
- executeWithTimeout(n: any, r: any, e: any): Promise<any>;
62
+ executeWithTimeout(n: any, r: any, t: any): Promise<any>;
63
63
  fetch(n: any): Promise<{
64
64
  isSuccess: any;
65
65
  response: any;
@@ -106,7 +106,7 @@ declare class yo {
106
106
  requestId: `${string}-${string}-${string}-${string}-${string}`;
107
107
  createdAt: Date;
108
108
  }>;
109
- post(n: any, r: any, e: any): Promise<{
109
+ post(n: any, r: any, t: any): Promise<{
110
110
  isSuccess: any;
111
111
  response: any;
112
112
  errors: any;
@@ -129,7 +129,7 @@ declare class yo {
129
129
  requestId: `${string}-${string}-${string}-${string}-${string}`;
130
130
  createdAt: Date;
131
131
  }>;
132
- put(n: any, r: any, e: any): Promise<{
132
+ put(n: any, r: any, t: any): Promise<{
133
133
  isSuccess: any;
134
134
  response: any;
135
135
  errors: any;
@@ -152,7 +152,7 @@ declare class yo {
152
152
  requestId: `${string}-${string}-${string}-${string}-${string}`;
153
153
  createdAt: Date;
154
154
  }>;
155
- patch(n: any, r: any, e: any): Promise<{
155
+ patch(n: any, r: any, t: any): Promise<{
156
156
  isSuccess: any;
157
157
  response: any;
158
158
  errors: any;
@@ -199,7 +199,7 @@ declare class yo {
199
199
  createdAt: Date;
200
200
  }>;
201
201
  }
202
- declare function L$(n: any): Promise<kE<"", {
202
+ declare function L$(n: any): Promise<k2<"", {
203
203
  decorator: {};
204
204
  store: {};
205
205
  derive: {};
@@ -227,7 +227,7 @@ declare function L$(n: any): Promise<kE<"", {
227
227
  standaloneSchema: {};
228
228
  response: {};
229
229
  }>>;
230
- declare namespace cc {
230
+ declare namespace ic {
231
231
  namespace login {
232
232
  let key: string;
233
233
  let method: string;
@@ -464,39 +464,39 @@ declare namespace cc {
464
464
  export { subEndpoints_4 as subEndpoints };
465
465
  }
466
466
  }
467
- declare class Cr {
467
+ declare class Hr {
468
468
  static instance: null;
469
469
  static getInstance(n: any): null;
470
470
  static resetInstance(): void;
471
- constructor(n: {} | undefined, r: {} | undefined, e: any);
471
+ constructor(n: {} | undefined, r: {} | undefined, t: any);
472
472
  config: any;
473
- transports: ea[];
474
- auditTransports: oa[];
473
+ transports: rs[];
474
+ auditTransports: es[];
475
475
  context: {};
476
476
  correlationId: any;
477
- child(n: any, r: any): Cr;
478
- withCorrelationId(n: any): Cr;
477
+ child(n: any, r: any): Hr;
478
+ withCorrelationId(n: any): Hr;
479
479
  addTransport(n: any): void;
480
480
  addAuditTransport(n: any): void;
481
481
  setLevel(n: any): void;
482
482
  setAuditEnabled(n: any): void;
483
483
  isAuditEnabled(): any;
484
484
  shouldLog(n: any): boolean;
485
- createEntry(n: any, r: any, e: any, t: any, o: any): {
485
+ createEntry(n: any, r: any, t: any, e: any, o: any): {
486
486
  timestamp: string;
487
487
  level: any;
488
488
  message: any;
489
489
  service: any;
490
490
  correlationId: any;
491
491
  };
492
- log(n: any, r: any, e: any, t: any, o: any): void;
492
+ log(n: any, r: any, t: any, e: any, o: any): void;
493
493
  debug(n: any, r: any): void;
494
494
  info(n: any, r: any): void;
495
495
  warn(n: any, r: any): void;
496
- error(n: any, r: any, e: any): void;
497
- fatal(n: any, r: any, e: any): void;
496
+ error(n: any, r: any, t: any): void;
497
+ fatal(n: any, r: any, t: any): void;
498
498
  time(n: any): () => void;
499
- timeAsync(n: any, r: any, e: any): Promise<any>;
499
+ timeAsync(n: any, r: any, t: any): Promise<any>;
500
500
  request(n: any): void;
501
501
  db(n: any): void;
502
502
  flush(): Promise<void>;
@@ -505,8 +505,8 @@ declare class Cr {
505
505
  trace(n: any): Promise<void>;
506
506
  traceSync(n: any): void;
507
507
  }
508
- import kE from "elysia";
509
- declare class ea {
508
+ import k2 from "elysia";
509
+ declare class rs {
510
510
  constructor(n?: {});
511
511
  name: string;
512
512
  colorize: any;
@@ -519,11 +519,11 @@ declare class ea {
519
519
  (...data: any[]): void;
520
520
  };
521
521
  }
522
- declare class oa {
522
+ declare class es {
523
523
  constructor(n?: {});
524
524
  name: string;
525
525
  enabled: any;
526
526
  write(n: any): void;
527
527
  }
528
- export { Sc as usePubSubStore, hh as usePubSub, ah as serverFetch, Au as generateSystemTableEndpoints, Ru as generateEndpointsFromConfig, Su as generateAuthEndpoints, Z1 as generateAllEndpoints, uh as createServerFactory, v1 as createApiHook, yo as ServerFetch, L$ as NucleusElysiaPlugin, cc as AUTH_ENDPOINT_CONFIGS };
528
+ export { Rc as usePubSubStore, EE as usePubSub, sE as serverFetch, Au as generateSystemTableEndpoints, Ru as generateEndpointsFromConfig, Su as generateAuthEndpoints, Z1 as generateAllEndpoints, uE as createServerFactory, K1 as createApiHook, yo as ServerFetch, L$ as NucleusElysiaPlugin, ic as AUTH_ENDPOINT_CONFIGS };
529
529
  //# sourceMappingURL=index.d.ts.map