@abyss-project/main 1.0.58 → 1.0.60
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/auth.api.d.ts +2 -1
- package/dist/api/auth.api.js +7 -1
- 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 +2 -0
- package/dist/index.js +2 -0
- package/dist/server-sent-events/index.d.ts +2 -0
- package/dist/server-sent-events/index.js +18 -0
- package/dist/server-sent-events/protocols/index.d.ts +17 -0
- package/dist/server-sent-events/protocols/index.js +26 -0
- package/dist/server-sent-events/protocols/user-notification/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/user-notification/index.js +17 -0
- package/dist/server-sent-events/protocols/user-notification/user-notification.sse-protocol.d.ts +24 -0
- package/dist/server-sent-events/protocols/user-notification/user-notification.sse-protocol.js +13 -0
- package/dist/server-sent-events/server-sent-events.manager.d.ts +19 -0
- package/dist/server-sent-events/server-sent-events.manager.js +58 -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 +34 -0
- package/dist/types/enum/abyss-application-event.enum.js +34 -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/oauth-account-type.enum.d.ts +2 -1
- package/dist/types/enum/oauth-account-type.enum.js +1 -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/auth.request.d.ts +1 -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 +25 -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/auth.response.d.ts +4 -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
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type ICreateForProjectBoardParams = {
|
|
2
|
+
projectId: string;
|
|
3
|
+
};
|
|
4
|
+
export type ICreateBoardBody = {
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
export type IUpdateBoardParams = {
|
|
8
|
+
boardId: string;
|
|
9
|
+
};
|
|
10
|
+
export type IUpdateBoardBody = {
|
|
11
|
+
title?: string;
|
|
12
|
+
archived?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type IGetBoardParams = {
|
|
15
|
+
boardId: string;
|
|
16
|
+
};
|
|
17
|
+
export type ISSEBoardParams = {
|
|
18
|
+
boardId: string;
|
|
19
|
+
};
|
|
20
|
+
export type IGetBySlugBoardParams = {
|
|
21
|
+
slug: string;
|
|
22
|
+
};
|
|
23
|
+
export type IDeleteBoardParams = {
|
|
24
|
+
boardId: string;
|
|
25
|
+
};
|
|
@@ -79,6 +79,14 @@ export type ICloudImportUserBody = {
|
|
|
79
79
|
bucket?: string;
|
|
80
80
|
tag?: string[];
|
|
81
81
|
};
|
|
82
|
+
} | {
|
|
83
|
+
projectPicture: {
|
|
84
|
+
projectId: string;
|
|
85
|
+
};
|
|
86
|
+
} | {
|
|
87
|
+
boardCardDocument: {
|
|
88
|
+
boardCardId: string;
|
|
89
|
+
};
|
|
82
90
|
});
|
|
83
91
|
export interface IUnsubscribeNewsletterUserQuery {
|
|
84
92
|
token: string;
|
|
@@ -48,3 +48,7 @@ export interface IGetEmailVerificationTokenAuthData {
|
|
|
48
48
|
email: string;
|
|
49
49
|
}
|
|
50
50
|
export type IGetEmailVerificationTokenAuthResponse = IResponse<IGetEmailVerificationTokenAuthData>;
|
|
51
|
+
export interface IGetConnectUrlGoogleAuthData {
|
|
52
|
+
connectUrl: string;
|
|
53
|
+
}
|
|
54
|
+
export type IGetConnectUrlGoogleAuthResponse = IResponse<IGetConnectUrlGoogleAuthData>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IBoardCardChecklist, IBoardCardChecklistRow } from '../..';
|
|
3
|
+
export interface IGetBoardCardChecklistData {
|
|
4
|
+
boardCardChecklist: IBoardCardChecklist;
|
|
5
|
+
}
|
|
6
|
+
export type IGetBoardCardChecklistResponse = IResponse<IGetBoardCardChecklistData>;
|
|
7
|
+
export interface IUpdateBoardCardChecklistData {
|
|
8
|
+
boardCardChecklist: IBoardCardChecklist;
|
|
9
|
+
}
|
|
10
|
+
export type IUpdateBoardCardChecklistResponse = IResponse<IUpdateBoardCardChecklistData>;
|
|
11
|
+
export interface ICreateBoardCardChecklistData {
|
|
12
|
+
boardCardChecklist: IBoardCardChecklist;
|
|
13
|
+
}
|
|
14
|
+
export type ICreateBoardCardChecklistResponse = IResponse<ICreateBoardCardChecklistData>;
|
|
15
|
+
export interface IDeleteBoardCardChecklistData {
|
|
16
|
+
}
|
|
17
|
+
export type IDeleteBoardCardChecklistResponse = IResponse<IDeleteBoardCardChecklistData>;
|
|
18
|
+
export interface IAddRowBoardCardChecklistData {
|
|
19
|
+
boardCardChecklistRow: IBoardCardChecklistRow;
|
|
20
|
+
}
|
|
21
|
+
export type IAddRowBoardCardChecklistResponse = IResponse<IAddRowBoardCardChecklistData>;
|
|
22
|
+
export interface IRemoveRowBoardCardChecklistData {
|
|
23
|
+
}
|
|
24
|
+
export type IRemoveRowBoardCardChecklistResponse = IResponse<IRemoveRowBoardCardChecklistData>;
|
|
25
|
+
export interface IUpdateRowBoardCardChecklistData {
|
|
26
|
+
}
|
|
27
|
+
export type IUpdateRowBoardCardChecklistResponse = IResponse<IUpdateRowBoardCardChecklistData>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IBoardCardComment } from '../..';
|
|
3
|
+
export interface IGetBoardCardCommentData {
|
|
4
|
+
boardCardComment: IBoardCardComment;
|
|
5
|
+
}
|
|
6
|
+
export type IGetBoardCardCommentResponse = IResponse<IGetBoardCardCommentData>;
|
|
7
|
+
export interface IUpdateBoardCardCommentData {
|
|
8
|
+
boardCardComment: IBoardCardComment;
|
|
9
|
+
}
|
|
10
|
+
export type IUpdateBoardCardCommentResponse = IResponse<IUpdateBoardCardCommentData>;
|
|
11
|
+
export interface ICreateBoardCardCommentData {
|
|
12
|
+
boardCardComment: IBoardCardComment;
|
|
13
|
+
}
|
|
14
|
+
export type ICreateBoardCardCommentResponse = IResponse<ICreateBoardCardCommentData>;
|
|
15
|
+
export interface IDeleteBoardCardCommentData {
|
|
16
|
+
}
|
|
17
|
+
export type IDeleteBoardCardCommentResponse = IResponse<IDeleteBoardCardCommentData>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IBoardCardDocument } from '../..';
|
|
3
|
+
export interface IGetBoardCardDocumentData {
|
|
4
|
+
boardCardDocument: IBoardCardDocument;
|
|
5
|
+
}
|
|
6
|
+
export type IGetBoardCardDocumentResponse = IResponse<IGetBoardCardDocumentData>;
|
|
7
|
+
export interface IGetUploadPreSignedUrlBoardCardDocumentData {
|
|
8
|
+
preSignedUrl: string;
|
|
9
|
+
}
|
|
10
|
+
export type IGetUploadPreSignedUrlBoardCardDocumentResponse = IResponse<IGetUploadPreSignedUrlBoardCardDocumentData>;
|
|
11
|
+
export interface IDeleteBoardCardDocumentData {
|
|
12
|
+
}
|
|
13
|
+
export type IDeleteBoardCardDocumentResponse = IResponse<IDeleteBoardCardDocumentData>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IBoardCard } from '../..';
|
|
3
|
+
export interface IGetBoardCardData {
|
|
4
|
+
boardCard: IBoardCard;
|
|
5
|
+
}
|
|
6
|
+
export type IGetBoardCardResponse = IResponse<IGetBoardCardData>;
|
|
7
|
+
export interface IUpdateBoardCardData {
|
|
8
|
+
boardCard: IBoardCard;
|
|
9
|
+
}
|
|
10
|
+
export type IUpdateBoardCardResponse = IResponse<IUpdateBoardCardData>;
|
|
11
|
+
export interface IRestoreBoardCardData {
|
|
12
|
+
boardCard: IBoardCard;
|
|
13
|
+
}
|
|
14
|
+
export type IRestoreBoardCardResponse = IResponse<IRestoreBoardCardData>;
|
|
15
|
+
export interface ICreateBoardCardData {
|
|
16
|
+
boardCard: IBoardCard;
|
|
17
|
+
}
|
|
18
|
+
export type ICreateBoardCardResponse = IResponse<ICreateBoardCardData>;
|
|
19
|
+
export interface IDeleteBoardCardData {
|
|
20
|
+
}
|
|
21
|
+
export type IDeleteBoardCardResponse = IResponse<IDeleteBoardCardData>;
|
|
22
|
+
export interface IAddMemberBoardCardData {
|
|
23
|
+
}
|
|
24
|
+
export type IAddMemberBoardCardResponse = IResponse<IAddMemberBoardCardData>;
|
|
25
|
+
export interface IRemoveMemberBoardCardData {
|
|
26
|
+
}
|
|
27
|
+
export type IRemoveMemberBoardCardResponse = IResponse<IRemoveMemberBoardCardData>;
|
|
28
|
+
export interface IGetAllBoardCardData {
|
|
29
|
+
boardCard: IBoardCard[];
|
|
30
|
+
}
|
|
31
|
+
export type IGetAllBoardCardResponse = IResponse<IGetAllBoardCardData>;
|
|
32
|
+
export interface IMoveToBoardBoardCardData {
|
|
33
|
+
boardCard: IBoardCard;
|
|
34
|
+
}
|
|
35
|
+
export type IMoveToBoardBoardCardResponse = IResponse<IMoveToBoardBoardCardData>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IBoardColumn } from '../..';
|
|
3
|
+
export interface IGetBoardColumnData {
|
|
4
|
+
boardColumn: IBoardColumn;
|
|
5
|
+
}
|
|
6
|
+
export type IGetBoardColumnResponse = IResponse<IGetBoardColumnData>;
|
|
7
|
+
export interface IUpdateBoardColumnData {
|
|
8
|
+
boardColumn: IBoardColumn;
|
|
9
|
+
}
|
|
10
|
+
export type IUpdateBoardColumnResponse = IResponse<IUpdateBoardColumnData>;
|
|
11
|
+
export interface ICreateBoardColumnData {
|
|
12
|
+
boardColumn: IBoardColumn;
|
|
13
|
+
}
|
|
14
|
+
export type ICreateBoardColumnResponse = IResponse<ICreateBoardColumnData>;
|
|
15
|
+
export interface IDeleteBoardColumnData {
|
|
16
|
+
}
|
|
17
|
+
export type IDeleteBoardColumnResponse = IResponse<IDeleteBoardColumnData>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IBoardLabel } from '../..';
|
|
3
|
+
export interface IGetBoardLabelData {
|
|
4
|
+
boardLabel: IBoardLabel;
|
|
5
|
+
}
|
|
6
|
+
export type IGetBoardLabelResponse = IResponse<IGetBoardLabelData>;
|
|
7
|
+
export interface IUpdateBoardLabelData {
|
|
8
|
+
boardLabel: IBoardLabel;
|
|
9
|
+
}
|
|
10
|
+
export type IUpdateBoardLabelResponse = IResponse<IUpdateBoardLabelData>;
|
|
11
|
+
export interface ICreateBoardLabelData {
|
|
12
|
+
boardLabel: IBoardLabel;
|
|
13
|
+
}
|
|
14
|
+
export type ICreateBoardLabelResponse = IResponse<ICreateBoardLabelData>;
|
|
15
|
+
export interface IDeleteBoardLabelData {
|
|
16
|
+
}
|
|
17
|
+
export type IDeleteBoardLabelResponse = IResponse<IDeleteBoardLabelData>;
|
|
18
|
+
export interface IAddBoardLabelData {
|
|
19
|
+
}
|
|
20
|
+
export type IAddBoardLabelResponse = IResponse<IAddBoardLabelData>;
|
|
21
|
+
export interface IRemoveBoardLabelData {
|
|
22
|
+
}
|
|
23
|
+
export type IRemoveBoardLabelResponse = IResponse<IRemoveBoardLabelData>;
|
|
24
|
+
export interface IListBoardLabelData {
|
|
25
|
+
boardLabels: {
|
|
26
|
+
boardLabel: IBoardLabel;
|
|
27
|
+
count: number;
|
|
28
|
+
}[];
|
|
29
|
+
}
|
|
30
|
+
export type IListBoardLabelResponse = IResponse<IListBoardLabelData>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IBoardCard } from '../../models/board-card.model';
|
|
3
|
+
import { IBoard } from '../../models/board.model';
|
|
4
|
+
export interface IGetBoardData {
|
|
5
|
+
board: IBoard;
|
|
6
|
+
metrics: {
|
|
7
|
+
cardMetrics: Record<string, {
|
|
8
|
+
documentCount: number;
|
|
9
|
+
commentCount: number;
|
|
10
|
+
memberCount: number;
|
|
11
|
+
todoCount: number;
|
|
12
|
+
completedTodoCount: number;
|
|
13
|
+
completedTodoPerDay: Record<string, number>;
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export type IGetBoardResponse = IResponse<IGetBoardData>;
|
|
18
|
+
export interface IGetBySlugBoardData {
|
|
19
|
+
board: IBoard;
|
|
20
|
+
metrics: {
|
|
21
|
+
cardMetrics: Record<string, {
|
|
22
|
+
documentCount: number;
|
|
23
|
+
commentCount: number;
|
|
24
|
+
memberCount: number;
|
|
25
|
+
todoCount: number;
|
|
26
|
+
completedTodoCount: number;
|
|
27
|
+
completedTodoPerDay: Record<string, number>;
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export type IGetBySlugBoardResponse = IResponse<IGetBySlugBoardData>;
|
|
32
|
+
export interface IUpdateBoardData {
|
|
33
|
+
board: IBoard;
|
|
34
|
+
}
|
|
35
|
+
export type IUpdateBoardResponse = IResponse<IUpdateBoardData>;
|
|
36
|
+
export interface ICreateBoardData {
|
|
37
|
+
board: IBoard;
|
|
38
|
+
}
|
|
39
|
+
export type ICreateBoardResponse = IResponse<ICreateBoardData>;
|
|
40
|
+
export interface IDeleteBoardData {
|
|
41
|
+
}
|
|
42
|
+
export type IDeleteBoardResponse = IResponse<IDeleteBoardData>;
|
|
43
|
+
export interface IGetNextCardPreviewBoardData {
|
|
44
|
+
boardCard: IBoardCard[];
|
|
45
|
+
}
|
|
46
|
+
export type IGetNextCardPreviewBoardResponse = IResponse<IGetNextCardPreviewBoardData>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BasePaginate, ProjectWithoutApplication } from '..';
|
|
2
|
+
import { IBoard } from '../../models/board.model';
|
|
2
3
|
import { IProjectAccess } from '../../models/project-access.model';
|
|
3
4
|
import { IProject } from '../../models/project.model';
|
|
4
5
|
import { IResponse } from '../type-message/response';
|
|
@@ -52,3 +53,16 @@ export interface IComputeApplicationAccessProjectAdminData {
|
|
|
52
53
|
permission: number;
|
|
53
54
|
}
|
|
54
55
|
export type IComputeApplicationAccessProjectAdminResponse = IResponse<IComputeApplicationAccessProjectAdminData>;
|
|
56
|
+
export interface IListBoardProjectAdminData {
|
|
57
|
+
boards: {
|
|
58
|
+
board: IBoard;
|
|
59
|
+
activityPerDay: Record<string, number>;
|
|
60
|
+
checklistRowPerDay: Record<string, {
|
|
61
|
+
created: number;
|
|
62
|
+
completed: number;
|
|
63
|
+
}>;
|
|
64
|
+
almostLateCard: string[];
|
|
65
|
+
lateCard: string[];
|
|
66
|
+
}[];
|
|
67
|
+
}
|
|
68
|
+
export type IListBoardProjectAdminResponse = IResponse<IListBoardProjectAdminData>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { BasePaginate } from '..';
|
|
1
|
+
import { BasePaginate, IListBoardUserData } from '..';
|
|
2
2
|
import { AbyssService, ProjectAccessPermission } from '../../../enum';
|
|
3
3
|
import { Overwrite } from '../../../utils';
|
|
4
|
+
import { IBoard } from '../../models/board.model';
|
|
4
5
|
import { IProjectAccess } from '../../models/project-access.model';
|
|
5
6
|
import { IProject } from '../../models/project.model';
|
|
6
7
|
import { IUserTransaction } from '../../models/user-transaction.model';
|
|
7
8
|
import { IResponse } from '../type-message/response';
|
|
8
|
-
export type ProjectWithoutApplication = Overwrite<IProject, {
|
|
9
|
+
export type ProjectWithoutApplication = Overwrite<IProject & IListBoardUserData, {
|
|
9
10
|
application: {
|
|
10
11
|
id: string;
|
|
11
12
|
enabledService: AbyssService[];
|
|
@@ -104,3 +105,16 @@ export interface IImportPictureFromCollectionProjectData {
|
|
|
104
105
|
project: IProject;
|
|
105
106
|
}
|
|
106
107
|
export type IImportPictureFromCollectionProjectResponse = IResponse<IImportPictureFromCollectionProjectData>;
|
|
108
|
+
export interface IListBoardProjectData {
|
|
109
|
+
boards: {
|
|
110
|
+
board: IBoard;
|
|
111
|
+
activityPerDay: Record<string, number>;
|
|
112
|
+
checklistRowPerDay: Record<string, {
|
|
113
|
+
created: number;
|
|
114
|
+
completed: number;
|
|
115
|
+
}>;
|
|
116
|
+
almostLateCard: string[];
|
|
117
|
+
lateCard: string[];
|
|
118
|
+
}[];
|
|
119
|
+
}
|
|
120
|
+
export type IListBoardProjectResponse = IResponse<IListBoardProjectData>;
|