mp-front-cli 0.0.12 → 0.0.13

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.
Files changed (31) hide show
  1. package/dist/core/services/ServiceToken/index.d.ts +1 -1
  2. package/dist/core/services/ServiceToken/index.d.ts.map +1 -1
  3. package/dist/core/services/ServiceToken/index.js +1 -1
  4. package/dist/core/utils/ApiMiddleware/index.d.ts +2 -2
  5. package/dist/core/utils/ApiMiddleware/index.d.ts.map +1 -1
  6. package/dist/core/utils/ApiMiddleware/index.js +1 -1
  7. package/dist/core/utils/CustomEncoder/index.d.ts +1 -1
  8. package/dist/core/utils/CustomEncoder/index.d.ts.map +1 -1
  9. package/dist/core/utils/CustomEncoder/index.js +1 -1
  10. package/dist/core/utils/CustomHeader/index.d.ts +1 -1
  11. package/dist/core/utils/CustomHeader/index.d.ts.map +1 -1
  12. package/dist/core/utils/CustomHeader/index.js +1 -2
  13. package/dist/core/utils/CustomValidator/index.d.ts +1 -1
  14. package/dist/core/utils/CustomValidator/index.d.ts.map +1 -1
  15. package/dist/core/utils/CustomValidator/index.js +1 -1
  16. package/dist/core/utils/ErrorCatalog/index.d.ts +2 -2
  17. package/dist/core/utils/ErrorCatalog/index.d.ts.map +1 -1
  18. package/dist/core/utils/ErrorCatalog/index.js +1 -1
  19. package/dist/core/utils/MessageErrorBFF/index.d.ts +1 -2
  20. package/dist/core/utils/MessageErrorBFF/index.d.ts.map +1 -1
  21. package/dist/core/utils/MessageErrorBFF/index.js +1 -1
  22. package/dist/core/utils/apiRequest/FetchServiceBE.d.ts +2 -3
  23. package/dist/core/utils/apiRequest/FetchServiceBE.d.ts.map +1 -1
  24. package/dist/core/utils/apiRequest/FetchServiceBE.js +1 -1
  25. package/dist/core/utils/apiRequest/FetchServiceFE.d.ts +2 -3
  26. package/dist/core/utils/apiRequest/FetchServiceFE.d.ts.map +1 -1
  27. package/dist/core/utils/apiRequest/FetchServiceFE.js +1 -1
  28. package/dist/core/utils/rxSubjects/ErrorHandler/index.d.ts +2 -2
  29. package/dist/core/utils/rxSubjects/ErrorHandler/index.d.ts.map +1 -1
  30. package/dist/core/utils/rxSubjects/ErrorHandler/index.js +1 -1
  31. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { CustomLogger } from "../../utils";
