@becollective/utils 2.0.3 → 2.0.5
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.
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
export declare const notificationTypes: {
|
|
2
|
+
volunteer: {
|
|
3
|
+
messengerUpdates: string;
|
|
4
|
+
volunteerUpdates: string;
|
|
5
|
+
groupMemberUpdates: string;
|
|
6
|
+
groupInvitations: string;
|
|
7
|
+
opportunityInvitations: string;
|
|
8
|
+
opportunitiesSharedWithMe: string;
|
|
9
|
+
licenseCertificateExpiryNotice: string;
|
|
10
|
+
certificates: string;
|
|
11
|
+
};
|
|
12
|
+
manager: {
|
|
13
|
+
membershipApplications: string;
|
|
14
|
+
volunteerApplications: string;
|
|
15
|
+
opportunityUpdates: string;
|
|
16
|
+
timesheets: string;
|
|
17
|
+
partnerships: string;
|
|
18
|
+
endorsements: string;
|
|
19
|
+
socialCurrency: string;
|
|
20
|
+
groupUpdates: string;
|
|
21
|
+
licenseCertificateExpiryNotice: string;
|
|
22
|
+
};
|
|
23
|
+
acquired: string;
|
|
24
|
+
};
|
|
1
25
|
declare const _default: {
|
|
2
26
|
types: (string | {
|
|
3
27
|
messengerUpdates: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
3
|
+
exports.notificationTypes = void 0;
|
|
4
|
+
exports.notificationTypes = {
|
|
4
5
|
volunteer: {
|
|
5
6
|
messengerUpdates: 'messengerUpdates',
|
|
6
7
|
volunteerUpdates: 'volunteerUpdates',
|
|
@@ -26,6 +27,6 @@ const notificationTypes = {
|
|
|
26
27
|
};
|
|
27
28
|
exports.default = {
|
|
28
29
|
// Filter out acquired, as backend model does not use it.
|
|
29
|
-
types: Object.values(notificationTypes).filter((x) => x !== notificationTypes.acquired),
|
|
30
|
-
typesMap: notificationTypes,
|
|
30
|
+
types: Object.values(exports.notificationTypes).filter((x) => x !== exports.notificationTypes.acquired),
|
|
31
|
+
typesMap: exports.notificationTypes,
|
|
31
32
|
};
|
package/lib/constants.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * as insuranceStatuses from './constants/insuranceStatuses';
|
|
|
10
10
|
export * as insuranceTypes from './constants/insuranceTypes';
|
|
11
11
|
export * as locales from './constants/locales';
|
|
12
12
|
export * as notifications from './constants/notifications';
|
|
13
|
+
export { notificationTypes } from './constants/notifications';
|
|
13
14
|
export * as opportunities from './constants/opportunities';
|
|
14
15
|
export * as rules from './constants/rules';
|
|
15
16
|
export * as subscriptions from './constants/subscriptions';
|
package/lib/constants.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.educationalQualifications = exports.licencesAndCertifications = exports.qualificationTypes = exports.surveys = exports.subscriptions = exports.rules = exports.opportunities = exports.notifications = exports.locales = exports.insuranceTypes = exports.insuranceStatuses = exports.groups = exports.distanceUnits = exports.currencies = exports.languages = exports.customFields = exports.countries = exports.avatarColours = exports.allowedHtmlTags = void 0;
|
|
36
|
+
exports.educationalQualifications = exports.licencesAndCertifications = exports.qualificationTypes = exports.surveys = exports.subscriptions = exports.rules = exports.opportunities = exports.notificationTypes = exports.notifications = exports.locales = exports.insuranceTypes = exports.insuranceStatuses = exports.groups = exports.distanceUnits = exports.currencies = exports.languages = exports.customFields = exports.countries = exports.avatarColours = exports.allowedHtmlTags = void 0;
|
|
37
37
|
exports.allowedHtmlTags = __importStar(require("./constants/allowedHtmlTags"));
|
|
38
38
|
exports.avatarColours = __importStar(require("./constants/avatarColours"));
|
|
39
39
|
exports.countries = __importStar(require("./constants/countries"));
|
|
@@ -46,6 +46,8 @@ exports.insuranceStatuses = __importStar(require("./constants/insuranceStatuses"
|
|
|
46
46
|
exports.insuranceTypes = __importStar(require("./constants/insuranceTypes"));
|
|
47
47
|
exports.locales = __importStar(require("./constants/locales"));
|
|
48
48
|
exports.notifications = __importStar(require("./constants/notifications"));
|
|
49
|
+
var notifications_1 = require("./constants/notifications");
|
|
50
|
+
Object.defineProperty(exports, "notificationTypes", { enumerable: true, get: function () { return notifications_1.notificationTypes; } });
|
|
49
51
|
exports.opportunities = __importStar(require("./constants/opportunities"));
|
|
50
52
|
exports.rules = __importStar(require("./constants/rules"));
|
|
51
53
|
exports.subscriptions = __importStar(require("./constants/subscriptions"));
|
package/package.json
CHANGED
|
Binary file
|
package/src/constants.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * as insuranceStatuses from './constants/insuranceStatuses';
|
|
|
10
10
|
export * as insuranceTypes from './constants/insuranceTypes';
|
|
11
11
|
export * as locales from './constants/locales';
|
|
12
12
|
export * as notifications from './constants/notifications';
|
|
13
|
+
export { notificationTypes } from './constants/notifications';
|
|
13
14
|
export * as opportunities from './constants/opportunities';
|
|
14
15
|
export * as rules from './constants/rules';
|
|
15
16
|
export * as subscriptions from './constants/subscriptions';
|