@abyss-project/main 1.0.64 → 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 +10 -0
- package/dist/api/index.js +10 -0
- package/dist/api/memo.api.d.ts +8 -0
- package/dist/api/memo.api.js +36 -0
- package/dist/api/retrospective-card.api.d.ts +6 -0
- package/dist/api/retrospective-card.api.js +26 -0
- package/dist/api/retrospective-member.api.d.ts +5 -0
- package/dist/api/retrospective-member.api.js +20 -0
- package/dist/api/retrospective-section.api.d.ts +6 -0
- package/dist/api/retrospective-section.api.js +26 -0
- package/dist/api/retrospective.api.d.ts +8 -0
- package/dist/api/retrospective.api.js +34 -0
- package/dist/api/retrospective.public.api.d.ts +11 -0
- package/dist/api/retrospective.public.api.js +44 -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/index.d.ts +2 -0
- package/dist/index.js +6 -1
- package/dist/server-sent-events/index.d.ts +3 -1
- package/dist/server-sent-events/index.js +2 -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 +2 -0
- package/dist/server-sent-events/protocols/index.js +2 -0
- package/dist/server-sent-events/protocols/retrospective/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/retrospective/index.js +17 -0
- package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.d.ts +69 -0
- package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.js +21 -0
- package/dist/server-sent-events/server-sent-events.manager.d.ts +1 -1
- package/dist/server-sent-events/server-sent-events.manager.js +2 -1
- package/dist/types/draw.type.d.ts +9 -0
- package/dist/types/enum/abyss-application-event.enum.d.ts +40 -2
- package/dist/types/enum/abyss-application-event.enum.js +40 -2
- package/dist/types/enum/api-error.enum.d.ts +2 -1
- package/dist/types/enum/api-error.enum.js +1 -0
- package/dist/types/interface/api/index.d.ts +20 -0
- package/dist/types/interface/api/index.js +20 -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/requests/retrospective-card.request.d.ts +32 -0
- package/dist/types/interface/api/requests/retrospective-card.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective-member.request.d.ts +17 -0
- package/dist/types/interface/api/requests/retrospective-member.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective-section.request.d.ts +36 -0
- package/dist/types/interface/api/requests/retrospective-section.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective.public.request.d.ts +71 -0
- package/dist/types/interface/api/requests/retrospective.public.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective.request.d.ts +39 -0
- package/dist/types/interface/api/requests/retrospective.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/api/responses/project.response.d.ts +7 -0
- package/dist/types/interface/api/responses/retrospective-card.response.d.ts +18 -0
- package/dist/types/interface/api/responses/retrospective-card.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective-member.response.d.ts +18 -0
- package/dist/types/interface/api/responses/retrospective-member.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective-section.response.d.ts +18 -0
- package/dist/types/interface/api/responses/retrospective-section.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective.public.response.d.ts +36 -0
- package/dist/types/interface/api/responses/retrospective.public.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective.response.d.ts +18 -0
- package/dist/types/interface/api/responses/retrospective.response.js +2 -0
- package/dist/types/interface/index.d.ts +9 -0
- package/dist/types/interface/index.js +9 -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/retrospective-card.model.d.ts +14 -0
- package/dist/types/interface/models/retrospective-card.model.js +2 -0
- package/dist/types/interface/models/retrospective-member.model.d.ts +12 -0
- package/dist/types/interface/models/retrospective-member.model.js +2 -0
- package/dist/types/interface/models/retrospective-section.model.d.ts +13 -0
- package/dist/types/interface/models/retrospective-section.model.js +2 -0
- package/dist/types/interface/models/retrospective.model.d.ts +24 -0
- package/dist/types/interface/models/retrospective.model.js +2 -0
- package/dist/types/interface/models/user.model.d.ts +4 -1
- package/package.json +2 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { SystemSSEMessageContent } from '..';
|
|
2
|
+
import { ValueOf } from '../../../types';
|
|
3
|
+
import { IAtlas, IAtlasGroup, IAtlasPage } from '../../../types/interface';
|
|
4
|
+
export declare enum AtlasSSEEvent {
|
|
5
|
+
ATLAS_UPDATED = "ATLAS_UPDATED",
|
|
6
|
+
ATLAS_DELETED = "ATLAS_DELETED",
|
|
7
|
+
GROUP_CREATED = "GROUP_CREATED",
|
|
8
|
+
GROUP_UPDATED = "GROUP_UPDATED",
|
|
9
|
+
GROUP_DELETED = "GROUP_DELETED",
|
|
10
|
+
PAGE_CREATED = "PAGE_CREATED",
|
|
11
|
+
PAGE_UPDATED = "PAGE_UPDATED",
|
|
12
|
+
PAGE_DELETED = "PAGE_DELETED",
|
|
13
|
+
PAGE_CONTENT_DIFF_UPDATED = "PAGE_CONTENT_DIFF_UPDATED"
|
|
14
|
+
}
|
|
15
|
+
export type AtlasSSEMessageContent = ValueOf<{
|
|
16
|
+
[K in AtlasSSEEvent]: {
|
|
17
|
+
type: K;
|
|
18
|
+
payload: SourceAtlasSSEEventPayload[K];
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
21
|
+
export declare class SourceAtlasSSEEventPayload implements Record<AtlasSSEEvent, Record<string, any>> {
|
|
22
|
+
[AtlasSSEEvent.ATLAS_UPDATED]: {
|
|
23
|
+
atlasId: string;
|
|
24
|
+
atlas: IAtlas;
|
|
25
|
+
};
|
|
26
|
+
[AtlasSSEEvent.ATLAS_DELETED]: {
|
|
27
|
+
atlasId: string;
|
|
28
|
+
userId?: string;
|
|
29
|
+
};
|
|
30
|
+
[AtlasSSEEvent.GROUP_CREATED]: {
|
|
31
|
+
atlasId: string;
|
|
32
|
+
group: IAtlasGroup;
|
|
33
|
+
};
|
|
34
|
+
[AtlasSSEEvent.GROUP_UPDATED]: {
|
|
35
|
+
atlasId: string;
|
|
36
|
+
group: IAtlasGroup;
|
|
37
|
+
};
|
|
38
|
+
[AtlasSSEEvent.GROUP_DELETED]: {
|
|
39
|
+
atlasId: string;
|
|
40
|
+
groupId: string;
|
|
41
|
+
};
|
|
42
|
+
[AtlasSSEEvent.PAGE_CREATED]: {
|
|
43
|
+
atlasId: string;
|
|
44
|
+
page: IAtlasPage;
|
|
45
|
+
};
|
|
46
|
+
[AtlasSSEEvent.PAGE_UPDATED]: {
|
|
47
|
+
atlasId: string;
|
|
48
|
+
page: IAtlasPage;
|
|
49
|
+
};
|
|
50
|
+
[AtlasSSEEvent.PAGE_DELETED]: {
|
|
51
|
+
atlasId: string;
|
|
52
|
+
pageId: string;
|
|
53
|
+
};
|
|
54
|
+
[AtlasSSEEvent.PAGE_CONTENT_DIFF_UPDATED]: {
|
|
55
|
+
atlasId: string;
|
|
56
|
+
pageId: string;
|
|
57
|
+
diff: string | null;
|
|
58
|
+
version: number;
|
|
59
|
+
lastModifiedByUserId?: string;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export type AtlasSSEEventContent = AtlasSSEMessageContent | SystemSSEMessageContent;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SourceAtlasSSEEventPayload = exports.AtlasSSEEvent = void 0;
|
|
4
|
+
var AtlasSSEEvent;
|
|
5
|
+
(function (AtlasSSEEvent) {
|
|
6
|
+
AtlasSSEEvent["ATLAS_UPDATED"] = "ATLAS_UPDATED";
|
|
7
|
+
AtlasSSEEvent["ATLAS_DELETED"] = "ATLAS_DELETED";
|
|
8
|
+
AtlasSSEEvent["GROUP_CREATED"] = "GROUP_CREATED";
|
|
9
|
+
AtlasSSEEvent["GROUP_UPDATED"] = "GROUP_UPDATED";
|
|
10
|
+
AtlasSSEEvent["GROUP_DELETED"] = "GROUP_DELETED";
|
|
11
|
+
AtlasSSEEvent["PAGE_CREATED"] = "PAGE_CREATED";
|
|
12
|
+
AtlasSSEEvent["PAGE_UPDATED"] = "PAGE_UPDATED";
|
|
13
|
+
AtlasSSEEvent["PAGE_DELETED"] = "PAGE_DELETED";
|
|
14
|
+
AtlasSSEEvent["PAGE_CONTENT_DIFF_UPDATED"] = "PAGE_CONTENT_DIFF_UPDATED";
|
|
15
|
+
})(AtlasSSEEvent || (exports.AtlasSSEEvent = AtlasSSEEvent = {}));
|
|
16
|
+
class SourceAtlasSSEEventPayload {
|
|
17
|
+
}
|
|
18
|
+
exports.SourceAtlasSSEEventPayload = SourceAtlasSSEEventPayload;
|
|
19
|
+
AtlasSSEEvent.ATLAS_UPDATED, AtlasSSEEvent.ATLAS_DELETED, AtlasSSEEvent.GROUP_CREATED, AtlasSSEEvent.GROUP_UPDATED, AtlasSSEEvent.GROUP_DELETED, AtlasSSEEvent.PAGE_CREATED, AtlasSSEEvent.PAGE_UPDATED, AtlasSSEEvent.PAGE_DELETED, AtlasSSEEvent.PAGE_CONTENT_DIFF_UPDATED;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './atlas.sse-protocol';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./atlas.sse-protocol"), exports);
|
|
@@ -18,6 +18,8 @@ exports.SystemSSEEventPayload = exports.SYSTEM_PROTOCOL_EVENTS = void 0;
|
|
|
18
18
|
__exportStar(require("./user-notification"), exports);
|
|
19
19
|
__exportStar(require("./board"), exports);
|
|
20
20
|
__exportStar(require("./board-card"), exports);
|
|
21
|
+
__exportStar(require("./retrospective"), exports);
|
|
22
|
+
__exportStar(require("./atlas"), exports);
|
|
21
23
|
var SYSTEM_PROTOCOL_EVENTS;
|
|
22
24
|
(function (SYSTEM_PROTOCOL_EVENTS) {
|
|
23
25
|
SYSTEM_PROTOCOL_EVENTS["PING"] = "PING";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './retrospective.sse-protocol';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./retrospective.sse-protocol"), exports);
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { SystemSSEMessageContent } from '..';
|
|
2
|
+
import { ValueOf } from '../../../types';
|
|
3
|
+
import { IRetrospective, IRetrospectiveCard, IRetrospectiveSection, IRetrospectiveMember } from '../../../types/interface';
|
|
4
|
+
export declare enum RetrospectiveSSEEvent {
|
|
5
|
+
RETROSPECTIVE_UPDATED = "RETROSPECTIVE_UPDATED",
|
|
6
|
+
RETROSPECTIVE_DELETED = "RETROSPECTIVE_DELETED",
|
|
7
|
+
CARD_CREATED = "CARD_CREATED",
|
|
8
|
+
CARD_UPDATED = "CARD_UPDATED",
|
|
9
|
+
CARD_DELETED = "CARD_DELETED",
|
|
10
|
+
SECTION_CREATED = "SECTION_CREATED",
|
|
11
|
+
SECTION_UPDATED = "SECTION_UPDATED",
|
|
12
|
+
SECTION_DELETED = "SECTION_DELETED",
|
|
13
|
+
MEMBER_JOINED = "MEMBER_JOINED",
|
|
14
|
+
MEMBER_UPDATED = "MEMBER_UPDATED",
|
|
15
|
+
MEMBER_LEFT = "MEMBER_LEFT"
|
|
16
|
+
}
|
|
17
|
+
export type RetrospectiveSSEMessageContent = ValueOf<{
|
|
18
|
+
[K in RetrospectiveSSEEvent]: {
|
|
19
|
+
type: K;
|
|
20
|
+
payload: SourceRetrospectiveSSEEventPayload[K];
|
|
21
|
+
};
|
|
22
|
+
}>;
|
|
23
|
+
export declare class SourceRetrospectiveSSEEventPayload implements Record<RetrospectiveSSEEvent, Record<string, any>> {
|
|
24
|
+
[RetrospectiveSSEEvent.RETROSPECTIVE_UPDATED]: {
|
|
25
|
+
retrospectiveId: string;
|
|
26
|
+
retrospective: IRetrospective;
|
|
27
|
+
};
|
|
28
|
+
[RetrospectiveSSEEvent.RETROSPECTIVE_DELETED]: {
|
|
29
|
+
retrospectiveId: string;
|
|
30
|
+
userId?: string;
|
|
31
|
+
};
|
|
32
|
+
[RetrospectiveSSEEvent.CARD_CREATED]: {
|
|
33
|
+
retrospectiveId: string;
|
|
34
|
+
card: IRetrospectiveCard;
|
|
35
|
+
};
|
|
36
|
+
[RetrospectiveSSEEvent.CARD_UPDATED]: {
|
|
37
|
+
retrospectiveId: string;
|
|
38
|
+
card: IRetrospectiveCard;
|
|
39
|
+
};
|
|
40
|
+
[RetrospectiveSSEEvent.CARD_DELETED]: {
|
|
41
|
+
retrospectiveId: string;
|
|
42
|
+
cardId: string;
|
|
43
|
+
};
|
|
44
|
+
[RetrospectiveSSEEvent.SECTION_CREATED]: {
|
|
45
|
+
retrospectiveId: string;
|
|
46
|
+
section: IRetrospectiveSection;
|
|
47
|
+
};
|
|
48
|
+
[RetrospectiveSSEEvent.SECTION_UPDATED]: {
|
|
49
|
+
retrospectiveId: string;
|
|
50
|
+
section: IRetrospectiveSection;
|
|
51
|
+
};
|
|
52
|
+
[RetrospectiveSSEEvent.SECTION_DELETED]: {
|
|
53
|
+
retrospectiveId: string;
|
|
54
|
+
sectionId: string;
|
|
55
|
+
};
|
|
56
|
+
[RetrospectiveSSEEvent.MEMBER_JOINED]: {
|
|
57
|
+
retrospectiveId: string;
|
|
58
|
+
member: IRetrospectiveMember;
|
|
59
|
+
};
|
|
60
|
+
[RetrospectiveSSEEvent.MEMBER_UPDATED]: {
|
|
61
|
+
retrospectiveId: string;
|
|
62
|
+
member: IRetrospectiveMember;
|
|
63
|
+
};
|
|
64
|
+
[RetrospectiveSSEEvent.MEMBER_LEFT]: {
|
|
65
|
+
retrospectiveId: string;
|
|
66
|
+
memberId: string;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
export type RetrospectiveSSEEventContent = RetrospectiveSSEMessageContent | SystemSSEMessageContent;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SourceRetrospectiveSSEEventPayload = exports.RetrospectiveSSEEvent = void 0;
|
|
4
|
+
var RetrospectiveSSEEvent;
|
|
5
|
+
(function (RetrospectiveSSEEvent) {
|
|
6
|
+
RetrospectiveSSEEvent["RETROSPECTIVE_UPDATED"] = "RETROSPECTIVE_UPDATED";
|
|
7
|
+
RetrospectiveSSEEvent["RETROSPECTIVE_DELETED"] = "RETROSPECTIVE_DELETED";
|
|
8
|
+
RetrospectiveSSEEvent["CARD_CREATED"] = "CARD_CREATED";
|
|
9
|
+
RetrospectiveSSEEvent["CARD_UPDATED"] = "CARD_UPDATED";
|
|
10
|
+
RetrospectiveSSEEvent["CARD_DELETED"] = "CARD_DELETED";
|
|
11
|
+
RetrospectiveSSEEvent["SECTION_CREATED"] = "SECTION_CREATED";
|
|
12
|
+
RetrospectiveSSEEvent["SECTION_UPDATED"] = "SECTION_UPDATED";
|
|
13
|
+
RetrospectiveSSEEvent["SECTION_DELETED"] = "SECTION_DELETED";
|
|
14
|
+
RetrospectiveSSEEvent["MEMBER_JOINED"] = "MEMBER_JOINED";
|
|
15
|
+
RetrospectiveSSEEvent["MEMBER_UPDATED"] = "MEMBER_UPDATED";
|
|
16
|
+
RetrospectiveSSEEvent["MEMBER_LEFT"] = "MEMBER_LEFT";
|
|
17
|
+
})(RetrospectiveSSEEvent || (exports.RetrospectiveSSEEvent = RetrospectiveSSEEvent = {}));
|
|
18
|
+
class SourceRetrospectiveSSEEventPayload {
|
|
19
|
+
}
|
|
20
|
+
exports.SourceRetrospectiveSSEEventPayload = SourceRetrospectiveSSEEventPayload;
|
|
21
|
+
RetrospectiveSSEEvent.RETROSPECTIVE_UPDATED, RetrospectiveSSEEvent.RETROSPECTIVE_DELETED, RetrospectiveSSEEvent.CARD_CREATED, RetrospectiveSSEEvent.CARD_UPDATED, RetrospectiveSSEEvent.CARD_DELETED, RetrospectiveSSEEvent.SECTION_CREATED, RetrospectiveSSEEvent.SECTION_UPDATED, RetrospectiveSSEEvent.SECTION_DELETED, RetrospectiveSSEEvent.MEMBER_JOINED, RetrospectiveSSEEvent.MEMBER_UPDATED, RetrospectiveSSEEvent.MEMBER_LEFT;
|
|
@@ -16,7 +16,7 @@ export declare class ServerSentEventsManager<T extends ServerSentEventBaseContex
|
|
|
16
16
|
private channel;
|
|
17
17
|
private contexts;
|
|
18
18
|
constructor(channelName: string);
|
|
19
|
-
add(key: string, context: T): void;
|
|
19
|
+
add(key: string, context: T, onClose: () => void): void;
|
|
20
20
|
sendToContext(key: string, data: P, { senderId }?: {
|
|
21
21
|
senderId?: string;
|
|
22
22
|
}): void;
|
|
@@ -15,7 +15,7 @@ class ServerSentEventsManager {
|
|
|
15
15
|
this.channel = channelName;
|
|
16
16
|
this.contexts = new Map();
|
|
17
17
|
}
|
|
18
|
-
add(key, context) {
|
|
18
|
+
add(key, context, onClose) {
|
|
19
19
|
var _a, _b;
|
|
20
20
|
context.res.setHeader('Content-Type', 'text/event-stream');
|
|
21
21
|
context.res.setHeader('Cache-Control', 'no-cache');
|
|
@@ -40,6 +40,7 @@ class ServerSentEventsManager {
|
|
|
40
40
|
}, 10000);
|
|
41
41
|
context.res.on('close', () => {
|
|
42
42
|
clearInterval(pingTimeout);
|
|
43
|
+
onClose();
|
|
43
44
|
const row = this.contexts.get(key);
|
|
44
45
|
row === null || row === void 0 ? void 0 : row.delete(context);
|
|
45
46
|
});
|
|
@@ -7,6 +7,14 @@ export type DrawData = {
|
|
|
7
7
|
showGrid: boolean;
|
|
8
8
|
timestamp: number;
|
|
9
9
|
version: number;
|
|
10
|
+
sections?: Section[];
|
|
11
|
+
activeSections?: string[];
|
|
12
|
+
sectionDisplayMode?: 'hidden' | 'opacity';
|
|
13
|
+
};
|
|
14
|
+
export type Section = {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
color: string;
|
|
10
18
|
};
|
|
11
19
|
export interface Point {
|
|
12
20
|
x: number;
|
|
@@ -70,6 +78,7 @@ export type DrawShapeToJsonBaseResult = {
|
|
|
70
78
|
size: DrawSize;
|
|
71
79
|
style: DrawStyle;
|
|
72
80
|
zIndex: number;
|
|
81
|
+
sectionIds?: string[];
|
|
73
82
|
};
|
|
74
83
|
export type DrawShapeArrowToJsonResult = DrawShapeToJsonBaseResult & {
|
|
75
84
|
type: DrawShapeType.ARROW;
|
|
@@ -7,11 +7,20 @@ export declare enum AbyssApplicationEvent {
|
|
|
7
7
|
USER_NOTIFICATION_CREATE = "user.notification.create",
|
|
8
8
|
USER_NOTIFICATION_OPEN = "user.notification.open",
|
|
9
9
|
SERVER_SENT_EVENTS_BOARD_OPEN = "server-sent-events.board.open",
|
|
10
|
+
SERVER_SENT_EVENTS_BOARD_CLOSE = "server-sent-events.board.close",
|
|
10
11
|
SERVER_SENT_EVENTS_BOARD_SEND = "server-sent-events.board.send",
|
|
11
12
|
SERVER_SENT_EVENTS_BOARD_CARD_OPEN = "server-sent-events.board-card.open",
|
|
13
|
+
SERVER_SENT_EVENTS_BOARD_CARD_CLOSE = "server-sent-events.board-card.close",
|
|
12
14
|
SERVER_SENT_EVENTS_BOARD_CARD_SEND = "server-sent-events.board-card.send",
|
|
13
|
-
SERVER_SENT_EVENTS_USER_OPEN = "server-sent-events.user.open",
|
|
14
|
-
|
|
15
|
+
SERVER_SENT_EVENTS_USER_OPEN = "server-sent-events.user-notification.open",
|
|
16
|
+
SERVER_SENT_EVENTS_USER_CLOSE = "server-sent-events.user-notification.close",
|
|
17
|
+
SERVER_SENT_EVENTS_USER_SEND = "server-sent-events.user-notification.send",
|
|
18
|
+
SERVER_SENT_EVENTS_RETROSPECTIVE_OPEN = "server-sent-events.retrospective.open",
|
|
19
|
+
SERVER_SENT_EVENTS_RETROSPECTIVE_CLOSE = "server-sent-events.retrospective.close",
|
|
20
|
+
SERVER_SENT_EVENTS_RETROSPECTIVE_SEND = "server-sent-events.retrospective.send",
|
|
21
|
+
SERVER_SENT_EVENTS_ATLAS_OPEN = "server-sent-events.atlas.open",
|
|
22
|
+
SERVER_SENT_EVENTS_ATLAS_CLOSE = "server-sent-events.atlas.close",
|
|
23
|
+
SERVER_SENT_EVENTS_ATLAS_SEND = "server-sent-events.atlas.send",
|
|
15
24
|
BOARD_CREATE = "board.create",
|
|
16
25
|
BOARD_UPDATE = "board.update",
|
|
17
26
|
BOARD_DELETE = "board.delete",
|
|
@@ -43,6 +52,35 @@ export declare enum AbyssApplicationEvent {
|
|
|
43
52
|
DRAW_CREATE = "draw.create",
|
|
44
53
|
DRAW_UPDATE = "draw.update",
|
|
45
54
|
DRAW_DELETE = "draw.delete",
|
|
55
|
+
RETROSPECTIVE_CREATE = "retrospective.create",
|
|
56
|
+
RETROSPECTIVE_UPDATE = "retrospective.update",
|
|
57
|
+
RETROSPECTIVE_DELETE = "retrospective.delete",
|
|
58
|
+
RETROSPECTIVE_SECTION_CREATE = "retrospective.section.create",
|
|
59
|
+
RETROSPECTIVE_SECTION_UPDATE = "retrospective.section.update",
|
|
60
|
+
RETROSPECTIVE_SECTION_DELETE = "retrospective.section.delete",
|
|
61
|
+
RETROSPECTIVE_CARD_CREATE = "retrospective.card.create",
|
|
62
|
+
RETROSPECTIVE_CARD_UPDATE = "retrospective.card.update",
|
|
63
|
+
RETROSPECTIVE_CARD_DELETE = "retrospective.card.delete",
|
|
64
|
+
RETROSPECTIVE_MEMBER_ADD = "retrospective.member.add",
|
|
65
|
+
RETROSPECTIVE_MEMBER_UPDATE = "retrospective.member.update",
|
|
66
|
+
RETROSPECTIVE_MEMBER_CONNECT = "retrospective.member.connect",
|
|
67
|
+
RETROSPECTIVE_MEMBER_DISCONNECT = "retrospective.member.disconnect",
|
|
68
|
+
ATLAS_CREATE = "atlas.create",
|
|
69
|
+
ATLAS_UPDATE = "atlas.update",
|
|
70
|
+
ATLAS_DELETE = "atlas.delete",
|
|
71
|
+
ATLAS_GROUP_CREATE = "atlas-group.create",
|
|
72
|
+
ATLAS_GROUP_UPDATE = "atlas-group.update",
|
|
73
|
+
ATLAS_GROUP_DELETE = "atlas-group.delete",
|
|
74
|
+
ATLAS_PAGE_CREATE = "atlas-page.create",
|
|
75
|
+
ATLAS_PAGE_UPDATE = "atlas-page.update",
|
|
76
|
+
ATLAS_PAGE_DELETE = "atlas-page.delete",
|
|
77
|
+
ATLAS_PAGE_REVERT = "atlas-page.revert",
|
|
78
|
+
ATLAS_PAGE_CONTENT_CREATE = "atlas-page-content.create",
|
|
79
|
+
ATLAS_PAGE_CONTENT_UPDATE = "atlas-page-content.update",
|
|
80
|
+
ATLAS_PAGE_CONTENT_DELETE = "atlas-page-content.delete",
|
|
81
|
+
MEMO_CREATE = "memo.create",
|
|
82
|
+
MEMO_UPDATE = "memo.update",
|
|
83
|
+
MEMO_DELETE = "memo.delete",
|
|
46
84
|
ABYSS_STORAGE_MINDEE_EXTRACT = "abyss-storage.mindee.extract",
|
|
47
85
|
ABYSS_STORAGE_COLLECTION_FREEPIK_FETCH = "abyss-storage.collection.freepik.fetch",
|
|
48
86
|
ABYSS_STORAGE_COLLECTION_FREEPIK_GET_DOWNLOAD_URL = "abyss-storage.collection.freepik.get-download-url",
|
|
@@ -11,11 +11,20 @@ var AbyssApplicationEvent;
|
|
|
11
11
|
AbyssApplicationEvent["USER_NOTIFICATION_CREATE"] = "user.notification.create";
|
|
12
12
|
AbyssApplicationEvent["USER_NOTIFICATION_OPEN"] = "user.notification.open";
|
|
13
13
|
AbyssApplicationEvent["SERVER_SENT_EVENTS_BOARD_OPEN"] = "server-sent-events.board.open";
|
|
14
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_BOARD_CLOSE"] = "server-sent-events.board.close";
|
|
14
15
|
AbyssApplicationEvent["SERVER_SENT_EVENTS_BOARD_SEND"] = "server-sent-events.board.send";
|
|
15
16
|
AbyssApplicationEvent["SERVER_SENT_EVENTS_BOARD_CARD_OPEN"] = "server-sent-events.board-card.open";
|
|
17
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_BOARD_CARD_CLOSE"] = "server-sent-events.board-card.close";
|
|
16
18
|
AbyssApplicationEvent["SERVER_SENT_EVENTS_BOARD_CARD_SEND"] = "server-sent-events.board-card.send";
|
|
17
|
-
AbyssApplicationEvent["SERVER_SENT_EVENTS_USER_OPEN"] = "server-sent-events.user.open";
|
|
18
|
-
AbyssApplicationEvent["
|
|
19
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_USER_OPEN"] = "server-sent-events.user-notification.open";
|
|
20
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_USER_CLOSE"] = "server-sent-events.user-notification.close";
|
|
21
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_USER_SEND"] = "server-sent-events.user-notification.send";
|
|
22
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_RETROSPECTIVE_OPEN"] = "server-sent-events.retrospective.open";
|
|
23
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_RETROSPECTIVE_CLOSE"] = "server-sent-events.retrospective.close";
|
|
24
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_RETROSPECTIVE_SEND"] = "server-sent-events.retrospective.send";
|
|
25
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_ATLAS_OPEN"] = "server-sent-events.atlas.open";
|
|
26
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_ATLAS_CLOSE"] = "server-sent-events.atlas.close";
|
|
27
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_ATLAS_SEND"] = "server-sent-events.atlas.send";
|
|
19
28
|
AbyssApplicationEvent["BOARD_CREATE"] = "board.create";
|
|
20
29
|
AbyssApplicationEvent["BOARD_UPDATE"] = "board.update";
|
|
21
30
|
AbyssApplicationEvent["BOARD_DELETE"] = "board.delete";
|
|
@@ -47,6 +56,35 @@ var AbyssApplicationEvent;
|
|
|
47
56
|
AbyssApplicationEvent["DRAW_CREATE"] = "draw.create";
|
|
48
57
|
AbyssApplicationEvent["DRAW_UPDATE"] = "draw.update";
|
|
49
58
|
AbyssApplicationEvent["DRAW_DELETE"] = "draw.delete";
|
|
59
|
+
AbyssApplicationEvent["RETROSPECTIVE_CREATE"] = "retrospective.create";
|
|
60
|
+
AbyssApplicationEvent["RETROSPECTIVE_UPDATE"] = "retrospective.update";
|
|
61
|
+
AbyssApplicationEvent["RETROSPECTIVE_DELETE"] = "retrospective.delete";
|
|
62
|
+
AbyssApplicationEvent["RETROSPECTIVE_SECTION_CREATE"] = "retrospective.section.create";
|
|
63
|
+
AbyssApplicationEvent["RETROSPECTIVE_SECTION_UPDATE"] = "retrospective.section.update";
|
|
64
|
+
AbyssApplicationEvent["RETROSPECTIVE_SECTION_DELETE"] = "retrospective.section.delete";
|
|
65
|
+
AbyssApplicationEvent["RETROSPECTIVE_CARD_CREATE"] = "retrospective.card.create";
|
|
66
|
+
AbyssApplicationEvent["RETROSPECTIVE_CARD_UPDATE"] = "retrospective.card.update";
|
|
67
|
+
AbyssApplicationEvent["RETROSPECTIVE_CARD_DELETE"] = "retrospective.card.delete";
|
|
68
|
+
AbyssApplicationEvent["RETROSPECTIVE_MEMBER_ADD"] = "retrospective.member.add";
|
|
69
|
+
AbyssApplicationEvent["RETROSPECTIVE_MEMBER_UPDATE"] = "retrospective.member.update";
|
|
70
|
+
AbyssApplicationEvent["RETROSPECTIVE_MEMBER_CONNECT"] = "retrospective.member.connect";
|
|
71
|
+
AbyssApplicationEvent["RETROSPECTIVE_MEMBER_DISCONNECT"] = "retrospective.member.disconnect";
|
|
72
|
+
AbyssApplicationEvent["ATLAS_CREATE"] = "atlas.create";
|
|
73
|
+
AbyssApplicationEvent["ATLAS_UPDATE"] = "atlas.update";
|
|
74
|
+
AbyssApplicationEvent["ATLAS_DELETE"] = "atlas.delete";
|
|
75
|
+
AbyssApplicationEvent["ATLAS_GROUP_CREATE"] = "atlas-group.create";
|
|
76
|
+
AbyssApplicationEvent["ATLAS_GROUP_UPDATE"] = "atlas-group.update";
|
|
77
|
+
AbyssApplicationEvent["ATLAS_GROUP_DELETE"] = "atlas-group.delete";
|
|
78
|
+
AbyssApplicationEvent["ATLAS_PAGE_CREATE"] = "atlas-page.create";
|
|
79
|
+
AbyssApplicationEvent["ATLAS_PAGE_UPDATE"] = "atlas-page.update";
|
|
80
|
+
AbyssApplicationEvent["ATLAS_PAGE_DELETE"] = "atlas-page.delete";
|
|
81
|
+
AbyssApplicationEvent["ATLAS_PAGE_REVERT"] = "atlas-page.revert";
|
|
82
|
+
AbyssApplicationEvent["ATLAS_PAGE_CONTENT_CREATE"] = "atlas-page-content.create";
|
|
83
|
+
AbyssApplicationEvent["ATLAS_PAGE_CONTENT_UPDATE"] = "atlas-page-content.update";
|
|
84
|
+
AbyssApplicationEvent["ATLAS_PAGE_CONTENT_DELETE"] = "atlas-page-content.delete";
|
|
85
|
+
AbyssApplicationEvent["MEMO_CREATE"] = "memo.create";
|
|
86
|
+
AbyssApplicationEvent["MEMO_UPDATE"] = "memo.update";
|
|
87
|
+
AbyssApplicationEvent["MEMO_DELETE"] = "memo.delete";
|
|
50
88
|
AbyssApplicationEvent["ABYSS_STORAGE_MINDEE_EXTRACT"] = "abyss-storage.mindee.extract";
|
|
51
89
|
AbyssApplicationEvent["ABYSS_STORAGE_COLLECTION_FREEPIK_FETCH"] = "abyss-storage.collection.freepik.fetch";
|
|
52
90
|
AbyssApplicationEvent["ABYSS_STORAGE_COLLECTION_FREEPIK_GET_DOWNLOAD_URL"] = "abyss-storage.collection.freepik.get-download-url";
|
|
@@ -38,5 +38,6 @@ export declare enum Code {
|
|
|
38
38
|
unableToDeleteSpotlightProjectExist = "unable_to_delete_spotlight_project_exist",
|
|
39
39
|
unableToDeleteFormExist = "unable_to_delete_form_exist",
|
|
40
40
|
boardCardDocumentLimitReached = "board_card_document_limit_reached",
|
|
41
|
-
boardCardMoveInvalidDestination = "board_card_move_invalid_destination"
|
|
41
|
+
boardCardMoveInvalidDestination = "board_card_move_invalid_destination",
|
|
42
|
+
retrospectiveCannotBeModifiedWhenCompleted = "retrospective_cannot_be_modified_when_completed"
|
|
42
43
|
}
|
|
@@ -44,4 +44,5 @@ var Code;
|
|
|
44
44
|
Code["unableToDeleteFormExist"] = "unable_to_delete_form_exist";
|
|
45
45
|
Code["boardCardDocumentLimitReached"] = "board_card_document_limit_reached";
|
|
46
46
|
Code["boardCardMoveInvalidDestination"] = "board_card_move_invalid_destination";
|
|
47
|
+
Code["retrospectiveCannotBeModifiedWhenCompleted"] = "retrospective_cannot_be_modified_when_completed";
|
|
47
48
|
})(Code || (exports.Code = Code = {}));
|
|
@@ -33,6 +33,16 @@ export * from './requests/board-card-checklist.request';
|
|
|
33
33
|
export * from './requests/board-card-document.request';
|
|
34
34
|
export * from './requests/draw.request';
|
|
35
35
|
export * from './requests/draw.public.request';
|
|
36
|
+
export * from './requests/retrospective-card.request';
|
|
37
|
+
export * from './requests/retrospective-member.request';
|
|
38
|
+
export * from './requests/retrospective-section.request';
|
|
39
|
+
export * from './requests/retrospective.request';
|
|
40
|
+
export * from './requests/retrospective.public.request';
|
|
41
|
+
export * from './requests/atlas.request';
|
|
42
|
+
export * from './requests/atlas-page.request';
|
|
43
|
+
export * from './requests/atlas-group.request';
|
|
44
|
+
export * from './requests/atlas.public.request';
|
|
45
|
+
export * from './requests/memo.request';
|
|
36
46
|
export * from './responses/auth.response';
|
|
37
47
|
export * from './responses/user.response';
|
|
38
48
|
export * from './responses/user.admin.response';
|
|
@@ -66,3 +76,13 @@ export * from './responses/board-card-checklist.response';
|
|
|
66
76
|
export * from './responses/board-card-document.response';
|
|
67
77
|
export * from './responses/draw.response';
|
|
68
78
|
export * from './responses/draw.public.response';
|
|
79
|
+
export * from './responses/retrospective-card.response';
|
|
80
|
+
export * from './responses/retrospective-member.response';
|
|
81
|
+
export * from './responses/retrospective-section.response';
|
|
82
|
+
export * from './responses/retrospective.response';
|
|
83
|
+
export * from './responses/retrospective.public.response';
|
|
84
|
+
export * from './responses/atlas.response';
|
|
85
|
+
export * from './responses/atlas-page.response';
|
|
86
|
+
export * from './responses/atlas-group.response';
|
|
87
|
+
export * from './responses/atlas.public.response';
|
|
88
|
+
export * from './responses/memo.response';
|
|
@@ -49,6 +49,16 @@ __exportStar(require("./requests/board-card-checklist.request"), exports);
|
|
|
49
49
|
__exportStar(require("./requests/board-card-document.request"), exports);
|
|
50
50
|
__exportStar(require("./requests/draw.request"), exports);
|
|
51
51
|
__exportStar(require("./requests/draw.public.request"), exports);
|
|
52
|
+
__exportStar(require("./requests/retrospective-card.request"), exports);
|
|
53
|
+
__exportStar(require("./requests/retrospective-member.request"), exports);
|
|
54
|
+
__exportStar(require("./requests/retrospective-section.request"), exports);
|
|
55
|
+
__exportStar(require("./requests/retrospective.request"), exports);
|
|
56
|
+
__exportStar(require("./requests/retrospective.public.request"), exports);
|
|
57
|
+
__exportStar(require("./requests/atlas.request"), exports);
|
|
58
|
+
__exportStar(require("./requests/atlas-page.request"), exports);
|
|
59
|
+
__exportStar(require("./requests/atlas-group.request"), exports);
|
|
60
|
+
__exportStar(require("./requests/atlas.public.request"), exports);
|
|
61
|
+
__exportStar(require("./requests/memo.request"), exports);
|
|
52
62
|
__exportStar(require("./responses/auth.response"), exports);
|
|
53
63
|
__exportStar(require("./responses/user.response"), exports);
|
|
54
64
|
__exportStar(require("./responses/user.admin.response"), exports);
|
|
@@ -82,3 +92,13 @@ __exportStar(require("./responses/board-card-checklist.response"), exports);
|
|
|
82
92
|
__exportStar(require("./responses/board-card-document.response"), exports);
|
|
83
93
|
__exportStar(require("./responses/draw.response"), exports);
|
|
84
94
|
__exportStar(require("./responses/draw.public.response"), exports);
|
|
95
|
+
__exportStar(require("./responses/retrospective-card.response"), exports);
|
|
96
|
+
__exportStar(require("./responses/retrospective-member.response"), exports);
|
|
97
|
+
__exportStar(require("./responses/retrospective-section.response"), exports);
|
|
98
|
+
__exportStar(require("./responses/retrospective.response"), exports);
|
|
99
|
+
__exportStar(require("./responses/retrospective.public.response"), exports);
|
|
100
|
+
__exportStar(require("./responses/atlas.response"), exports);
|
|
101
|
+
__exportStar(require("./responses/atlas-page.response"), exports);
|
|
102
|
+
__exportStar(require("./responses/atlas-group.response"), exports);
|
|
103
|
+
__exportStar(require("./responses/atlas.public.response"), exports);
|
|
104
|
+
__exportStar(require("./responses/memo.response"), exports);
|
|
@@ -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
|
+
}
|