@abyss-project/tools 1.1.1 → 1.3.0
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/beam.api.d.ts +2 -1
- package/dist/api/beam.api.js +10 -4
- package/dist/api/beam.api.js.map +1 -1
- package/dist/api/extraction-plan-preset.api.js +1 -1
- package/dist/api/extraction-plan-preset.api.js.map +1 -1
- package/dist/api/extraction-settings.api.js +1 -1
- package/dist/api/extraction-settings.api.js.map +1 -1
- package/dist/api/extraction.api.d.ts +5 -5
- package/dist/api/extraction.api.js +22 -5
- package/dist/api/extraction.api.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/types/enum/beam.enum.d.ts +4 -0
- package/dist/types/enum/beam.enum.js +6 -1
- package/dist/types/enum/beam.enum.js.map +1 -1
- package/dist/types/interface/api/requests/beam.request.d.ts +16 -0
- package/dist/types/interface/api/requests/extraction.request.d.ts +8 -0
- package/dist/types/interface/api/responses/beam.response.d.ts +23 -1
- package/dist/types/interface/api/responses/extraction.response.d.ts +6 -0
- package/dist/types/interface/models/beam.dto.d.ts +13 -1
- package/dist/types/interface/models/extraction.dto.d.ts +8 -1
- package/dist/types/interface/models/extraction.dto.js.map +1 -1
- package/dist/utils/shape.utils.js +18 -18
- package/package.json +14 -9
- package/src/api/abyss.admin.api.ts +54 -54
- package/src/api/atlas-document.api.ts +68 -68
- package/src/api/atlas-group.api.ts +69 -69
- package/src/api/atlas-page.api.ts +124 -124
- package/src/api/atlas.api.ts +103 -103
- package/src/api/atlas.public.api.ts +42 -42
- package/src/api/beam.api.ts +29 -4
- package/src/api/board-card-checklist.api.ts +99 -99
- package/src/api/board-card-comment.api.ts +57 -57
- package/src/api/board-card-document.api.ts +57 -57
- package/src/api/board-card.api.ts +137 -137
- package/src/api/board-column.api.ts +54 -54
- package/src/api/board-label.api.ts +87 -87
- package/src/api/board.api.ts +122 -122
- package/src/api/draw.api.ts +97 -97
- package/src/api/draw.public.api.ts +48 -48
- package/src/api/extraction-plan-preset.api.ts +1 -1
- package/src/api/extraction-settings.api.ts +1 -1
- package/src/api/extraction.api.ts +58 -18
- package/src/api/memo.api.ts +97 -97
- package/src/api/metrics.api.ts +27 -27
- package/src/api/monitor.api.ts +6 -6
- package/src/api/organization.api.ts +14 -14
- package/src/api/retrospective-card.api.ts +74 -74
- package/src/api/retrospective-member.api.ts +54 -54
- package/src/api/retrospective-section.api.ts +74 -74
- package/src/api/retrospective.api.ts +124 -124
- package/src/api/retrospective.public.api.ts +147 -147
- package/src/api/short-link.admin.api.ts +39 -39
- package/src/api/short-link.api.ts +125 -125
- package/src/api/short-link.public.api.ts +60 -60
- package/src/api/tag.api.ts +72 -72
- package/src/api/tests/beam.api.spec.ts +64 -0
- package/src/constants/atlas.constants.ts +2 -2
- package/src/constants/board.constants.ts +7 -7
- package/src/constants/memo.constants.ts +3 -3
- package/src/constants/short-link.constants.ts +11 -11
- package/src/constants/tag.constants.ts +3 -3
- package/src/index.ts +10 -1
- package/src/server-sent-events/index.ts +13 -13
- package/src/server-sent-events/protocols/atlas/atlas.sse-protocol.ts +90 -90
- package/src/server-sent-events/protocols/atlas/index.ts +1 -1
- package/src/server-sent-events/protocols/board/board.sse-protocol.ts +115 -115
- package/src/server-sent-events/protocols/board/index.ts +1 -1
- package/src/server-sent-events/protocols/board-card/board-card.sse-protocol.ts +26 -26
- package/src/server-sent-events/protocols/board-card/index.ts +1 -1
- package/src/server-sent-events/protocols/index.ts +26 -26
- package/src/server-sent-events/protocols/retrospective/index.ts +1 -1
- package/src/server-sent-events/protocols/retrospective/retrospective.sse-protocol.ts +92 -92
- package/src/server-sent-events/server-sent-events.manager.ts +73 -73
- package/src/types/draw.type.ts +173 -173
- package/src/types/enum/api-error.enum.ts +23 -23
- package/src/types/enum/beam.enum.ts +8 -0
- package/src/types/enum/board-activity.enum.ts +189 -189
- package/src/types/enum/board-column-type.enum.ts +6 -6
- package/src/types/enum/pdf-operation.enum.ts +98 -98
- package/src/types/enum/rcb-bank.enum.ts +137 -137
- package/src/types/index.ts +5 -5
- package/src/types/interface/api/index.ts +5 -5
- package/src/types/interface/api/requests/abyss.admin.request.ts +20 -20
- package/src/types/interface/api/requests/atlas-document.request.ts +32 -32
- package/src/types/interface/api/requests/atlas-group.request.ts +45 -45
- package/src/types/interface/api/requests/atlas-page.request.ts +84 -84
- package/src/types/interface/api/requests/atlas.public.request.ts +21 -21
- package/src/types/interface/api/requests/atlas.request.ts +52 -52
- package/src/types/interface/api/requests/beam.request.ts +27 -2
- package/src/types/interface/api/requests/board-card-checklist.request.ts +61 -61
- package/src/types/interface/api/requests/board-card-comment.request.ts +28 -28
- package/src/types/interface/api/requests/board-card-document.request.ts +29 -29
- package/src/types/interface/api/requests/board-card.request.ts +86 -86
- package/src/types/interface/api/requests/board-column.request.ts +30 -30
- package/src/types/interface/api/requests/board-label.request.ts +42 -42
- package/src/types/interface/api/requests/board.request.ts +61 -61
- package/src/types/interface/api/requests/draw.public.request.ts +20 -20
- package/src/types/interface/api/requests/draw.request.ts +49 -49
- package/src/types/interface/api/requests/extraction.request.ts +22 -0
- package/src/types/interface/api/requests/memo.request.ts +49 -49
- package/src/types/interface/api/requests/metrics.request.ts +7 -7
- package/src/types/interface/api/requests/retrospective-card.request.ts +38 -38
- package/src/types/interface/api/requests/retrospective-member.request.ts +20 -20
- package/src/types/interface/api/requests/retrospective-section.request.ts +43 -43
- package/src/types/interface/api/requests/retrospective.public.request.ts +84 -84
- package/src/types/interface/api/requests/retrospective.request.ts +59 -59
- package/src/types/interface/api/requests/short-link.admin.request.ts +35 -35
- package/src/types/interface/api/requests/short-link.public.request.ts +40 -40
- package/src/types/interface/api/requests/short-link.request.ts +71 -71
- package/src/types/interface/api/requests/tag.request.ts +54 -54
- package/src/types/interface/api/requests/transfer.request.ts +3 -3
- package/src/types/interface/api/responses/abyss.admin.response.ts +28 -28
- package/src/types/interface/api/responses/atlas-document.response.ts +24 -24
- package/src/types/interface/api/responses/atlas-group.response.ts +23 -23
- package/src/types/interface/api/responses/atlas-page.response.ts +53 -53
- package/src/types/interface/api/responses/atlas.public.response.ts +21 -21
- package/src/types/interface/api/responses/atlas.response.ts +32 -32
- package/src/types/interface/api/responses/beam.response.ts +30 -1
- package/src/types/interface/api/responses/board-card-checklist.response.ts +31 -31
- package/src/types/interface/api/responses/board-card-comment.response.ts +20 -20
- package/src/types/interface/api/responses/board-card-document.response.ts +21 -21
- package/src/types/interface/api/responses/board-card.response.ts +55 -55
- package/src/types/interface/api/responses/board-column.response.ts +20 -20
- package/src/types/interface/api/responses/board-label.response.ts +31 -31
- package/src/types/interface/api/responses/board.response.ts +81 -81
- package/src/types/interface/api/responses/count.response.ts +9 -9
- package/src/types/interface/api/responses/draw.public.response.ts +22 -22
- package/src/types/interface/api/responses/draw.response.ts +32 -32
- package/src/types/interface/api/responses/enriched-paginate.response.ts +11 -11
- package/src/types/interface/api/responses/extraction.response.ts +19 -2
- package/src/types/interface/api/responses/memo.response.ts +32 -32
- package/src/types/interface/api/responses/metrics.response.ts +22 -22
- package/src/types/interface/api/responses/monitor.response.ts +8 -8
- package/src/types/interface/api/responses/recent.response.ts +18 -18
- package/src/types/interface/api/responses/retrospective-card.response.ts +23 -23
- package/src/types/interface/api/responses/retrospective-member.response.ts +22 -22
- package/src/types/interface/api/responses/retrospective-section.response.ts +23 -23
- package/src/types/interface/api/responses/retrospective.public.response.ts +57 -57
- package/src/types/interface/api/responses/retrospective.response.ts +32 -32
- package/src/types/interface/api/responses/short-link.admin.response.ts +21 -21
- package/src/types/interface/api/responses/short-link.public.response.ts +26 -26
- package/src/types/interface/api/responses/short-link.response.ts +38 -38
- package/src/types/interface/api/responses/tag.response.ts +38 -38
- package/src/types/interface/api/responses/transfer.response.ts +14 -14
- package/src/types/interface/api/type-message/api-error.ts +7 -7
- package/src/types/interface/api/type-message/base-paginate.ts +11 -11
- package/src/types/interface/api/type-message/response.ts +6 -6
- package/src/types/interface/index.ts +2 -2
- package/src/types/interface/models/atlas-document.dto.ts +22 -22
- package/src/types/interface/models/atlas-group.dto.ts +21 -21
- package/src/types/interface/models/atlas-page-content.dto.ts +17 -17
- package/src/types/interface/models/atlas-page.dto.ts +26 -26
- package/src/types/interface/models/atlas.dto.ts +34 -34
- package/src/types/interface/models/beam.dto.ts +20 -1
- package/src/types/interface/models/board-activity.dto.ts +20 -20
- package/src/types/interface/models/board-card-checklist-row.dto.ts +14 -14
- package/src/types/interface/models/board-card-checklist.dto.ts +16 -16
- package/src/types/interface/models/board-card-comment.dto.ts +15 -15
- package/src/types/interface/models/board-card-document.dto.ts +22 -22
- package/src/types/interface/models/board-card-label.dto.ts +14 -14
- package/src/types/interface/models/board-card-member.dto.ts +14 -14
- package/src/types/interface/models/board-card.dto.ts +37 -37
- package/src/types/interface/models/board-column.dto.ts +17 -17
- package/src/types/interface/models/board-label.dto.ts +13 -13
- package/src/types/interface/models/board.dto.ts +33 -33
- package/src/types/interface/models/content-share.dto.ts +16 -16
- package/src/types/interface/models/draw.dto.ts +30 -30
- package/src/types/interface/models/extraction.dto.ts +24 -6
- package/src/types/interface/models/memo.dto.ts +23 -23
- package/src/types/interface/models/project.dto.ts +25 -25
- package/src/types/interface/models/retrospective-card.dto.ts +17 -17
- package/src/types/interface/models/retrospective-member.dto.ts +15 -15
- package/src/types/interface/models/retrospective-section.dto.ts +16 -16
- package/src/types/interface/models/retrospective.dto.ts +32 -32
- package/src/types/interface/models/short-link-click.dto.ts +33 -33
- package/src/types/interface/models/short-link.dto.ts +49 -49
- package/src/types/interface/models/tag.dto.ts +26 -26
- package/src/types/interface/models/team.dto.ts +12 -12
- package/src/types/interface/models/user.dto.ts +26 -26
- package/src/utils/board.utils.ts +57 -57
- package/src/utils/enum.utils.ts +5 -5
- package/src/utils/error.utils.ts +30 -30
- package/src/utils/icons.utils.ts +96 -96
- package/src/utils/shape.utils.ts +292 -292
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
-
|
|
3
|
-
export type ICreateAnonymousShortLinkPublicBody = {
|
|
4
|
-
originalUrl: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export type IRedirectShortLinkPublicParams = {
|
|
10
|
-
slug: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export type IRedirectShortLinkPublicQuery = {
|
|
14
|
-
ref?: string;
|
|
15
|
-
lang?: string;
|
|
16
|
-
utmSource?: string;
|
|
17
|
-
utmMedium?: string;
|
|
18
|
-
utmCampaign?: string;
|
|
19
|
-
utmTerm?: string;
|
|
20
|
-
utmContent?: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export type IGetStatsShortLinkPublicParams = {
|
|
24
|
-
shortLinkId: string;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export type IGetStatsShortLinkPublicQuery = {
|
|
28
|
-
startDate?: Date;
|
|
29
|
-
endDate?: Date;
|
|
30
|
-
groupBy?: 'day' | 'week' | 'month';
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export type IGetClicksShortLinkPublicParams = {
|
|
34
|
-
shortLinkId: string;
|
|
35
|
-
};
|
|
36
|
-
export type IGetClicksShortLinkPublicQuery = QueryPaginate;
|
|
37
|
-
|
|
38
|
-
export type IRenewShortLinkPublicParams = {
|
|
39
|
-
shortLinkId: string;
|
|
40
|
-
};
|
|
1
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
+
|
|
3
|
+
export type ICreateAnonymousShortLinkPublicBody = {
|
|
4
|
+
originalUrl: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export type IRedirectShortLinkPublicParams = {
|
|
10
|
+
slug: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type IRedirectShortLinkPublicQuery = {
|
|
14
|
+
ref?: string;
|
|
15
|
+
lang?: string;
|
|
16
|
+
utmSource?: string;
|
|
17
|
+
utmMedium?: string;
|
|
18
|
+
utmCampaign?: string;
|
|
19
|
+
utmTerm?: string;
|
|
20
|
+
utmContent?: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type IGetStatsShortLinkPublicParams = {
|
|
24
|
+
shortLinkId: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export type IGetStatsShortLinkPublicQuery = {
|
|
28
|
+
startDate?: Date;
|
|
29
|
+
endDate?: Date;
|
|
30
|
+
groupBy?: 'day' | 'week' | 'month';
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type IGetClicksShortLinkPublicParams = {
|
|
34
|
+
shortLinkId: string;
|
|
35
|
+
};
|
|
36
|
+
export type IGetClicksShortLinkPublicQuery = QueryPaginate;
|
|
37
|
+
|
|
38
|
+
export type IRenewShortLinkPublicParams = {
|
|
39
|
+
shortLinkId: string;
|
|
40
|
+
};
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { ContentShareScope } from '../../../enum';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
|
|
4
|
-
export type IGetShortLinkParams = {
|
|
5
|
-
shortLinkId: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type IPaginateShortLinkQuery = {
|
|
9
|
-
title?: string;
|
|
10
|
-
isActive?: boolean;
|
|
11
|
-
scope?: ContentShareScope;
|
|
12
|
-
teamId?: string;
|
|
13
|
-
projectId?: string;
|
|
14
|
-
adminView?: boolean;
|
|
15
|
-
sharedWithMe?: boolean;
|
|
16
|
-
} & QueryPaginate;
|
|
17
|
-
|
|
18
|
-
export type IPaginateProjectShortLinkParams = {
|
|
19
|
-
projectId: string;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export type ICreateShortLinkBody = {
|
|
23
|
-
originalUrl: string;
|
|
24
|
-
title?: string;
|
|
25
|
-
description?: string;
|
|
26
|
-
expiresAt?: Date;
|
|
27
|
-
maxClicks?: number;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export type ICreateForOrganizationShortLinkParams = {
|
|
31
|
-
organizationId: string;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export type IUpdateShortLinkParams = {
|
|
35
|
-
shortLinkId: string;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export type IUpdateShortLinkBody = {
|
|
39
|
-
originalUrl?: string;
|
|
40
|
-
title?: string;
|
|
41
|
-
description?: string;
|
|
42
|
-
isActive?: boolean;
|
|
43
|
-
expiresAt?: Date | null;
|
|
44
|
-
maxClicks?: number | null;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export type IDeleteShortLinkParams = {
|
|
48
|
-
shortLinkId: string;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export type IGetStatsShortLinkParams = {
|
|
52
|
-
shortLinkId: string;
|
|
53
|
-
};
|
|
54
|
-
export type IGetStatsShortLinkQuery = {
|
|
55
|
-
startDate?: Date;
|
|
56
|
-
endDate?: Date;
|
|
57
|
-
groupBy?: 'day' | 'week' | 'month';
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export type IGetClicksShortLinkParams = {
|
|
61
|
-
shortLinkId: string;
|
|
62
|
-
};
|
|
63
|
-
export type IGetClicksShortLinkQuery = QueryPaginate;
|
|
64
|
-
|
|
65
|
-
export type IPaginateOrganizationShortLinkParams = {
|
|
66
|
-
organizationId: string;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export type ICountOrganizationShortLinkParams = {
|
|
70
|
-
organizationId: string;
|
|
71
|
-
};
|
|
1
|
+
import { ContentShareScope } from '../../../enum';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
|
|
4
|
+
export type IGetShortLinkParams = {
|
|
5
|
+
shortLinkId: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export type IPaginateShortLinkQuery = {
|
|
9
|
+
title?: string;
|
|
10
|
+
isActive?: boolean;
|
|
11
|
+
scope?: ContentShareScope;
|
|
12
|
+
teamId?: string;
|
|
13
|
+
projectId?: string;
|
|
14
|
+
adminView?: boolean;
|
|
15
|
+
sharedWithMe?: boolean;
|
|
16
|
+
} & QueryPaginate;
|
|
17
|
+
|
|
18
|
+
export type IPaginateProjectShortLinkParams = {
|
|
19
|
+
projectId: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type ICreateShortLinkBody = {
|
|
23
|
+
originalUrl: string;
|
|
24
|
+
title?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
expiresAt?: Date;
|
|
27
|
+
maxClicks?: number;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export type ICreateForOrganizationShortLinkParams = {
|
|
31
|
+
organizationId: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type IUpdateShortLinkParams = {
|
|
35
|
+
shortLinkId: string;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export type IUpdateShortLinkBody = {
|
|
39
|
+
originalUrl?: string;
|
|
40
|
+
title?: string;
|
|
41
|
+
description?: string;
|
|
42
|
+
isActive?: boolean;
|
|
43
|
+
expiresAt?: Date | null;
|
|
44
|
+
maxClicks?: number | null;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export type IDeleteShortLinkParams = {
|
|
48
|
+
shortLinkId: string;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type IGetStatsShortLinkParams = {
|
|
52
|
+
shortLinkId: string;
|
|
53
|
+
};
|
|
54
|
+
export type IGetStatsShortLinkQuery = {
|
|
55
|
+
startDate?: Date;
|
|
56
|
+
endDate?: Date;
|
|
57
|
+
groupBy?: 'day' | 'week' | 'month';
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export type IGetClicksShortLinkParams = {
|
|
61
|
+
shortLinkId: string;
|
|
62
|
+
};
|
|
63
|
+
export type IGetClicksShortLinkQuery = QueryPaginate;
|
|
64
|
+
|
|
65
|
+
export type IPaginateOrganizationShortLinkParams = {
|
|
66
|
+
organizationId: string;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export type ICountOrganizationShortLinkParams = {
|
|
70
|
+
organizationId: string;
|
|
71
|
+
};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
-
|
|
3
|
-
export type ICreateTagBody = {
|
|
4
|
-
name: string;
|
|
5
|
-
color: string;
|
|
6
|
-
organizationId?: string;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export type IListTagQuery = {
|
|
10
|
-
organizationId?: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export type ITagStatsQuery = {
|
|
14
|
-
organizationId?: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export type IUpdateTagParams = {
|
|
18
|
-
tagId: string;
|
|
19
|
-
};
|
|
20
|
-
export type IUpdateTagBody = {
|
|
21
|
-
name?: string;
|
|
22
|
-
color?: string;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export type IGetTagParams = {
|
|
26
|
-
tagId: string;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export type IDeleteTagParams = {
|
|
30
|
-
tagId: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export type IPaginateTagQuery = {
|
|
34
|
-
name?: string;
|
|
35
|
-
} & QueryPaginate;
|
|
36
|
-
|
|
37
|
-
export type IAssignTagParams = {
|
|
38
|
-
entityType: string;
|
|
39
|
-
entityId: string;
|
|
40
|
-
};
|
|
41
|
-
export type IAssignTagBody = {
|
|
42
|
-
tagId: string;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export type IUnassignTagParams = {
|
|
46
|
-
entityType: string;
|
|
47
|
-
entityId: string;
|
|
48
|
-
tagId: string;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export type IGetEntityTagsParams = {
|
|
52
|
-
entityType: string;
|
|
53
|
-
entityId: string;
|
|
54
|
-
};
|
|
1
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
+
|
|
3
|
+
export type ICreateTagBody = {
|
|
4
|
+
name: string;
|
|
5
|
+
color: string;
|
|
6
|
+
organizationId?: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export type IListTagQuery = {
|
|
10
|
+
organizationId?: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type ITagStatsQuery = {
|
|
14
|
+
organizationId?: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export type IUpdateTagParams = {
|
|
18
|
+
tagId: string;
|
|
19
|
+
};
|
|
20
|
+
export type IUpdateTagBody = {
|
|
21
|
+
name?: string;
|
|
22
|
+
color?: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export type IGetTagParams = {
|
|
26
|
+
tagId: string;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type IDeleteTagParams = {
|
|
30
|
+
tagId: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type IPaginateTagQuery = {
|
|
34
|
+
name?: string;
|
|
35
|
+
} & QueryPaginate;
|
|
36
|
+
|
|
37
|
+
export type IAssignTagParams = {
|
|
38
|
+
entityType: string;
|
|
39
|
+
entityId: string;
|
|
40
|
+
};
|
|
41
|
+
export type IAssignTagBody = {
|
|
42
|
+
tagId: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export type IUnassignTagParams = {
|
|
46
|
+
entityType: string;
|
|
47
|
+
entityId: string;
|
|
48
|
+
tagId: string;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type IGetEntityTagsParams = {
|
|
52
|
+
entityType: string;
|
|
53
|
+
entityId: string;
|
|
54
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface ITransferContentBody {
|
|
2
|
-
newOwnerId: string;
|
|
3
|
-
}
|
|
1
|
+
export interface ITransferContentBody {
|
|
2
|
+
newOwnerId: string;
|
|
3
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { IUser, IOrganization, IProject } from '../..';
|
|
2
|
-
import { IResponse } from '../type-message/response';
|
|
3
|
-
|
|
4
|
-
export interface IActivateUserServiceAbyssAdminData {
|
|
5
|
-
user: IUser;
|
|
6
|
-
}
|
|
7
|
-
export type IActivateUserServiceAbyssAdminResponse = IResponse<IActivateUserServiceAbyssAdminData>;
|
|
8
|
-
|
|
9
|
-
export interface ISyncOrganizationAbyssAdminData {
|
|
10
|
-
organization: IOrganization;
|
|
11
|
-
}
|
|
12
|
-
export type ISyncOrganizationAbyssAdminResponse = IResponse<ISyncOrganizationAbyssAdminData>;
|
|
13
|
-
|
|
14
|
-
export interface ISyncProjectAbyssAdminData {
|
|
15
|
-
project: IProject;
|
|
16
|
-
}
|
|
17
|
-
export type ISyncProjectAbyssAdminResponse = IResponse<ISyncProjectAbyssAdminData>;
|
|
18
|
-
|
|
19
|
-
export type IProjectContentSummaryData = {
|
|
20
|
-
draws: number;
|
|
21
|
-
boards: number;
|
|
22
|
-
memos: number;
|
|
23
|
-
retrospectives: number;
|
|
24
|
-
shortLinks: number;
|
|
25
|
-
atlas: number;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export type IGetProjectContentSummaryAdminResponse = IResponse<IProjectContentSummaryData>;
|
|
1
|
+
import { IUser, IOrganization, IProject } from '../..';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
|
|
4
|
+
export interface IActivateUserServiceAbyssAdminData {
|
|
5
|
+
user: IUser;
|
|
6
|
+
}
|
|
7
|
+
export type IActivateUserServiceAbyssAdminResponse = IResponse<IActivateUserServiceAbyssAdminData>;
|
|
8
|
+
|
|
9
|
+
export interface ISyncOrganizationAbyssAdminData {
|
|
10
|
+
organization: IOrganization;
|
|
11
|
+
}
|
|
12
|
+
export type ISyncOrganizationAbyssAdminResponse = IResponse<ISyncOrganizationAbyssAdminData>;
|
|
13
|
+
|
|
14
|
+
export interface ISyncProjectAbyssAdminData {
|
|
15
|
+
project: IProject;
|
|
16
|
+
}
|
|
17
|
+
export type ISyncProjectAbyssAdminResponse = IResponse<ISyncProjectAbyssAdminData>;
|
|
18
|
+
|
|
19
|
+
export type IProjectContentSummaryData = {
|
|
20
|
+
draws: number;
|
|
21
|
+
boards: number;
|
|
22
|
+
memos: number;
|
|
23
|
+
retrospectives: number;
|
|
24
|
+
shortLinks: number;
|
|
25
|
+
atlas: number;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type IGetProjectContentSummaryAdminResponse = IResponse<IProjectContentSummaryData>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { IResponse } from '../type-message/response';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IAtlasDocument } from '../..';
|
|
4
|
-
|
|
5
|
-
export interface IGetAtlasDocumentData {
|
|
6
|
-
atlasDocument: IAtlasDocument;
|
|
7
|
-
}
|
|
8
|
-
export type IGetAtlasDocumentResponse = IResponse<IGetAtlasDocumentData>;
|
|
9
|
-
|
|
10
|
-
export interface IGetUploadPreSignedUrlAtlasDocumentData {
|
|
11
|
-
preSignedUrl: string;
|
|
12
|
-
}
|
|
13
|
-
export type IGetUploadPreSignedUrlAtlasDocumentResponse =
|
|
14
|
-
IResponse<IGetUploadPreSignedUrlAtlasDocumentData>;
|
|
15
|
-
|
|
16
|
-
export interface IDeleteAtlasDocumentData {}
|
|
17
|
-
export type IDeleteAtlasDocumentResponse = IResponse<IDeleteAtlasDocumentData>;
|
|
18
|
-
|
|
19
|
-
export type IPaginateAtlasDocumentResponse = IResponse<BasePaginate<IAtlasDocument>>;
|
|
20
|
-
|
|
21
|
-
export interface IListAtlasDocumentData {
|
|
22
|
-
atlasDocuments: IAtlasDocument[];
|
|
23
|
-
}
|
|
24
|
-
export type IListAtlasDocumentResponse = IResponse<IListAtlasDocumentData>;
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IAtlasDocument } from '../..';
|
|
4
|
+
|
|
5
|
+
export interface IGetAtlasDocumentData {
|
|
6
|
+
atlasDocument: IAtlasDocument;
|
|
7
|
+
}
|
|
8
|
+
export type IGetAtlasDocumentResponse = IResponse<IGetAtlasDocumentData>;
|
|
9
|
+
|
|
10
|
+
export interface IGetUploadPreSignedUrlAtlasDocumentData {
|
|
11
|
+
preSignedUrl: string;
|
|
12
|
+
}
|
|
13
|
+
export type IGetUploadPreSignedUrlAtlasDocumentResponse =
|
|
14
|
+
IResponse<IGetUploadPreSignedUrlAtlasDocumentData>;
|
|
15
|
+
|
|
16
|
+
export interface IDeleteAtlasDocumentData {}
|
|
17
|
+
export type IDeleteAtlasDocumentResponse = IResponse<IDeleteAtlasDocumentData>;
|
|
18
|
+
|
|
19
|
+
export type IPaginateAtlasDocumentResponse = IResponse<BasePaginate<IAtlasDocument>>;
|
|
20
|
+
|
|
21
|
+
export interface IListAtlasDocumentData {
|
|
22
|
+
atlasDocuments: IAtlasDocument[];
|
|
23
|
+
}
|
|
24
|
+
export type IListAtlasDocumentResponse = IResponse<IListAtlasDocumentData>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { IResponse } from '../type-message/response';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IAtlasGroup } from '../..';
|
|
4
|
-
|
|
5
|
-
export interface IGetAtlasGroupData {
|
|
6
|
-
atlasGroup: IAtlasGroup;
|
|
7
|
-
}
|
|
8
|
-
export type IGetAtlasGroupResponse = IResponse<IGetAtlasGroupData>;
|
|
9
|
-
|
|
10
|
-
export type IPaginateAtlasGroupResponse = IResponse<BasePaginate<IAtlasGroup>>;
|
|
11
|
-
|
|
12
|
-
export interface ICreateAtlasGroupData {
|
|
13
|
-
atlasGroup: IAtlasGroup;
|
|
14
|
-
}
|
|
15
|
-
export type ICreateAtlasGroupResponse = IResponse<ICreateAtlasGroupData>;
|
|
16
|
-
|
|
17
|
-
export interface IUpdateAtlasGroupData {
|
|
18
|
-
atlasGroup: IAtlasGroup;
|
|
19
|
-
}
|
|
20
|
-
export type IUpdateAtlasGroupResponse = IResponse<IUpdateAtlasGroupData>;
|
|
21
|
-
|
|
22
|
-
export interface IDeleteAtlasGroupData {}
|
|
23
|
-
export type IDeleteAtlasGroupResponse = IResponse<IDeleteAtlasGroupData>;
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IAtlasGroup } from '../..';
|
|
4
|
+
|
|
5
|
+
export interface IGetAtlasGroupData {
|
|
6
|
+
atlasGroup: IAtlasGroup;
|
|
7
|
+
}
|
|
8
|
+
export type IGetAtlasGroupResponse = IResponse<IGetAtlasGroupData>;
|
|
9
|
+
|
|
10
|
+
export type IPaginateAtlasGroupResponse = IResponse<BasePaginate<IAtlasGroup>>;
|
|
11
|
+
|
|
12
|
+
export interface ICreateAtlasGroupData {
|
|
13
|
+
atlasGroup: IAtlasGroup;
|
|
14
|
+
}
|
|
15
|
+
export type ICreateAtlasGroupResponse = IResponse<ICreateAtlasGroupData>;
|
|
16
|
+
|
|
17
|
+
export interface IUpdateAtlasGroupData {
|
|
18
|
+
atlasGroup: IAtlasGroup;
|
|
19
|
+
}
|
|
20
|
+
export type IUpdateAtlasGroupResponse = IResponse<IUpdateAtlasGroupData>;
|
|
21
|
+
|
|
22
|
+
export interface IDeleteAtlasGroupData {}
|
|
23
|
+
export type IDeleteAtlasGroupResponse = IResponse<IDeleteAtlasGroupData>;
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { IResponse } from '../type-message/response';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IAtlasPage, IAtlasPageContent } from '../..';
|
|
4
|
-
|
|
5
|
-
export interface IGetAtlasPageData {
|
|
6
|
-
atlasPage: IAtlasPage;
|
|
7
|
-
}
|
|
8
|
-
export type IGetAtlasPageResponse = IResponse<IGetAtlasPageData>;
|
|
9
|
-
|
|
10
|
-
export type IPaginateAtlasPageResponse = IResponse<BasePaginate<IAtlasPage>>;
|
|
11
|
-
|
|
12
|
-
export interface ICreateAtlasPageData {
|
|
13
|
-
atlasPage: IAtlasPage;
|
|
14
|
-
content?: IAtlasPageContent | null;
|
|
15
|
-
}
|
|
16
|
-
export type ICreateAtlasPageResponse = IResponse<ICreateAtlasPageData>;
|
|
17
|
-
|
|
18
|
-
export interface IUpdateAtlasPageData {
|
|
19
|
-
atlasPage: IAtlasPage;
|
|
20
|
-
}
|
|
21
|
-
export type IUpdateAtlasPageResponse = IResponse<IUpdateAtlasPageData>;
|
|
22
|
-
|
|
23
|
-
export interface IDeleteAtlasPageData {}
|
|
24
|
-
export type IDeleteAtlasPageResponse = IResponse<IDeleteAtlasPageData>;
|
|
25
|
-
|
|
26
|
-
export interface IUpdateAtlasPageContentData {
|
|
27
|
-
content: IAtlasPageContent;
|
|
28
|
-
atlasPage: IAtlasPage;
|
|
29
|
-
}
|
|
30
|
-
export type IUpdateAtlasPageContentResponse = IResponse<IUpdateAtlasPageContentData>;
|
|
31
|
-
|
|
32
|
-
export type IGetAtlasPageContentHistoryResponse = IResponse<BasePaginate<IAtlasPageContent>>;
|
|
33
|
-
|
|
34
|
-
export interface IRestoreAtlasPageContentData {
|
|
35
|
-
content: IAtlasPageContent;
|
|
36
|
-
atlasPage: IAtlasPage;
|
|
37
|
-
}
|
|
38
|
-
export type IRestoreAtlasPageContentResponse = IResponse<IRestoreAtlasPageContentData>;
|
|
39
|
-
|
|
40
|
-
export interface IAtlasSearchResult {
|
|
41
|
-
page: IAtlasPage;
|
|
42
|
-
content: string;
|
|
43
|
-
matchCount: number;
|
|
44
|
-
excerpt: string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface ISearchAtlasContentData {
|
|
48
|
-
results: IAtlasSearchResult[];
|
|
49
|
-
total: number;
|
|
50
|
-
page: number;
|
|
51
|
-
limit: number;
|
|
52
|
-
}
|
|
53
|
-
export type ISearchAtlasContentResponse = IResponse<ISearchAtlasContentData>;
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IAtlasPage, IAtlasPageContent } from '../..';
|
|
4
|
+
|
|
5
|
+
export interface IGetAtlasPageData {
|
|
6
|
+
atlasPage: IAtlasPage;
|
|
7
|
+
}
|
|
8
|
+
export type IGetAtlasPageResponse = IResponse<IGetAtlasPageData>;
|
|
9
|
+
|
|
10
|
+
export type IPaginateAtlasPageResponse = IResponse<BasePaginate<IAtlasPage>>;
|
|
11
|
+
|
|
12
|
+
export interface ICreateAtlasPageData {
|
|
13
|
+
atlasPage: IAtlasPage;
|
|
14
|
+
content?: IAtlasPageContent | null;
|
|
15
|
+
}
|
|
16
|
+
export type ICreateAtlasPageResponse = IResponse<ICreateAtlasPageData>;
|
|
17
|
+
|
|
18
|
+
export interface IUpdateAtlasPageData {
|
|
19
|
+
atlasPage: IAtlasPage;
|
|
20
|
+
}
|
|
21
|
+
export type IUpdateAtlasPageResponse = IResponse<IUpdateAtlasPageData>;
|
|
22
|
+
|
|
23
|
+
export interface IDeleteAtlasPageData {}
|
|
24
|
+
export type IDeleteAtlasPageResponse = IResponse<IDeleteAtlasPageData>;
|
|
25
|
+
|
|
26
|
+
export interface IUpdateAtlasPageContentData {
|
|
27
|
+
content: IAtlasPageContent;
|
|
28
|
+
atlasPage: IAtlasPage;
|
|
29
|
+
}
|
|
30
|
+
export type IUpdateAtlasPageContentResponse = IResponse<IUpdateAtlasPageContentData>;
|
|
31
|
+
|
|
32
|
+
export type IGetAtlasPageContentHistoryResponse = IResponse<BasePaginate<IAtlasPageContent>>;
|
|
33
|
+
|
|
34
|
+
export interface IRestoreAtlasPageContentData {
|
|
35
|
+
content: IAtlasPageContent;
|
|
36
|
+
atlasPage: IAtlasPage;
|
|
37
|
+
}
|
|
38
|
+
export type IRestoreAtlasPageContentResponse = IResponse<IRestoreAtlasPageContentData>;
|
|
39
|
+
|
|
40
|
+
export interface IAtlasSearchResult {
|
|
41
|
+
page: IAtlasPage;
|
|
42
|
+
content: string;
|
|
43
|
+
matchCount: number;
|
|
44
|
+
excerpt: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface ISearchAtlasContentData {
|
|
48
|
+
results: IAtlasSearchResult[];
|
|
49
|
+
total: number;
|
|
50
|
+
page: number;
|
|
51
|
+
limit: number;
|
|
52
|
+
}
|
|
53
|
+
export type ISearchAtlasContentResponse = IResponse<ISearchAtlasContentData>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { IResponse } from '../type-message/response';
|
|
2
|
-
import { IAtlas, IAtlasPage } from '../..';
|
|
3
|
-
import { IAtlasSearchResult } from './atlas-page.response';
|
|
4
|
-
|
|
5
|
-
export interface IGetAtlasPublicData {
|
|
6
|
-
atlas: IAtlas;
|
|
7
|
-
}
|
|
8
|
-
export type IGetAtlasPublicResponse = IResponse<IGetAtlasPublicData>;
|
|
9
|
-
|
|
10
|
-
export interface IGetPageAtlasPublicData {
|
|
11
|
-
atlasPage: IAtlasPage;
|
|
12
|
-
}
|
|
13
|
-
export type IGetPageAtlasPublicResponse = IResponse<IGetPageAtlasPublicData>;
|
|
14
|
-
|
|
15
|
-
export interface ISearchContentAtlasPublicData {
|
|
16
|
-
results: IAtlasSearchResult[];
|
|
17
|
-
total: number;
|
|
18
|
-
page: number;
|
|
19
|
-
limit: number;
|
|
20
|
-
}
|
|
21
|
-
export type ISearchContentAtlasPublicResponse = IResponse<ISearchContentAtlasPublicData>;
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { IAtlas, IAtlasPage } from '../..';
|
|
3
|
+
import { IAtlasSearchResult } from './atlas-page.response';
|
|
4
|
+
|
|
5
|
+
export interface IGetAtlasPublicData {
|
|
6
|
+
atlas: IAtlas;
|
|
7
|
+
}
|
|
8
|
+
export type IGetAtlasPublicResponse = IResponse<IGetAtlasPublicData>;
|
|
9
|
+
|
|
10
|
+
export interface IGetPageAtlasPublicData {
|
|
11
|
+
atlasPage: IAtlasPage;
|
|
12
|
+
}
|
|
13
|
+
export type IGetPageAtlasPublicResponse = IResponse<IGetPageAtlasPublicData>;
|
|
14
|
+
|
|
15
|
+
export interface ISearchContentAtlasPublicData {
|
|
16
|
+
results: IAtlasSearchResult[];
|
|
17
|
+
total: number;
|
|
18
|
+
page: number;
|
|
19
|
+
limit: number;
|
|
20
|
+
}
|
|
21
|
+
export type ISearchContentAtlasPublicResponse = IResponse<ISearchContentAtlasPublicData>;
|