@mc-hogar/crosslib 0.0.90 → 0.0.92

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.
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/HomeCMS/BannerEstatico/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BannerEstaticoFileValidations = void 0;
4
+ exports.BannerEstaticoFileValidations = Object.freeze({
5
+ MAX_FILE_SIZE: 7 * 1024 * 1024, // 7MB
6
+ IMG_MOBILE_WIDTH: 500,
7
+ IMG_MOBILE_HEIGHT: 340,
8
+ IMG_MOBILE_RESOLUTION: '500x340',
9
+ IMG_DESKTOP_WIDTH: 1920,
10
+ IMG_DESKTOP_HEIGHT: 436,
11
+ IMG_DESKTOP_RESOLUTION: '1920x436',
12
+ //VALID_IMAGE_TYPES: ['jpg','jpeg', 'png', 'webp', 'avif']
13
+ });
14
+ //# sourceMappingURL=BannerEstatico.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerEstatico.types.js","sourceRoot":"","sources":["../../../../../../src/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.ts"],"names":[],"mappings":";;;AAYa,QAAA,6BAA6B,GAAG,MAAM,CAAC,MAAM,CAAC;IACvD,aAAa,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,EAAE,MAAM;IACtC,gBAAgB,EAAE,GAAG;IACrB,iBAAiB,EAAE,GAAG;IACtB,qBAAqB,EAAE,SAAS;IAChC,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,GAAG;IACvB,sBAAsB,EAAE,UAAU;IAClC,0DAA0D;CAC7D,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/HomeCMS/BannerEstatico/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export const BannerEstaticoFileValidations = Object.freeze({
2
+ MAX_FILE_SIZE: 7 * 1024 * 1024, // 7MB
3
+ IMG_MOBILE_WIDTH: 500,
4
+ IMG_MOBILE_HEIGHT: 340,
5
+ IMG_MOBILE_RESOLUTION: '500x340',
6
+ IMG_DESKTOP_WIDTH: 1920,
7
+ IMG_DESKTOP_HEIGHT: 436,
8
+ IMG_DESKTOP_RESOLUTION: '1920x436',
9
+ //VALID_IMAGE_TYPES: ['jpg','jpeg', 'png', 'webp', 'avif']
10
+ });
11
+ //# sourceMappingURL=BannerEstatico.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerEstatico.types.js","sourceRoot":"","sources":["../../../../../../src/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,CAAC;IACvD,aAAa,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,EAAE,MAAM;IACtC,gBAAgB,EAAE,GAAG;IACrB,iBAAiB,EAAE,GAAG;IACtB,qBAAqB,EAAE,SAAS;IAChC,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,GAAG;IACvB,sBAAsB,EAAE,UAAU;IAClC,0DAA0D;CAC7D,CAAC,CAAA"}
@@ -2,4 +2,7 @@ export interface ServerTimestamp {
2
2
  "_seconds": number;
3
3
  "_nanoseconds": number;
4
4
  }
5
+ export interface EntriesDocument<T> {
6
+ entries: T[];
7
+ }
5
8
  //# sourceMappingURL=Firestore.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Firestore.types.d.ts","sourceRoot":"","sources":["../../../../src/common/types/Firestore.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB"}
1
+ {"version":3,"file":"Firestore.types.d.ts","sourceRoot":"","sources":["../../../../src/common/types/Firestore.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,eAAe,CAAC,CAAC;IAC9B,OAAO,EAAE,CAAC,EAAE,CAAA;CACf"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/HomeCMS/BannerEstatico/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ export interface BannerEstaticoDocData {
2
+ createdAt: string;
3
+ img_key_escritorio: string;
4
+ img_key_mobile: string;
5
+ link: string;
6
+ titulo: string;
7
+ }
8
+ export interface BannerEstatico extends BannerEstaticoDocData {
9
+ id: string;
10
+ }
11
+ export declare const BannerEstaticoFileValidations: Readonly<{
12
+ MAX_FILE_SIZE: number;
13
+ IMG_MOBILE_WIDTH: 500;
14
+ IMG_MOBILE_HEIGHT: 340;
15
+ IMG_MOBILE_RESOLUTION: "500x340";
16
+ IMG_DESKTOP_WIDTH: 1920;
17
+ IMG_DESKTOP_HEIGHT: 436;
18
+ IMG_DESKTOP_RESOLUTION: "1920x436";
19
+ }>;
20
+ //# sourceMappingURL=BannerEstatico.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerEstatico.types.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,cAAc,EAAE,MAAM,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,cAAe,SAAQ,qBAAqB;IACzD,EAAE,EAAE,MAAM,CAAA;CACb;AAED,eAAO,MAAM,6BAA6B;;;;;;;;EASxC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { IMarca } from './Marcas.types';
1
2
  export interface MarcaExtension {
2
3
  aik_ma_codigo: string;
3
4
  maext_img_object_key: string | null;
@@ -5,4 +6,7 @@ export interface MarcaExtension {
5
6
  maext_orden_carousel_destacadas: number;
6
7
  updatedAt: Date;
7
8
  }
9
+ export interface MarcaCompleta extends IMarca {
10
+ marca_extension: MarcaExtension;
11
+ }
8
12
  //# sourceMappingURL=MarcaExtension.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarcaExtension.types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Marcas/types/MarcaExtension.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,+BAA+B,EAAE,MAAM,CAAC;IACxC,SAAS,EAAE,IAAI,CAAC;CACnB"}
1
+ {"version":3,"file":"MarcaExtension.types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Marcas/types/MarcaExtension.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,MAAM,WAAW,cAAc;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,+BAA+B,EAAE,MAAM,CAAC;IACxC,SAAS,EAAE,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,aAAc,SAAQ,MAAM;IACzC,eAAe,EAAE,cAAc,CAAA;CAClC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mc-hogar/crosslib",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
4
4
  "description": "Cross-platform TypeScript library",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",