@beabee/beabee-common 1.2.1 → 1.2.2

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.calloutFilters = exports.calloutFilterNames = void 0;
3
+ exports.calloutResponseFilters = exports.calloutResponseFilterNames = exports.calloutFilters = exports.calloutFilterNames = void 0;
4
4
  const data_1 = require("../data");
5
5
  exports.calloutFilterNames = [
6
6
  "title",
@@ -36,3 +36,12 @@ exports.calloutFilters = {
36
36
  type: "boolean",
37
37
  },
38
38
  };
39
+ exports.calloutResponseFilterNames = ["member", "poll"];
40
+ exports.calloutResponseFilters = {
41
+ member: {
42
+ type: "contact",
43
+ },
44
+ poll: {
45
+ type: "text",
46
+ },
47
+ };
@@ -33,3 +33,12 @@ export const calloutFilters = {
33
33
  type: "boolean",
34
34
  },
35
35
  };
36
+ export const calloutResponseFilterNames = ["member", "poll"];
37
+ export const calloutResponseFilters = {
38
+ member: {
39
+ type: "contact",
40
+ },
41
+ poll: {
42
+ type: "text",
43
+ },
44
+ };
@@ -22,3 +22,13 @@ export declare const calloutFilters: {
22
22
  readonly type: "boolean";
23
23
  };
24
24
  };
25
+ export declare const calloutResponseFilterNames: readonly ["member", "poll"];
26
+ export declare type CalloutResponseFilterName = typeof calloutResponseFilterNames[number];
27
+ export declare const calloutResponseFilters: {
28
+ readonly member: {
29
+ readonly type: "contact";
30
+ };
31
+ readonly poll: {
32
+ readonly type: "text";
33
+ };
34
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beabee/beabee-common",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",