@beabee/beabee-common 1.9.4 → 1.10.1

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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PermissionTypes = exports.PaymentStatus = exports.PaymentMethod = exports.NewsletterStatus = exports.MembershipStatus = exports.ItemStatus = exports.ContributionType = exports.ContributionPeriod = void 0;
3
+ exports.RoleTypes = exports.PaymentStatus = exports.PaymentMethod = exports.NewsletterStatus = exports.MembershipStatus = exports.ItemStatus = exports.ContributionType = exports.ContributionPeriod = void 0;
4
4
  var ContributionPeriod;
5
5
  (function (ContributionPeriod) {
6
6
  ContributionPeriod["Monthly"] = "monthly";
@@ -49,4 +49,4 @@ var PaymentStatus;
49
49
  PaymentStatus["Failed"] = "failed";
50
50
  PaymentStatus["Cancelled"] = "cancelled";
51
51
  })(PaymentStatus = exports.PaymentStatus || (exports.PaymentStatus = {}));
52
- exports.PermissionTypes = ["member", "admin", "superadmin"];
52
+ exports.RoleTypes = ["member", "admin", "superadmin"];
@@ -29,10 +29,10 @@ exports.calloutFilters = {
29
29
  },
30
30
  };
31
31
  exports.calloutResponseFilters = {
32
- member: {
32
+ contact: {
33
33
  type: "contact",
34
34
  },
35
- poll: {
35
+ callout: {
36
36
  type: "text",
37
37
  },
38
38
  };
@@ -51,7 +51,7 @@ exports.contactFilters = {
51
51
  },
52
52
  activePermission: {
53
53
  type: "enum",
54
- options: data_1.PermissionTypes,
54
+ options: data_1.RoleTypes,
55
55
  },
56
56
  activeMembership: {
57
57
  type: "boolean",
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paymentFilters = void 0;
4
4
  exports.paymentFilters = {
5
- member: {
5
+ contact: {
6
6
  type: "contact",
7
7
  },
8
8
  chargeDate: {
@@ -46,4 +46,4 @@ export var PaymentStatus;
46
46
  PaymentStatus["Failed"] = "failed";
47
47
  PaymentStatus["Cancelled"] = "cancelled";
48
48
  })(PaymentStatus || (PaymentStatus = {}));
49
- export const PermissionTypes = ["member", "admin", "superadmin"];
49
+ export const RoleTypes = ["member", "admin", "superadmin"];
@@ -26,10 +26,10 @@ export const calloutFilters = {
26
26
  },
27
27
  };
28
28
  export const calloutResponseFilters = {
29
- member: {
29
+ contact: {
30
30
  type: "contact",
31
31
  },
32
- poll: {
32
+ callout: {
33
33
  type: "text",
34
34
  },
35
35
  };
@@ -1,4 +1,4 @@
1
- import { ContributionPeriod, ContributionType, NewsletterStatus, PermissionTypes, } from "../data";
1
+ import { ContributionPeriod, ContributionType, NewsletterStatus, RoleTypes, } from "../data";
2
2
  export const contactFilters = {
3
3
  firstname: {
4
4
  type: "text",
@@ -48,7 +48,7 @@ export const contactFilters = {
48
48
  },
49
49
  activePermission: {
50
50
  type: "enum",
51
- options: PermissionTypes,
51
+ options: RoleTypes,
52
52
  },
53
53
  activeMembership: {
54
54
  type: "boolean",
@@ -1,5 +1,5 @@
1
1
  export const paymentFilters = {
2
- member: {
2
+ contact: {
3
3
  type: "contact",
4
4
  },
5
5
  chargeDate: {
@@ -39,5 +39,5 @@ export declare enum PaymentStatus {
39
39
  Failed = "failed",
40
40
  Cancelled = "cancelled"
41
41
  }
42
- export declare const PermissionTypes: readonly ["member", "admin", "superadmin"];
43
- export declare type PermissionType = typeof PermissionTypes[number];
42
+ export declare const RoleTypes: readonly ["member", "admin", "superadmin"];
43
+ export declare type RoleType = typeof RoleTypes[number];
@@ -22,10 +22,10 @@ export declare const calloutFilters: {
22
22
  };
23
23
  export declare type CalloutFilterName = keyof typeof calloutFilters;
24
24
  export declare const calloutResponseFilters: {
25
- readonly member: {
25
+ readonly contact: {
26
26
  readonly type: "contact";
27
27
  };
28
- readonly poll: {
28
+ readonly callout: {
29
29
  readonly type: "text";
30
30
  };
31
31
  };
@@ -1,5 +1,5 @@
1
1
  export declare const paymentFilters: {
2
- readonly member: {
2
+ readonly contact: {
3
3
  readonly type: "contact";
4
4
  };
5
5
  readonly chargeDate: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beabee/beabee-common",
3
- "version": "1.9.4",
3
+ "version": "1.10.1",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",