feed-common 1.2.0 → 1.3.1
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.3.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.3.0...v1.3.1) (2024-04-14)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* change ShopifySubscriptionInfo structure ([ea78212](https://github.com/advertikon/package-maxify-feed-common/commit/ea78212ab2fdcc9d6d4df65256c1d3dcd1d1f808))
|
7
|
+
|
8
|
+
# [1.3.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.2.0...v1.3.0) (2024-04-14)
|
9
|
+
|
10
|
+
|
11
|
+
### Features
|
12
|
+
|
13
|
+
* add ShopifySubscriptionInfo type ([ea7284f](https://github.com/advertikon/package-maxify-feed-common/commit/ea7284f655f8d5e0c2936b0c2aaee19e324945c5))
|
14
|
+
|
1
15
|
# [1.2.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.1.2...v1.2.0) (2024-02-25)
|
2
16
|
|
3
17
|
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import { ShopifyRecurringCharge } from "./shopify.types";
|
1
2
|
export type ServerSideEvent = {
|
2
3
|
shop: string;
|
3
4
|
eventID: string;
|
4
|
-
type:
|
5
|
+
type: "progress" | "schedule";
|
5
6
|
name: string;
|
6
7
|
status?: boolean;
|
7
8
|
};
|
@@ -10,6 +11,7 @@ export type ServerSideProgressEvent = ServerSideEvent & {
|
|
10
11
|
totalCount: number;
|
11
12
|
};
|
12
13
|
export type ServerSideScheduleEvent = ServerSideEvent;
|
14
|
+
export type ShopifySubscriptionInfo = Omit<ShopifyRecurringCharge, "return_url" | "decorated_return_url" | "confirmation_url">;
|
13
15
|
export type CompanyStats = {
|
14
16
|
totalProductsCount: number;
|
15
17
|
syncedProductsCount: number;
|
@@ -22,6 +24,7 @@ export type CompanyStats = {
|
|
22
24
|
profileId: string;
|
23
25
|
profile: string;
|
24
26
|
}[];
|
27
|
+
subscription: ShopifySubscriptionInfo;
|
25
28
|
};
|
26
29
|
export type SubscriptionPlan = {
|
27
30
|
code: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"company.types.d.ts","sourceRoot":"","sources":["../../src/types/company.types.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"company.types.d.ts","sourceRoot":"","sources":["../../src/types/company.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,sBAAsB,EACtB,YAAY,GAAG,sBAAsB,GAAG,kBAAkB,CAC3D,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,EAAE,CAAC;IACJ,YAAY,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
+
/* eslint-disable quotes */
|
2
|
+
import { ShopifyRecurringCharge } from "./shopify.types";
|
3
|
+
|
1
4
|
export type ServerSideEvent = {
|
2
5
|
shop: string;
|
3
6
|
eventID: string;
|
4
|
-
type:
|
7
|
+
type: "progress" | "schedule";
|
5
8
|
name: string;
|
6
9
|
status?: boolean;
|
7
10
|
};
|
@@ -13,6 +16,11 @@ export type ServerSideProgressEvent = ServerSideEvent & {
|
|
13
16
|
|
14
17
|
export type ServerSideScheduleEvent = ServerSideEvent;
|
15
18
|
|
19
|
+
export type ShopifySubscriptionInfo = Omit<
|
20
|
+
ShopifyRecurringCharge,
|
21
|
+
"return_url" | "decorated_return_url" | "confirmation_url"
|
22
|
+
>;
|
23
|
+
|
16
24
|
export type CompanyStats = {
|
17
25
|
totalProductsCount: number;
|
18
26
|
syncedProductsCount: number;
|
@@ -25,6 +33,7 @@ export type CompanyStats = {
|
|
25
33
|
profileId: string;
|
26
34
|
profile: string;
|
27
35
|
}[];
|
36
|
+
subscription: ShopifySubscriptionInfo;
|
28
37
|
};
|
29
38
|
|
30
39
|
export type SubscriptionPlan = {
|
@@ -35,4 +44,4 @@ export type SubscriptionPlan = {
|
|
35
44
|
price: number;
|
36
45
|
};
|
37
46
|
|
38
|
-
export type AppLimits = { products: number; profiles: number }
|
47
|
+
export type AppLimits = { products: number; profiles: number };
|