@abyss-project/main 1.0.58 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/auth.api.d.ts +2 -1
- package/dist/api/auth.api.js +7 -1
- package/dist/api/board-card-checklist.api.d.ts +8 -0
- package/dist/api/board-card-checklist.api.js +32 -0
- package/dist/api/board-card-comment.api.d.ts +5 -0
- package/dist/api/board-card-comment.api.js +20 -0
- package/dist/api/board-card-document.api.d.ts +4 -0
- package/dist/api/board-card-document.api.js +16 -0
- package/dist/api/board-card.api.d.ts +10 -0
- package/dist/api/board-card.api.js +42 -0
- package/dist/api/board-column.api.d.ts +5 -0
- package/dist/api/board-column.api.js +20 -0
- package/dist/api/board-label.api.d.ts +8 -0
- package/dist/api/board-label.api.js +33 -0
- package/dist/api/board.api.d.ts +8 -0
- package/dist/api/board.api.js +33 -0
- package/dist/api/index.d.ts +7 -0
- package/dist/api/index.js +7 -0
- package/dist/api/project.admin.api.d.ts +2 -1
- package/dist/api/project.admin.api.js +5 -1
- package/dist/api/project.api.d.ts +2 -1
- package/dist/api/project.api.js +5 -1
- package/dist/api/user.admin.api.d.ts +2 -1
- package/dist/api/user.admin.api.js +5 -1
- package/dist/api/user.api.d.ts +2 -1
- package/dist/api/user.api.js +5 -1
- package/dist/constants/board.constants.d.ts +5 -0
- package/dist/constants/board.constants.js +8 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +17 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/server-sent-events/index.d.ts +2 -0
- package/dist/server-sent-events/index.js +18 -0
- package/dist/server-sent-events/protocols/index.d.ts +17 -0
- package/dist/server-sent-events/protocols/index.js +26 -0
- package/dist/server-sent-events/protocols/user-notification/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/user-notification/index.js +17 -0
- package/dist/server-sent-events/protocols/user-notification/user-notification.sse-protocol.d.ts +24 -0
- package/dist/server-sent-events/protocols/user-notification/user-notification.sse-protocol.js +13 -0
- package/dist/server-sent-events/server-sent-events.manager.d.ts +19 -0
- package/dist/server-sent-events/server-sent-events.manager.js +58 -0
- package/dist/translate/en.translate.d.ts +8 -0
- package/dist/translate/en.translate.js +8 -0
- package/dist/translate/fr.translate.d.ts +8 -0
- package/dist/translate/fr.translate.js +8 -0
- package/dist/types/enum/abyss-application-event.enum.d.ts +34 -0
- package/dist/types/enum/abyss-application-event.enum.js +34 -0
- package/dist/types/enum/api-error.enum.d.ts +3 -1
- package/dist/types/enum/api-error.enum.js +2 -0
- package/dist/types/enum/board-activity.enum.d.ts +170 -0
- package/dist/types/enum/board-activity.enum.js +37 -0
- package/dist/types/enum/board-column-type.enum.d.ts +6 -0
- package/dist/types/enum/board-column-type.enum.js +10 -0
- package/dist/types/enum/index.d.ts +2 -0
- package/dist/types/enum/index.js +2 -0
- package/dist/types/enum/oauth-account-type.enum.d.ts +2 -1
- package/dist/types/enum/oauth-account-type.enum.js +1 -0
- package/dist/types/enum/user-notification-content-type.enum.d.ts +20 -0
- package/dist/types/enum/user-notification-content-type.enum.js +3 -1
- package/dist/types/interface/api/index.d.ts +14 -0
- package/dist/types/interface/api/index.js +14 -0
- package/dist/types/interface/api/requests/auth.request.d.ts +1 -0
- package/dist/types/interface/api/requests/board-card-checklist.request.d.ts +55 -0
- package/dist/types/interface/api/requests/board-card-checklist.request.js +2 -0
- package/dist/types/interface/api/requests/board-card-comment.request.d.ts +25 -0
- package/dist/types/interface/api/requests/board-card-comment.request.js +2 -0
- package/dist/types/interface/api/requests/board-card-document.request.d.ts +17 -0
- package/dist/types/interface/api/requests/board-card-document.request.js +2 -0
- package/dist/types/interface/api/requests/board-card.request.d.ts +65 -0
- package/dist/types/interface/api/requests/board-card.request.js +2 -0
- package/dist/types/interface/api/requests/board-column.request.d.ts +26 -0
- package/dist/types/interface/api/requests/board-column.request.js +2 -0
- package/dist/types/interface/api/requests/board-label.request.d.ts +36 -0
- package/dist/types/interface/api/requests/board-label.request.js +2 -0
- package/dist/types/interface/api/requests/board.request.d.ts +25 -0
- package/dist/types/interface/api/requests/board.request.js +2 -0
- package/dist/types/interface/api/requests/project.admin.request.d.ts +3 -0
- package/dist/types/interface/api/requests/project.request.d.ts +3 -0
- package/dist/types/interface/api/requests/user.admin.request.d.ts +3 -0
- package/dist/types/interface/api/requests/user.request.d.ts +8 -0
- package/dist/types/interface/api/responses/auth.response.d.ts +4 -0
- package/dist/types/interface/api/responses/board-card-checklist.response.d.ts +27 -0
- package/dist/types/interface/api/responses/board-card-checklist.response.js +2 -0
- package/dist/types/interface/api/responses/board-card-comment.response.d.ts +17 -0
- package/dist/types/interface/api/responses/board-card-comment.response.js +2 -0
- package/dist/types/interface/api/responses/board-card-document.response.d.ts +13 -0
- package/dist/types/interface/api/responses/board-card-document.response.js +2 -0
- package/dist/types/interface/api/responses/board-card.response.d.ts +35 -0
- package/dist/types/interface/api/responses/board-card.response.js +2 -0
- package/dist/types/interface/api/responses/board-column.response.d.ts +17 -0
- package/dist/types/interface/api/responses/board-column.response.js +2 -0
- package/dist/types/interface/api/responses/board-label.response.d.ts +30 -0
- package/dist/types/interface/api/responses/board-label.response.js +2 -0
- package/dist/types/interface/api/responses/board.response.d.ts +46 -0
- package/dist/types/interface/api/responses/board.response.js +2 -0
- package/dist/types/interface/api/responses/project.admin.response.d.ts +14 -0
- package/dist/types/interface/api/responses/project.response.d.ts +16 -2
- package/dist/types/interface/api/responses/user.admin.response.d.ts +14 -1
- package/dist/types/interface/api/responses/user.response.d.ts +14 -1
- package/dist/types/interface/index.d.ts +11 -0
- package/dist/types/interface/index.js +11 -0
- package/dist/types/interface/models/board-activity.model.d.ts +17 -0
- package/dist/types/interface/models/board-activity.model.js +2 -0
- package/dist/types/interface/models/board-card-checklist-row.model.d.ts +11 -0
- package/dist/types/interface/models/board-card-checklist-row.model.js +2 -0
- package/dist/types/interface/models/board-card-checklist.model.d.ts +13 -0
- package/dist/types/interface/models/board-card-checklist.model.js +2 -0
- package/dist/types/interface/models/board-card-comment.model.d.ts +12 -0
- package/dist/types/interface/models/board-card-comment.model.js +2 -0
- package/dist/types/interface/models/board-card-document.model.d.ts +19 -0
- package/dist/types/interface/models/board-card-document.model.js +2 -0
- package/dist/types/interface/models/board-card-label.model.d.ts +11 -0
- package/dist/types/interface/models/board-card-label.model.js +2 -0
- package/dist/types/interface/models/board-card-member.model.d.ts +11 -0
- package/dist/types/interface/models/board-card-member.model.js +2 -0
- package/dist/types/interface/models/board-card.model.d.ts +34 -0
- package/dist/types/interface/models/board-card.model.js +2 -0
- package/dist/types/interface/models/board-column.model.d.ts +14 -0
- package/dist/types/interface/models/board-column.model.js +2 -0
- package/dist/types/interface/models/board-label.model.d.ts +10 -0
- package/dist/types/interface/models/board-label.model.js +2 -0
- package/dist/types/interface/models/board.model.d.ts +24 -0
- package/dist/types/interface/models/board.model.js +2 -0
- package/dist/types/interface/models/user.model.d.ts +4 -1
- package/dist/utils/board.utils.d.ts +5 -0
- package/dist/utils/board.utils.js +39 -0
- package/dist/utils/color.utils.d.ts +1 -0
- package/dist/utils/color.utils.js +12 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +2 -0
- package/package.json +1 -1
|
@@ -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("./user-notification.sse-protocol"), exports);
|
package/dist/server-sent-events/protocols/user-notification/user-notification.sse-protocol.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SystemSSEEventPayload } from '..';
|
|
2
|
+
import { IUserNotification, NotificationDTO, ValueOf } from '../../../types';
|
|
3
|
+
export declare const SSE_USER_NOTIFICATION_CHANNEL = "SSE_USER_NOTIFICATION_CHANNEL";
|
|
4
|
+
export declare enum UserNotificationSSEEvent {
|
|
5
|
+
USER_NOTIFICATION_CREATED = "USER_NOTIFICATION_CREATED",
|
|
6
|
+
USER_NOTIFICATION_OPENED = "USER_NOTIFICATION_OPENED"
|
|
7
|
+
}
|
|
8
|
+
export type UserNotificationSSEMessageContent = ValueOf<{
|
|
9
|
+
[K in UserNotificationSSEEvent]: {
|
|
10
|
+
type: K;
|
|
11
|
+
payload: UserNotificationSSEEventPayload[K];
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
export declare class UserNotificationSSEEventPayload implements Record<UserNotificationSSEEvent, Record<string, any>> {
|
|
15
|
+
[UserNotificationSSEEvent.USER_NOTIFICATION_CREATED]: {
|
|
16
|
+
userNotification: IUserNotification & NotificationDTO;
|
|
17
|
+
userId: string;
|
|
18
|
+
};
|
|
19
|
+
[UserNotificationSSEEvent.USER_NOTIFICATION_OPENED]: {
|
|
20
|
+
userNotification: IUserNotification & NotificationDTO;
|
|
21
|
+
userId: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export type UserNotificationCombinedSSEEventPayload = UserNotificationSSEEventPayload & SystemSSEEventPayload;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserNotificationSSEEventPayload = exports.UserNotificationSSEEvent = exports.SSE_USER_NOTIFICATION_CHANNEL = void 0;
|
|
4
|
+
exports.SSE_USER_NOTIFICATION_CHANNEL = 'SSE_USER_NOTIFICATION_CHANNEL';
|
|
5
|
+
var UserNotificationSSEEvent;
|
|
6
|
+
(function (UserNotificationSSEEvent) {
|
|
7
|
+
UserNotificationSSEEvent["USER_NOTIFICATION_CREATED"] = "USER_NOTIFICATION_CREATED";
|
|
8
|
+
UserNotificationSSEEvent["USER_NOTIFICATION_OPENED"] = "USER_NOTIFICATION_OPENED";
|
|
9
|
+
})(UserNotificationSSEEvent || (exports.UserNotificationSSEEvent = UserNotificationSSEEvent = {}));
|
|
10
|
+
class UserNotificationSSEEventPayload {
|
|
11
|
+
}
|
|
12
|
+
exports.UserNotificationSSEEventPayload = UserNotificationSSEEventPayload;
|
|
13
|
+
UserNotificationSSEEvent.USER_NOTIFICATION_CREATED, UserNotificationSSEEvent.USER_NOTIFICATION_OPENED;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Request, Response } from 'express-serve-static-core';
|
|
2
|
+
export declare class ServerSentEventBaseContext {
|
|
3
|
+
id: string;
|
|
4
|
+
createdAt: Date;
|
|
5
|
+
req: Request;
|
|
6
|
+
res: Response;
|
|
7
|
+
}
|
|
8
|
+
export declare class ServerSentEventsManager<T extends ServerSentEventBaseContext, P extends {
|
|
9
|
+
type: string;
|
|
10
|
+
payload: any;
|
|
11
|
+
}> {
|
|
12
|
+
private channel;
|
|
13
|
+
private contexts;
|
|
14
|
+
constructor(channelName: string);
|
|
15
|
+
add(key: string, context: T): void;
|
|
16
|
+
sendToContext(key: string, data: P, { senderId }?: {
|
|
17
|
+
senderId?: string;
|
|
18
|
+
}): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServerSentEventsManager = exports.ServerSentEventBaseContext = void 0;
|
|
4
|
+
const uuid_1 = require("uuid");
|
|
5
|
+
const protocols_1 = require("./protocols");
|
|
6
|
+
class ServerSentEventBaseContext {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = (0, uuid_1.v4)();
|
|
9
|
+
this.createdAt = new Date();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ServerSentEventBaseContext = ServerSentEventBaseContext;
|
|
13
|
+
class ServerSentEventsManager {
|
|
14
|
+
constructor(channelName) {
|
|
15
|
+
this.channel = channelName;
|
|
16
|
+
this.contexts = new Map();
|
|
17
|
+
}
|
|
18
|
+
add(key, context) {
|
|
19
|
+
var _a, _b;
|
|
20
|
+
context.res.setHeader('Content-Type', 'text/event-stream');
|
|
21
|
+
context.res.setHeader('Cache-Control', 'no-cache');
|
|
22
|
+
context.res.setHeader('Connection', 'keep-alive');
|
|
23
|
+
(_b = (_a = context.res).flushHeaders) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
24
|
+
const row = this.contexts.get(key);
|
|
25
|
+
if (!row) {
|
|
26
|
+
this.contexts.set(key, new Set([context]));
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
row.add(context);
|
|
30
|
+
}
|
|
31
|
+
const pingTimeout = setInterval(() => {
|
|
32
|
+
const payload = {
|
|
33
|
+
type: protocols_1.SYSTEM_PROTOCOL_EVENTS.PING,
|
|
34
|
+
payload: {
|
|
35
|
+
openedAt: context.createdAt.getTime(),
|
|
36
|
+
timestamp: Date.now(),
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
context.res.write(`data: ${JSON.stringify(payload)}\n\n`);
|
|
40
|
+
}, 10000);
|
|
41
|
+
context.res.on('close', () => {
|
|
42
|
+
clearInterval(pingTimeout);
|
|
43
|
+
const row = this.contexts.get(key);
|
|
44
|
+
row === null || row === void 0 ? void 0 : row.delete(context);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
sendToContext(key, data, { senderId } = {}) {
|
|
48
|
+
const payload = JSON.stringify({ ...data, date: new Date() });
|
|
49
|
+
const clients = this.contexts.get(key);
|
|
50
|
+
clients === null || clients === void 0 ? void 0 : clients.forEach((client) => {
|
|
51
|
+
if (client.id === senderId) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
client.res.write(`data: ${payload}\n\n`);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.ServerSentEventsManager = ServerSentEventsManager;
|
|
@@ -89,6 +89,14 @@ export declare const enTranslation: {
|
|
|
89
89
|
title: string;
|
|
90
90
|
content: string;
|
|
91
91
|
};
|
|
92
|
+
"board-card-late": {
|
|
93
|
+
title: string;
|
|
94
|
+
content: string;
|
|
95
|
+
};
|
|
96
|
+
"board-card-almost-late": {
|
|
97
|
+
title: string;
|
|
98
|
+
content: string;
|
|
99
|
+
};
|
|
92
100
|
};
|
|
93
101
|
ABYSS_CLOUD: {
|
|
94
102
|
"create-cloud-share": {
|
|
@@ -93,6 +93,14 @@ exports.enTranslation = {
|
|
|
93
93
|
title: 'New subscription {level} for project {projectName}',
|
|
94
94
|
content: 'A new subscription {level} has been added to project {projectName}. User {usernameRenew} has been charged {creditPrice} credits. It will not be automatically renewed.',
|
|
95
95
|
},
|
|
96
|
+
[types_1.UserNotificationContentType.BOARD_CARD_LATE]: {
|
|
97
|
+
title: 'Board card late',
|
|
98
|
+
content: 'The card "{boardCardName}" on the board "{boardName}" is late!',
|
|
99
|
+
},
|
|
100
|
+
[types_1.UserNotificationContentType.BOARD_CARD_ALMOST_LATE]: {
|
|
101
|
+
title: 'Board card almost late',
|
|
102
|
+
content: 'The card "{boardCardName}" on the board "{boardName}" is almost late!',
|
|
103
|
+
},
|
|
96
104
|
},
|
|
97
105
|
[types_1.AbyssService.ABYSS_CLOUD]: {
|
|
98
106
|
[types_1.UserNotificationContentType.CREATE_CLOUD_SHARE]: {
|
|
@@ -89,6 +89,14 @@ export declare const frTranslation: {
|
|
|
89
89
|
title: string;
|
|
90
90
|
content: string;
|
|
91
91
|
};
|
|
92
|
+
"board-card-late": {
|
|
93
|
+
title: string;
|
|
94
|
+
content: string;
|
|
95
|
+
};
|
|
96
|
+
"board-card-almost-late": {
|
|
97
|
+
title: string;
|
|
98
|
+
content: string;
|
|
99
|
+
};
|
|
92
100
|
};
|
|
93
101
|
ABYSS_CLOUD: {
|
|
94
102
|
"create-cloud-share": {
|
|
@@ -93,6 +93,14 @@ exports.frTranslation = {
|
|
|
93
93
|
title: 'Nouvel abonnement {level} pour le projet {projectName}',
|
|
94
94
|
content: "Un nouvel abonnement {level} a été ajouté au projet {projectName}. L'utilisateur {usernameRenew} a été débite de {creditPrice} crédits. Il ne sera pas automatiquement renouvellé.",
|
|
95
95
|
},
|
|
96
|
+
[types_1.UserNotificationContentType.BOARD_CARD_LATE]: {
|
|
97
|
+
title: 'Carte de tableau en retard',
|
|
98
|
+
content: 'La carte "{boardCardName}" du tableau "{boardName}" est en retard !',
|
|
99
|
+
},
|
|
100
|
+
[types_1.UserNotificationContentType.BOARD_CARD_ALMOST_LATE]: {
|
|
101
|
+
title: 'Carte de tableau presque en retard',
|
|
102
|
+
content: 'La carte "{boardCardName}" du tableau "{boardName}" est presque en retard !',
|
|
103
|
+
},
|
|
96
104
|
},
|
|
97
105
|
[types_1.AbyssService.ABYSS_CLOUD]: {
|
|
98
106
|
[types_1.UserNotificationContentType.CREATE_CLOUD_SHARE]: {
|
|
@@ -4,6 +4,40 @@ export declare enum AbyssApplicationEvent {
|
|
|
4
4
|
AUTHENTICATION_USER_LOGIN = "authentication.user.login",
|
|
5
5
|
AUTHENTICATION_USER_LOGIN_REFRESH = "authentication.user.login-refresh",
|
|
6
6
|
MAILING_EMAIL_SEND = "mailing.email.send",
|
|
7
|
+
USER_NOTIFICATION_CREATE = "user.notification.create",
|
|
8
|
+
USER_NOTIFICATION_OPEN = "user.notification.open",
|
|
9
|
+
SERVER_SENT_EVENTS_BOARD_OPEN = "server-sent-events.board.open",
|
|
10
|
+
SERVER_SENT_EVENTS_BOARD_SEND = "server-sent-events.board.send",
|
|
11
|
+
SERVER_SENT_EVENTS_USER_OPEN = "server-sent-events.user.open",
|
|
12
|
+
SERVER_SENT_EVENTS_USER_SEND = "server-sent-events.user.send",
|
|
13
|
+
BOARD_CREATE = "board.create",
|
|
14
|
+
BOARD_UPDATE = "board.update",
|
|
15
|
+
BOARD_DELETE = "board.delete",
|
|
16
|
+
BOARD_COLUMN_CREATE = "board.column.create",
|
|
17
|
+
BOARD_COLUMN_UPDATE = "board.column.update",
|
|
18
|
+
BOARD_COLUMN_DELETE = "board.column.delete",
|
|
19
|
+
BOARD_CARD_CREATE = "board.card.create",
|
|
20
|
+
BOARD_CARD_UPDATE = "board.card.update",
|
|
21
|
+
BOARD_CARD_DELETE = "board.card.delete",
|
|
22
|
+
BOARD_ACTIVITY_CREATE = "board.activity.create",
|
|
23
|
+
BOARD_CARD_MEMBER_CREATE = "board.card.member.create",
|
|
24
|
+
BOARD_CARD_MEMBER_DELETE = "board.card.member.delete",
|
|
25
|
+
BOARD_CARD_DOCUMENT_CREATE = "board.card.document.create",
|
|
26
|
+
BOARD_CARD_DOCUMENT_DELETE = "board.card.document.delete",
|
|
27
|
+
BOARD_LABEL_CREATE = "board.label.create",
|
|
28
|
+
BOARD_LABEL_UPDATE = "board.label.update",
|
|
29
|
+
BOARD_LABEL_DELETE = "board.label.delete",
|
|
30
|
+
BOARD_LABEL_ADD = "board.label.add",
|
|
31
|
+
BOARD_LABEL_REMOVE = "board.label.remove",
|
|
32
|
+
BOARD_CARD_CHECKLIST_CREATE = "board.card.checklist.create",
|
|
33
|
+
BOARD_CARD_CHECKLIST_UPDATE = "board.card.checklist.update",
|
|
34
|
+
BOARD_CARD_CHECKLIST_DELETE = "board.card.checklist.delete",
|
|
35
|
+
BOARD_CARD_CHECKLIST_ROW_ADD = "board.card.checklist.row.add",
|
|
36
|
+
BOARD_CARD_CHECKLIST_REMOVE_ROW = "board.card.checklist.row.remove",
|
|
37
|
+
BOARD_CARD_CHECKLIST_UPDATE_ROW = "board.card.checklist.row.update",
|
|
38
|
+
BOARD_CARD_COMMENT_CREATE = "board.card.comment.create",
|
|
39
|
+
BOARD_CARD_COMMENT_UPDATE = "board.card.comment.update",
|
|
40
|
+
BOARD_CARD_COMMENT_DELETE = "board.card.comment.delete",
|
|
7
41
|
ABYSS_STORAGE_MINDEE_EXTRACT = "abyss-storage.mindee.extract",
|
|
8
42
|
ABYSS_STORAGE_COLLECTION_FREEPIK_FETCH = "abyss-storage.collection.freepik.fetch",
|
|
9
43
|
ABYSS_STORAGE_COLLECTION_FREEPIK_GET_DOWNLOAD_URL = "abyss-storage.collection.freepik.get-download-url",
|
|
@@ -8,6 +8,40 @@ var AbyssApplicationEvent;
|
|
|
8
8
|
AbyssApplicationEvent["AUTHENTICATION_USER_LOGIN"] = "authentication.user.login";
|
|
9
9
|
AbyssApplicationEvent["AUTHENTICATION_USER_LOGIN_REFRESH"] = "authentication.user.login-refresh";
|
|
10
10
|
AbyssApplicationEvent["MAILING_EMAIL_SEND"] = "mailing.email.send";
|
|
11
|
+
AbyssApplicationEvent["USER_NOTIFICATION_CREATE"] = "user.notification.create";
|
|
12
|
+
AbyssApplicationEvent["USER_NOTIFICATION_OPEN"] = "user.notification.open";
|
|
13
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_BOARD_OPEN"] = "server-sent-events.board.open";
|
|
14
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_BOARD_SEND"] = "server-sent-events.board.send";
|
|
15
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_USER_OPEN"] = "server-sent-events.user.open";
|
|
16
|
+
AbyssApplicationEvent["SERVER_SENT_EVENTS_USER_SEND"] = "server-sent-events.user.send";
|
|
17
|
+
AbyssApplicationEvent["BOARD_CREATE"] = "board.create";
|
|
18
|
+
AbyssApplicationEvent["BOARD_UPDATE"] = "board.update";
|
|
19
|
+
AbyssApplicationEvent["BOARD_DELETE"] = "board.delete";
|
|
20
|
+
AbyssApplicationEvent["BOARD_COLUMN_CREATE"] = "board.column.create";
|
|
21
|
+
AbyssApplicationEvent["BOARD_COLUMN_UPDATE"] = "board.column.update";
|
|
22
|
+
AbyssApplicationEvent["BOARD_COLUMN_DELETE"] = "board.column.delete";
|
|
23
|
+
AbyssApplicationEvent["BOARD_CARD_CREATE"] = "board.card.create";
|
|
24
|
+
AbyssApplicationEvent["BOARD_CARD_UPDATE"] = "board.card.update";
|
|
25
|
+
AbyssApplicationEvent["BOARD_CARD_DELETE"] = "board.card.delete";
|
|
26
|
+
AbyssApplicationEvent["BOARD_ACTIVITY_CREATE"] = "board.activity.create";
|
|
27
|
+
AbyssApplicationEvent["BOARD_CARD_MEMBER_CREATE"] = "board.card.member.create";
|
|
28
|
+
AbyssApplicationEvent["BOARD_CARD_MEMBER_DELETE"] = "board.card.member.delete";
|
|
29
|
+
AbyssApplicationEvent["BOARD_CARD_DOCUMENT_CREATE"] = "board.card.document.create";
|
|
30
|
+
AbyssApplicationEvent["BOARD_CARD_DOCUMENT_DELETE"] = "board.card.document.delete";
|
|
31
|
+
AbyssApplicationEvent["BOARD_LABEL_CREATE"] = "board.label.create";
|
|
32
|
+
AbyssApplicationEvent["BOARD_LABEL_UPDATE"] = "board.label.update";
|
|
33
|
+
AbyssApplicationEvent["BOARD_LABEL_DELETE"] = "board.label.delete";
|
|
34
|
+
AbyssApplicationEvent["BOARD_LABEL_ADD"] = "board.label.add";
|
|
35
|
+
AbyssApplicationEvent["BOARD_LABEL_REMOVE"] = "board.label.remove";
|
|
36
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_CREATE"] = "board.card.checklist.create";
|
|
37
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_UPDATE"] = "board.card.checklist.update";
|
|
38
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_DELETE"] = "board.card.checklist.delete";
|
|
39
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_ROW_ADD"] = "board.card.checklist.row.add";
|
|
40
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_REMOVE_ROW"] = "board.card.checklist.row.remove";
|
|
41
|
+
AbyssApplicationEvent["BOARD_CARD_CHECKLIST_UPDATE_ROW"] = "board.card.checklist.row.update";
|
|
42
|
+
AbyssApplicationEvent["BOARD_CARD_COMMENT_CREATE"] = "board.card.comment.create";
|
|
43
|
+
AbyssApplicationEvent["BOARD_CARD_COMMENT_UPDATE"] = "board.card.comment.update";
|
|
44
|
+
AbyssApplicationEvent["BOARD_CARD_COMMENT_DELETE"] = "board.card.comment.delete";
|
|
11
45
|
AbyssApplicationEvent["ABYSS_STORAGE_MINDEE_EXTRACT"] = "abyss-storage.mindee.extract";
|
|
12
46
|
AbyssApplicationEvent["ABYSS_STORAGE_COLLECTION_FREEPIK_FETCH"] = "abyss-storage.collection.freepik.fetch";
|
|
13
47
|
AbyssApplicationEvent["ABYSS_STORAGE_COLLECTION_FREEPIK_GET_DOWNLOAD_URL"] = "abyss-storage.collection.freepik.get-download-url";
|
|
@@ -36,5 +36,7 @@ export declare enum Code {
|
|
|
36
36
|
fileTooBig = "file_too_big",
|
|
37
37
|
unsubscribeNewsletter = "unsubscribe_newsletter",
|
|
38
38
|
unableToDeleteSpotlightProjectExist = "unable_to_delete_spotlight_project_exist",
|
|
39
|
-
unableToDeleteFormExist = "unable_to_delete_form_exist"
|
|
39
|
+
unableToDeleteFormExist = "unable_to_delete_form_exist",
|
|
40
|
+
boardCardDocumentLimitReached = "board_card_document_limit_reached",
|
|
41
|
+
boardCardMoveInvalidDestination = "board_card_move_invalid_destination"
|
|
40
42
|
}
|
|
@@ -42,4 +42,6 @@ var Code;
|
|
|
42
42
|
Code["unsubscribeNewsletter"] = "unsubscribe_newsletter";
|
|
43
43
|
Code["unableToDeleteSpotlightProjectExist"] = "unable_to_delete_spotlight_project_exist";
|
|
44
44
|
Code["unableToDeleteFormExist"] = "unable_to_delete_form_exist";
|
|
45
|
+
Code["boardCardDocumentLimitReached"] = "board_card_document_limit_reached";
|
|
46
|
+
Code["boardCardMoveInvalidDestination"] = "board_card_move_invalid_destination";
|
|
45
47
|
})(Code || (exports.Code = Code = {}));
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
export declare enum BoardActivityType {
|
|
2
|
+
CARD_CREATE = "CARD_CREATE",
|
|
3
|
+
CARD_UPDATE = "CARD_UPDATE",
|
|
4
|
+
CARD_ARCHIVE = "CARD_ARCHIVE",
|
|
5
|
+
CARD_RESTORE = "CARD_RESTORE",
|
|
6
|
+
CARD_MOVE_COLUMN = "CARD_MOVE_COLUMN",
|
|
7
|
+
CARD_MOVE_BOARD = "CARD_MOVE_BOARD",
|
|
8
|
+
COLUMN_CREATE = "COLUMN_CREATE",
|
|
9
|
+
COLUMN_UPDATE = "COLUMN_UPDATE",
|
|
10
|
+
COLUMN_DELETE = "COLUMN_DELETE",
|
|
11
|
+
COMMENT_CREATE = "COMMENT_CREATE",
|
|
12
|
+
COMMENT_UPDATE = "COMMENT_UPDATE",
|
|
13
|
+
COMMENT_DELETE = "COMMENT_DELETE",
|
|
14
|
+
LABEL_CREATE = "LABEL_CREATE",
|
|
15
|
+
LABEL_DELETE = "LABEL_DELETE",
|
|
16
|
+
LABEL_UPDATE = "LABEL_UPDATE",
|
|
17
|
+
LABEL_ADD = "LABEL_ADD",
|
|
18
|
+
LABEL_REMOVE = "LABEL_REMOVE",
|
|
19
|
+
MEMBER_ADD = "MEMBER_ADD",
|
|
20
|
+
MEMBER_REMOVE = "MEMBER_REMOVE",
|
|
21
|
+
CHECKLIST_CREATE = "CHECKLIST_CREATE",
|
|
22
|
+
CHECKLIST_UPDATE = "CHECKLIST_UPDATE",
|
|
23
|
+
CHECKLIST_DELETE = "CHECKLIST_DELETE",
|
|
24
|
+
CHECKLIST_ITEM_ADD = "CHECKLIST_ITEM_ADD",
|
|
25
|
+
CHECKLIST_ITEM_UPDATE = "CHECKLIST_ITEM_UPDATE",
|
|
26
|
+
CHECKLIST_ITEM_DELETE = "CHECKLIST_ITEM_DELETE",
|
|
27
|
+
DOCUMENT_ADD = "DOCUMENT_ADD",
|
|
28
|
+
DOCUMENT_REMOVE = "DOCUMENT_REMOVE"
|
|
29
|
+
}
|
|
30
|
+
type ValueOf<T> = T[keyof T];
|
|
31
|
+
export type BoardActivityDataContent = ValueOf<{
|
|
32
|
+
[K in BoardActivityType]: {
|
|
33
|
+
type: K;
|
|
34
|
+
payload: BoardActivityData[K];
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
export declare class BoardActivityData implements Record<BoardActivityType, Record<string, string | number | Date | boolean>> {
|
|
38
|
+
[BoardActivityType.CARD_CREATE]: {
|
|
39
|
+
boardCardName: string;
|
|
40
|
+
boardCardId: string;
|
|
41
|
+
boardColumnName: string;
|
|
42
|
+
boardColumnId: string;
|
|
43
|
+
};
|
|
44
|
+
[BoardActivityType.CARD_UPDATE]: {
|
|
45
|
+
boardCardName: string;
|
|
46
|
+
boardCardId: string;
|
|
47
|
+
};
|
|
48
|
+
[BoardActivityType.CARD_ARCHIVE]: {
|
|
49
|
+
boardCardId: string;
|
|
50
|
+
};
|
|
51
|
+
[BoardActivityType.CARD_RESTORE]: {
|
|
52
|
+
boardCardId: string;
|
|
53
|
+
};
|
|
54
|
+
[BoardActivityType.CARD_MOVE_COLUMN]: {
|
|
55
|
+
boardCardName: string;
|
|
56
|
+
boardCardId: string;
|
|
57
|
+
toBoardColumnId: string;
|
|
58
|
+
toBoardColumnName: string;
|
|
59
|
+
};
|
|
60
|
+
[BoardActivityType.CARD_MOVE_BOARD]: {
|
|
61
|
+
boardCardName: string;
|
|
62
|
+
boardCardId: string;
|
|
63
|
+
toBoardColumnId: string;
|
|
64
|
+
toBoardColumnName: string;
|
|
65
|
+
toBoardId: string;
|
|
66
|
+
toBoardName: string;
|
|
67
|
+
};
|
|
68
|
+
[BoardActivityType.COLUMN_CREATE]: {
|
|
69
|
+
boardColumnName: string;
|
|
70
|
+
boardColumnId: string;
|
|
71
|
+
};
|
|
72
|
+
[BoardActivityType.COLUMN_UPDATE]: {
|
|
73
|
+
boardColumnName: string;
|
|
74
|
+
boardColumnId: string;
|
|
75
|
+
};
|
|
76
|
+
[BoardActivityType.COLUMN_DELETE]: {
|
|
77
|
+
boardColumnId: string;
|
|
78
|
+
};
|
|
79
|
+
[BoardActivityType.COMMENT_CREATE]: {
|
|
80
|
+
boardCardCommentId: string;
|
|
81
|
+
boardCardId: string;
|
|
82
|
+
};
|
|
83
|
+
[BoardActivityType.COMMENT_UPDATE]: {
|
|
84
|
+
boardCardCommentId: string;
|
|
85
|
+
fromBoardCardCommentContent: string;
|
|
86
|
+
toBoardCardCommentContent: string;
|
|
87
|
+
boardCardId: string;
|
|
88
|
+
};
|
|
89
|
+
[BoardActivityType.COMMENT_DELETE]: {
|
|
90
|
+
boardCardCommentId: string;
|
|
91
|
+
boardCardId: string;
|
|
92
|
+
};
|
|
93
|
+
[BoardActivityType.LABEL_CREATE]: {
|
|
94
|
+
boardLabelId: string;
|
|
95
|
+
boardLabelName: string;
|
|
96
|
+
boardLabelColor: string;
|
|
97
|
+
};
|
|
98
|
+
[BoardActivityType.LABEL_DELETE]: {
|
|
99
|
+
boardLabelId: string;
|
|
100
|
+
};
|
|
101
|
+
[BoardActivityType.LABEL_UPDATE]: {
|
|
102
|
+
boardLabelId: string;
|
|
103
|
+
boardLabelName: string;
|
|
104
|
+
boardLabelColor: string;
|
|
105
|
+
};
|
|
106
|
+
[BoardActivityType.LABEL_ADD]: {
|
|
107
|
+
boardLabelId: string;
|
|
108
|
+
boardCardId: string;
|
|
109
|
+
boardLabelName: string;
|
|
110
|
+
};
|
|
111
|
+
[BoardActivityType.LABEL_REMOVE]: {
|
|
112
|
+
boardLabelId: string;
|
|
113
|
+
boardCardId: string;
|
|
114
|
+
boardLabelName: string;
|
|
115
|
+
};
|
|
116
|
+
[BoardActivityType.MEMBER_ADD]: {
|
|
117
|
+
boardCardId: string;
|
|
118
|
+
userId: string;
|
|
119
|
+
};
|
|
120
|
+
[BoardActivityType.MEMBER_REMOVE]: {
|
|
121
|
+
boardCardId: string;
|
|
122
|
+
userId: string;
|
|
123
|
+
};
|
|
124
|
+
[BoardActivityType.CHECKLIST_CREATE]: {
|
|
125
|
+
boardCardId: string;
|
|
126
|
+
boardCardChecklistId: string;
|
|
127
|
+
boardCardChecklistName: string;
|
|
128
|
+
};
|
|
129
|
+
[BoardActivityType.CHECKLIST_UPDATE]: {
|
|
130
|
+
boardCardId: string;
|
|
131
|
+
boardCardChecklistId: string;
|
|
132
|
+
boardCardChecklistName: string;
|
|
133
|
+
};
|
|
134
|
+
[BoardActivityType.CHECKLIST_DELETE]: {
|
|
135
|
+
boardCardId: string;
|
|
136
|
+
boardCardChecklistId: string;
|
|
137
|
+
boardCardChecklistName: string;
|
|
138
|
+
};
|
|
139
|
+
[BoardActivityType.CHECKLIST_ITEM_ADD]: {
|
|
140
|
+
boardCardId: string;
|
|
141
|
+
boardCardChecklistId: string;
|
|
142
|
+
boardCardChecklistItemId: string;
|
|
143
|
+
boardCardChecklistItemContent: string;
|
|
144
|
+
boardCardChecklistName: string;
|
|
145
|
+
};
|
|
146
|
+
[BoardActivityType.CHECKLIST_ITEM_UPDATE]: {
|
|
147
|
+
boardCardId: string;
|
|
148
|
+
boardCardChecklistId: string;
|
|
149
|
+
boardCardChecklistItemId: string;
|
|
150
|
+
boardCardChecklistName: string;
|
|
151
|
+
};
|
|
152
|
+
[BoardActivityType.CHECKLIST_ITEM_DELETE]: {
|
|
153
|
+
boardCardId: string;
|
|
154
|
+
boardCardChecklistId: string;
|
|
155
|
+
boardCardChecklistItemId: string;
|
|
156
|
+
boardCardChecklistName: string;
|
|
157
|
+
boardCardChecklistItemContent: string;
|
|
158
|
+
};
|
|
159
|
+
[BoardActivityType.DOCUMENT_ADD]: {
|
|
160
|
+
boardCardId: string;
|
|
161
|
+
boardCardDocumentId: string;
|
|
162
|
+
boardCardDocumentName: string;
|
|
163
|
+
};
|
|
164
|
+
[BoardActivityType.DOCUMENT_REMOVE]: {
|
|
165
|
+
boardCardId: string;
|
|
166
|
+
boardCardDocumentId: string;
|
|
167
|
+
boardCardDocumentName: string;
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BoardActivityData = exports.BoardActivityType = void 0;
|
|
4
|
+
var BoardActivityType;
|
|
5
|
+
(function (BoardActivityType) {
|
|
6
|
+
BoardActivityType["CARD_CREATE"] = "CARD_CREATE";
|
|
7
|
+
BoardActivityType["CARD_UPDATE"] = "CARD_UPDATE";
|
|
8
|
+
BoardActivityType["CARD_ARCHIVE"] = "CARD_ARCHIVE";
|
|
9
|
+
BoardActivityType["CARD_RESTORE"] = "CARD_RESTORE";
|
|
10
|
+
BoardActivityType["CARD_MOVE_COLUMN"] = "CARD_MOVE_COLUMN";
|
|
11
|
+
BoardActivityType["CARD_MOVE_BOARD"] = "CARD_MOVE_BOARD";
|
|
12
|
+
BoardActivityType["COLUMN_CREATE"] = "COLUMN_CREATE";
|
|
13
|
+
BoardActivityType["COLUMN_UPDATE"] = "COLUMN_UPDATE";
|
|
14
|
+
BoardActivityType["COLUMN_DELETE"] = "COLUMN_DELETE";
|
|
15
|
+
BoardActivityType["COMMENT_CREATE"] = "COMMENT_CREATE";
|
|
16
|
+
BoardActivityType["COMMENT_UPDATE"] = "COMMENT_UPDATE";
|
|
17
|
+
BoardActivityType["COMMENT_DELETE"] = "COMMENT_DELETE";
|
|
18
|
+
BoardActivityType["LABEL_CREATE"] = "LABEL_CREATE";
|
|
19
|
+
BoardActivityType["LABEL_DELETE"] = "LABEL_DELETE";
|
|
20
|
+
BoardActivityType["LABEL_UPDATE"] = "LABEL_UPDATE";
|
|
21
|
+
BoardActivityType["LABEL_ADD"] = "LABEL_ADD";
|
|
22
|
+
BoardActivityType["LABEL_REMOVE"] = "LABEL_REMOVE";
|
|
23
|
+
BoardActivityType["MEMBER_ADD"] = "MEMBER_ADD";
|
|
24
|
+
BoardActivityType["MEMBER_REMOVE"] = "MEMBER_REMOVE";
|
|
25
|
+
BoardActivityType["CHECKLIST_CREATE"] = "CHECKLIST_CREATE";
|
|
26
|
+
BoardActivityType["CHECKLIST_UPDATE"] = "CHECKLIST_UPDATE";
|
|
27
|
+
BoardActivityType["CHECKLIST_DELETE"] = "CHECKLIST_DELETE";
|
|
28
|
+
BoardActivityType["CHECKLIST_ITEM_ADD"] = "CHECKLIST_ITEM_ADD";
|
|
29
|
+
BoardActivityType["CHECKLIST_ITEM_UPDATE"] = "CHECKLIST_ITEM_UPDATE";
|
|
30
|
+
BoardActivityType["CHECKLIST_ITEM_DELETE"] = "CHECKLIST_ITEM_DELETE";
|
|
31
|
+
BoardActivityType["DOCUMENT_ADD"] = "DOCUMENT_ADD";
|
|
32
|
+
BoardActivityType["DOCUMENT_REMOVE"] = "DOCUMENT_REMOVE";
|
|
33
|
+
})(BoardActivityType || (exports.BoardActivityType = BoardActivityType = {}));
|
|
34
|
+
class BoardActivityData {
|
|
35
|
+
}
|
|
36
|
+
exports.BoardActivityData = BoardActivityData;
|
|
37
|
+
BoardActivityType.CARD_CREATE, BoardActivityType.CARD_UPDATE, BoardActivityType.CARD_ARCHIVE, BoardActivityType.CARD_RESTORE, BoardActivityType.CARD_MOVE_COLUMN, BoardActivityType.CARD_MOVE_BOARD, BoardActivityType.COLUMN_CREATE, BoardActivityType.COLUMN_UPDATE, BoardActivityType.COLUMN_DELETE, BoardActivityType.COMMENT_CREATE, BoardActivityType.COMMENT_UPDATE, BoardActivityType.COMMENT_DELETE, BoardActivityType.LABEL_CREATE, BoardActivityType.LABEL_DELETE, BoardActivityType.LABEL_UPDATE, BoardActivityType.LABEL_ADD, BoardActivityType.LABEL_REMOVE, BoardActivityType.MEMBER_ADD, BoardActivityType.MEMBER_REMOVE, BoardActivityType.CHECKLIST_CREATE, BoardActivityType.CHECKLIST_UPDATE, BoardActivityType.CHECKLIST_DELETE, BoardActivityType.CHECKLIST_ITEM_ADD, BoardActivityType.CHECKLIST_ITEM_UPDATE, BoardActivityType.CHECKLIST_ITEM_DELETE, BoardActivityType.DOCUMENT_ADD, BoardActivityType.DOCUMENT_REMOVE;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BoardColumnType = void 0;
|
|
4
|
+
var BoardColumnType;
|
|
5
|
+
(function (BoardColumnType) {
|
|
6
|
+
BoardColumnType["CONCEPTION"] = "CONCEPTION";
|
|
7
|
+
BoardColumnType["BACKLOG"] = "BACKLOG";
|
|
8
|
+
BoardColumnType["DOING"] = "DOING";
|
|
9
|
+
BoardColumnType["DONE"] = "DONE";
|
|
10
|
+
})(BoardColumnType || (exports.BoardColumnType = BoardColumnType = {}));
|
package/dist/types/enum/index.js
CHANGED
|
@@ -36,3 +36,5 @@ __exportStar(require("./project-status.enum"), exports);
|
|
|
36
36
|
__exportStar(require("./abyss-application-event.enum"), exports);
|
|
37
37
|
__exportStar(require("./user-type.enum"), exports);
|
|
38
38
|
__exportStar(require("./onboarding-steps.enum"), exports);
|
|
39
|
+
__exportStar(require("./board-column-type.enum"), exports);
|
|
40
|
+
__exportStar(require("./board-activity.enum"), exports);
|
|
@@ -4,4 +4,5 @@ exports.OAuthAccountType = void 0;
|
|
|
4
4
|
var OAuthAccountType;
|
|
5
5
|
(function (OAuthAccountType) {
|
|
6
6
|
OAuthAccountType[OAuthAccountType["DISCORD"] = 1] = "DISCORD";
|
|
7
|
+
OAuthAccountType[OAuthAccountType["GOOGLE"] = 2] = "GOOGLE";
|
|
7
8
|
})(OAuthAccountType || (exports.OAuthAccountType = OAuthAccountType = {}));
|
|
@@ -21,6 +21,8 @@ export declare enum UserNotificationContentType {
|
|
|
21
21
|
PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS = "project-subscription-auto-renew-success",
|
|
22
22
|
PROJECT_SUBSCRIPTION_CREATE = "project-subscription-create",
|
|
23
23
|
PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW = "project-subscription-create-without-auto-renew",
|
|
24
|
+
BOARD_CARD_LATE = "board-card-late",
|
|
25
|
+
BOARD_CARD_ALMOST_LATE = "board-card-almost-late",
|
|
24
26
|
CREATE_CLOUD_SHARE = "create-cloud-share",
|
|
25
27
|
DELETE_CLOUD_SHARE = "delete-cloud-share",
|
|
26
28
|
CREATE_CLOUD = "create-cloud",
|
|
@@ -188,6 +190,24 @@ export declare class UserNotificationContentTypeData implements Record<UserNotif
|
|
|
188
190
|
projectName: string;
|
|
189
191
|
usernameRenew: string;
|
|
190
192
|
};
|
|
193
|
+
[UserNotificationContentType.BOARD_CARD_LATE]: {
|
|
194
|
+
projectId?: string | null;
|
|
195
|
+
boardId: string;
|
|
196
|
+
boardCardId: string;
|
|
197
|
+
boardName: string;
|
|
198
|
+
boardCardName: string;
|
|
199
|
+
boardSlug: string;
|
|
200
|
+
boardCardSlug: string;
|
|
201
|
+
};
|
|
202
|
+
[UserNotificationContentType.BOARD_CARD_ALMOST_LATE]: {
|
|
203
|
+
projectId?: string | null;
|
|
204
|
+
boardId: string;
|
|
205
|
+
boardCardId: string;
|
|
206
|
+
boardName: string;
|
|
207
|
+
boardCardName: string;
|
|
208
|
+
boardSlug: string;
|
|
209
|
+
boardCardSlug: string;
|
|
210
|
+
};
|
|
191
211
|
[UserNotificationContentType.CREATE_CLOUD_SHARE]: {
|
|
192
212
|
cloudName: string;
|
|
193
213
|
userId: string;
|
|
@@ -25,6 +25,8 @@ var UserNotificationContentType;
|
|
|
25
25
|
UserNotificationContentType["PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS"] = "project-subscription-auto-renew-success";
|
|
26
26
|
UserNotificationContentType["PROJECT_SUBSCRIPTION_CREATE"] = "project-subscription-create";
|
|
27
27
|
UserNotificationContentType["PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW"] = "project-subscription-create-without-auto-renew";
|
|
28
|
+
UserNotificationContentType["BOARD_CARD_LATE"] = "board-card-late";
|
|
29
|
+
UserNotificationContentType["BOARD_CARD_ALMOST_LATE"] = "board-card-almost-late";
|
|
28
30
|
UserNotificationContentType["CREATE_CLOUD_SHARE"] = "create-cloud-share";
|
|
29
31
|
UserNotificationContentType["DELETE_CLOUD_SHARE"] = "delete-cloud-share";
|
|
30
32
|
UserNotificationContentType["CREATE_CLOUD"] = "create-cloud";
|
|
@@ -58,4 +60,4 @@ var UserNotificationContentType;
|
|
|
58
60
|
class UserNotificationContentTypeData {
|
|
59
61
|
}
|
|
60
62
|
exports.UserNotificationContentTypeData = UserNotificationContentTypeData;
|
|
61
|
-
UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.MONITOR_SENTINEL_CHECK_SUCCESS, UserNotificationContentType.MONITOR_SENTINEL_CHECK_FAILED, UserNotificationContentType.MONITOR_SENTINEL_DISABLE_ON_FAILURE, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED;
|
|
63
|
+
UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.BOARD_CARD_LATE, UserNotificationContentType.BOARD_CARD_ALMOST_LATE, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.MONITOR_SENTINEL_CHECK_SUCCESS, UserNotificationContentType.MONITOR_SENTINEL_CHECK_FAILED, UserNotificationContentType.MONITOR_SENTINEL_DISABLE_ON_FAILURE, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED;
|
|
@@ -24,6 +24,13 @@ export * from './requests/project-access.request';
|
|
|
24
24
|
export * from './requests/billing.request';
|
|
25
25
|
export * from './requests/newsletter.admin.request';
|
|
26
26
|
export * from './requests/token-history.admin.request';
|
|
27
|
+
export * from './requests/board.request';
|
|
28
|
+
export * from './requests/board-column.request';
|
|
29
|
+
export * from './requests/board-card.request';
|
|
30
|
+
export * from './requests/board-label.request';
|
|
31
|
+
export * from './requests/board-card-comment.request';
|
|
32
|
+
export * from './requests/board-card-checklist.request';
|
|
33
|
+
export * from './requests/board-card-document.request';
|
|
27
34
|
export * from './responses/auth.response';
|
|
28
35
|
export * from './responses/user.response';
|
|
29
36
|
export * from './responses/user.admin.response';
|
|
@@ -48,3 +55,10 @@ export * from './responses/project-access.response';
|
|
|
48
55
|
export * from './responses/billing.response';
|
|
49
56
|
export * from './responses/newsletter.admin.response';
|
|
50
57
|
export * from './responses/token-history.admin.response';
|
|
58
|
+
export * from './responses/board.response';
|
|
59
|
+
export * from './responses/board-column.response';
|
|
60
|
+
export * from './responses/board-card.response';
|
|
61
|
+
export * from './responses/board-label.response';
|
|
62
|
+
export * from './responses/board-card-comment.response';
|
|
63
|
+
export * from './responses/board-card-checklist.response';
|
|
64
|
+
export * from './responses/board-card-document.response';
|