@abyss-project/main 1.0.7 → 1.0.9
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/translate/en.translate.d.ts +6 -0
- package/dist/translate/en.translate.js +6 -0
- package/dist/translate/fr.translate.d.ts +6 -0
- package/dist/translate/fr.translate.js +6 -0
- package/dist/types/enum/newsletter-type.enum.d.ts +2 -1
- package/dist/types/enum/newsletter-type.enum.js +1 -0
- package/dist/types/enum/user-notification-content-type.enum.d.ts +8 -1
- package/dist/types/enum/user-notification-content-type.enum.js +2 -1
- package/package.json +1 -1
|
@@ -176,5 +176,11 @@ exports.enTranslation = {
|
|
|
176
176
|
content: `The connection with bank "{bankName}" has expired!`,
|
|
177
177
|
},
|
|
178
178
|
},
|
|
179
|
+
[types_1.AbyssService.ABYSS_SPOTLIGHT]: {
|
|
180
|
+
[types_1.UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST]: {
|
|
181
|
+
title: 'New post',
|
|
182
|
+
content: 'A new post has been published in the project "{projectName}"',
|
|
183
|
+
},
|
|
184
|
+
},
|
|
179
185
|
},
|
|
180
186
|
};
|
|
@@ -176,5 +176,11 @@ exports.frTranslation = {
|
|
|
176
176
|
content: `La connexion avec la banque "{bankName}" a expiré !`,
|
|
177
177
|
},
|
|
178
178
|
},
|
|
179
|
+
[types_1.AbyssService.ABYSS_SPOTLIGHT]: {
|
|
180
|
+
[types_1.UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST]: {
|
|
181
|
+
title: 'Nouveau post',
|
|
182
|
+
content: 'Un nouveau post a été publié dans le projet "{projectName}"',
|
|
183
|
+
},
|
|
184
|
+
},
|
|
179
185
|
},
|
|
180
186
|
};
|
|
@@ -4,4 +4,5 @@ exports.NewsletterType = void 0;
|
|
|
4
4
|
var NewsletterType;
|
|
5
5
|
(function (NewsletterType) {
|
|
6
6
|
NewsletterType["ABYSS_BANKING_LAUNCH_ANNOUNCEMENT"] = "ABYSS_BANKING_LAUNCH_ANNOUNCEMENT";
|
|
7
|
+
NewsletterType["ABYSS_SPOTLIGHT_LAUNCH_ANNOUNCEMENT"] = "ABYSS_SPOTLIGHT_LAUNCH_ANNOUNCEMENT";
|
|
7
8
|
})(NewsletterType = exports.NewsletterType || (exports.NewsletterType = {}));
|
|
@@ -38,7 +38,8 @@ export declare enum UserNotificationContentType {
|
|
|
38
38
|
CHANGE_OWNER_EVENT = "change-owner-event",
|
|
39
39
|
CREATE_POLL_EVENT = "create-poll-event",
|
|
40
40
|
BANK_CONNECTION_EXPIRE = "bank-connection-expire",
|
|
41
|
-
BANK_CONNECTION_SUCCESS = "bank-connection-success"
|
|
41
|
+
BANK_CONNECTION_SUCCESS = "bank-connection-success",
|
|
42
|
+
SPOTLIGHT_PROJECT_NEW_POST = "spotlight-project-new-post"
|
|
42
43
|
}
|
|
43
44
|
export declare class UserNotificationContentTypeData implements Record<UserNotificationContentType, Record<string, string>> {
|
|
44
45
|
[UserNotificationContentType.USER_CREDIT_PURCHASE]: {
|
|
@@ -276,4 +277,10 @@ export declare class UserNotificationContentTypeData implements Record<UserNotif
|
|
|
276
277
|
bankName: string;
|
|
277
278
|
logoUrl?: string;
|
|
278
279
|
};
|
|
280
|
+
[UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST]: {
|
|
281
|
+
projectId: string;
|
|
282
|
+
projectName: string;
|
|
283
|
+
postTitle: string;
|
|
284
|
+
projectSlug: string;
|
|
285
|
+
};
|
|
279
286
|
}
|
|
@@ -43,8 +43,9 @@ var UserNotificationContentType;
|
|
|
43
43
|
UserNotificationContentType["CREATE_POLL_EVENT"] = "create-poll-event";
|
|
44
44
|
UserNotificationContentType["BANK_CONNECTION_EXPIRE"] = "bank-connection-expire";
|
|
45
45
|
UserNotificationContentType["BANK_CONNECTION_SUCCESS"] = "bank-connection-success";
|
|
46
|
+
UserNotificationContentType["SPOTLIGHT_PROJECT_NEW_POST"] = "spotlight-project-new-post";
|
|
46
47
|
})(UserNotificationContentType = exports.UserNotificationContentType || (exports.UserNotificationContentType = {}));
|
|
47
48
|
class UserNotificationContentTypeData {
|
|
48
49
|
}
|
|
49
50
|
exports.UserNotificationContentTypeData = UserNotificationContentTypeData;
|
|
50
|
-
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.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE;
|
|
51
|
+
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.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST;
|