@mc-hogar/crosslib 0.0.91 → 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.
- package/dist/cjs/modules/HomeCMS/BannerEstatico/index.js +2 -0
- package/dist/cjs/modules/HomeCMS/BannerEstatico/index.js.map +1 -0
- package/dist/cjs/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.js +14 -0
- package/dist/cjs/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.js.map +1 -0
- package/dist/esm/modules/HomeCMS/BannerEstatico/index.js +2 -0
- package/dist/esm/modules/HomeCMS/BannerEstatico/index.js.map +1 -0
- package/dist/esm/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.js +11 -0
- package/dist/esm/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.js.map +1 -0
- package/dist/types/common/types/Firestore.types.d.ts +3 -0
- package/dist/types/common/types/Firestore.types.d.ts.map +1 -1
- package/dist/types/modules/HomeCMS/BannerEstatico/index.d.ts +1 -0
- package/dist/types/modules/HomeCMS/BannerEstatico/index.d.ts.map +1 -0
- package/dist/types/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.d.ts +20 -0
- package/dist/types/modules/HomeCMS/BannerEstatico/types/BannerEstatico.types.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -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 @@
|
|
|
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"}
|
|
@@ -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"}
|