1
+ import { CustomLogger } from "../../../core";
2
2
  declare class ServiceToken extends CustomLogger {
3
3
  private API_AUTH_BACK_URL;
4
4
  private API_AUTH_BACK_USERNAME_AUTH;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/services/ServiceToken/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,cAAM,YAAa,SAAQ,YAAY;IACrC,OAAO,CAAC,iBAAiB,CAAQ;IACjC,OAAO,CAAC,2BAA2B,CAAQ;IAC3C,OAAO,CAAC,2BAA2B,CAAQ;IAC3C,OAAO,CAAC,kBAAkB,CAAQ;IAClC,OAAO,CAAC,mBAAmB,CAAQ;IACnC,OAAO,CAAC,sBAAsB,CAAQ;IACtC,OAAO,CAAC,OAAO,CAAa;;IAqB5B,GAAG;CAsBJ;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/services/ServiceToken/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,cAAM,YAAa,SAAQ,YAAY;IACrC,OAAO,CAAC,iBAAiB,CAAQ;IACjC,OAAO,CAAC,2BAA2B,CAAQ;IAC3C,OAAO,CAAC,2BAA2B,CAAQ;IAC3C,OAAO,CAAC,kBAAkB,CAAQ;IAClC,OAAO,CAAC,mBAAmB,CAAQ;IACnC,OAAO,CAAC,sBAAsB,CAAQ;IACtC,OAAO,CAAC,OAAO,CAAa;;IAqB5B,GAAG;CAsBJ;AAED,eAAe,YAAY,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { catchError, of, switchMap } from "rxjs";
2
2
  import { fromFetch } from "rxjs/fetch";
3
- import { CustomLogger } from "../../utils";
3
+ import { CustomLogger } from "../../../core";
4
4
  class ServiceToken extends CustomLogger {
5
5
  API_AUTH_BACK_URL;
6
6
  API_AUTH_BACK_USERNAME_AUTH;
@@ -1,7 +1,7 @@
1
1
  import { Observable } from "rxjs";
2
2
  import type { NextApiRequest, NextApiResponse } from "next";
3
- import { CustomValidator } from "..";
4
- import type { ApiResponse } from "../../../types/ApiResponse";
3
+ import { CustomValidator } from "../../../core";
4
+ import type { ApiResponse } from "../../../types";
5
5
  declare class ApiMiddleware<TRes, TData> extends CustomValidator {
6
6
  get(handle: (params: TData) => Observable<ApiResponse<TRes>>): (req: NextApiRequest, res: NextApiResponse) => void;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/ApiMiddleware/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA6B,MAAM,MAAM,CAAA;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAgB,MAAM,IAAI,CAAA;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,cAAM,aAAa,CAAC,IAAI,EAAE,KAAK,CAAE,SAAQ,eAAe;IACtD,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,SAG7C,cAAc,OAAO,eAAe;CA+BpD;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/ApiMiddleware/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA6B,MAAM,MAAM,CAAA;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAgB,MAAM,UAAU,CAAA;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,cAAM,aAAa,CAAC,IAAI,EAAE,KAAK,CAAE,SAAQ,eAAe;IACtD,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,SAG7C,cAAc,OAAO,eAAe;CA+BpD;AAED,eAAe,aAAa,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { catchError, of, switchMap } from "rxjs";
2
- import { CustomValidator, ErrorHandler } from "..";
2
+ import { CustomValidator, ErrorHandler } from "../../../core";
3
3
  class ApiMiddleware extends CustomValidator {
4
4
  get(handle) {
5
5
  this.logDebug("get ApiMiddleware");
@@ -1,4 +1,4 @@
1
- import { CustomLogger } from '../../utils';
1
+ import { CustomLogger } from '../../../core';
2
2
  declare class CustomEncoder extends CustomLogger {
3
3
  encode<T>(data: T): string;
4
4
  decode<T>(data: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/CustomEncoder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,cAAM,aAAc,SAAQ,YAAY;IACtC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC;IAajB,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE;CAiBjE;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/CustomEncoder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,cAAM,aAAc,SAAQ,YAAY;IACtC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC;IAajB,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE;CAiBjE;AAED,eAAe,aAAa,CAAA"}
@@ -1,4 +1,4 @@
1
- import { CustomLogger } from '../../utils';
1
+ import { CustomLogger } from '../../../core';
2
2
  import { isString } from 'lodash';
3
3
  class CustomEncoder extends CustomLogger {
4
4
  encode(data) {
@@ -1,4 +1,4 @@
1
- import { CustomValidator } from "../../utils";
1
+ import { CustomValidator } from "../../../core";
2
2
  declare class CustomHeader extends CustomValidator {
3
3
  private headers;
4
4
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/CustomHeader/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAGhD,cAAM,YAAa,SAAQ,eAAe;IACxC,OAAO,CAAC,OAAO,CAAa;;IAU5B,eAAe,CAAC,OAAO,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASpC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/CustomHeader/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,eAAe,EAAE,MAAM,UAAU,CAAA;AAExD,cAAM,YAAa,SAAQ,eAAe;IACxC,OAAO,CAAC,OAAO,CAAa;;IAU5B,eAAe,CAAC,OAAO,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASpC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMX;AAED,eAAe,YAAY,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import { of, switchMap } from "rxjs";
2
- import { CustomValidator } from "../../utils";
3
- import { ServiceToken } from "../../services";
2
+ import { ServiceToken, CustomValidator } from "../../../core";
4
3
  class CustomHeader extends CustomValidator {
5
4
  headers;
6
5
  constructor() {
@@ -1,4 +1,4 @@
1
- import { CustomEncoder } from "../../utils";
1
+ import { CustomEncoder } from "../../../core";
2
2
  import type { NextApiRequest } from "next";
3
3
  import type { NextRequest } from "next/server";
4
4
  declare class CustomValidator extends CustomEncoder {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/CustomValidator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAmB,MAAM,gBAAgB,CAAA;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAA;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,cAAM,eAAgB,SAAQ,aAAa;IACnC,kBAAkB,CAAC,GAAG,EAAE,cAAc,GAAG,WAAW;CAS3D;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/CustomValidator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAmB,MAAM,UAAU,CAAA;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,MAAM,CAAA;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,cAAM,eAAgB,SAAQ,aAAa;IACnC,kBAAkB,CAAC,GAAG,EAAE,cAAc,GAAG,WAAW;CAS3D;AAED,eAAe,eAAe,CAAA"}
@@ -1,4 +1,4 @@
1
- import { CustomEncoder, MessageErrorBFF } from "../../utils";
1
+ import { CustomEncoder, MessageErrorBFF } from "../../../core";
2
2
  import { getToken } from "next-auth/jwt";
3
3
  class CustomValidator extends CustomEncoder {
4
4
  async validateTokenFront(req) {
@@ -1,5 +1,5 @@
1
- import type { ApiError } from "../../../types/ApiResponse";
2
- import { CustomLogger } from "../../utils";
1
+ import type { ApiError } from "../../../types";
2
+ import { CustomLogger } from "../../../core";
3
3
  declare class ErrorCatalog extends CustomLogger {
4
4
  get(error?: string | Error | ApiError): {
5
5
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/ErrorCatalog/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AA2C7C,cAAM,YAAa,SAAQ,YAAY;IACrC,GAAG,CAAC,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB;;;;;;;;;CA0BjD;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/ErrorCatalog/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AA2CvC,cAAM,YAAa,SAAQ,YAAY;IACrC,GAAG,CAAC,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB;;;;;;;;;CA0BjD;AAED,eAAe,YAAY,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { t } from "i18next";
2
- import { CustomLogger } from "../../utils";
2
+ import { CustomLogger } from "../../../core";
3
3
  const errorCatalog = {
4
4
  // EXAMPLE ERROR
5
5
  "MP-001": {
@@ -1,5 +1,4 @@
1
- import type { IMessageErrorBFF } from "../../../types/messageError";
2
- import type { ApiError } from "../../../types/ApiResponse";
1
+ import type { ApiError, IMessageErrorBFF } from "../../../types";
3
2
  import CustomLogger from "../CustomLogger";
4
3
  /**
5
4
  * clase para manejar los errores de la aplicación
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/MessageErrorBFF/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AACrD,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAG1C;;;;;;GAMG;AAEH,cAAM,eAAgB,SAAQ,YAAY;IACxC,OAAO,CAAC,YAAY,CAAkB;gBAE1B,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ;IAO7C,GAAG;CAGJ;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/MessageErrorBFF/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAG1C;;;;;;GAMG;AAEH,cAAM,eAAgB,SAAQ,YAAY;IACxC,OAAO,CAAC,YAAY,CAAkB;gBAE1B,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ;IAO7C,GAAG;CAGJ;AAED,eAAe,eAAe,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import CustomLogger from "../CustomLogger";
2
- import { ErrorCatalog } from "../../utils";
2
+ import { ErrorCatalog } from "../../../core";
3
3
  /**
4
4
  * clase para manejar los errores de la aplicación
5
5
  *
@@ -1,7 +1,6 @@
1
- import { CustomHeader } from "../../utils";
1
+ import { CustomHeader } from "../../../core";
2
2
  import { Observable } from "rxjs";
3
- import type { ApiResponse } from "../../../types/ApiResponse";
4
- import type { Method } from "../../../types/method";
3
+ import type { Method, ApiResponse } from "../../../types";
5
4
  declare abstract class FetchServiceBE<TRes, TData = {}> extends CustomHeader {
6
5
  private apiUrl;
7
6
  private method;
@@ -1 +1 @@
1
- {"version":3,"file":"FetchServiceBE.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/apiRequest/FetchServiceBE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiC,MAAM,gBAAgB,CAAA;AAC5E,OAAO,EAAa,UAAU,EAA0B,MAAM,MAAM,CAAA;AAEpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C,uBAAe,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE,CAAE,SAAQ,YAAY;IAClE,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAQ;gBAEV,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAM3C,QAAQ,CAAC,UAAU,IAAI,MAAM;IAE7B,YAAY,CAAC,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC;IASxC,gBAAgB,CAAC,KAAK,EAAE,KAAK;;;IAK7B,SAAS,CAAC,MAAM,GAAE,KAAmB,GAAG,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;CA0BtE;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"FetchServiceBE.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/apiRequest/FetchServiceBE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiC,MAAM,UAAU,CAAA;AACtE,OAAO,EAAa,UAAU,EAA0B,MAAM,MAAM,CAAA;AAEpE,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEpD,uBAAe,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE,CAAE,SAAQ,YAAY;IAClE,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAQ;gBAEV,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAM3C,QAAQ,CAAC,UAAU,IAAI,MAAM;IAE7B,YAAY,CAAC,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC;IASxC,gBAAgB,CAAC,KAAK,EAAE,KAAK;;;IAK7B,SAAS,CAAC,MAAM,GAAE,KAAmB,GAAG,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;CA0BtE;AAED,eAAe,cAAc,CAAA"}
@@ -1,4 +1,4 @@
1
- import { CustomHeader, ErrorHandler, MessageErrorBFF } from "../../utils";
1
+ import { CustomHeader, ErrorHandler, MessageErrorBFF } from "../../../core";
2
2
  import { switchMap, of, catchError, filter } from "rxjs";
3
3
  import { fromFetch } from "rxjs/fetch";
4
4
  class FetchServiceBE extends CustomHeader {
@@ -1,7 +1,6 @@
1
- import { CustomValidator } from "../../utils";
1
+ import { CustomValidator } from "../../../core";
2
2
  import { Observable } from "rxjs";
3
- import type { IMessageErrorBFF } from "../../../types/messageError";
4
- import type { Method } from "../../../types/method";
3
+ import type { Method, IMessageErrorBFF } from "../../../types";
5
4
  declare class FetchServiceFE<TRes, TData = {}> extends CustomValidator {
6
5
  private apiUrl;
7
6
  private method;
@@ -1 +1 @@
1
- {"version":3,"file":"FetchServiceFE.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/apiRequest/FetchServiceFE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAiC,MAAM,gBAAgB,CAAA;AAC/E,OAAO,EAAqC,UAAU,EAAE,MAAM,MAAM,CAAA;AAEpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C,cAAM,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE,CAAE,SAAQ,eAAe;IAC5D,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,OAAO,CAAa;gBAEhB,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAS3C,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,gBAAgB;IAK1C,gBAAgB,CAAC,KAAK,EAAE,KAAK;IAO7B,SAAS,CAAC,MAAM,GAAE,KAAmB,GAAG,UAAU,CAAC,IAAI,CAAC;CAkBzD;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"FetchServiceFE.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/apiRequest/FetchServiceFE.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAiC,MAAM,UAAU,CAAA;AACzE,OAAO,EAAqC,UAAU,EAAE,MAAM,MAAM,CAAA;AAEpE,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAEzD,cAAM,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE,CAAE,SAAQ,eAAe;IAC5D,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,OAAO,CAAa;gBAEhB,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAS3C,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,gBAAgB;IAK1C,gBAAgB,CAAC,KAAK,EAAE,KAAK;IAO7B,SAAS,CAAC,MAAM,GAAE,KAAmB,GAAG,UAAU,CAAC,IAAI,CAAC;CAkBzD;AAED,eAAe,cAAc,CAAA"}
@@ -1,4 +1,4 @@
1
- import { CustomValidator, ErrorHandler, MessageErrorBFF } from "../../utils";
1
+ import { CustomValidator, ErrorHandler, MessageErrorBFF } from "../../../core";
2
2
  import { switchMap, catchError, of, filter } from "rxjs";
3
3
  import { fromFetch } from "rxjs/fetch";
4
4
  class FetchServiceFE extends CustomValidator {
@@ -1,5 +1,5 @@
1
- import type { IMessageErrorBFF } from "../../../../types/messageError";
2
- import { RxSubjectManager } from "../../../utils/rxSubjects";
1
+ import type { IMessageErrorBFF } from "../../../../types";
2
+ import { RxSubjectManager } from "../../../../core";
3
3
  declare class ErrorHandler extends RxSubjectManager<IMessageErrorBFF> {
4
4
  private static instance;
5
5
  private constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/utils/rxSubjects/ErrorHandler/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAG5D,cAAM,YAAa,SAAQ,gBAAgB,CAAC,gBAAgB,CAAC;IAC3D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAc;IAErC,OAAO;IAIP,MAAM,CAAC,WAAW;CAMnB;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/utils/rxSubjects/ErrorHandler/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAG3C,cAAM,YAAa,SAAQ,gBAAgB,CAAC,gBAAgB,CAAC;IAC3D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAc;IAErC,OAAO;IAIP,MAAM,CAAC,WAAW;CAMnB;AAED,eAAe,YAAY,CAAA"}
@@ -1,4 +1,4 @@
1
- import { RxSubjectManager } from "../../../utils/rxSubjects";
1
+ import { RxSubjectManager } from "../../../../core";
2
2
  class ErrorHandler extends RxSubjectManager {
3
3
  static instance;
4
4
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",