@demind-inc/core 1.7.24 → 1.7.26

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/dist/constants.js CHANGED
@@ -67,6 +67,7 @@ exports.AVAILABLE_TODO_INTEGRATIONS_TYPE = [
67
67
  "todoist",
68
68
  "ticktick",
69
69
  "github",
70
+ "notion",
70
71
  ];
71
72
  exports.ALL_TODO_INTEGRATIONS_TYPE = [
72
73
  "trello",
@@ -10,6 +10,7 @@ export interface Token {
10
10
  google_calendars?: CalendarTokenInfo[];
11
11
  calendly?: TokenInfo;
12
12
  outlook_calendars?: CalendarTokenInfo[];
13
+ notion?: TokenInfo;
13
14
  }
14
15
  export interface TokenInfo {
15
16
  refresh?: string;
@@ -37,6 +37,7 @@ export interface User {
37
37
  sharedAccessIds?: string[];
38
38
  referree?: UserReferreeInfo;
39
39
  referrer?: UserReferrerInfo;
40
+ authProvider?: AuthProvider;
40
41
  }
41
42
  export interface UserReferreeInfo {
42
43
  referralCodeApplied?: string;
@@ -82,6 +83,7 @@ export interface OnboardingStatus {
82
83
  tutorial?: OnboardingStatusOption;
83
84
  }
84
85
  export type OnboardingStatusOption = "notAnswered" | "answered" | "skipped";
86
+ export type AuthProvider = "google" | "apple";
85
87
  export interface Subscription {
86
88
  productId: string;
87
89
  subscribedDate: string;
package/lib/constants.ts CHANGED
@@ -75,6 +75,7 @@ export const AVAILABLE_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
75
75
  "todoist",
76
76
  "ticktick",
77
77
  "github",
78
+ "notion",
78
79
  ];
79
80
  export const ALL_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[] = [
80
81
  "trello",
@@ -10,6 +10,7 @@ export interface Token {
10
10
  google_calendars?: CalendarTokenInfo[];
11
11
  calendly?: TokenInfo;
12
12
  outlook_calendars?: CalendarTokenInfo[];
13
+ notion?: TokenInfo;
13
14
  }
14
15
 
15
16
  export interface TokenInfo {
@@ -38,6 +38,7 @@ export interface User {
38
38
  sharedAccessIds?: string[];
39
39
  referree?: UserReferreeInfo; // in case a user is an invitee.
40
40
  referrer?: UserReferrerInfo; // in case a user is an inviter.
41
+ authProvider?: AuthProvider;
41
42
  }
42
43
 
43
44
  export interface UserReferreeInfo {
@@ -91,6 +92,7 @@ export interface OnboardingStatus {
91
92
  }
92
93
 
93
94
  export type OnboardingStatusOption = "notAnswered" | "answered" | "skipped";
95
+ export type AuthProvider = "google" | "apple";
94
96
 
95
97
  export interface Subscription {
96
98
  productId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.7.24",
3
+ "version": "1.7.26",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {