@becollective/utils 2.0.3 → 2.0.4

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
- const notificationTypes = {
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@becollective/utils",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Common utilities",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
Binary file
@@ -1,4 +1,4 @@
1
- const notificationTypes = {
1
+ export const notificationTypes = {
2
2
  volunteer: {
3
3
  messengerUpdates: 'messengerUpdates',
4
4
  volunteerUpdates: 'volunteerUpdates',