@demind-inc/core 1.2.6 → 1.2.7
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.
|
@@ -8,7 +8,7 @@ export interface FeatureFlags {
|
|
|
8
8
|
releases: ReleaseLog[];
|
|
9
9
|
};
|
|
10
10
|
referral_codes?: {
|
|
11
|
-
campaigns:
|
|
11
|
+
campaigns: ReferralCampaign[];
|
|
12
12
|
};
|
|
13
13
|
[key: string]: any;
|
|
14
14
|
}
|
|
@@ -16,7 +16,7 @@ export interface ReleaseLog {
|
|
|
16
16
|
name: string;
|
|
17
17
|
date: string;
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface ReferralCampaign {
|
|
20
20
|
campaignId: string;
|
|
21
21
|
offer: ReferralCodeOffer;
|
|
22
22
|
valid: boolean;
|
|
@@ -47,8 +47,13 @@ export interface TaskItem {
|
|
|
47
47
|
duration?: TaskItemDuration;
|
|
48
48
|
addedToCalendar?: boolean;
|
|
49
49
|
deleted?: boolean;
|
|
50
|
+
category?: TaskCategorySet;
|
|
50
51
|
rawJson?: any;
|
|
51
52
|
}
|
|
53
|
+
export interface TaskCategorySet {
|
|
54
|
+
id: string;
|
|
55
|
+
name: string;
|
|
56
|
+
}
|
|
52
57
|
export interface TaskItemDuration {
|
|
53
58
|
amount: number;
|
|
54
59
|
unit: "day" | "minute";
|
package/dist/models/User.d.ts
CHANGED
|
@@ -55,15 +55,10 @@ export interface Subscription {
|
|
|
55
55
|
price?: SubscriptionPrice;
|
|
56
56
|
deviceFrom?: SubscriptionDeviceFrom;
|
|
57
57
|
offeringId?: string;
|
|
58
|
-
referral?: ConvertedReferralCampaign;
|
|
59
58
|
metadata?: {
|
|
60
59
|
stripeLookupKey?: StripeLookupkey;
|
|
61
60
|
};
|
|
62
61
|
}
|
|
63
|
-
export interface ConvertedReferralCampaign {
|
|
64
|
-
campaignId: string;
|
|
65
|
-
rewardfulClientId?: string;
|
|
66
|
-
}
|
|
67
62
|
export type StripeLookupkey = "beta_monthly_staging" | "beta_yearly_staging" | "basic_monthly_staging" | "basic_yearly_staging" | "beta_monthly_prod" | "beta_yearly_prod" | "basic_monthly_prod" | "basic_yearly_prod";
|
|
68
63
|
export declare const stripeLookupKeySet: Record<"beta" | "basic", StripeLookupkey[]>;
|
|
69
64
|
export interface SubscriptionPrice {
|
|
@@ -8,7 +8,7 @@ export interface FeatureFlags {
|
|
|
8
8
|
releases: ReleaseLog[];
|
|
9
9
|
};
|
|
10
10
|
referral_codes?: {
|
|
11
|
-
campaigns:
|
|
11
|
+
campaigns: ReferralCampaign[];
|
|
12
12
|
};
|
|
13
13
|
[key: string]: any;
|
|
14
14
|
}
|
|
@@ -18,7 +18,7 @@ export interface ReleaseLog {
|
|
|
18
18
|
date: string;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface ReferralCampaign {
|
|
22
22
|
campaignId: string;
|
|
23
23
|
offer: ReferralCodeOffer;
|
|
24
24
|
valid: boolean;
|
package/lib/models/TodoTasks.ts
CHANGED
|
@@ -53,9 +53,15 @@ export interface TaskItem {
|
|
|
53
53
|
duration?: TaskItemDuration;
|
|
54
54
|
addedToCalendar?: boolean;
|
|
55
55
|
deleted?: boolean;
|
|
56
|
+
category?: TaskCategorySet;
|
|
56
57
|
rawJson?: any;
|
|
57
58
|
}
|
|
58
59
|
|
|
60
|
+
export interface TaskCategorySet {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
59
65
|
export interface TaskItemDuration {
|
|
60
66
|
amount: number;
|
|
61
67
|
unit: "day" | "minute";
|
package/lib/models/User.ts
CHANGED
|
@@ -61,17 +61,11 @@ export interface Subscription {
|
|
|
61
61
|
price?: SubscriptionPrice;
|
|
62
62
|
deviceFrom?: SubscriptionDeviceFrom;
|
|
63
63
|
offeringId?: string;
|
|
64
|
-
referral?: ConvertedReferralCampaign;
|
|
65
64
|
metadata?: {
|
|
66
65
|
stripeLookupKey?: StripeLookupkey;
|
|
67
66
|
};
|
|
68
67
|
}
|
|
69
68
|
|
|
70
|
-
export interface ConvertedReferralCampaign {
|
|
71
|
-
campaignId: string;
|
|
72
|
-
rewardfulClientId?: string;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
69
|
export type StripeLookupkey =
|
|
76
70
|
| "beta_monthly_staging"
|
|
77
71
|
| "beta_yearly_staging"
|