@beabee/beabee-common 1.18.1 → 1.19.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.
- package/dist/cjs/search/callouts.js +6 -0
- package/dist/cjs/search/contacts.js +3 -0
- package/dist/cjs/search/notices.js +3 -0
- package/dist/cjs/search/payments.js +3 -0
- package/dist/cjs/utils/callouts.js +1 -1
- package/dist/esm/search/callouts.js +6 -0
- package/dist/esm/search/contacts.js +3 -0
- package/dist/esm/search/notices.js +3 -0
- package/dist/esm/search/payments.js +3 -0
- package/dist/esm/utils/callouts.js +1 -1
- package/dist/types/search/callouts.d.ts +6 -0
- package/dist/types/search/contacts.d.ts +3 -0
- package/dist/types/search/notices.d.ts +3 -0
- package/dist/types/search/payments.d.ts +3 -0
- package/package.json +1 -1
|
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.calloutResponseCommentFilters = exports.calloutResponseFilters = exports.calloutFilters = void 0;
|
|
4
4
|
const data_1 = require("../data");
|
|
5
5
|
exports.calloutFilters = {
|
|
6
|
+
slug: {
|
|
7
|
+
type: "text",
|
|
8
|
+
},
|
|
6
9
|
title: {
|
|
7
10
|
type: "text",
|
|
8
11
|
},
|
|
@@ -63,6 +66,9 @@ exports.calloutResponseFilters = {
|
|
|
63
66
|
},
|
|
64
67
|
};
|
|
65
68
|
exports.calloutResponseCommentFilters = {
|
|
69
|
+
id: {
|
|
70
|
+
type: "text",
|
|
71
|
+
},
|
|
66
72
|
responseId: {
|
|
67
73
|
type: "text",
|
|
68
74
|
},
|
|
@@ -96,7 +96,7 @@ function stringifyAnswer(component, answer) {
|
|
|
96
96
|
return "";
|
|
97
97
|
}
|
|
98
98
|
else if (isAddressAnswer(answer)) {
|
|
99
|
-
return answer.
|
|
99
|
+
return answer.geometry.location.lat + ", " + answer.geometry.location.lng;
|
|
100
100
|
}
|
|
101
101
|
else if (isFileUploadAnswer(answer)) {
|
|
102
102
|
return answer.url;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ItemStatus } from "../data";
|
|
2
2
|
export const calloutFilters = {
|
|
3
|
+
slug: {
|
|
4
|
+
type: "text",
|
|
5
|
+
},
|
|
3
6
|
title: {
|
|
4
7
|
type: "text",
|
|
5
8
|
},
|
|
@@ -60,6 +63,9 @@ export const calloutResponseFilters = {
|
|
|
60
63
|
},
|
|
61
64
|
};
|
|
62
65
|
export const calloutResponseCommentFilters = {
|
|
66
|
+
id: {
|
|
67
|
+
type: "text",
|
|
68
|
+
},
|
|
63
69
|
responseId: {
|
|
64
70
|
type: "text",
|
|
65
71
|
},
|
|
@@ -87,7 +87,7 @@ export function stringifyAnswer(component, answer) {
|
|
|
87
87
|
return "";
|
|
88
88
|
}
|
|
89
89
|
else if (isAddressAnswer(answer)) {
|
|
90
|
-
return answer.
|
|
90
|
+
return answer.geometry.location.lat + ", " + answer.geometry.location.lng;
|
|
91
91
|
}
|
|
92
92
|
else if (isFileUploadAnswer(answer)) {
|
|
93
93
|
return answer.url;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ItemStatus } from "../data";
|
|
2
2
|
export declare const calloutFilters: {
|
|
3
|
+
readonly slug: {
|
|
4
|
+
readonly type: "text";
|
|
5
|
+
};
|
|
3
6
|
readonly title: {
|
|
4
7
|
readonly type: "text";
|
|
5
8
|
};
|
|
@@ -57,6 +60,9 @@ export declare const calloutResponseFilters: {
|
|
|
57
60
|
};
|
|
58
61
|
export type CalloutResponseFilterName = keyof typeof calloutResponseFilters;
|
|
59
62
|
export declare const calloutResponseCommentFilters: {
|
|
63
|
+
readonly id: {
|
|
64
|
+
readonly type: "text";
|
|
65
|
+
};
|
|
60
66
|
readonly responseId: {
|
|
61
67
|
readonly type: "text";
|
|
62
68
|
};
|