@demind-inc/core 1.1.6 → 1.1.8
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 +1 -1
- package/dist/constants.js +1 -1
- package/dist/models/TodoTasks.d.ts +26 -0
- package/dist/models/TodoTasks.js +2 -0
- package/dist/models/Token.d.ts +1 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/lib/constants.ts +1 -1
- package/lib/models/TodoTasks.ts +30 -0
- package/lib/models/Token.ts +1 -0
- package/lib/models/index.ts +1 -1
- package/package.json +1 -1
- package/lib/models/TrelloTodos.ts +0 -40
package/dist/constants.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const DB_COLLECTION: {
|
|
|
10
10
|
EMA_DATES: string;
|
|
11
11
|
TOKENS: string;
|
|
12
12
|
TODO_INTEGRATIONS: string;
|
|
13
|
-
|
|
13
|
+
TODO_TASKS: string;
|
|
14
14
|
};
|
|
15
15
|
export declare const SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
|
16
16
|
export declare const AVAILABLE_TODO_INTEGRATIONS_TYPE: TodoIntegrationType[];
|
package/dist/constants.js
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TodoIntegrationType } from "./TodoIntegrations";
|
|
2
|
+
export interface TodoBoard {
|
|
3
|
+
boardId: string;
|
|
4
|
+
tasks: TaskItem[];
|
|
5
|
+
}
|
|
6
|
+
export interface TaskDueDate {
|
|
7
|
+
datetime: string;
|
|
8
|
+
timezone: string;
|
|
9
|
+
}
|
|
10
|
+
export interface TaskLabel {
|
|
11
|
+
name: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface TaskItem {
|
|
15
|
+
taskId: string;
|
|
16
|
+
complected?: boolean;
|
|
17
|
+
name: string;
|
|
18
|
+
desc?: string;
|
|
19
|
+
url?: string;
|
|
20
|
+
due?: TaskDueDate;
|
|
21
|
+
startDate?: TaskDueDate;
|
|
22
|
+
from: TodoIntegrationType;
|
|
23
|
+
boardId: string;
|
|
24
|
+
labels: TaskLabel[];
|
|
25
|
+
updatedAt: string;
|
|
26
|
+
}
|
package/dist/models/Token.d.ts
CHANGED
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -21,4 +21,4 @@ __exportStar(require("./RecommendedTasks"), exports);
|
|
|
21
21
|
__exportStar(require("./EMAs"), exports);
|
|
22
22
|
__exportStar(require("./Token"), exports);
|
|
23
23
|
__exportStar(require("./TodoIntegrations"), exports);
|
|
24
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./TodoTasks"), exports);
|
package/lib/constants.ts
CHANGED
|
@@ -11,7 +11,7 @@ export const DB_COLLECTION = {
|
|
|
11
11
|
EMA_DATES: "emaDates",
|
|
12
12
|
TOKENS: "tokens",
|
|
13
13
|
TODO_INTEGRATIONS: "todoIntegrations",
|
|
14
|
-
|
|
14
|
+
TODO_TASKS: "todoTasks",
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export const SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TodoIntegrationType } from "./TodoIntegrations";
|
|
2
|
+
|
|
3
|
+
export interface TodoBoard {
|
|
4
|
+
boardId: string;
|
|
5
|
+
tasks: TaskItem[];
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface TaskDueDate {
|
|
9
|
+
datetime: string;
|
|
10
|
+
timezone: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface TaskLabel {
|
|
14
|
+
name: string;
|
|
15
|
+
color?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface TaskItem {
|
|
19
|
+
taskId: string;
|
|
20
|
+
complected?: boolean;
|
|
21
|
+
name: string;
|
|
22
|
+
desc?: string;
|
|
23
|
+
url?: string;
|
|
24
|
+
due?: TaskDueDate;
|
|
25
|
+
startDate?: TaskDueDate;
|
|
26
|
+
from: TodoIntegrationType;
|
|
27
|
+
boardId: string;
|
|
28
|
+
labels: TaskLabel[];
|
|
29
|
+
updatedAt: string;
|
|
30
|
+
}
|
package/lib/models/Token.ts
CHANGED
package/lib/models/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export interface TrelloTodo {
|
|
2
|
-
boardId: string;
|
|
3
|
-
tasks: 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
|
-
}
|