feed-common 1.20.1 → 1.20.3
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## [1.20.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.20.2...v1.20.3) (2024-07-24)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* fix XmlFeedEntryType ([0b90876](https://github.com/advertikon/package-maxify-feed-common/commit/0b908768cd0428d20ca32a6d7a731432d0d658d8))
|
7
|
+
|
8
|
+
## [1.20.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.20.1...v1.20.2) (2024-07-24)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* fix XmlFeedEntryType ([312706d](https://github.com/advertikon/package-maxify-feed-common/commit/312706d1b292a15a6dbea27e162b12c899e2b7ca))
|
14
|
+
|
1
15
|
## [1.20.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.20.0...v1.20.1) (2024-07-24)
|
2
16
|
|
3
17
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { ProductUploadMappings, RuleOperators } from '../constants/profile.constants.js';
|
2
|
+
import { SafeParseReturnType } from 'zod';
|
2
3
|
export type SelectItem = {
|
3
4
|
label: string;
|
4
5
|
value: string;
|
@@ -76,9 +77,9 @@ export type XmlFeedEntryType = {
|
|
76
77
|
description: string;
|
77
78
|
required: boolean;
|
78
79
|
type: 'string';
|
79
|
-
validate: (v: string | number) =>
|
80
|
+
validate: (v: string | number) => SafeParseReturnType<any, any>;
|
80
81
|
value: string;
|
81
|
-
rules
|
82
|
+
rules?: ProductUploadRules;
|
82
83
|
};
|
83
84
|
export {};
|
84
85
|
//# sourceMappingURL=profile.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.types.d.ts","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,aAA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AW;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB;AAED,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,GAAC,MAAM,KAAK,mBAAmB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC9B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.types.js","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"profile.types.js","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAsEA,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;AACzB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "feed-common",
|
3
|
-
"version": "1.20.
|
3
|
+
"version": "1.20.3",
|
4
4
|
"description": "Maxify feed common library",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"type": "module",
|
@@ -28,7 +28,8 @@
|
|
28
28
|
"vitest": "^1.6.0"
|
29
29
|
},
|
30
30
|
"peerDependencies": {
|
31
|
-
"@shopify/shopify-api": "^9.2.0"
|
31
|
+
"@shopify/shopify-api": "^9.2.0",
|
32
|
+
"zod": "^3.23.8"
|
32
33
|
},
|
33
34
|
"repository": {
|
34
35
|
"type": "git",
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { ProductUploadMappings, RuleOperators } from '../constants/profile.constants.js';
|
2
|
+
import { SafeParseReturnType } from 'zod';
|
2
3
|
|
3
4
|
export type SelectItem = { label: string; value: string };
|
4
5
|
|
@@ -82,7 +83,7 @@ export type XmlFeedEntryType = {
|
|
82
83
|
description: string;
|
83
84
|
required: boolean;
|
84
85
|
type: 'string';
|
85
|
-
validate: (v: string|number) =>
|
86
|
+
validate: (v: string|number) => SafeParseReturnType<any, any>;
|
86
87
|
value: string;
|
87
|
-
rules
|
88
|
+
rules?: ProductUploadRules;
|
88
89
|
};
|