@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,32 +1,32 @@
|
|
|
1
|
-
import { IResponse } from '../type-message/response';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IRetrospective } from '../..';
|
|
4
|
-
import { SharePermission } from '../../../enum/content-share.enum';
|
|
5
|
-
|
|
6
|
-
export interface IGetRetrospectiveData {
|
|
7
|
-
retrospective: IRetrospective;
|
|
8
|
-
sharePermission?: SharePermission | null;
|
|
9
|
-
}
|
|
10
|
-
export type IGetRetrospectiveResponse = IResponse<IGetRetrospectiveData>;
|
|
11
|
-
|
|
12
|
-
export type IPaginateRetrospectiveResponse = IResponse<BasePaginate<IRetrospective>>;
|
|
13
|
-
|
|
14
|
-
export interface ICreateRetrospectiveData {
|
|
15
|
-
retrospective: IRetrospective;
|
|
16
|
-
}
|
|
17
|
-
export type ICreateRetrospectiveResponse = IResponse<ICreateRetrospectiveData>;
|
|
18
|
-
|
|
19
|
-
export interface IUpdateRetrospectiveData {
|
|
20
|
-
retrospective: IRetrospective;
|
|
21
|
-
}
|
|
22
|
-
export type IUpdateRetrospectiveResponse = IResponse<IUpdateRetrospectiveData>;
|
|
23
|
-
|
|
24
|
-
export interface IDeleteRetrospectiveData {}
|
|
25
|
-
export type IDeleteRetrospectiveResponse = IResponse<IDeleteRetrospectiveData>;
|
|
26
|
-
|
|
27
|
-
export interface ICountOrganizationRetrospectiveData {
|
|
28
|
-
total: number;
|
|
29
|
-
orphan?: number;
|
|
30
|
-
unshared?: number;
|
|
31
|
-
}
|
|
32
|
-
export type ICountOrganizationRetrospectiveResponse = IResponse<ICountOrganizationRetrospectiveData>;
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IRetrospective } from '../..';
|
|
4
|
+
import { SharePermission } from '../../../enum/content-share.enum';
|
|
5
|
+
|
|
6
|
+
export interface IGetRetrospectiveData {
|
|
7
|
+
retrospective: IRetrospective;
|
|
8
|
+
sharePermission?: SharePermission | null;
|
|
9
|
+
}
|
|
10
|
+
export type IGetRetrospectiveResponse = IResponse<IGetRetrospectiveData>;
|
|
11
|
+
|
|
12
|
+
export type IPaginateRetrospectiveResponse = IResponse<BasePaginate<IRetrospective>>;
|
|
13
|
+
|
|
14
|
+
export interface ICreateRetrospectiveData {
|
|
15
|
+
retrospective: IRetrospective;
|
|
16
|
+
}
|
|
17
|
+
export type ICreateRetrospectiveResponse = IResponse<ICreateRetrospectiveData>;
|
|
18
|
+
|
|
19
|
+
export interface IUpdateRetrospectiveData {
|
|
20
|
+
retrospective: IRetrospective;
|
|
21
|
+
}
|
|
22
|
+
export type IUpdateRetrospectiveResponse = IResponse<IUpdateRetrospectiveData>;
|
|
23
|
+
|
|
24
|
+
export interface IDeleteRetrospectiveData {}
|
|
25
|
+
export type IDeleteRetrospectiveResponse = IResponse<IDeleteRetrospectiveData>;
|
|
26
|
+
|
|
27
|
+
export interface ICountOrganizationRetrospectiveData {
|
|
28
|
+
total: number;
|
|
29
|
+
orphan?: number;
|
|
30
|
+
unshared?: number;
|
|
31
|
+
}
|
|
32
|
+
export type ICountOrganizationRetrospectiveResponse = IResponse<ICountOrganizationRetrospectiveData>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
2
|
-
import { IResponse } from '../type-message/response';
|
|
3
|
-
import { IShortLink } from '../../models/short-link.dto';
|
|
4
|
-
import { IShortLinkClick } from '../../models/short-link-click.dto';
|
|
5
|
-
|
|
6
|
-
export type IPaginateShortLinkAdminResponse = IResponse<BasePaginate<IShortLink>>;
|
|
7
|
-
|
|
8
|
-
export interface IGetShortLinkAdminData {
|
|
9
|
-
shortLink: IShortLink;
|
|
10
|
-
}
|
|
11
|
-
export type IGetShortLinkAdminResponse = IResponse<IGetShortLinkAdminData>;
|
|
12
|
-
|
|
13
|
-
export interface IDeleteShortLinkAdminData {}
|
|
14
|
-
export type IDeleteShortLinkAdminResponse = IResponse<IDeleteShortLinkAdminData>;
|
|
15
|
-
|
|
16
|
-
export interface IUpdateShortLinkAdminData {
|
|
17
|
-
shortLink: IShortLink;
|
|
18
|
-
}
|
|
19
|
-
export type IUpdateShortLinkAdminResponse = IResponse<IUpdateShortLinkAdminData>;
|
|
20
|
-
|
|
21
|
-
export type IGetClicksShortLinkAdminResponse = IResponse<BasePaginate<IShortLinkClick>>;
|
|
1
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
import { IShortLink } from '../../models/short-link.dto';
|
|
4
|
+
import { IShortLinkClick } from '../../models/short-link-click.dto';
|
|
5
|
+
|
|
6
|
+
export type IPaginateShortLinkAdminResponse = IResponse<BasePaginate<IShortLink>>;
|
|
7
|
+
|
|
8
|
+
export interface IGetShortLinkAdminData {
|
|
9
|
+
shortLink: IShortLink;
|
|
10
|
+
}
|
|
11
|
+
export type IGetShortLinkAdminResponse = IResponse<IGetShortLinkAdminData>;
|
|
12
|
+
|
|
13
|
+
export interface IDeleteShortLinkAdminData {}
|
|
14
|
+
export type IDeleteShortLinkAdminResponse = IResponse<IDeleteShortLinkAdminData>;
|
|
15
|
+
|
|
16
|
+
export interface IUpdateShortLinkAdminData {
|
|
17
|
+
shortLink: IShortLink;
|
|
18
|
+
}
|
|
19
|
+
export type IUpdateShortLinkAdminResponse = IResponse<IUpdateShortLinkAdminData>;
|
|
20
|
+
|
|
21
|
+
export type IGetClicksShortLinkAdminResponse = IResponse<BasePaginate<IShortLinkClick>>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
2
|
-
import { IResponse } from '../type-message/response';
|
|
3
|
-
import { IShortLink, IShortLinkWithStats } from '../../models/short-link.dto';
|
|
4
|
-
import { IShortLinkClick } from '../../models/short-link-click.dto';
|
|
5
|
-
|
|
6
|
-
export interface ICreateShortLinkPublicData {
|
|
7
|
-
shortLink: IShortLink;
|
|
8
|
-
}
|
|
9
|
-
export type ICreateShortLinkPublicResponse = IResponse<ICreateShortLinkPublicData>;
|
|
10
|
-
|
|
11
|
-
export interface IRedirectShortLinkPublicData {
|
|
12
|
-
url: string;
|
|
13
|
-
}
|
|
14
|
-
export type IRedirectShortLinkPublicResponse = IResponse<IRedirectShortLinkPublicData>;
|
|
15
|
-
|
|
16
|
-
export interface IGetStatsShortLinkPublicData {
|
|
17
|
-
shortLink: IShortLinkWithStats;
|
|
18
|
-
}
|
|
19
|
-
export type IGetStatsShortLinkPublicResponse = IResponse<IGetStatsShortLinkPublicData>;
|
|
20
|
-
|
|
21
|
-
export interface IRenewShortLinkPublicData {
|
|
22
|
-
shortLink: IShortLink;
|
|
23
|
-
}
|
|
24
|
-
export type IRenewShortLinkPublicResponse = IResponse<IRenewShortLinkPublicData>;
|
|
25
|
-
|
|
26
|
-
export type IGetClicksShortLinkPublicResponse = IResponse<BasePaginate<IShortLinkClick>>;
|
|
1
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
import { IShortLink, IShortLinkWithStats } from '../../models/short-link.dto';
|
|
4
|
+
import { IShortLinkClick } from '../../models/short-link-click.dto';
|
|
5
|
+
|
|
6
|
+
export interface ICreateShortLinkPublicData {
|
|
7
|
+
shortLink: IShortLink;
|
|
8
|
+
}
|
|
9
|
+
export type ICreateShortLinkPublicResponse = IResponse<ICreateShortLinkPublicData>;
|
|
10
|
+
|
|
11
|
+
export interface IRedirectShortLinkPublicData {
|
|
12
|
+
url: string;
|
|
13
|
+
}
|
|
14
|
+
export type IRedirectShortLinkPublicResponse = IResponse<IRedirectShortLinkPublicData>;
|
|
15
|
+
|
|
16
|
+
export interface IGetStatsShortLinkPublicData {
|
|
17
|
+
shortLink: IShortLinkWithStats;
|
|
18
|
+
}
|
|
19
|
+
export type IGetStatsShortLinkPublicResponse = IResponse<IGetStatsShortLinkPublicData>;
|
|
20
|
+
|
|
21
|
+
export interface IRenewShortLinkPublicData {
|
|
22
|
+
shortLink: IShortLink;
|
|
23
|
+
}
|
|
24
|
+
export type IRenewShortLinkPublicResponse = IResponse<IRenewShortLinkPublicData>;
|
|
25
|
+
|
|
26
|
+
export type IGetClicksShortLinkPublicResponse = IResponse<BasePaginate<IShortLinkClick>>;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
2
|
-
import { IResponse } from '../type-message/response';
|
|
3
|
-
import { IShortLink, IShortLinkWithStats } from '../../models/short-link.dto';
|
|
4
|
-
import { IShortLinkClick } from '../../models/short-link-click.dto';
|
|
5
|
-
|
|
6
|
-
export interface IGetShortLinkData {
|
|
7
|
-
shortLink: IShortLink;
|
|
8
|
-
}
|
|
9
|
-
export type IGetShortLinkResponse = IResponse<IGetShortLinkData>;
|
|
10
|
-
|
|
11
|
-
export type IPaginateShortLinkResponse = IResponse<BasePaginate<IShortLink>>;
|
|
12
|
-
|
|
13
|
-
export interface ICreateShortLinkData {
|
|
14
|
-
shortLink: IShortLink;
|
|
15
|
-
}
|
|
16
|
-
export type ICreateShortLinkResponse = IResponse<ICreateShortLinkData>;
|
|
17
|
-
|
|
18
|
-
export interface IUpdateShortLinkData {
|
|
19
|
-
shortLink: IShortLink;
|
|
20
|
-
}
|
|
21
|
-
export type IUpdateShortLinkResponse = IResponse<IUpdateShortLinkData>;
|
|
22
|
-
|
|
23
|
-
export interface IDeleteShortLinkData {}
|
|
24
|
-
export type IDeleteShortLinkResponse = IResponse<IDeleteShortLinkData>;
|
|
25
|
-
|
|
26
|
-
export interface IGetStatsShortLinkData {
|
|
27
|
-
shortLink: IShortLinkWithStats;
|
|
28
|
-
}
|
|
29
|
-
export type IGetStatsShortLinkResponse = IResponse<IGetStatsShortLinkData>;
|
|
30
|
-
|
|
31
|
-
export type IGetClicksShortLinkResponse = IResponse<BasePaginate<IShortLinkClick>>;
|
|
32
|
-
|
|
33
|
-
export interface ICountOrganizationShortLinkData {
|
|
34
|
-
total: number;
|
|
35
|
-
orphan?: number;
|
|
36
|
-
unshared?: number;
|
|
37
|
-
}
|
|
38
|
-
export type ICountOrganizationShortLinkResponse = IResponse<ICountOrganizationShortLinkData>;
|
|
1
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
import { IShortLink, IShortLinkWithStats } from '../../models/short-link.dto';
|
|
4
|
+
import { IShortLinkClick } from '../../models/short-link-click.dto';
|
|
5
|
+
|
|
6
|
+
export interface IGetShortLinkData {
|
|
7
|
+
shortLink: IShortLink;
|
|
8
|
+
}
|
|
9
|
+
export type IGetShortLinkResponse = IResponse<IGetShortLinkData>;
|
|
10
|
+
|
|
11
|
+
export type IPaginateShortLinkResponse = IResponse<BasePaginate<IShortLink>>;
|
|
12
|
+
|
|
13
|
+
export interface ICreateShortLinkData {
|
|
14
|
+
shortLink: IShortLink;
|
|
15
|
+
}
|
|
16
|
+
export type ICreateShortLinkResponse = IResponse<ICreateShortLinkData>;
|
|
17
|
+
|
|
18
|
+
export interface IUpdateShortLinkData {
|
|
19
|
+
shortLink: IShortLink;
|
|
20
|
+
}
|
|
21
|
+
export type IUpdateShortLinkResponse = IResponse<IUpdateShortLinkData>;
|
|
22
|
+
|
|
23
|
+
export interface IDeleteShortLinkData {}
|
|
24
|
+
export type IDeleteShortLinkResponse = IResponse<IDeleteShortLinkData>;
|
|
25
|
+
|
|
26
|
+
export interface IGetStatsShortLinkData {
|
|
27
|
+
shortLink: IShortLinkWithStats;
|
|
28
|
+
}
|
|
29
|
+
export type IGetStatsShortLinkResponse = IResponse<IGetStatsShortLinkData>;
|
|
30
|
+
|
|
31
|
+
export type IGetClicksShortLinkResponse = IResponse<BasePaginate<IShortLinkClick>>;
|
|
32
|
+
|
|
33
|
+
export interface ICountOrganizationShortLinkData {
|
|
34
|
+
total: number;
|
|
35
|
+
orphan?: number;
|
|
36
|
+
unshared?: number;
|
|
37
|
+
}
|
|
38
|
+
export type ICountOrganizationShortLinkResponse = IResponse<ICountOrganizationShortLinkData>;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { IResponse } from '../type-message/response';
|
|
2
|
-
import { ITag, IEntityTag, ITagStatEntry } from '../../models/tag.dto';
|
|
3
|
-
|
|
4
|
-
export interface IListTagData {
|
|
5
|
-
tags: ITag[];
|
|
6
|
-
}
|
|
7
|
-
export type IListTagResponse = IResponse<IListTagData>;
|
|
8
|
-
|
|
9
|
-
export interface ICreateTagData {
|
|
10
|
-
tag: ITag;
|
|
11
|
-
}
|
|
12
|
-
export type ICreateTagResponse = IResponse<ICreateTagData>;
|
|
13
|
-
|
|
14
|
-
export interface IUpdateTagData {
|
|
15
|
-
tag: ITag;
|
|
16
|
-
}
|
|
17
|
-
export type IUpdateTagResponse = IResponse<IUpdateTagData>;
|
|
18
|
-
|
|
19
|
-
export interface IDeleteTagData {}
|
|
20
|
-
export type IDeleteTagResponse = IResponse<IDeleteTagData>;
|
|
21
|
-
|
|
22
|
-
export interface IAssignTagData {
|
|
23
|
-
entityTag: IEntityTag;
|
|
24
|
-
}
|
|
25
|
-
export type IAssignTagResponse = IResponse<IAssignTagData>;
|
|
26
|
-
|
|
27
|
-
export interface IUnassignTagData {}
|
|
28
|
-
export type IUnassignTagResponse = IResponse<IUnassignTagData>;
|
|
29
|
-
|
|
30
|
-
export interface ITagStatsData {
|
|
31
|
-
stats: ITagStatEntry[];
|
|
32
|
-
}
|
|
33
|
-
export type ITagStatsResponse = IResponse<ITagStatsData>;
|
|
34
|
-
|
|
35
|
-
export interface IGetEntityTagsData {
|
|
36
|
-
entityTags: IEntityTag[];
|
|
37
|
-
}
|
|
38
|
-
export type IGetEntityTagsResponse = IResponse<IGetEntityTagsData>;
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { ITag, IEntityTag, ITagStatEntry } from '../../models/tag.dto';
|
|
3
|
+
|
|
4
|
+
export interface IListTagData {
|
|
5
|
+
tags: ITag[];
|
|
6
|
+
}
|
|
7
|
+
export type IListTagResponse = IResponse<IListTagData>;
|
|
8
|
+
|
|
9
|
+
export interface ICreateTagData {
|
|
10
|
+
tag: ITag;
|
|
11
|
+
}
|
|
12
|
+
export type ICreateTagResponse = IResponse<ICreateTagData>;
|
|
13
|
+
|
|
14
|
+
export interface IUpdateTagData {
|
|
15
|
+
tag: ITag;
|
|
16
|
+
}
|
|
17
|
+
export type IUpdateTagResponse = IResponse<IUpdateTagData>;
|
|
18
|
+
|
|
19
|
+
export interface IDeleteTagData {}
|
|
20
|
+
export type IDeleteTagResponse = IResponse<IDeleteTagData>;
|
|
21
|
+
|
|
22
|
+
export interface IAssignTagData {
|
|
23
|
+
entityTag: IEntityTag;
|
|
24
|
+
}
|
|
25
|
+
export type IAssignTagResponse = IResponse<IAssignTagData>;
|
|
26
|
+
|
|
27
|
+
export interface IUnassignTagData {}
|
|
28
|
+
export type IUnassignTagResponse = IResponse<IUnassignTagData>;
|
|
29
|
+
|
|
30
|
+
export interface ITagStatsData {
|
|
31
|
+
stats: ITagStatEntry[];
|
|
32
|
+
}
|
|
33
|
+
export type ITagStatsResponse = IResponse<ITagStatsData>;
|
|
34
|
+
|
|
35
|
+
export interface IGetEntityTagsData {
|
|
36
|
+
entityTags: IEntityTag[];
|
|
37
|
+
}
|
|
38
|
+
export type IGetEntityTagsResponse = IResponse<IGetEntityTagsData>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IResponse } from '../type-message/response';
|
|
2
|
-
import { IDraw } from '../../models/draw.dto';
|
|
3
|
-
import { IBoard } from '../../models/board.dto';
|
|
4
|
-
import { IMemo } from '../../models/memo.dto';
|
|
5
|
-
import { IAtlas } from '../../models/atlas.dto';
|
|
6
|
-
import { IRetrospective } from '../../models/retrospective.dto';
|
|
7
|
-
import { IShortLink } from '../../models/short-link.dto';
|
|
8
|
-
|
|
9
|
-
export type ITransferDrawResponse = IResponse<{ draw: IDraw }>;
|
|
10
|
-
export type ITransferBoardResponse = IResponse<{ board: IBoard }>;
|
|
11
|
-
export type ITransferMemoResponse = IResponse<{ memo: IMemo }>;
|
|
12
|
-
export type ITransferAtlasResponse = IResponse<{ atlas: IAtlas }>;
|
|
13
|
-
export type ITransferRetrospectiveResponse = IResponse<{ retrospective: IRetrospective }>;
|
|
14
|
-
export type ITransferShortLinkResponse = IResponse<{ shortLink: IShortLink }>;
|
|
1
|
+
import { IResponse } from '../type-message/response';
|
|
2
|
+
import { IDraw } from '../../models/draw.dto';
|
|
3
|
+
import { IBoard } from '../../models/board.dto';
|
|
4
|
+
import { IMemo } from '../../models/memo.dto';
|
|
5
|
+
import { IAtlas } from '../../models/atlas.dto';
|
|
6
|
+
import { IRetrospective } from '../../models/retrospective.dto';
|
|
7
|
+
import { IShortLink } from '../../models/short-link.dto';
|
|
8
|
+
|
|
9
|
+
export type ITransferDrawResponse = IResponse<{ draw: IDraw }>;
|
|
10
|
+
export type ITransferBoardResponse = IResponse<{ board: IBoard }>;
|
|
11
|
+
export type ITransferMemoResponse = IResponse<{ memo: IMemo }>;
|
|
12
|
+
export type ITransferAtlasResponse = IResponse<{ atlas: IAtlas }>;
|
|
13
|
+
export type ITransferRetrospectiveResponse = IResponse<{ retrospective: IRetrospective }>;
|
|
14
|
+
export type ITransferShortLinkResponse = IResponse<{ shortLink: IShortLink }>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Code, ErrorType } from '../../../enum';
|
|
2
|
-
|
|
3
|
-
export interface IApiError {
|
|
4
|
-
code: Code;
|
|
5
|
-
type: ErrorType;
|
|
6
|
-
message?: string;
|
|
7
|
-
}
|
|
1
|
+
import { Code, ErrorType } from '../../../enum';
|
|
2
|
+
|
|
3
|
+
export interface IApiError {
|
|
4
|
+
code: Code;
|
|
5
|
+
type: ErrorType;
|
|
6
|
+
message?: string;
|
|
7
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export interface BasePaginate<T> {
|
|
2
|
-
maxPages: number;
|
|
3
|
-
currentPage: number;
|
|
4
|
-
data: T[];
|
|
5
|
-
totalItems: number;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface QueryPaginate {
|
|
9
|
-
page?: number;
|
|
10
|
-
limit?: number;
|
|
11
|
-
}
|
|
1
|
+
export interface BasePaginate<T> {
|
|
2
|
+
maxPages: number;
|
|
3
|
+
currentPage: number;
|
|
4
|
+
data: T[];
|
|
5
|
+
totalItems: number;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface QueryPaginate {
|
|
9
|
+
page?: number;
|
|
10
|
+
limit?: number;
|
|
11
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IApiError } from './api-error';
|
|
2
|
-
|
|
3
|
-
export interface IResponse<T> {
|
|
4
|
-
data: T;
|
|
5
|
-
error?: IApiError | Error;
|
|
6
|
-
}
|
|
1
|
+
import { IApiError } from './api-error';
|
|
2
|
+
|
|
3
|
+
export interface IResponse<T> {
|
|
4
|
+
data: T;
|
|
5
|
+
error?: IApiError | Error;
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './models';
|
|
2
|
-
export * from './api';
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './api';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IAtlasPage } from './atlas-page.dto';
|
|
2
|
-
import { IAtlas } from './atlas.dto';
|
|
3
|
-
|
|
4
|
-
export interface IAtlasDocument {
|
|
5
|
-
id: string;
|
|
6
|
-
atlasPageId: string;
|
|
7
|
-
atlasId: string;
|
|
8
|
-
name: string;
|
|
9
|
-
externalId: string;
|
|
10
|
-
publicAccessId: string;
|
|
11
|
-
thumbnailId: string | null;
|
|
12
|
-
thumbnailPublicAccessId: string | null;
|
|
13
|
-
sizeOctet: number;
|
|
14
|
-
mimeType: string;
|
|
15
|
-
checksum: string;
|
|
16
|
-
createdAt?: Date;
|
|
17
|
-
updatedAt?: Date;
|
|
18
|
-
|
|
19
|
-
// Relations
|
|
20
|
-
atlasPage?: IAtlasPage;
|
|
21
|
-
atlas?: IAtlas;
|
|
22
|
-
}
|
|
1
|
+
import { IAtlasPage } from './atlas-page.dto';
|
|
2
|
+
import { IAtlas } from './atlas.dto';
|
|
3
|
+
|
|
4
|
+
export interface IAtlasDocument {
|
|
5
|
+
id: string;
|
|
6
|
+
atlasPageId: string;
|
|
7
|
+
atlasId: string;
|
|
8
|
+
name: string;
|
|
9
|
+
externalId: string;
|
|
10
|
+
publicAccessId: string;
|
|
11
|
+
thumbnailId: string | null;
|
|
12
|
+
thumbnailPublicAccessId: string | null;
|
|
13
|
+
sizeOctet: number;
|
|
14
|
+
mimeType: string;
|
|
15
|
+
checksum: string;
|
|
16
|
+
createdAt?: Date;
|
|
17
|
+
updatedAt?: Date;
|
|
18
|
+
|
|
19
|
+
// Relations
|
|
20
|
+
atlasPage?: IAtlasPage;
|
|
21
|
+
atlas?: IAtlas;
|
|
22
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { IAtlasPage } from './atlas-page.dto';
|
|
2
|
-
import { IAtlas } from './atlas.dto';
|
|
3
|
-
|
|
4
|
-
export interface IAtlasGroup {
|
|
5
|
-
id: string;
|
|
6
|
-
atlasId: string;
|
|
7
|
-
parentAtlasGroupId: string | null;
|
|
8
|
-
name: string;
|
|
9
|
-
description: string | null;
|
|
10
|
-
color: string | null;
|
|
11
|
-
position: number;
|
|
12
|
-
createdAt?: Date;
|
|
13
|
-
updatedAt?: Date;
|
|
14
|
-
deletedAt?: Date | null;
|
|
15
|
-
|
|
16
|
-
// Associations
|
|
17
|
-
atlas?: IAtlas | null;
|
|
18
|
-
parentAtlasGroup?: IAtlasGroup | null;
|
|
19
|
-
atlasGroups?: IAtlasGroup[];
|
|
20
|
-
atlasPages?: IAtlasPage[];
|
|
21
|
-
}
|
|
1
|
+
import { IAtlasPage } from './atlas-page.dto';
|
|
2
|
+
import { IAtlas } from './atlas.dto';
|
|
3
|
+
|
|
4
|
+
export interface IAtlasGroup {
|
|
5
|
+
id: string;
|
|
6
|
+
atlasId: string;
|
|
7
|
+
parentAtlasGroupId: string | null;
|
|
8
|
+
name: string;
|
|
9
|
+
description: string | null;
|
|
10
|
+
color: string | null;
|
|
11
|
+
position: number;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
deletedAt?: Date | null;
|
|
15
|
+
|
|
16
|
+
// Associations
|
|
17
|
+
atlas?: IAtlas | null;
|
|
18
|
+
parentAtlasGroup?: IAtlasGroup | null;
|
|
19
|
+
atlasGroups?: IAtlasGroup[];
|
|
20
|
+
atlasPages?: IAtlasPage[];
|
|
21
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { IAtlasPage } from './atlas-page.dto';
|
|
2
|
-
|
|
3
|
-
export interface IAtlasPageContent {
|
|
4
|
-
id: string;
|
|
5
|
-
atlasPageId: string;
|
|
6
|
-
content: string;
|
|
7
|
-
contentHash: string;
|
|
8
|
-
version: number;
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
diff: string | null;
|
|
11
|
-
createdByUserId: string | null;
|
|
12
|
-
createdAt?: Date;
|
|
13
|
-
updatedAt?: Date;
|
|
14
|
-
|
|
15
|
-
// Associations
|
|
16
|
-
atlasPage?: IAtlasPage;
|
|
17
|
-
}
|
|
1
|
+
import { IAtlasPage } from './atlas-page.dto';
|
|
2
|
+
|
|
3
|
+
export interface IAtlasPageContent {
|
|
4
|
+
id: string;
|
|
5
|
+
atlasPageId: string;
|
|
6
|
+
content: string;
|
|
7
|
+
contentHash: string;
|
|
8
|
+
version: number;
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
diff: string | null;
|
|
11
|
+
createdByUserId: string | null;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
|
|
15
|
+
// Associations
|
|
16
|
+
atlasPage?: IAtlasPage;
|
|
17
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { IAtlasDocument } from './atlas-document.dto';
|
|
2
|
-
import { IAtlasGroup } from './atlas-group.dto';
|
|
3
|
-
import { IAtlasPageContent } from './atlas-page-content.dto';
|
|
4
|
-
import { IAtlas } from './atlas.dto';
|
|
5
|
-
|
|
6
|
-
export interface IAtlasPage {
|
|
7
|
-
id: string;
|
|
8
|
-
atlasId: string;
|
|
9
|
-
atlasGroupId: string | null;
|
|
10
|
-
title: string;
|
|
11
|
-
slug: string;
|
|
12
|
-
icon: string | null;
|
|
13
|
-
color: string | null;
|
|
14
|
-
position: number;
|
|
15
|
-
lastModifiedAt: Date | null;
|
|
16
|
-
lastModifiedByUserId: string | null;
|
|
17
|
-
createdAt?: Date;
|
|
18
|
-
updatedAt?: Date;
|
|
19
|
-
deletedAt?: Date;
|
|
20
|
-
|
|
21
|
-
// Associations
|
|
22
|
-
atlas?: IAtlas;
|
|
23
|
-
atlasGroup?: IAtlasGroup | null;
|
|
24
|
-
atlasPageContents?: IAtlasPageContent[];
|
|
25
|
-
atlasDocuments?: IAtlasDocument[];
|
|
26
|
-
}
|
|
1
|
+
import { IAtlasDocument } from './atlas-document.dto';
|
|
2
|
+
import { IAtlasGroup } from './atlas-group.dto';
|
|
3
|
+
import { IAtlasPageContent } from './atlas-page-content.dto';
|
|
4
|
+
import { IAtlas } from './atlas.dto';
|
|
5
|
+
|
|
6
|
+
export interface IAtlasPage {
|
|
7
|
+
id: string;
|
|
8
|
+
atlasId: string;
|
|
9
|
+
atlasGroupId: string | null;
|
|
10
|
+
title: string;
|
|
11
|
+
slug: string;
|
|
12
|
+
icon: string | null;
|
|
13
|
+
color: string | null;
|
|
14
|
+
position: number;
|
|
15
|
+
lastModifiedAt: Date | null;
|
|
16
|
+
lastModifiedByUserId: string | null;
|
|
17
|
+
createdAt?: Date;
|
|
18
|
+
updatedAt?: Date;
|
|
19
|
+
deletedAt?: Date;
|
|
20
|
+
|
|
21
|
+
// Associations
|
|
22
|
+
atlas?: IAtlas;
|
|
23
|
+
atlasGroup?: IAtlasGroup | null;
|
|
24
|
+
atlasPageContents?: IAtlasPageContent[];
|
|
25
|
+
atlasDocuments?: IAtlasDocument[];
|
|
26
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { IAtlasDocument } from './atlas-document.dto';
|
|
2
|
-
import { IAtlasGroup } from './atlas-group.dto';
|
|
3
|
-
import { IAtlasPage } from './atlas-page.dto';
|
|
4
|
-
import { IOrganization } from './organization.dto';
|
|
5
|
-
import { IProject } from './project.dto';
|
|
6
|
-
import { IEntityTag } from './tag.dto';
|
|
7
|
-
import { IUser } from './user.dto';
|
|
8
|
-
|
|
9
|
-
export interface IAtlas {
|
|
10
|
-
id: string;
|
|
11
|
-
title: string;
|
|
12
|
-
description: string | null;
|
|
13
|
-
userId: string | null;
|
|
14
|
-
projectId: string | null;
|
|
15
|
-
organizationId: string | null;
|
|
16
|
-
createdByUserId: string | null;
|
|
17
|
-
createdAt?: Date;
|
|
18
|
-
updatedAt?: Date;
|
|
19
|
-
deletedAt?: Date | null;
|
|
20
|
-
|
|
21
|
-
// Associations
|
|
22
|
-
user?: IUser | null;
|
|
23
|
-
project?: IProject | null;
|
|
24
|
-
organization?: IOrganization | null;
|
|
25
|
-
atlasGroups?: IAtlasGroup[];
|
|
26
|
-
atlasPages?: IAtlasPage[];
|
|
27
|
-
atlasDocuments?: IAtlasDocument[];
|
|
28
|
-
entityTags?: IEntityTag[];
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface IAtlasWithDetails extends IAtlas {
|
|
32
|
-
atlasGroups: IAtlasGroup[];
|
|
33
|
-
atlasPages: IAtlasPage[];
|
|
34
|
-
}
|
|
1
|
+
import { IAtlasDocument } from './atlas-document.dto';
|
|
2
|
+
import { IAtlasGroup } from './atlas-group.dto';
|
|
3
|
+
import { IAtlasPage } from './atlas-page.dto';
|
|
4
|
+
import { IOrganization } from './organization.dto';
|
|
5
|
+
import { IProject } from './project.dto';
|
|
6
|
+
import { IEntityTag } from './tag.dto';
|
|
7
|
+
import { IUser } from './user.dto';
|
|
8
|
+
|
|
9
|
+
export interface IAtlas {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
userId: string | null;
|
|
14
|
+
projectId: string | null;
|
|
15
|
+
organizationId: string | null;
|
|
16
|
+
createdByUserId: string | null;
|
|
17
|
+
createdAt?: Date;
|
|
18
|
+
updatedAt?: Date;
|
|
19
|
+
deletedAt?: Date | null;
|
|
20
|
+
|
|
21
|
+
// Associations
|
|
22
|
+
user?: IUser | null;
|
|
23
|
+
project?: IProject | null;
|
|
24
|
+
organization?: IOrganization | null;
|
|
25
|
+
atlasGroups?: IAtlasGroup[];
|
|
26
|
+
atlasPages?: IAtlasPage[];
|
|
27
|
+
atlasDocuments?: IAtlasDocument[];
|
|
28
|
+
entityTags?: IEntityTag[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface IAtlasWithDetails extends IAtlas {
|
|
32
|
+
atlasGroups: IAtlasGroup[];
|
|
33
|
+
atlasPages: IAtlasPage[];
|
|
34
|
+
}
|