@abyss-project/main 1.0.58 → 1.0.59
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/api/board-card-checklist.api.d.ts +8 -0
- package/dist/api/board-card-checklist.api.js +32 -0
- package/dist/api/board-card-comment.api.d.ts +5 -0
- package/dist/api/board-card-comment.api.js +20 -0
- package/dist/api/board-card-document.api.d.ts +4 -0
- package/dist/api/board-card-document.api.js +16 -0
- package/dist/api/board-card.api.d.ts +10 -0
- package/dist/api/board-card.api.js +42 -0
- package/dist/api/board-column.api.d.ts +5 -0
- package/dist/api/board-column.api.js +20 -0
- package/dist/api/board-label.api.d.ts +8 -0
- package/dist/api/board-label.api.js +33 -0
- package/dist/api/board.api.d.ts +8 -0
- package/dist/api/board.api.js +33 -0
- package/dist/api/index.d.ts +7 -0
- package/dist/api/index.js +7 -0
- package/dist/api/project.admin.api.d.ts +2 -1
- package/dist/api/project.admin.api.js +5 -1
- package/dist/api/project.api.d.ts +2 -1
- package/dist/api/project.api.js +5 -1
- package/dist/api/user.admin.api.d.ts +2 -1
- package/dist/api/user.admin.api.js +5 -1
- package/dist/api/user.api.d.ts +2 -1
- package/dist/api/user.api.js +5 -1
- package/dist/constants/board.constants.d.ts +5 -0
- package/dist/constants/board.constants.js +8 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/translate/en.translate.d.ts +8 -0
- package/dist/translate/en.translate.js +8 -0
- package/dist/translate/fr.translate.d.ts +8 -0
- package/dist/translate/fr.translate.js +8 -0
- package/dist/types/enum/abyss-application-event.enum.d.ts +28 -0
- package/dist/types/enum/abyss-application-event.enum.js +28 -0
- package/dist/types/enum/api-error.enum.d.ts +3 -1
- package/dist/types/enum/api-error.enum.js +2 -0
- package/dist/types/enum/board-activity.enum.d.ts +170 -0
- package/dist/types/enum/board-activity.enum.js +37 -0
- package/dist/types/enum/board-column-type.enum.d.ts +6 -0
- package/dist/types/enum/board-column-type.enum.js +10 -0
- package/dist/types/enum/index.d.ts +2 -0
- package/dist/types/enum/index.js +2 -0
- package/dist/types/enum/user-notification-content-type.enum.d.ts +20 -0
- package/dist/types/enum/user-notification-content-type.enum.js +3 -1
- package/dist/types/interface/api/index.d.ts +14 -0
- package/dist/types/interface/api/index.js +14 -0
- package/dist/types/interface/api/requests/board-card-checklist.request.d.ts +55 -0
- package/dist/types/interface/api/requests/board-card-checklist.request.js +2 -0
- package/dist/types/interface/api/requests/board-card-comment.request.d.ts +25 -0
- package/dist/types/interface/api/requests/board-card-comment.request.js +2 -0
- package/dist/types/interface/api/requests/board-card-document.request.d.ts +17 -0
- package/dist/types/interface/api/requests/board-card-document.request.js +2 -0
- package/dist/types/interface/api/requests/board-card.request.d.ts +65 -0
- package/dist/types/interface/api/requests/board-card.request.js +2 -0
- package/dist/types/interface/api/requests/board-column.request.d.ts +26 -0
- package/dist/types/interface/api/requests/board-column.request.js +2 -0
- package/dist/types/interface/api/requests/board-label.request.d.ts +36 -0
- package/dist/types/interface/api/requests/board-label.request.js +2 -0
- package/dist/types/interface/api/requests/board.request.d.ts +22 -0
- package/dist/types/interface/api/requests/board.request.js +2 -0
- package/dist/types/interface/api/requests/project.admin.request.d.ts +3 -0
- package/dist/types/interface/api/requests/project.request.d.ts +3 -0
- package/dist/types/interface/api/requests/user.admin.request.d.ts +3 -0
- package/dist/types/interface/api/requests/user.request.d.ts +8 -0
- package/dist/types/interface/api/responses/board-card-checklist.response.d.ts +27 -0
- package/dist/types/interface/api/responses/board-card-checklist.response.js +2 -0
- package/dist/types/interface/api/responses/board-card-comment.response.d.ts +17 -0
- package/dist/types/interface/api/responses/board-card-comment.response.js +2 -0
- package/dist/types/interface/api/responses/board-card-document.response.d.ts +13 -0
- package/dist/types/interface/api/responses/board-card-document.response.js +2 -0
- package/dist/types/interface/api/responses/board-card.response.d.ts +35 -0
- package/dist/types/interface/api/responses/board-card.response.js +2 -0
- package/dist/types/interface/api/responses/board-column.response.d.ts +17 -0
- package/dist/types/interface/api/responses/board-column.response.js +2 -0
- package/dist/types/interface/api/responses/board-label.response.d.ts +30 -0
- package/dist/types/interface/api/responses/board-label.response.js +2 -0
- package/dist/types/interface/api/responses/board.response.d.ts +46 -0
- package/dist/types/interface/api/responses/board.response.js +2 -0
- package/dist/types/interface/api/responses/project.admin.response.d.ts +14 -0
- package/dist/types/interface/api/responses/project.response.d.ts +16 -2
- package/dist/types/interface/api/responses/user.admin.response.d.ts +14 -1
- package/dist/types/interface/api/responses/user.response.d.ts +14 -1
- package/dist/types/interface/index.d.ts +11 -0
- package/dist/types/interface/index.js +11 -0
- package/dist/types/interface/models/board-activity.model.d.ts +17 -0
- package/dist/types/interface/models/board-activity.model.js +2 -0
- package/dist/types/interface/models/board-card-checklist-row.model.d.ts +11 -0
- package/dist/types/interface/models/board-card-checklist-row.model.js +2 -0
- package/dist/types/interface/models/board-card-checklist.model.d.ts +13 -0
- package/dist/types/interface/models/board-card-checklist.model.js +2 -0
- package/dist/types/interface/models/board-card-comment.model.d.ts +12 -0
- package/dist/types/interface/models/board-card-comment.model.js +2 -0
- package/dist/types/interface/models/board-card-document.model.d.ts +19 -0
- package/dist/types/interface/models/board-card-document.model.js +2 -0
- package/dist/types/interface/models/board-card-label.model.d.ts +11 -0
- package/dist/types/interface/models/board-card-label.model.js +2 -0
- package/dist/types/interface/models/board-card-member.model.d.ts +11 -0
- package/dist/types/interface/models/board-card-member.model.js +2 -0
- package/dist/types/interface/models/board-card.model.d.ts +34 -0
- package/dist/types/interface/models/board-card.model.js +2 -0
- package/dist/types/interface/models/board-column.model.d.ts +14 -0
- package/dist/types/interface/models/board-column.model.js +2 -0
- package/dist/types/interface/models/board-label.model.d.ts +10 -0
- package/dist/types/interface/models/board-label.model.js +2 -0
- package/dist/types/interface/models/board.model.d.ts +24 -0
- package/dist/types/interface/models/board.model.js +2 -0
- package/dist/types/interface/models/user.model.d.ts +4 -1
- package/dist/utils/board.utils.d.ts +5 -0
- package/dist/utils/board.utils.js +39 -0
- package/dist/utils/color.utils.d.ts +1 -0
- package/dist/utils/color.utils.js +12 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +2 -0
- package/package.json +1 -1
|
@@ -8,6 +8,34 @@ var AbyssApplicationEvent;
|
|
|
8
8
|
AbyssApplicationEvent["AUTHENTICATION_USER_LOGIN"] = "authentication.user.login";
|
|
9
9
|
AbyssApplicationEvent["AUTHENTICATION_USER_LOGIN_REFRESH"] = "authentication.user.login-refresh";
|
|
10
10
|
AbyssApplicationEvent["MAILING_EMAIL_SEND"] = "mailing.email.send";
|
|
11
|
+
AbyssApplicationEvent["BOARD_CREATE"] = "board.create";
|
|
12
|
+
AbyssApplicationEvent["BOARD_UPDATE"] = "board.update";
|
|
13
|
+
AbyssApplicationEvent["BOARD_DELETE"] = "board.delete";
|
|
14
|
+
AbyssApplicationEvent["BOARD_COLUMN_CREATE"] = "board.column.create";
|
|
15
|
+
AbyssApplicationEvent["BOARD_COLUMN_UPDATE"] = "board.column.update";
|
|
16
|
+
AbyssApplicationEvent["BOARD_COLUMN_DELETE"] = "board.column.delete";
|
|
17
|
+
AbyssApplicationEvent["BOARD_CARD_CREATE"] = "board.card.create";
|
|
18
|
+
AbyssApplicationEvent["BOARD_CARD_UPDATE"] = "board.card.update";
|
|
19
|
+
AbyssApplicationEvent["BOARD_CARD_DELETE"] = "board.card.delete";
|
|
20
|
+
AbyssApplicationEvent["BOARD_ACTIVITY_CREATE"] = "board.activity.create";
|
|
21
|
+
AbyssApplicationEvent["BOARD_CARD_MEMBER_CREATE"] = "board.card.member.create";
|
|
22
|
+
AbyssApplicationEvent["BOARD_CARD_MEMBER_DELETE"] = "board.card.member.delete";
|
|
23
|
+
AbyssApplicationEvent["BOARD_CARD_DOCUMENT_CREATE"] = "board.card.document.create";
|
|
24
|
+
AbyssApplicationEvent["BOARD_CARD_DOCUMENT_DELETE"] = "board.card.document.delete";
|
|
25
|
+
AbyssApplicationEvent["BOARD_LABEL_CREATE"] = "board.label.create";
|
|
26
|
+
AbyssApplicationEvent["BOARD_LABEL_UPDATE"] = "board.label.update";
|
|
27
|
+
AbyssApplicationEvent["BOARD_LABEL_DELETE"] = "board.label.delete";
|
|
28
|
+
AbyssApplicationEvent["BOARD_LABEL_ADD"] = "board.label.add";
|
|
29
|
+
AbyssApplicationEvent["BOARD_LABEL_REMOVE"] = "board.label.remove";
|
|
30
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_CREATE"] = "board.card.checklist.create";
|
|
31
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_UPDATE"] = "board.card.checklist.update";
|
|
32
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_DELETE"] = "board.card.checklist.delete";
|
|
33
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_ROW_ADD"] = "board.card.checklist.row.add";
|
|
34
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_REMOVE_ROW"] = "board.card.checklist.row.remove";
|
|
35
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_UPDATE_ROW"] = "board.card.checklist.row.update";
|
|
36
|
+
AbyssApplicationEvent["BOARD_CARD_COMMENT_CREATE"] = "board.card.comment.create";
|
|
37
|
+
AbyssApplicationEvent["BOARD_CARD_COMMENT_UPDATE"] = "board.card.comment.update";
|
|
38
|
+
AbyssApplicationEvent["BOARD_CARD_COMMENT_DELETE"] = "board.card.comment.delete";
|
|
11
39
|
AbyssApplicationEvent["ABYSS_STORAGE_MINDEE_EXTRACT"] = "abyss-storage.mindee.extract";
|
|
12
40
|
AbyssApplicationEvent["ABYSS_STORAGE_COLLECTION_FREEPIK_FETCH"] = "abyss-storage.collection.freepik.fetch";
|
|
13
41
|
AbyssApplicationEvent["ABYSS_STORAGE_COLLECTION_FREEPIK_GET_DOWNLOAD_URL"] = "abyss-storage.collection.freepik.get-download-url";
|
|
@@ -36,5 +36,7 @@ export declare enum Code {
|
|
|
36
36
|
fileTooBig = "file_too_big",
|
|
37
37
|
unsubscribeNewsletter = "unsubscribe_newsletter",
|
|
38
38
|
unableToDeleteSpotlightProjectExist = "unable_to_delete_spotlight_project_exist",
|
|
39
|
-
unableToDeleteFormExist = "unable_to_delete_form_exist"
|
|
39
|
+
unableToDeleteFormExist = "unable_to_delete_form_exist",
|
|
40
|
+
boardCardDocumentLimitReached = "board_card_document_limit_reached",
|
|
41
|
+
boardCardMoveInvalidDestination = "board_card_move_invalid_destination"
|
|
40
42
|
}
|
|
@@ -42,4 +42,6 @@ var Code;
|
|
|
42
42
|
Code["unsubscribeNewsletter"] = "unsubscribe_newsletter";
|
|
43
43
|
Code["unableToDeleteSpotlightProjectExist"] = "unable_to_delete_spotlight_project_exist";
|
|
44
44
|
Code["unableToDeleteFormExist"] = "unable_to_delete_form_exist";
|
|
45
|
+
Code["boardCardDocumentLimitReached"] = "board_card_document_limit_reached";
|
|
46
|
+
Code["boardCardMoveInvalidDestination"] = "board_card_move_invalid_destination";
|
|
45
47
|
})(Code || (exports.Code = Code = {}));
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
export declare enum BoardActivityType {
|
|
2
|
+
CARD_CREATE = "CARD_CREATE",
|
|
3
|
+
CARD_UPDATE = "CARD_UPDATE",
|
|
4
|
+
CARD_ARCHIVE = "CARD_ARCHIVE",
|
|
5
|
+
CARD_RESTORE = "CARD_RESTORE",
|
|
6
|
+
CARD_MOVE_COLUMN = "CARD_MOVE_COLUMN",
|
|
7
|
+
CARD_MOVE_BOARD = "CARD_MOVE_BOARD",
|
|
8
|
+
COLUMN_CREATE = "COLUMN_CREATE",
|
|
9
|
+
COLUMN_UPDATE = "COLUMN_UPDATE",
|
|
10
|
+
COLUMN_DELETE = "COLUMN_DELETE",
|
|
11
|
+
COMMENT_CREATE = "COMMENT_CREATE",
|
|
12
|
+
COMMENT_UPDATE = "COMMENT_UPDATE",
|
|
13
|
+
COMMENT_DELETE = "COMMENT_DELETE",
|
|
14
|
+
LABEL_CREATE = "LABEL_CREATE",
|
|
15
|
+
LABEL_DELETE = "LABEL_DELETE",
|
|
16
|
+
LABEL_UPDATE = "LABEL_UPDATE",
|
|
17
|
+
LABEL_ADD = "LABEL_ADD",
|
|
18
|
+
LABEL_REMOVE = "LABEL_REMOVE",
|
|
19
|
+
MEMBER_ADD = "MEMBER_ADD",
|
|
20
|
+
MEMBER_REMOVE = "MEMBER_REMOVE",
|
|
21
|
+
CHECKLIST_CREATE = "CHECKLIST_CREATE",
|
|
22
|
+
CHECKLIST_UPDATE = "CHECKLIST_UPDATE",
|
|
23
|
+
CHECKLIST_DELETE = "CHECKLIST_DELETE",
|
|
24
|
+
CHECKLIST_ITEM_ADD = "CHECKLIST_ITEM_ADD",
|
|
25
|
+
CHECKLIST_ITEM_UPDATE = "CHECKLIST_ITEM_UPDATE",
|
|
26
|
+
CHECKLIST_ITEM_DELETE = "CHECKLIST_ITEM_DELETE",
|
|
27
|
+
DOCUMENT_ADD = "DOCUMENT_ADD",
|
|
28
|
+
DOCUMENT_REMOVE = "DOCUMENT_REMOVE"
|
|
29
|
+
}
|
|
30
|
+
type ValueOf<T> = T[keyof T];
|
|
31
|
+
export type BoardActivityDataContent = ValueOf<{
|
|
32
|
+
[K in BoardActivityType]: {
|
|
33
|
+
type: K;
|
|
34
|
+
payload: BoardActivityData[K];
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
export declare class BoardActivityData implements Record<BoardActivityType, Record<string, string | number | Date | boolean>> {
|
|
38
|
+
[BoardActivityType.CARD_CREATE]: {
|
|
39
|
+
boardCardName: string;
|
|
40
|
+
boardCardId: string;
|
|
41
|
+
boardColumnName: string;
|
|
42
|
+
boardColumnId: string;
|
|
43
|
+
};
|
|
44
|
+
[BoardActivityType.CARD_UPDATE]: {
|
|
45
|
+
boardCardName: string;
|
|
46
|
+
boardCardId: string;
|
|
47
|
+
};
|
|
48
|
+
[BoardActivityType.CARD_ARCHIVE]: {
|
|
49
|
+
boardCardId: string;
|
|
50
|
+
};
|
|
51
|
+
[BoardActivityType.CARD_RESTORE]: {
|
|
52
|
+
boardCardId: string;
|
|
53
|
+
};
|
|
54
|
+
[BoardActivityType.CARD_MOVE_COLUMN]: {
|
|
55
|
+
boardCardName: string;
|
|
56
|
+
boardCardId: string;
|
|
57
|
+
toBoardColumnId: string;
|
|
58
|
+
toBoardColumnName: string;
|
|
59
|
+
};
|
|
60
|
+
[BoardActivityType.CARD_MOVE_BOARD]: {
|
|
61
|
+
boardCardName: string;
|
|
62
|
+
boardCardId: string;
|
|
63
|
+
toBoardColumnId: string;
|
|
64
|
+
toBoardColumnName: string;
|
|
65
|
+
toBoardId: string;
|
|
66
|
+
toBoardName: string;
|
|
67
|
+
};
|
|
68
|
+
[BoardActivityType.COLUMN_CREATE]: {
|
|
69
|
+
boardColumnName: string;
|
|
70
|
+
boardColumnId: string;
|
|
71
|
+
};
|
|
72
|
+
[BoardActivityType.COLUMN_UPDATE]: {
|
|
73
|
+
boardColumnName: string;
|
|
74
|
+
boardColumnId: string;
|
|
75
|
+
};
|
|
76
|
+
[BoardActivityType.COLUMN_DELETE]: {
|
|
77
|
+
boardColumnId: string;
|
|
78
|
+
};
|
|
79
|
+
[BoardActivityType.COMMENT_CREATE]: {
|
|
80
|
+
boardCardCommentId: string;
|
|
81
|
+
boardCardId: string;
|
|
82
|
+
};
|
|
83
|
+
[BoardActivityType.COMMENT_UPDATE]: {
|
|
84
|
+
boardCardCommentId: string;
|
|
85
|
+
fromBoardCardCommentContent: string;
|
|
86
|
+
toBoardCardCommentContent: string;
|
|
87
|
+
boardCardId: string;
|
|
88
|
+
};
|
|
89
|
+
[BoardActivityType.COMMENT_DELETE]: {
|
|
90
|
+
boardCardCommentId: string;
|
|
91
|
+
boardCardId: string;
|
|
92
|
+
};
|
|
93
|
+
[BoardActivityType.LABEL_CREATE]: {
|
|
94
|
+
boardLabelId: string;
|
|
95
|
+
boardLabelName: string;
|
|
96
|
+
boardLabelColor: string;
|
|
97
|
+
};
|
|
98
|
+
[BoardActivityType.LABEL_DELETE]: {
|
|
99
|
+
boardLabelId: string;
|
|
100
|
+
};
|
|
101
|
+
[BoardActivityType.LABEL_UPDATE]: {
|
|
102
|
+
boardLabelId: string;
|
|
103
|
+
boardLabelName: string;
|
|
104
|
+
boardLabelColor: string;
|
|
105
|
+
};
|
|
106
|
+
[BoardActivityType.LABEL_ADD]: {
|
|
107
|
+
boardLabelId: string;
|
|
108
|
+
boardCardId: string;
|
|
109
|
+
boardLabelName: string;
|
|
110
|
+
};
|
|
111
|
+
[BoardActivityType.LABEL_REMOVE]: {
|
|
112
|
+
boardLabelId: string;
|
|
113
|
+
boardCardId: string;
|
|
114
|
+
boardLabelName: string;
|
|
115
|
+
};
|
|
116
|
+
[BoardActivityType.MEMBER_ADD]: {
|
|
117
|
+
boardCardId: string;
|
|
118
|
+
userId: string;
|
|
119
|
+
};
|
|
120
|
+
[BoardActivityType.MEMBER_REMOVE]: {
|
|
121
|
+
boardCardId: string;
|
|
122
|
+
userId: string;
|
|
123
|
+
};
|
|
124
|
+
[BoardActivityType.CHECKLIST_CREATE]: {
|
|
125
|
+
boardCardId: string;
|
|
126
|
+
boardCardChecklistId: string;
|
|
127
|
+
boardCardChecklistName: string;
|
|
128
|
+
};
|
|
129
|
+
[BoardActivityType.CHECKLIST_UPDATE]: {
|
|
130
|
+
boardCardId: string;
|
|
131
|
+
boardCardChecklistId: string;
|
|
132
|
+
boardCardChecklistName: string;
|
|
133
|
+
};
|
|
134
|
+
[BoardActivityType.CHECKLIST_DELETE]: {
|
|
135
|
+
boardCardId: string;
|
|
136
|
+
boardCardChecklistId: string;
|
|
137
|
+
boardCardChecklistName: string;
|
|
138
|
+
};
|
|
139
|
+
[BoardActivityType.CHECKLIST_ITEM_ADD]: {
|
|
140
|
+
boardCardId: string;
|
|
141
|
+
boardCardChecklistId: string;
|
|
142
|
+
boardCardChecklistItemId: string;
|
|
143
|
+
boardCardChecklistItemContent: string;
|
|
144
|
+
boardCardChecklistName: string;
|
|
145
|
+
};
|
|
146
|
+
[BoardActivityType.CHECKLIST_ITEM_UPDATE]: {
|
|
147
|
+
boardCardId: string;
|
|
148
|
+
boardCardChecklistId: string;
|
|
149
|
+
boardCardChecklistItemId: string;
|
|
150
|
+
boardCardChecklistName: string;
|
|
151
|
+
};
|
|
152
|
+
[BoardActivityType.CHECKLIST_ITEM_DELETE]: {
|
|
153
|
+
boardCardId: string;
|
|
154
|
+
boardCardChecklistId: string;
|
|
155
|
+
boardCardChecklistItemId: string;
|
|
156
|
+
boardCardChecklistName: string;
|
|
157
|
+
boardCardChecklistItemContent: string;
|
|
158
|
+
};
|
|
159
|
+
[BoardActivityType.DOCUMENT_ADD]: {
|
|
160
|
+
boardCardId: string;
|
|
161
|
+
boardCardDocumentId: string;
|
|
162
|
+
boardCardDocumentName: string;
|
|
163
|
+
};
|
|
164
|
+
[BoardActivityType.DOCUMENT_REMOVE]: {
|
|
165
|
+
boardCardId: string;
|
|
166
|
+
boardCardDocumentId: string;
|
|
167
|
+
boardCardDocumentName: string;
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BoardActivityData = exports.BoardActivityType = void 0;
|
|
4
|
+
var BoardActivityType;
|
|
5
|
+
(function (BoardActivityType) {
|
|
6
|
+
BoardActivityType["CARD_CREATE"] = "CARD_CREATE";
|
|
7
|
+
BoardActivityType["CARD_UPDATE"] = "CARD_UPDATE";
|
|
8
|
+
BoardActivityType["CARD_ARCHIVE"] = "CARD_ARCHIVE";
|
|
9
|
+
BoardActivityType["CARD_RESTORE"] = "CARD_RESTORE";
|
|
10
|
+
BoardActivityType["CARD_MOVE_COLUMN"] = "CARD_MOVE_COLUMN";
|
|
11
|
+
BoardActivityType["CARD_MOVE_BOARD"] = "CARD_MOVE_BOARD";
|
|
12
|
+
BoardActivityType["COLUMN_CREATE"] = "COLUMN_CREATE";
|
|
13
|
+
BoardActivityType["COLUMN_UPDATE"] = "COLUMN_UPDATE";
|
|
14
|
+
BoardActivityType["COLUMN_DELETE"] = "COLUMN_DELETE";
|
|
15
|
+
BoardActivityType["COMMENT_CREATE"] = "COMMENT_CREATE";
|
|
16
|
+
BoardActivityType["COMMENT_UPDATE"] = "COMMENT_UPDATE";
|
|
17
|
+
BoardActivityType["COMMENT_DELETE"] = "COMMENT_DELETE";
|
|
18
|
+
BoardActivityType["LABEL_CREATE"] = "LABEL_CREATE";
|
|
19
|
+
BoardActivityType["LABEL_DELETE"] = "LABEL_DELETE";
|
|
20
|
+
BoardActivityType["LABEL_UPDATE"] = "LABEL_UPDATE";
|
|
21
|
+
BoardActivityType["LABEL_ADD"] = "LABEL_ADD";
|
|
22
|
+
BoardActivityType["LABEL_REMOVE"] = "LABEL_REMOVE";
|
|
23
|
+
BoardActivityType["MEMBER_ADD"] = "MEMBER_ADD";
|
|
24
|
+
BoardActivityType["MEMBER_REMOVE"] = "MEMBER_REMOVE";
|
|
25
|
+
BoardActivityType["CHECKLIST_CREATE"] = "CHECKLIST_CREATE";
|
|
26
|
+
BoardActivityType["CHECKLIST_UPDATE"] = "CHECKLIST_UPDATE";
|
|
27
|
+
BoardActivityType["CHECKLIST_DELETE"] = "CHECKLIST_DELETE";
|
|
28
|
+
BoardActivityType["CHECKLIST_ITEM_ADD"] = "CHECKLIST_ITEM_ADD";
|
|
29
|
+
BoardActivityType["CHECKLIST_ITEM_UPDATE"] = "CHECKLIST_ITEM_UPDATE";
|
|
30
|
+
BoardActivityType["CHECKLIST_ITEM_DELETE"] = "CHECKLIST_ITEM_DELETE";
|
|
31
|
+
BoardActivityType["DOCUMENT_ADD"] = "DOCUMENT_ADD";
|
|
32
|
+
BoardActivityType["DOCUMENT_REMOVE"] = "DOCUMENT_REMOVE";
|
|
33
|
+
})(BoardActivityType || (exports.BoardActivityType = BoardActivityType = {}));
|
|
34
|
+
class BoardActivityData {
|
|
35
|
+
}
|
|
36
|
+
exports.BoardActivityData = BoardActivityData;
|
|
37
|
+
BoardActivityType.CARD_CREATE, BoardActivityType.CARD_UPDATE, BoardActivityType.CARD_ARCHIVE, BoardActivityType.CARD_RESTORE, BoardActivityType.CARD_MOVE_COLUMN, BoardActivityType.CARD_MOVE_BOARD, BoardActivityType.COLUMN_CREATE, BoardActivityType.COLUMN_UPDATE, BoardActivityType.COLUMN_DELETE, BoardActivityType.COMMENT_CREATE, BoardActivityType.COMMENT_UPDATE, BoardActivityType.COMMENT_DELETE, BoardActivityType.LABEL_CREATE, BoardActivityType.LABEL_DELETE, BoardActivityType.LABEL_UPDATE, BoardActivityType.LABEL_ADD, BoardActivityType.LABEL_REMOVE, BoardActivityType.MEMBER_ADD, BoardActivityType.MEMBER_REMOVE, BoardActivityType.CHECKLIST_CREATE, BoardActivityType.CHECKLIST_UPDATE, BoardActivityType.CHECKLIST_DELETE, BoardActivityType.CHECKLIST_ITEM_ADD, BoardActivityType.CHECKLIST_ITEM_UPDATE, BoardActivityType.CHECKLIST_ITEM_DELETE, BoardActivityType.DOCUMENT_ADD, BoardActivityType.DOCUMENT_REMOVE;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BoardColumnType = void 0;
|
|
4
|
+
var BoardColumnType;
|
|
5
|
+
(function (BoardColumnType) {
|
|
6
|
+
BoardColumnType["CONCEPTION"] = "CONCEPTION";
|
|
7
|
+
BoardColumnType["BACKLOG"] = "BACKLOG";
|
|
8
|
+
BoardColumnType["DOING"] = "DOING";
|
|
9
|
+
BoardColumnType["DONE"] = "DONE";
|
|
10
|
+
})(BoardColumnType || (exports.BoardColumnType = BoardColumnType = {}));
|
package/dist/types/enum/index.js
CHANGED
|
@@ -36,3 +36,5 @@ __exportStar(require("./project-status.enum"), exports);
|
|
|
36
36
|
__exportStar(require("./abyss-application-event.enum"), exports);
|
|
37
37
|
__exportStar(require("./user-type.enum"), exports);
|
|
38
38
|
__exportStar(require("./onboarding-steps.enum"), exports);
|
|
39
|
+
__exportStar(require("./board-column-type.enum"), exports);
|
|
40
|
+
__exportStar(require("./board-activity.enum"), exports);
|
|
@@ -21,6 +21,8 @@ export declare enum UserNotificationContentType {
|
|
|
21
21
|
PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS = "project-subscription-auto-renew-success",
|
|
22
22
|
PROJECT_SUBSCRIPTION_CREATE = "project-subscription-create",
|
|
23
23
|
PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW = "project-subscription-create-without-auto-renew",
|
|
24
|
+
BOARD_CARD_LATE = "board-card-late",
|
|
25
|
+
BOARD_CARD_ALMOST_LATE = "board-card-almost-late",
|
|
24
26
|
CREATE_CLOUD_SHARE = "create-cloud-share",
|
|
25
27
|
DELETE_CLOUD_SHARE = "delete-cloud-share",
|
|
26
28
|
CREATE_CLOUD = "create-cloud",
|
|
@@ -188,6 +190,24 @@ export declare class UserNotificationContentTypeData implements Record<UserNotif
|
|
|
188
190
|
projectName: string;
|
|
189
191
|
usernameRenew: string;
|
|
190
192
|
};
|
|
193
|
+
[UserNotificationContentType.BOARD_CARD_LATE]: {
|
|
194
|
+
projectId?: string | null;
|
|
195
|
+
boardId: string;
|
|
196
|
+
boardCardId: string;
|
|
197
|
+
boardName: string;
|
|
198
|
+
boardCardName: string;
|
|
199
|
+
boardSlug: string;
|
|
200
|
+
boardCardSlug: string;
|
|
201
|
+
};
|
|
202
|
+
[UserNotificationContentType.BOARD_CARD_ALMOST_LATE]: {
|
|
203
|
+
projectId?: string | null;
|
|
204
|
+
boardId: string;
|
|
205
|
+
boardCardId: string;
|
|
206
|
+
boardName: string;
|
|
207
|
+
boardCardName: string;
|
|
208
|
+
boardSlug: string;
|
|
209
|
+
boardCardSlug: string;
|
|
210
|
+
};
|
|
191
211
|
[UserNotificationContentType.CREATE_CLOUD_SHARE]: {
|
|
192
212
|
cloudName: string;
|
|
193
213
|
userId: string;
|
|
@@ -25,6 +25,8 @@ var UserNotificationContentType;
|
|
|
25
25
|
UserNotificationContentType["PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS"] = "project-subscription-auto-renew-success";
|
|
26
26
|
UserNotificationContentType["PROJECT_SUBSCRIPTION_CREATE"] = "project-subscription-create";
|
|
27
27
|
UserNotificationContentType["PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW"] = "project-subscription-create-without-auto-renew";
|
|
28
|
+
UserNotificationContentType["BOARD_CARD_LATE"] = "board-card-late";
|
|
29
|
+
UserNotificationContentType["BOARD_CARD_ALMOST_LATE"] = "board-card-almost-late";
|
|
28
30
|
UserNotificationContentType["CREATE_CLOUD_SHARE"] = "create-cloud-share";
|
|
29
31
|
UserNotificationContentType["DELETE_CLOUD_SHARE"] = "delete-cloud-share";
|
|
30
32
|
UserNotificationContentType["CREATE_CLOUD"] = "create-cloud";
|
|
@@ -58,4 +60,4 @@ var UserNotificationContentType;
|
|
|
58
60
|
class UserNotificationContentTypeData {
|
|
59
61
|
}
|
|
60
62
|
exports.UserNotificationContentTypeData = UserNotificationContentTypeData;
|
|
61
|
-
UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.MONITOR_SENTINEL_CHECK_SUCCESS, UserNotificationContentType.MONITOR_SENTINEL_CHECK_FAILED, UserNotificationContentType.MONITOR_SENTINEL_DISABLE_ON_FAILURE, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED;
|
|
63
|
+
UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.BOARD_CARD_LATE, UserNotificationContentType.BOARD_CARD_ALMOST_LATE, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.MONITOR_SENTINEL_CHECK_SUCCESS, UserNotificationContentType.MONITOR_SENTINEL_CHECK_FAILED, UserNotificationContentType.MONITOR_SENTINEL_DISABLE_ON_FAILURE, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED;
|
|
@@ -24,6 +24,13 @@ export * from './requests/project-access.request';
|
|
|
24
24
|
export * from './requests/billing.request';
|
|
25
25
|
export * from './requests/newsletter.admin.request';
|
|
26
26
|
export * from './requests/token-history.admin.request';
|
|
27
|
+
export * from './requests/board.request';
|
|
28
|
+
export * from './requests/board-column.request';
|
|
29
|
+
export * from './requests/board-card.request';
|
|
30
|
+
export * from './requests/board-label.request';
|
|
31
|
+
export * from './requests/board-card-comment.request';
|
|
32
|
+
export * from './requests/board-card-checklist.request';
|
|
33
|
+
export * from './requests/board-card-document.request';
|
|
27
34
|
export * from './responses/auth.response';
|
|
28
35
|
export * from './responses/user.response';
|
|
29
36
|
export * from './responses/user.admin.response';
|
|
@@ -48,3 +55,10 @@ export * from './responses/project-access.response';
|
|
|
48
55
|
export * from './responses/billing.response';
|
|
49
56
|
export * from './responses/newsletter.admin.response';
|
|
50
57
|
export * from './responses/token-history.admin.response';
|
|
58
|
+
export * from './responses/board.response';
|
|
59
|
+
export * from './responses/board-column.response';
|
|
60
|
+
export * from './responses/board-card.response';
|
|
61
|
+
export * from './responses/board-label.response';
|
|
62
|
+
export * from './responses/board-card-comment.response';
|
|
63
|
+
export * from './responses/board-card-checklist.response';
|
|
64
|
+
export * from './responses/board-card-document.response';
|
|
@@ -40,6 +40,13 @@ __exportStar(require("./requests/project-access.request"), exports);
|
|
|
40
40
|
__exportStar(require("./requests/billing.request"), exports);
|
|
41
41
|
__exportStar(require("./requests/newsletter.admin.request"), exports);
|
|
42
42
|
__exportStar(require("./requests/token-history.admin.request"), exports);
|
|
43
|
+
__exportStar(require("./requests/board.request"), exports);
|
|
44
|
+
__exportStar(require("./requests/board-column.request"), exports);
|
|
45
|
+
__exportStar(require("./requests/board-card.request"), exports);
|
|
46
|
+
__exportStar(require("./requests/board-label.request"), exports);
|
|
47
|
+
__exportStar(require("./requests/board-card-comment.request"), exports);
|
|
48
|
+
__exportStar(require("./requests/board-card-checklist.request"), exports);
|
|
49
|
+
__exportStar(require("./requests/board-card-document.request"), exports);
|
|
43
50
|
__exportStar(require("./responses/auth.response"), exports);
|
|
44
51
|
__exportStar(require("./responses/user.response"), exports);
|
|
45
52
|
__exportStar(require("./responses/user.admin.response"), exports);
|
|
@@ -64,3 +71,10 @@ __exportStar(require("./responses/project-access.response"), exports);
|
|
|
64
71
|
__exportStar(require("./responses/billing.response"), exports);
|
|
65
72
|
__exportStar(require("./responses/newsletter.admin.response"), exports);
|
|
66
73
|
__exportStar(require("./responses/token-history.admin.response"), exports);
|
|
74
|
+
__exportStar(require("./responses/board.response"), exports);
|
|
75
|
+
__exportStar(require("./responses/board-column.response"), exports);
|
|
76
|
+
__exportStar(require("./responses/board-card.response"), exports);
|
|
77
|
+
__exportStar(require("./responses/board-label.response"), exports);
|
|
78
|
+
__exportStar(require("./responses/board-card-comment.response"), exports);
|
|
79
|
+
__exportStar(require("./responses/board-card-checklist.response"), exports);
|
|
80
|
+
__exportStar(require("./responses/board-card-document.response"), exports);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export type ICreateBoardCardChecklistParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
boardCardId: string;
|
|
4
|
+
};
|
|
5
|
+
export type ICreateBoardCardChecklistBody = {
|
|
6
|
+
title: string;
|
|
7
|
+
position: number;
|
|
8
|
+
};
|
|
9
|
+
export type IUpdateBoardCardChecklistParams = {
|
|
10
|
+
boardId: string;
|
|
11
|
+
boardCardId: string;
|
|
12
|
+
boardCardChecklistId: string;
|
|
13
|
+
};
|
|
14
|
+
export type IUpdateBoardCardChecklistBody = {
|
|
15
|
+
title?: string;
|
|
16
|
+
position?: number;
|
|
17
|
+
maskCompletedRows?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export type IGetBoardCardChecklistParams = {
|
|
20
|
+
boardId: string;
|
|
21
|
+
boardCardId: string;
|
|
22
|
+
boardCardChecklistId: string;
|
|
23
|
+
};
|
|
24
|
+
export type IDeleteBoardCardChecklistParams = {
|
|
25
|
+
boardId: string;
|
|
26
|
+
boardCardId: string;
|
|
27
|
+
boardCardChecklistId: string;
|
|
28
|
+
};
|
|
29
|
+
export type IAddRowBoardCardChecklistParams = {
|
|
30
|
+
boardId: string;
|
|
31
|
+
boardCardId: string;
|
|
32
|
+
boardCardChecklistId: string;
|
|
33
|
+
};
|
|
34
|
+
export type IAddRowBoardCardChecklistBody = {
|
|
35
|
+
content: string;
|
|
36
|
+
position: number;
|
|
37
|
+
};
|
|
38
|
+
export type IRemoveRowBoardCardChecklistParams = {
|
|
39
|
+
boardId: string;
|
|
40
|
+
boardCardId: string;
|
|
41
|
+
boardCardChecklistId: string;
|
|
42
|
+
boardCardChecklistRowId: string;
|
|
43
|
+
};
|
|
44
|
+
export type IUpdateRowBoardCardChecklistParams = {
|
|
45
|
+
boardId: string;
|
|
46
|
+
boardCardId: string;
|
|
47
|
+
boardCardChecklistId: string;
|
|
48
|
+
boardCardChecklistRowId: string;
|
|
49
|
+
};
|
|
50
|
+
export type IUpdateRowBoardCardChecklistBody = {
|
|
51
|
+
content?: string;
|
|
52
|
+
completed?: boolean;
|
|
53
|
+
position?: number;
|
|
54
|
+
boardCardChecklistId?: string;
|
|
55
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type ICreateBoardCardCommentParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
boardCardId: string;
|
|
4
|
+
};
|
|
5
|
+
export type ICreateBoardCardCommentBody = {
|
|
6
|
+
content: string;
|
|
7
|
+
};
|
|
8
|
+
export type IUpdateBoardCardCommentParams = {
|
|
9
|
+
boardId: string;
|
|
10
|
+
boardCardId: string;
|
|
11
|
+
boardCardCommentId: string;
|
|
12
|
+
};
|
|
13
|
+
export type IUpdateBoardCardCommentBody = {
|
|
14
|
+
content?: string;
|
|
15
|
+
};
|
|
16
|
+
export type IGetBoardCardCommentParams = {
|
|
17
|
+
boardId: string;
|
|
18
|
+
boardCardId: string;
|
|
19
|
+
boardCardCommentId: string;
|
|
20
|
+
};
|
|
21
|
+
export type IDeleteBoardCardCommentParams = {
|
|
22
|
+
boardId: string;
|
|
23
|
+
boardCardId: string;
|
|
24
|
+
boardCardCommentId: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type IGetUploadPreSignedUrlBoardCardDocumentParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
boardCardId: string;
|
|
4
|
+
};
|
|
5
|
+
export type IGetUploadPreSignedUrlBoardCardDocumentBody = {
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
export type IGetBoardCardDocumentParams = {
|
|
9
|
+
boardId: string;
|
|
10
|
+
boardCardId: string;
|
|
11
|
+
boardCardDocumentId: string;
|
|
12
|
+
};
|
|
13
|
+
export type IDeleteBoardCardDocumentParams = {
|
|
14
|
+
boardId: string;
|
|
15
|
+
boardCardId: string;
|
|
16
|
+
boardCardDocumentId: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export type ICreateBoardCardParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
boardColumnId: string;
|
|
4
|
+
};
|
|
5
|
+
export type ICreateBoardCardBody = {
|
|
6
|
+
title: string;
|
|
7
|
+
position: number;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
weight?: number;
|
|
10
|
+
startDate?: Date;
|
|
11
|
+
endDate?: Date;
|
|
12
|
+
};
|
|
13
|
+
export type IUpdateBoardCardParams = {
|
|
14
|
+
boardId: string;
|
|
15
|
+
boardCardId: string;
|
|
16
|
+
};
|
|
17
|
+
export type IUpdateBoardCardBody = {
|
|
18
|
+
title?: string;
|
|
19
|
+
description?: string | null;
|
|
20
|
+
position?: number;
|
|
21
|
+
boardColumnId?: string;
|
|
22
|
+
weight?: number;
|
|
23
|
+
startDate?: Date | null;
|
|
24
|
+
endDate?: Date | null;
|
|
25
|
+
bannerId?: string | null;
|
|
26
|
+
};
|
|
27
|
+
export type IGetBoardCardParams = {
|
|
28
|
+
boardId: string;
|
|
29
|
+
boardCardId: string;
|
|
30
|
+
};
|
|
31
|
+
export type IDeleteBoardCardParams = {
|
|
32
|
+
boardId: string;
|
|
33
|
+
boardCardId: string;
|
|
34
|
+
};
|
|
35
|
+
export type IRestoreBoardCardParams = {
|
|
36
|
+
boardId: string;
|
|
37
|
+
boardCardId: string;
|
|
38
|
+
};
|
|
39
|
+
export type IRestoreBoardCardBody = {
|
|
40
|
+
boardColumnId: string;
|
|
41
|
+
};
|
|
42
|
+
export type IAddMemberBoardCardParams = {
|
|
43
|
+
boardId: string;
|
|
44
|
+
boardCardId: string;
|
|
45
|
+
userId: string;
|
|
46
|
+
};
|
|
47
|
+
export type IRemoveMemberBoardCardParams = {
|
|
48
|
+
boardId: string;
|
|
49
|
+
boardCardId: string;
|
|
50
|
+
userId: string;
|
|
51
|
+
};
|
|
52
|
+
export type IGetAllBoardCardParams = {
|
|
53
|
+
boardId: string;
|
|
54
|
+
};
|
|
55
|
+
export type IGetAllBoardCardQuery = {
|
|
56
|
+
archived?: boolean;
|
|
57
|
+
};
|
|
58
|
+
export type IMoveToBoardBoardCardParams = {
|
|
59
|
+
boardId: string;
|
|
60
|
+
boardCardId: string;
|
|
61
|
+
};
|
|
62
|
+
export type IMoveToBoardBoardCardBody = {
|
|
63
|
+
boardColumnId: string;
|
|
64
|
+
boardId: string;
|
|
65
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BoardColumnType } from '../../../enum';
|
|
2
|
+
export type ICreateBoardColumnParams = {
|
|
3
|
+
boardId: string;
|
|
4
|
+
};
|
|
5
|
+
export type ICreateBoardColumnBody = {
|
|
6
|
+
title: string;
|
|
7
|
+
position: number;
|
|
8
|
+
type?: BoardColumnType;
|
|
9
|
+
};
|
|
10
|
+
export type IUpdateBoardColumnParams = {
|
|
11
|
+
boardId: string;
|
|
12
|
+
boardColumnId: string;
|
|
13
|
+
};
|
|
14
|
+
export type IUpdateBoardColumnBody = {
|
|
15
|
+
title?: string;
|
|
16
|
+
position?: number;
|
|
17
|
+
type?: BoardColumnType;
|
|
18
|
+
};
|
|
19
|
+
export type IGetBoardColumnParams = {
|
|
20
|
+
boardId: string;
|
|
21
|
+
boardColumnId: string;
|
|
22
|
+
};
|
|
23
|
+
export type IDeleteBoardColumnParams = {
|
|
24
|
+
boardId: string;
|
|
25
|
+
boardColumnId: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type ICreateBoardLabelParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
};
|
|
4
|
+
export type ICreateBoardLabelBody = {
|
|
5
|
+
name: string;
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
8
|
+
export type IUpdateBoardLabelParams = {
|
|
9
|
+
boardId: string;
|
|
10
|
+
boardLabelId: string;
|
|
11
|
+
};
|
|
12
|
+
export type IUpdateBoardLabelBody = {
|
|
13
|
+
name?: string;
|
|
14
|
+
color?: string;
|
|
15
|
+
};
|
|
16
|
+
export type IGetBoardLabelParams = {
|
|
17
|
+
boardId: string;
|
|
18
|
+
boardLabelId: string;
|
|
19
|
+
};
|
|
20
|
+
export type IDeleteBoardLabelParams = {
|
|
21
|
+
boardId: string;
|
|
22
|
+
boardLabelId: string;
|
|
23
|
+
};
|
|
24
|
+
export type IAddBoardLabelParams = {
|
|
25
|
+
boardId: string;
|
|
26
|
+
boardCardId: string;
|
|
27
|
+
boardLabelId: string;
|
|
28
|
+
};
|
|
29
|
+
export type IRemoveBoardLabelParams = {
|
|
30
|
+
boardId: string;
|
|
31
|
+
boardCardId: string;
|
|
32
|
+
boardLabelId: string;
|
|
33
|
+
};
|
|
34
|
+
export type IListBoardLabelParams = {
|
|
35
|
+
boardId: string;
|
|
36
|
+
};
|