@adviser/cement 0.2.36 → 0.2.37

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ import {
17
17
  LevelHandler,
18
18
  LogFormatter,
19
19
  LogValueArg,
20
+ HttpType,
20
21
  } from "./logger.js";
21
22
  import { WebSysAbstraction } from "./web/web-sys-abstraction.js";
22
23
  import { SysAbstraction } from "./sys-abstraction.js";
@@ -271,19 +272,33 @@ export class LoggerImpl implements Logger {
271
272
  return this;
272
273
  }
273
274
 
274
- Http(res: Response | Result<Response>, req?: Request, key?: string): Logger {
275
- if (Result.Is(res)) {
276
- if (res.isErr()) {
277
- this.Err(res.Err());
278
- return this;
279
- }
280
- res = res.Ok();
275
+ Http(...mix: (HttpType | string)[]): Logger {
276
+ const key: string | undefined = mix.find((x) => typeof x === "string");
277
+ mix = mix.filter((x) => typeof x !== "string");
278
+ const resErrors = mix.filter((x) => Result.Is(x) && x.isErr()) as Result<unknown, Error>[];
279
+ if (resErrors.length) {
280
+ this.Err(resErrors.map((x) => x.Err().message).join("\n"));
281
+ return this;
282
+ }
283
+ const req = mix
284
+ .map((reqOrResult) => (Result.Is(reqOrResult) ? reqOrResult.Ok() : reqOrResult))
285
+ .find((req) => typeof (req as Response).status !== "number") as Request | undefined;
286
+ const res = mix
287
+ .map((resOrResult) => (Result.Is(resOrResult) ? resOrResult.Ok() : resOrResult))
288
+ .find((res) => typeof (res as Response).status === "number") as Response | undefined;
289
+ let reqAndOrres: { res: Response; req: Request } | Response | Request | undefined;
290
+ if (res && req) {
291
+ reqAndOrres = { res, req };
292
+ } else if (!res && !req) {
293
+ reqAndOrres = undefined;
294
+ } else if (res) {
295
+ reqAndOrres = res;
296
+ } else if (req) {
297
+ reqAndOrres = req;
281
298
  }
282
- let reqRes: Response | { res: Response; req: Request } = res;
283
- if (req) {
284
- reqRes = { res, req };
299
+ if (reqAndOrres) {
300
+ this.Any(key || "Http", reqAndOrres as unknown as LogSerializable);
285
301
  }
286
- this.Any(key || "Http", reqRes as unknown as LogSerializable);
287
302
  return this;
288
303
  }
289
304
  Pair(x: Record<string, unknown>): Logger {
@@ -464,8 +479,8 @@ class WithLoggerBuilder implements WithLogger {
464
479
  return this;
465
480
  }
466
481
 
467
- Http(res: Response | Result<Response>, req?: Request, key?: string): WithLogger {
468
- this._li.Http(res, req, key);
482
+ Http(...mix: (HttpType | string)[]): WithLogger {
483
+ this._li.Http(...mix);
469
484
  return this;
470
485
  }
471
486
  Pair(x: Record<string, unknown>): WithLogger {
package/src/logger.ts CHANGED
@@ -153,6 +153,8 @@ export interface LevelHandler {
153
153
  isEnabled(ilevel: unknown, module: unknown): boolean;
154
154
  }
155
155
 
156
+ export type HttpType = Response | Result<Response> | Request | Result<Request>;
157
+
156
158
  export interface LoggerInterface<R> {
157
159
  TxtEnDe(): TxtEnDecoder;
158
160
  Module(key: string): R;
@@ -181,7 +183,10 @@ export interface LoggerInterface<R> {
181
183
  Bool<T extends string | Record<string, unknown>>(key: T, value?: T extends string ? unknown : undefined): R;
182
184
  Any<T extends string | Record<string, unknown>>(key: T, value?: T extends string ? unknown : undefined): R;
183
185
 
184
- Http(res: Response | Result<Response>, req?: Request, key?: string): R;
186
+ // first string is the key
187
+ // first response is Response
188
+ // first request is Request
189
+ Http(...mix: (HttpType | string)[]): R;
185
190
  Pair(x: Record<string, unknown>): R;
186
191
 
187
192
  Error(): R;
package/src/uri.ts CHANGED
@@ -238,7 +238,8 @@ function getParamResult(
238
238
  }
239
239
 
240
240
  type msgFn = (...keys: string[]) => string;
241
- type keysParam = (string | msgFn | Record<string, string>)[];
241
+ // if right head of Record is string the key used and the value is the default value
242
+ type keysParam = (string | msgFn | Record<string, unknown>)[];
242
243
 
243
244
  function getParamsResult(
244
245
  keys: keysParam,
@@ -249,7 +250,7 @@ function getParamsResult(
249
250
  if (typeof i === "string") {
250
251
  acc.push({ key: i });
251
252
  } else if (typeof i === "object") {
252
- acc.push(...Object.keys(i).map((k) => ({ key: k, def: i[k] })));
253
+ acc.push(...Object.keys(i).map((k) => ({ key: k, def: typeof i[k] === "string" ? i[k] : undefined })));
253
254
  }
254
255
  return acc;
255
256
  },
@@ -267,7 +268,7 @@ function getParamsResult(
267
268
  for (const kd of keyDef) {
268
269
  const val = getParam.getParam(kd.key);
269
270
  if (val === undefined) {
270
- if (kd.def) {
271
+ if (typeof kd.def === "string") {
271
272
  result[kd.key] = kd.def;
272
273
  } else {
273
274
  errors.push(kd.key);
@@ -1,4 +1,4 @@
1
- import { AsError, FnSerialized, LogSerializable, Level, Logger, WithLogger, LevelHandler, LogFormatter } from "./logger.js";
1
+ import { AsError, FnSerialized, LogSerializable, Level, Logger, WithLogger, LevelHandler, LogFormatter, HttpType } from "./logger.js";
2
2
  import { SysAbstraction } from "./sys-abstraction.js";
3
3
  import { Result } from "./result.js";
4
4
  import { CoerceURI } from "./uri.js";
@@ -54,7 +54,7 @@ export declare class LoggerImpl implements Logger {
54
54
  toString: () => string;
55
55
  } | FnSerialized): Logger;
56
56
  Bool(key: string | Record<string, unknown>, value: unknown): Logger;
57
- Http(res: Response | Result<Response>, req?: Request, key?: string): Logger;
57
+ Http(...mix: (HttpType | string)[]): Logger;
58
58
  Pair(x: Record<string, unknown>): Logger;
59
59
  Result<T>(key: string, res: Result<T, Error>): Logger;
60
60
  Len(value: unknown, key?: string): Logger;
@@ -1 +1 @@
1
- {"version":3,"file":"logger-impl.d.ts","sourceRoot":"","sources":["../../src/logger-impl.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,YAAY,EACZ,eAAe,EACf,KAAK,EACL,MAAM,EAGN,UAAU,EAMV,YAAY,EACZ,YAAY,EAEb,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAO,MAAM,UAAU,CAAC;AAG1C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,Y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EAAE,MAAM,GAAG,MAAM;IAI3D,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAM5B,IAAI,IAAI,UAAU;IAgBlB,gBAAgB,CAAC,EAAE,EAAE,MAAM,MAAM,UAAU,GAAG,MAAM,UAAU;IAU9D,GAAG,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO;CAyBhC"}
package/ts/logger-impl.js CHANGED
@@ -217,19 +217,36 @@ export class LoggerImpl {
217
217
  this.coerceKey(key, !!value);
218
218
  return this;
219
219
  }
220
- Http(res, req, key) {
221
- if (Result.Is(res)) {
222
- if (res.isErr()) {
223
- this.Err(res.Err());
224
- return this;
225
- }
226
- res = res.Ok();
220
+ Http(...mix) {
221
+ const key = mix.find((x) => typeof x === "string");
222
+ mix = mix.filter((x) => typeof x !== "string");
223
+ const resErrors = mix.filter((x) => Result.Is(x) && x.isErr());
224
+ if (resErrors.length) {
225
+ this.Err(resErrors.map((x) => x.Err().message).join("\n"));
226
+ return this;
227
+ }
228
+ const req = mix
229
+ .map((reqOrResult) => (Result.Is(reqOrResult) ? reqOrResult.Ok() : reqOrResult))
230
+ .find((req) => typeof req.status !== "number");
231
+ const res = mix
232
+ .map((resOrResult) => (Result.Is(resOrResult) ? resOrResult.Ok() : resOrResult))
233
+ .find((res) => typeof res.status === "number");
234
+ let reqAndOrres;
235
+ if (res && req) {
236
+ reqAndOrres = { res, req };
237
+ }
238
+ else if (!res && !req) {
239
+ reqAndOrres = undefined;
240
+ }
241
+ else if (res) {
242
+ reqAndOrres = res;
243
+ }
244
+ else if (req) {
245
+ reqAndOrres = req;
227
246
  }
228
- let reqRes = res;
229
- if (req) {
230
- reqRes = { res, req };
247
+ if (reqAndOrres) {
248
+ this.Any(key || "Http", reqAndOrres);
231
249
  }
232
- this.Any(key || "Http", reqRes);
233
250
  return this;
234
251
  }
235
252
  Pair(x) {
@@ -379,8 +396,8 @@ class WithLoggerBuilder {
379
396
  this._li.SetDebug(...modules);
380
397
  return this;
381
398
  }
382
- Http(res, req, key) {
383
- this._li.Http(res, req, key);
399
+ Http(...mix) {
400
+ this._li.Http(...mix);
384
401
  return this;
385
402
  }
386
403
  Pair(x) {
@@ -1 +1 @@
1
- {"version":3,"file":"logger-impl.js","sourceRoot":"","sources":["../../src/logger-impl.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAIL,KAAK,EAEL,QAAQ,EAMR,QAAQ,EACR,aAAa,GAId,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAa,GAAG,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAgB,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,SAAS,MAAM,CAAC,KAAc;IAC5B,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACrC,OAAO,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACvD,IAAI,OAAQ,KAAe,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC9C,OAAO,QAAQ,CAAC,GAAG,EAAE,CAAE,KAAe,CAA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,EAAE,KAAK,CAAC,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,GAAG,CAAC,GAAW,EAAE,IAAY;QAC3B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,CAAC,GAAoC,EAAE,KAAc;QACzD,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QAC5B,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
package/ts/logger.d.ts CHANGED
@@ -37,6 +37,7 @@ export interface LevelHandler {
37
37
  setDebug(...modules: (string | string[])[]): void;
38
38
  isEnabled(ilevel: unknown, module: unknown): boolean;
39
39
  }
40
+ export type HttpType = Response | Result<Response> | Request | Result<Request>;
40
41
  export interface LoggerInterface<R> {
41
42
  TxtEnDe(): TxtEnDecoder;
42
43
  Module(key: string): R;
@@ -58,7 +59,7 @@ export interface LoggerInterface<R> {
58
59
  Int<T extends string | Record<string, number>>(key: T, value?: T extends string ? number : undefined): R;
59
60
  Bool<T extends string | Record<string, unknown>>(key: T, value?: T extends string ? unknown : undefined): R;
60
61
  Any<T extends string | Record<string, unknown>>(key: T, value?: T extends string ? unknown : undefined): R;
61
- Http(res: Response | Result<Response>, req?: Request, key?: string): R;
62
+ Http(...mix: (HttpType | string)[]): R;
62
63
  Pair(x: Record<string, unknown>): R;
63
64
  Error(): R;
64
65
  Warn(): R;
@@ -1 +1 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,oBAAY,KAAK;IACf,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb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