mp-front-cli 0.0.127 → 0.0.128

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.
@@ -11,6 +11,20 @@ export declare class ErrorCatalog extends CustomLogger {
11
11
  payload?: {} | undefined;
12
12
  clearCookieSession?: boolean | undefined;
13
13
  onOk?: (() => void) | undefined;
14
+ } | {
15
+ title: string;
16
+ message: string;
17
+ payload: {
18
+ errorCode: string;
19
+ } | {
20
+ errorCode?: undefined;
21
+ };
22
+ uuid: string;
23
+ type: "modal" | "message";
24
+ level: "error" | "success" | "warning" | "info";
25
+ code?: number | undefined;
26
+ clearCookieSession?: boolean | undefined;
27
+ onOk?: (() => void) | undefined;
14
28
  };
15
29
  }
16
30
  //# sourceMappingURL=error-catalog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-catalog.d.ts","sourceRoot":"","sources":["../../../src/core/errors/error-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAq0BrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;CA8B7B"}
1
+ {"version":3,"file":"error-catalog.d.ts","sourceRoot":"","sources":["../../../src/core/errors/error-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAq0BrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;;;;;;;;;;;;;;;CA+B7B"}
@@ -1276,6 +1276,7 @@ class C extends F {
1276
1276
  ((A = i[E]) == null ? void 0 : A.message) ?? i.default.message,
1277
1277
  l
1278
1278
  ),
1279
+ payload: typeof r != "string" ? { errorCode: r.code } : {},
1279
1280
  uuid: e
1280
1281
  };
1281
1282
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {