@abyss-project/main 1.0.65 → 1.0.66
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/atlas-group.api.d.ts +6 -0
- package/dist/api/atlas-group.api.js +24 -0
- package/dist/api/atlas-page-content.api.d.ts +0 -0
- package/dist/api/atlas-page-content.api.js +1 -0
- package/dist/api/atlas-page.api.d.ts +10 -0
- package/dist/api/atlas-page.api.js +46 -0
- package/dist/api/atlas.api.d.ts +8 -0
- package/dist/api/atlas.api.js +35 -0
- package/dist/api/atlas.public.api.d.ts +4 -0
- package/dist/api/atlas.public.api.js +18 -0
- package/dist/api/board-card.api.d.ts +2 -1
- package/dist/api/board-card.api.js +7 -1
- package/dist/api/index.d.ts +5 -0
- package/dist/api/index.js +5 -0
- package/dist/api/memo.api.d.ts +8 -0
- package/dist/api/memo.api.js +36 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +1 -0
- package/dist/constants/memo.constants.d.ts +3 -0
- package/dist/constants/memo.constants.js +6 -0
- package/dist/server-sent-events/index.d.ts +2 -1
- package/dist/server-sent-events/index.js +1 -0
- package/dist/server-sent-events/protocols/atlas/atlas.sse-protocol.d.ts +62 -0
- package/dist/server-sent-events/protocols/atlas/atlas.sse-protocol.js +19 -0
- package/dist/server-sent-events/protocols/atlas/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/atlas/index.js +17 -0
- package/dist/server-sent-events/protocols/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/index.js +1 -0
- package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.d.ts +0 -4
- package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.js +1 -2
- package/dist/types/draw.type.d.ts +9 -0
- package/dist/types/enum/abyss-application-event.enum.d.ts +19 -0
- package/dist/types/enum/abyss-application-event.enum.js +19 -0
- package/dist/types/interface/api/index.d.ts +10 -0
- package/dist/types/interface/api/index.js +10 -0
- package/dist/types/interface/api/requests/atlas-group.request.d.ts +40 -0
- package/dist/types/interface/api/requests/atlas-group.request.js +2 -0
- package/dist/types/interface/api/requests/atlas-page.request.d.ts +72 -0
- package/dist/types/interface/api/requests/atlas-page.request.js +2 -0
- package/dist/types/interface/api/requests/atlas.public.request.d.ts +18 -0
- package/dist/types/interface/api/requests/atlas.public.request.js +2 -0
- package/dist/types/interface/api/requests/atlas.request.d.ts +33 -0
- package/dist/types/interface/api/requests/atlas.request.js +2 -0
- package/dist/types/interface/api/requests/board-card.request.d.ts +8 -0
- package/dist/types/interface/api/requests/memo.request.d.ts +29 -0
- package/dist/types/interface/api/requests/memo.request.js +2 -0
- package/dist/types/interface/api/responses/atlas-group.response.d.ts +18 -0
- package/dist/types/interface/api/responses/atlas-group.response.js +2 -0
- package/dist/types/interface/api/responses/atlas-page.response.d.ts +43 -0
- package/dist/types/interface/api/responses/atlas-page.response.js +2 -0
- package/dist/types/interface/api/responses/atlas.public.response.d.ts +17 -0
- package/dist/types/interface/api/responses/atlas.public.response.js +2 -0
- package/dist/types/interface/api/responses/atlas.response.d.ts +18 -0
- package/dist/types/interface/api/responses/atlas.response.js +2 -0
- package/dist/types/interface/api/responses/board-card.response.d.ts +12 -0
- package/dist/types/interface/api/responses/memo.response.d.ts +18 -0
- package/dist/types/interface/api/responses/memo.response.js +2 -0
- package/dist/types/interface/index.d.ts +5 -0
- package/dist/types/interface/index.js +5 -0
- package/dist/types/interface/models/atlas-group.model.d.ts +18 -0
- package/dist/types/interface/models/atlas-group.model.js +2 -0
- package/dist/types/interface/models/atlas-page-content.model.d.ts +14 -0
- package/dist/types/interface/models/atlas-page-content.model.js +2 -0
- package/dist/types/interface/models/atlas-page.model.d.ts +21 -0
- package/dist/types/interface/models/atlas-page.model.js +2 -0
- package/dist/types/interface/models/atlas.model.d.ts +23 -0
- package/dist/types/interface/models/atlas.model.js +2 -0
- package/dist/types/interface/models/memo.model.d.ts +14 -0
- package/dist/types/interface/models/memo.model.js +2 -0
- package/dist/types/interface/models/project.model.d.ts +6 -0
- package/dist/types/interface/models/user.model.d.ts +4 -1
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface IGetAtlasGroupParams {
|
|
2
|
+
atlasId: string;
|
|
3
|
+
atlasGroupId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IPaginateAtlasGroupParams {
|
|
6
|
+
atlasId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IPaginateAtlasGroupQuery {
|
|
9
|
+
name?: string;
|
|
10
|
+
parentAtlasGroupId?: string;
|
|
11
|
+
page?: number;
|
|
12
|
+
limit?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface ICreateAtlasGroupParams {
|
|
15
|
+
atlasId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ICreateAtlasGroupBody {
|
|
18
|
+
name: string;
|
|
19
|
+
description?: string | null;
|
|
20
|
+
icon?: string | null;
|
|
21
|
+
color?: string | null;
|
|
22
|
+
parentAtlasGroupId?: string | null;
|
|
23
|
+
position?: number;
|
|
24
|
+
}
|
|
25
|
+
export interface IUpdateAtlasGroupParams {
|
|
26
|
+
atlasId: string;
|
|
27
|
+
atlasGroupId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IUpdateAtlasGroupBody {
|
|
30
|
+
name?: string;
|
|
31
|
+
description?: string | null;
|
|
32
|
+
icon?: string | null;
|
|
33
|
+
color?: string | null;
|
|
34
|
+
parentAtlasGroupId?: string | null;
|
|
35
|
+
position?: number;
|
|
36
|
+
}
|
|
37
|
+
export interface IDeleteAtlasGroupParams {
|
|
38
|
+
atlasId: string;
|
|
39
|
+
atlasGroupId: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export interface IGetAtlasPageParams {
|
|
2
|
+
atlasId: string;
|
|
3
|
+
atlasPageId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IGetAtlasPageBySlugParams {
|
|
6
|
+
atlasId: string;
|
|
7
|
+
slug: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IPaginateAtlasPageParams {
|
|
10
|
+
atlasId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IPaginateAtlasPageQuery {
|
|
13
|
+
title?: string;
|
|
14
|
+
slug?: string;
|
|
15
|
+
atlasGroupId?: string;
|
|
16
|
+
page?: number;
|
|
17
|
+
limit?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface ICreateAtlasPageParams {
|
|
20
|
+
atlasId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ICreateAtlasPageBody {
|
|
23
|
+
title: string;
|
|
24
|
+
icon?: string | null;
|
|
25
|
+
color?: string | null;
|
|
26
|
+
atlasGroupId?: string | null;
|
|
27
|
+
position?: number;
|
|
28
|
+
content?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface IUpdateAtlasPageParams {
|
|
31
|
+
atlasId: string;
|
|
32
|
+
atlasPageId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IUpdateAtlasPageBody {
|
|
35
|
+
title?: string;
|
|
36
|
+
icon?: string | null;
|
|
37
|
+
color?: string | null;
|
|
38
|
+
atlasGroupId?: string | null;
|
|
39
|
+
position?: number;
|
|
40
|
+
}
|
|
41
|
+
export interface IDeleteAtlasPageParams {
|
|
42
|
+
atlasId: string;
|
|
43
|
+
atlasPageId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IUpdateAtlasPageContentParams {
|
|
46
|
+
atlasId: string;
|
|
47
|
+
atlasPageId: string;
|
|
48
|
+
}
|
|
49
|
+
export interface IUpdateAtlasPageContentBody {
|
|
50
|
+
diff: string;
|
|
51
|
+
}
|
|
52
|
+
export interface IGetAtlasPageContentHistoryParams {
|
|
53
|
+
atlasId: string;
|
|
54
|
+
atlasPageId: string;
|
|
55
|
+
}
|
|
56
|
+
export interface IGetAtlasPageContentHistoryQuery {
|
|
57
|
+
page?: number;
|
|
58
|
+
limit?: number;
|
|
59
|
+
}
|
|
60
|
+
export interface IRestoreAtlasPageContentParams {
|
|
61
|
+
atlasId: string;
|
|
62
|
+
atlasPageId: string;
|
|
63
|
+
version: number;
|
|
64
|
+
}
|
|
65
|
+
export interface ISearchAtlasContentParams {
|
|
66
|
+
atlasId: string;
|
|
67
|
+
}
|
|
68
|
+
export interface ISearchAtlasContentQuery {
|
|
69
|
+
query: string;
|
|
70
|
+
page?: number;
|
|
71
|
+
limit?: number;
|
|
72
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface IGetAtlasPublicParams {
|
|
2
|
+
publicAccessToken: string;
|
|
3
|
+
}
|
|
4
|
+
export type ISSEAtlasPublicParams = {
|
|
5
|
+
publicAccessToken: string;
|
|
6
|
+
};
|
|
7
|
+
export interface IGetPageAtlasPublicParams {
|
|
8
|
+
publicAccessToken: string;
|
|
9
|
+
atlasPageId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ISearchContentAtlasPublicParams {
|
|
12
|
+
publicAccessToken: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ISearchContentAtlasPublicQuery {
|
|
15
|
+
query: string;
|
|
16
|
+
page?: number;
|
|
17
|
+
limit?: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface IGetAtlasParams {
|
|
2
|
+
atlasId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface IPaginateProjectAtlasParams {
|
|
5
|
+
projectId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IPaginateAtlasQuery {
|
|
8
|
+
title?: string;
|
|
9
|
+
page?: number;
|
|
10
|
+
limit?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface ICreateForProjectAtlasParams {
|
|
13
|
+
projectId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ICreateAtlasBody {
|
|
16
|
+
title: string;
|
|
17
|
+
description?: string | null;
|
|
18
|
+
}
|
|
19
|
+
export interface IUpdateAtlasParams {
|
|
20
|
+
atlasId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IUpdateAtlasBody {
|
|
23
|
+
title?: string;
|
|
24
|
+
description?: string | null;
|
|
25
|
+
enablePublicAccess?: boolean;
|
|
26
|
+
transferToProjectId?: string | null;
|
|
27
|
+
}
|
|
28
|
+
export interface IDeleteAtlasParams {
|
|
29
|
+
atlasId: string;
|
|
30
|
+
}
|
|
31
|
+
export type ISSEAtlasParams = {
|
|
32
|
+
atlasId: string;
|
|
33
|
+
};
|
|
@@ -67,3 +67,11 @@ export type IMoveToBoardBoardCardBody = {
|
|
|
67
67
|
boardColumnId: string;
|
|
68
68
|
boardId: string;
|
|
69
69
|
};
|
|
70
|
+
export type ISearchBoardCardParams = {
|
|
71
|
+
boardId: string;
|
|
72
|
+
};
|
|
73
|
+
export type ISearchBoardCardQuery = {
|
|
74
|
+
query?: string;
|
|
75
|
+
page?: number;
|
|
76
|
+
limit?: number;
|
|
77
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
+
export type ICreateForProjectMemoParams = {
|
|
3
|
+
projectId: string;
|
|
4
|
+
};
|
|
5
|
+
export type ICreateMemoBody = {
|
|
6
|
+
title: string;
|
|
7
|
+
content: string;
|
|
8
|
+
};
|
|
9
|
+
export type IUpdateMemoParams = {
|
|
10
|
+
memoId: string;
|
|
11
|
+
};
|
|
12
|
+
export type IUpdateMemoBody = {
|
|
13
|
+
title?: string;
|
|
14
|
+
content?: string;
|
|
15
|
+
archived?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type IGetMemoParams = {
|
|
18
|
+
memoId: string;
|
|
19
|
+
};
|
|
20
|
+
export type IDeleteMemoParams = {
|
|
21
|
+
memoId: string;
|
|
22
|
+
};
|
|
23
|
+
export type IPaginateMemoQuery = {
|
|
24
|
+
title?: string;
|
|
25
|
+
archived?: boolean;
|
|
26
|
+
} & QueryPaginate;
|
|
27
|
+
export type IPaginateProjectMemoParams = {
|
|
28
|
+
projectId: string;
|
|
29
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IAtlasGroup, BasePaginate } from '../..';
|
|
3
|
+
export interface IGetAtlasGroupData {
|
|
4
|
+
atlasGroup: IAtlasGroup;
|
|
5
|
+
}
|
|
6
|
+
export type IGetAtlasGroupResponse = IResponse<IGetAtlasGroupData>;
|
|
7
|
+
export type IPaginateAtlasGroupResponse = IResponse<BasePaginate<IAtlasGroup>>;
|
|
8
|
+
export interface ICreateAtlasGroupData {
|
|
9
|
+
atlasGroup: IAtlasGroup;
|
|
10
|
+
}
|
|
11
|
+
export type ICreateAtlasGroupResponse = IResponse<ICreateAtlasGroupData>;
|
|
12
|
+
export interface IUpdateAtlasGroupData {
|
|
13
|
+
atlasGroup: IAtlasGroup;
|
|
14
|
+
}
|
|
15
|
+
export type IUpdateAtlasGroupResponse = IResponse<IUpdateAtlasGroupData>;
|
|
16
|
+
export interface IDeleteAtlasGroupData {
|
|
17
|
+
}
|
|
18
|
+
export type IDeleteAtlasGroupResponse = IResponse<IDeleteAtlasGroupData>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IAtlasPage, IAtlasPageContent, BasePaginate } from '../..';
|
|
3
|
+
export interface IGetAtlasPageData {
|
|
4
|
+
atlasPage: IAtlasPage;
|
|
5
|
+
}
|
|
6
|
+
export type IGetAtlasPageResponse = IResponse<IGetAtlasPageData>;
|
|
7
|
+
export type IPaginateAtlasPageResponse = IResponse<BasePaginate<IAtlasPage>>;
|
|
8
|
+
export interface ICreateAtlasPageData {
|
|
9
|
+
atlasPage: IAtlasPage;
|
|
10
|
+
content?: IAtlasPageContent | null;
|
|
11
|
+
}
|
|
12
|
+
export type ICreateAtlasPageResponse = IResponse<ICreateAtlasPageData>;
|
|
13
|
+
export interface IUpdateAtlasPageData {
|
|
14
|
+
atlasPage: IAtlasPage;
|
|
15
|
+
}
|
|
16
|
+
export type IUpdateAtlasPageResponse = IResponse<IUpdateAtlasPageData>;
|
|
17
|
+
export interface IDeleteAtlasPageData {
|
|
18
|
+
}
|
|
19
|
+
export type IDeleteAtlasPageResponse = IResponse<IDeleteAtlasPageData>;
|
|
20
|
+
export interface IUpdateAtlasPageContentData {
|
|
21
|
+
content: IAtlasPageContent;
|
|
22
|
+
atlasPage: IAtlasPage;
|
|
23
|
+
}
|
|
24
|
+
export type IUpdateAtlasPageContentResponse = IResponse<IUpdateAtlasPageContentData>;
|
|
25
|
+
export type IGetAtlasPageContentHistoryResponse = IResponse<BasePaginate<IAtlasPageContent>>;
|
|
26
|
+
export interface IRestoreAtlasPageContentData {
|
|
27
|
+
content: IAtlasPageContent;
|
|
28
|
+
atlasPage: IAtlasPage;
|
|
29
|
+
}
|
|
30
|
+
export type IRestoreAtlasPageContentResponse = IResponse<IRestoreAtlasPageContentData>;
|
|
31
|
+
export interface IAtlasSearchResult {
|
|
32
|
+
page: IAtlasPage;
|
|
33
|
+
content: string;
|
|
34
|
+
matchCount: number;
|
|
35
|
+
excerpt: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ISearchAtlasContentData {
|
|
38
|
+
results: IAtlasSearchResult[];
|
|
39
|
+
total: number;
|
|
40
|
+
page: number;
|
|
41
|
+
limit: number;
|
|
42
|
+
}
|
|
43
|
+
export type ISearchAtlasContentResponse = IResponse<ISearchAtlasContentData>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IAtlasSearchResult, IResponse } from '..';
|
|
2
|
+
import { IAtlas, IAtlasPage } from '../..';
|
|
3
|
+
export interface IGetAtlasPublicData {
|
|
4
|
+
atlas: IAtlas;
|
|
5
|
+
}
|
|
6
|
+
export type IGetAtlasPublicResponse = IResponse<IGetAtlasPublicData>;
|
|
7
|
+
export interface IGetPageAtlasPublicData {
|
|
8
|
+
atlasPage: IAtlasPage;
|
|
9
|
+
}
|
|
10
|
+
export type IGetPageAtlasPublicResponse = IResponse<IGetPageAtlasPublicData>;
|
|
11
|
+
export interface ISearchContentAtlasPublicData {
|
|
12
|
+
results: IAtlasSearchResult[];
|
|
13
|
+
total: number;
|
|
14
|
+
page: number;
|
|
15
|
+
limit: number;
|
|
16
|
+
}
|
|
17
|
+
export type ISearchContentAtlasPublicResponse = IResponse<ISearchContentAtlasPublicData>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
import { IAtlas, BasePaginate } from '../..';
|
|
3
|
+
export interface IGetAtlasData {
|
|
4
|
+
atlas: IAtlas;
|
|
5
|
+
}
|
|
6
|
+
export type IGetAtlasResponse = IResponse<IGetAtlasData>;
|
|
7
|
+
export type IPaginateAtlasResponse = IResponse<BasePaginate<IAtlas>>;
|
|
8
|
+
export interface ICreateAtlasData {
|
|
9
|
+
atlas: IAtlas;
|
|
10
|
+
}
|
|
11
|
+
export type ICreateAtlasResponse = IResponse<ICreateAtlasData>;
|
|
12
|
+
export interface IUpdateAtlasData {
|
|
13
|
+
atlas: IAtlas;
|
|
14
|
+
}
|
|
15
|
+
export type IUpdateAtlasResponse = IResponse<IUpdateAtlasData>;
|
|
16
|
+
export interface IDeleteAtlasData {
|
|
17
|
+
}
|
|
18
|
+
export type IDeleteAtlasResponse = IResponse<IDeleteAtlasData>;
|
|
@@ -33,3 +33,15 @@ export interface IMoveToBoardBoardCardData {
|
|
|
33
33
|
boardCard: IBoardCard;
|
|
34
34
|
}
|
|
35
35
|
export type IMoveToBoardBoardCardResponse = IResponse<IMoveToBoardBoardCardData>;
|
|
36
|
+
export interface IBoardCardSearchResult {
|
|
37
|
+
boardCard: IBoardCard;
|
|
38
|
+
matchCount: number;
|
|
39
|
+
excerpt: string;
|
|
40
|
+
}
|
|
41
|
+
export interface ISearchBoardCardData {
|
|
42
|
+
results: IBoardCardSearchResult[];
|
|
43
|
+
total: number;
|
|
44
|
+
page: number;
|
|
45
|
+
limit: number;
|
|
46
|
+
}
|
|
47
|
+
export type ISearchBoardCardResponse = IResponse<ISearchBoardCardData>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BasePaginate, IResponse } from '..';
|
|
2
|
+
import { IMemo } from '../../models/memo.model';
|
|
3
|
+
export interface IGetMemoData {
|
|
4
|
+
memo: IMemo;
|
|
5
|
+
}
|
|
6
|
+
export type IGetMemoResponse = IResponse<IGetMemoData>;
|
|
7
|
+
export interface IUpdateMemoData {
|
|
8
|
+
memo: IMemo;
|
|
9
|
+
}
|
|
10
|
+
export type IUpdateMemoResponse = IResponse<IUpdateMemoData>;
|
|
11
|
+
export interface ICreateMemoData {
|
|
12
|
+
memo: IMemo;
|
|
13
|
+
}
|
|
14
|
+
export type ICreateMemoResponse = IResponse<ICreateMemoData>;
|
|
15
|
+
export interface IDeleteMemoData {
|
|
16
|
+
}
|
|
17
|
+
export type IDeleteMemoResponse = IResponse<IDeleteMemoData>;
|
|
18
|
+
export type IPaginateMemoResponse = IResponse<BasePaginate<IMemo>>;
|
|
@@ -35,3 +35,8 @@ export * from './models//retrospective.model';
|
|
|
35
35
|
export * from './models//retrospective-section.model';
|
|
36
36
|
export * from './models//retrospective-member.model';
|
|
37
37
|
export * from './models//retrospective-card.model';
|
|
38
|
+
export * from './models/atlas.model';
|
|
39
|
+
export * from './models/atlas-group.model';
|
|
40
|
+
export * from './models/atlas-page.model';
|
|
41
|
+
export * from './models/atlas-page-content.model';
|
|
42
|
+
export * from './models/memo.model';
|
|
@@ -51,3 +51,8 @@ __exportStar(require("./models//retrospective.model"), exports);
|
|
|
51
51
|
__exportStar(require("./models//retrospective-section.model"), exports);
|
|
52
52
|
__exportStar(require("./models//retrospective-member.model"), exports);
|
|
53
53
|
__exportStar(require("./models//retrospective-card.model"), exports);
|
|
54
|
+
__exportStar(require("./models/atlas.model"), exports);
|
|
55
|
+
__exportStar(require("./models/atlas-group.model"), exports);
|
|
56
|
+
__exportStar(require("./models/atlas-page.model"), exports);
|
|
57
|
+
__exportStar(require("./models/atlas-page-content.model"), exports);
|
|
58
|
+
__exportStar(require("./models/memo.model"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IAtlasPage } from './atlas-page.model';
|
|
2
|
+
import { IAtlas } from './atlas.model';
|
|
3
|
+
export interface IAtlasGroup {
|
|
4
|
+
id: string;
|
|
5
|
+
atlasId: string;
|
|
6
|
+
parentAtlasGroupId: string | null;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string | null;
|
|
9
|
+
color: string | null;
|
|
10
|
+
position: number;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
deletedAt?: Date | null;
|
|
14
|
+
atlas?: IAtlas | null;
|
|
15
|
+
parentAtlasGroup?: IAtlasGroup | null;
|
|
16
|
+
atlasGroup?: IAtlasGroup[];
|
|
17
|
+
atlasPage?: IAtlasPage[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IAtlasPage } from './atlas-page.model';
|
|
2
|
+
export interface IAtlasPageContent {
|
|
3
|
+
id: string;
|
|
4
|
+
atlasPageId: string;
|
|
5
|
+
content: string;
|
|
6
|
+
contentHash: string;
|
|
7
|
+
version: number;
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
diff: string | null;
|
|
10
|
+
createdByUserId: string | null;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
atlasPage?: IAtlasPage;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IAtlasGroup } from './atlas-group.model';
|
|
2
|
+
import { IAtlasPageContent } from './atlas-page-content.model';
|
|
3
|
+
import { IAtlas } from './atlas.model';
|
|
4
|
+
export interface IAtlasPage {
|
|
5
|
+
id: string;
|
|
6
|
+
atlasId: string;
|
|
7
|
+
atlasGroupId: string | null;
|
|
8
|
+
title: string;
|
|
9
|
+
slug: string;
|
|
10
|
+
icon: string | null;
|
|
11
|
+
color: string | null;
|
|
12
|
+
position: number;
|
|
13
|
+
lastModifiedAt: Date | null;
|
|
14
|
+
lastModifiedByUserId: string | null;
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
updatedAt?: Date;
|
|
17
|
+
deletedAt?: Date;
|
|
18
|
+
atlas?: IAtlas;
|
|
19
|
+
atlasGroup?: IAtlasGroup | null;
|
|
20
|
+
atlasPageContent?: IAtlasPageContent[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IAtlasGroup } from './atlas-group.model';
|
|
2
|
+
import { IAtlasPage } from './atlas-page.model';
|
|
3
|
+
import { IProject } from './project.model';
|
|
4
|
+
import { IUser } from './user.model';
|
|
5
|
+
export interface IAtlas {
|
|
6
|
+
id: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string | null;
|
|
9
|
+
userId: string | null;
|
|
10
|
+
projectId: string | null;
|
|
11
|
+
publicAccessToken: string | null;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
deletedAt?: Date | null;
|
|
15
|
+
user?: IUser | null;
|
|
16
|
+
project?: IProject | null;
|
|
17
|
+
atlasGroup?: IAtlasGroup[];
|
|
18
|
+
atlasPage?: IAtlasPage[];
|
|
19
|
+
}
|
|
20
|
+
export interface IAtlasWithDetails extends IAtlas {
|
|
21
|
+
atlasGroup: IAtlasGroup[];
|
|
22
|
+
atlasPage: IAtlasPage[];
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IProject } from './project.model';
|
|
2
|
+
import { IUser } from './user.model';
|
|
3
|
+
export interface IMemo {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
content: string;
|
|
7
|
+
userId: string | null;
|
|
8
|
+
projectId: string | null;
|
|
9
|
+
archivedAt?: Date | null;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
user?: IUser | null;
|
|
13
|
+
project?: IProject | null;
|
|
14
|
+
}
|
|
@@ -6,6 +6,9 @@ import { ISubscription } from './subscription.model';
|
|
|
6
6
|
import { IUserTransaction } from './user-transaction.model';
|
|
7
7
|
import { ProjectStatus } from '../../enum';
|
|
8
8
|
import { IDraw } from './draw.model';
|
|
9
|
+
import { IAtlas } from './atlas.model';
|
|
10
|
+
import { IRetrospective } from './retrospective.model';
|
|
11
|
+
import { IMemo } from './memo.model';
|
|
9
12
|
export interface IProject {
|
|
10
13
|
id?: string;
|
|
11
14
|
name: string;
|
|
@@ -23,4 +26,7 @@ export interface IProject {
|
|
|
23
26
|
subscription?: ISubscription | null;
|
|
24
27
|
userTransaction?: IUserTransaction[];
|
|
25
28
|
draw?: IDraw[];
|
|
29
|
+
retrospective?: IRetrospective[];
|
|
30
|
+
atlas?: IAtlas[];
|
|
31
|
+
memo?: IMemo[];
|
|
26
32
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBoard, IGiftCodeActivation, IOAuthAccount, IProject, IUserTransaction } from '..';
|
|
1
|
+
import { IAtlas, IBoard, IGiftCodeActivation, IMemo, IOAuthAccount, IProject, IRetrospective, IUserTransaction } from '..';
|
|
2
2
|
import { AbyssService, OnboardingSteps, UserCreditPurchaseCurrency, UserLanguage, UserType } from '../../enum';
|
|
3
3
|
import { OnboardingData } from '../../utils';
|
|
4
4
|
import { IBoardCardComment } from './board-card-comment.model';
|
|
@@ -43,6 +43,9 @@ export interface IUser {
|
|
|
43
43
|
boardCardComment?: IBoardCardComment[];
|
|
44
44
|
board?: IBoard[];
|
|
45
45
|
draw?: IDraw[];
|
|
46
|
+
retrospective?: IRetrospective[];
|
|
47
|
+
atlas?: IAtlas[];
|
|
48
|
+
memo?: IMemo[];
|
|
46
49
|
}
|
|
47
50
|
export type UserOnboardingStatus = {
|
|
48
51
|
completedAt?: Date | null;
|