@todesktop/shared 7.79.0 → 7.82.0
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/lib/desktopify2.d.ts +2 -2
- package/lib/plans.d.ts +8 -1
- package/lib/plans.js +3 -1
- package/package.json +1 -1
- package/src/desktopify2.ts +2 -2
- package/src/plans.ts +3 -0
package/lib/desktopify2.d.ts
CHANGED
|
@@ -144,9 +144,9 @@ export interface DesktopifyAppWindow {
|
|
|
144
144
|
export interface DesktopifyApp2 {
|
|
145
145
|
id: string;
|
|
146
146
|
/**
|
|
147
|
-
* Last
|
|
147
|
+
* Last desktopify version that was used to update the app
|
|
148
148
|
*/
|
|
149
|
-
|
|
149
|
+
lastUsedDesktopifyVersion?: string;
|
|
150
150
|
/**
|
|
151
151
|
* The name of the app
|
|
152
152
|
*/
|
package/lib/plans.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const devPlanIds: {
|
|
|
5
5
|
growth: string;
|
|
6
6
|
essential_new: string;
|
|
7
7
|
professional: string;
|
|
8
|
+
professional_annual: string;
|
|
8
9
|
cli_founder: string;
|
|
9
10
|
cli_founder_30: string;
|
|
10
11
|
cli_founder_50: string;
|
|
@@ -17,6 +18,7 @@ export declare const prodPlanIds: {
|
|
|
17
18
|
growth: string;
|
|
18
19
|
essential_new: string;
|
|
19
20
|
professional: string;
|
|
21
|
+
professional_annual: string;
|
|
20
22
|
cli_founder: string;
|
|
21
23
|
cli_founder_30: string;
|
|
22
24
|
cli_founder_50: string;
|
|
@@ -30,6 +32,7 @@ export declare const getPlanEnvironment: (stage: "dev" | "prod") => {
|
|
|
30
32
|
growth: string;
|
|
31
33
|
essential_new: string;
|
|
32
34
|
professional: string;
|
|
35
|
+
professional_annual: string;
|
|
33
36
|
cli_founder: string;
|
|
34
37
|
cli_founder_30: string;
|
|
35
38
|
cli_founder_50: string;
|
|
@@ -42,6 +45,7 @@ export declare const getEssentialPlanIds: (stage: "dev" | "prod") => Pick<{
|
|
|
42
45
|
growth: string;
|
|
43
46
|
essential_new: string;
|
|
44
47
|
professional: string;
|
|
48
|
+
professional_annual: string;
|
|
45
49
|
cli_founder: string;
|
|
46
50
|
cli_founder_30: string;
|
|
47
51
|
cli_founder_50: string;
|
|
@@ -54,6 +58,7 @@ export declare const getCLIPlanIds: (stage: "dev" | "prod") => Pick<{
|
|
|
54
58
|
growth: string;
|
|
55
59
|
essential_new: string;
|
|
56
60
|
professional: string;
|
|
61
|
+
professional_annual: string;
|
|
57
62
|
cli_founder: string;
|
|
58
63
|
cli_founder_30: string;
|
|
59
64
|
cli_founder_50: string;
|
|
@@ -66,11 +71,12 @@ export declare const getProfessionalPlanIds: (stage: "dev" | "prod") => Pick<{
|
|
|
66
71
|
growth: string;
|
|
67
72
|
essential_new: string;
|
|
68
73
|
professional: string;
|
|
74
|
+
professional_annual: string;
|
|
69
75
|
cli_founder: string;
|
|
70
76
|
cli_founder_30: string;
|
|
71
77
|
cli_founder_50: string;
|
|
72
78
|
enterprise: string;
|
|
73
|
-
}, "business" | "growth" | "professional" | "cli_founder" | "cli_founder_30" | "cli_founder_50">;
|
|
79
|
+
}, "business" | "growth" | "professional" | "professional_annual" | "cli_founder" | "cli_founder_30" | "cli_founder_50">;
|
|
74
80
|
export declare const getEnterprisePlanIds: (stage: "dev" | "prod") => Pick<{
|
|
75
81
|
startup: string;
|
|
76
82
|
business: string;
|
|
@@ -78,6 +84,7 @@ export declare const getEnterprisePlanIds: (stage: "dev" | "prod") => Pick<{
|
|
|
78
84
|
growth: string;
|
|
79
85
|
essential_new: string;
|
|
80
86
|
professional: string;
|
|
87
|
+
professional_annual: string;
|
|
81
88
|
cli_founder: string;
|
|
82
89
|
cli_founder_30: string;
|
|
83
90
|
cli_founder_50: string;
|
package/lib/plans.js
CHANGED
|
@@ -14,6 +14,7 @@ exports.devPlanIds = {
|
|
|
14
14
|
growth: "plan_FplOshrr1w3Mvu",
|
|
15
15
|
essential_new: "plan_GYXmTA3EdfCv4q",
|
|
16
16
|
professional: "plan_GYXoIkvwVKyfF2",
|
|
17
|
+
professional_annual: "price_1KHU70IewCKA2h0IR87yXOQ2",
|
|
17
18
|
cli_founder: "plan_Gq0FzdmoTJshQL",
|
|
18
19
|
cli_founder_30: "plan_GsL7NZskOY0TC9",
|
|
19
20
|
cli_founder_50: "plan_GsL6VYAshfh7c4",
|
|
@@ -26,6 +27,7 @@ exports.prodPlanIds = {
|
|
|
26
27
|
growth: "plan_FohKGuWis5ocsi",
|
|
27
28
|
essential_new: "plan_GYXn2cnPl5dy7j",
|
|
28
29
|
professional: "plan_GYXoKsa2j0yURg",
|
|
30
|
+
professional_annual: "price_1KHTgaIewCKA2h0I81TVg85r",
|
|
29
31
|
cli_founder: "plan_GpzWZLfsOzjrvI",
|
|
30
32
|
cli_founder_30: "plan_GsL1IRUwpj5CIF",
|
|
31
33
|
cli_founder_50: "plan_GsL1IRUwpj5CIF",
|
|
@@ -42,7 +44,7 @@ exports.getCLIPlanIds = (stage) => {
|
|
|
42
44
|
};
|
|
43
45
|
exports.getProfessionalPlanIds = (stage) => {
|
|
44
46
|
const planIds = exports.getPlanEnvironment(stage);
|
|
45
|
-
return pick(planIds, "business", "growth", "professional", "cli_founder", "cli_founder_30", "cli_founder_50");
|
|
47
|
+
return pick(planIds, "business", "growth", "professional", "professional_annual", "cli_founder", "cli_founder_30", "cli_founder_50");
|
|
46
48
|
};
|
|
47
49
|
exports.getEnterprisePlanIds = (stage) => {
|
|
48
50
|
const planIds = exports.getPlanEnvironment(stage);
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -251,9 +251,9 @@ export interface DesktopifyAppWindow {
|
|
|
251
251
|
export interface DesktopifyApp2 {
|
|
252
252
|
id: string;
|
|
253
253
|
/**
|
|
254
|
-
* Last
|
|
254
|
+
* Last desktopify version that was used to update the app
|
|
255
255
|
*/
|
|
256
|
-
|
|
256
|
+
lastUsedDesktopifyVersion?: string;
|
|
257
257
|
/**
|
|
258
258
|
* The name of the app
|
|
259
259
|
*/
|
package/src/plans.ts
CHANGED
|
@@ -13,6 +13,7 @@ export const devPlanIds = {
|
|
|
13
13
|
growth: "plan_FplOshrr1w3Mvu",
|
|
14
14
|
essential_new: "plan_GYXmTA3EdfCv4q",
|
|
15
15
|
professional: "plan_GYXoIkvwVKyfF2",
|
|
16
|
+
professional_annual: "price_1KHU70IewCKA2h0IR87yXOQ2",
|
|
16
17
|
cli_founder: "plan_Gq0FzdmoTJshQL",
|
|
17
18
|
cli_founder_30: "plan_GsL7NZskOY0TC9",
|
|
18
19
|
cli_founder_50: "plan_GsL6VYAshfh7c4",
|
|
@@ -26,6 +27,7 @@ export const prodPlanIds = {
|
|
|
26
27
|
growth: "plan_FohKGuWis5ocsi",
|
|
27
28
|
essential_new: "plan_GYXn2cnPl5dy7j",
|
|
28
29
|
professional: "plan_GYXoKsa2j0yURg",
|
|
30
|
+
professional_annual: "price_1KHTgaIewCKA2h0I81TVg85r",
|
|
29
31
|
cli_founder: "plan_GpzWZLfsOzjrvI",
|
|
30
32
|
cli_founder_30: "plan_GsL1IRUwpj5CIF",
|
|
31
33
|
cli_founder_50: "plan_GsL1IRUwpj5CIF",
|
|
@@ -54,6 +56,7 @@ export const getProfessionalPlanIds = (stage: "dev" | "prod") => {
|
|
|
54
56
|
"business",
|
|
55
57
|
"growth",
|
|
56
58
|
"professional",
|
|
59
|
+
"professional_annual",
|
|
57
60
|
"cli_founder",
|
|
58
61
|
"cli_founder_30",
|
|
59
62
|
"cli_founder_50"
|