@deallony/shared 1.2.52 → 1.2.54
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.
|
@@ -5,7 +5,8 @@ exports.AdMediaIssueCode = exports.MAX_AD_VIDEO_BYTES = exports.MAX_AD_VIDEOS =
|
|
|
5
5
|
// client and the API so they can never drift apart.
|
|
6
6
|
exports.MAX_AD_IMAGES = 30;
|
|
7
7
|
exports.MAX_AD_VIDEOS = 1;
|
|
8
|
-
|
|
8
|
+
// Raw upload size; the assets service compresses videos after upload.
|
|
9
|
+
exports.MAX_AD_VIDEO_BYTES = 200 * 1024 * 1024;
|
|
9
10
|
// Stable codes carried in `params.code` of adMediaSchema issues, so clients can
|
|
10
11
|
// show localized messages without re-implementing the rules.
|
|
11
12
|
var AdMediaIssueCode;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
// client and the API so they can never drift apart.
|
|
3
3
|
export const MAX_AD_IMAGES = 30;
|
|
4
4
|
export const MAX_AD_VIDEOS = 1;
|
|
5
|
-
|
|
5
|
+
// Raw upload size; the assets service compresses videos after upload.
|
|
6
|
+
export const MAX_AD_VIDEO_BYTES = 200 * 1024 * 1024;
|
|
6
7
|
// Stable codes carried in `params.code` of adMediaSchema issues, so clients can
|
|
7
8
|
// show localized messages without re-implementing the rules.
|
|
8
9
|
export var AdMediaIssueCode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deallony/shared",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.54",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"deploy": "node ./scripts/publish.js npm patch",
|
|
22
22
|
"=========": "============= UPDATE APPS LIBRARY =============",
|
|
23
23
|
"all:update": "npm run mobile:update && npm run backend:update && npm run dashboard:update && npm run whatsapp:update",
|
|
24
|
-
"mobile:update": "cd ../app && npm
|
|
24
|
+
"mobile:update": "cd ../app && npm run upgrade:deallony:shared",
|
|
25
25
|
"backend:update": "cd ../backend-service-marketplace && pnpm install gitlab:qatayef-tech-aloo/deallony-development/shared-deallony",
|
|
26
26
|
"dashboard:update": "cd ../frontend-react-aloo && pnpm install gitlab:qatayef-tech-aloo/deallony-development/shared-deallony",
|
|
27
27
|
"whatsapp:update": "cd ../backend-nest-whatsapp-service-aloo && pnpm install gitlab:qatayef-tech-aloo/deallony-development/shared-deallony",
|