@demind-inc/core 1.1.3 → 1.1.4
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.d.ts +2 -0
- package/dist/constants.js +2 -0
- package/dist/models/TaskIntegrations.d.ts +6 -0
- package/dist/models/TaskIntegrations.js +2 -0
- package/dist/models/TrelloTasks.d.ts +37 -0
- package/dist/models/TrelloTasks.js +2 -0
- package/dist/models/User.d.ts +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/lib/constants.ts +2 -0
- package/lib/models/TaskIntegrations.ts +7 -0
- package/lib/models/TrelloTasks.ts +40 -0
- package/lib/models/User.ts +4 -1
- package/lib/models/index.ts +2 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface TrelloTask {
|
|
2
|
+
boardId: string;
|
|
3
|
+
taskItems: TrelloTaskItem[];
|
|
4
|
+
}
|
|
5
|
+
export interface TrelloTaskItem {
|
|
6
|
+
taskId: string;
|
|
7
|
+
checkItemStates?: string[];
|
|
8
|
+
closed?: boolean;
|
|
9
|
+
coordinates?: string;
|
|
10
|
+
creationMethod?: string;
|
|
11
|
+
dateLastActivity?: string;
|
|
12
|
+
desc?: string;
|
|
13
|
+
due?: string;
|
|
14
|
+
dueReminder?: string;
|
|
15
|
+
idBoard?: string;
|
|
16
|
+
idChecklists: TrelloIdChecklist[];
|
|
17
|
+
idLabels?: TrelloIdLabel[];
|
|
18
|
+
idList?: string;
|
|
19
|
+
idMembers?: string[];
|
|
20
|
+
idMembersVoted?: string[];
|
|
21
|
+
labels: string[];
|
|
22
|
+
locationName?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
shortLink?: string;
|
|
25
|
+
shortUrl?: string;
|
|
26
|
+
subscribed?: boolean;
|
|
27
|
+
url?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface TrelloIdLabel {
|
|
30
|
+
id: string;
|
|
31
|
+
idBoard?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
color?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface TrelloIdChecklist {
|
|
36
|
+
id: string;
|
|
37
|
+
}
|
package/dist/models/User.d.ts
CHANGED
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -20,3 +20,5 @@ __exportStar(require("./Metrics"), exports);
|
|
|
20
20
|
__exportStar(require("./RecommendedTasks"), exports);
|
|
21
21
|
__exportStar(require("./EMAs"), exports);
|
|
22
22
|
__exportStar(require("./Token"), exports);
|
|
23
|
+
__exportStar(require("./TaskIntegrations"), exports);
|
|
24
|
+
__exportStar(require("./TrelloTasks"), exports);
|
package/lib/constants.ts
CHANGED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface TrelloTask {
|
|
2
|
+
boardId: string;
|
|
3
|
+
taskItems: TrelloTaskItem[];
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export interface TrelloTaskItem {
|
|
7
|
+
taskId: string;
|
|
8
|
+
checkItemStates?: string[];
|
|
9
|
+
closed?: boolean;
|
|
10
|
+
coordinates?: string;
|
|
11
|
+
creationMethod?: string;
|
|
12
|
+
dateLastActivity?: string;
|
|
13
|
+
desc?: string;
|
|
14
|
+
due?: string;
|
|
15
|
+
dueReminder?: string;
|
|
16
|
+
idBoard?: string;
|
|
17
|
+
idChecklists: TrelloIdChecklist[];
|
|
18
|
+
idLabels?: TrelloIdLabel[];
|
|
19
|
+
idList?: string;
|
|
20
|
+
idMembers?: string[];
|
|
21
|
+
idMembersVoted?: string[];
|
|
22
|
+
labels: string[];
|
|
23
|
+
locationName?: string;
|
|
24
|
+
name?: string;
|
|
25
|
+
shortLink?: string;
|
|
26
|
+
shortUrl?: string;
|
|
27
|
+
subscribed?: boolean;
|
|
28
|
+
url?: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface TrelloIdLabel {
|
|
32
|
+
id: string;
|
|
33
|
+
idBoard?: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
color?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface TrelloIdChecklist {
|
|
39
|
+
id: string;
|
|
40
|
+
}
|
package/lib/models/User.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface User {
|
|
|
11
11
|
createdAt?: string;
|
|
12
12
|
hasEnabledSubscribedCalendars?: boolean;
|
|
13
13
|
hasInitialSynced?: boolean;
|
|
14
|
-
fcmToken?: string;
|
|
14
|
+
fcmToken?: string; // Deprecated
|
|
15
15
|
notifications?: Notifications;
|
|
16
16
|
hiddenTasks?: Array<DocumentReference>;
|
|
17
17
|
recommendedTasks?: Array<DocumentReference>;
|
|
@@ -20,9 +20,11 @@ export interface User {
|
|
|
20
20
|
access?: UserAccessType;
|
|
21
21
|
subscriptions?: Subscription[];
|
|
22
22
|
tokenId?: DocumentReference;
|
|
23
|
+
taskIntegrationIds?: Array<DocumentReference>;
|
|
23
24
|
tokens?: UserTokens; // Deprecated
|
|
24
25
|
}
|
|
25
26
|
|
|
27
|
+
// Deprecated
|
|
26
28
|
export interface UserTokens {
|
|
27
29
|
googleRefresh?: string;
|
|
28
30
|
googleAccess?: string;
|
|
@@ -31,6 +33,7 @@ export interface UserTokens {
|
|
|
31
33
|
outlookRefresh?: string;
|
|
32
34
|
outlookAccessExpiryDate?: string;
|
|
33
35
|
}
|
|
36
|
+
|
|
34
37
|
export interface Subscription {
|
|
35
38
|
productId: string;
|
|
36
39
|
subscribedDate: string;
|
package/lib/models/index.ts
CHANGED