@fibery/expression-utils 9.7.1 → 9.7.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.
- package/lib/index.d.ts +2 -2
- package/lib/index.js +6 -6
- package/lib/index.js.map +1 -1
- package/lib/src/context-variables.d.ts +1 -1
- package/lib/src/context-variables.js +4 -1
- package/lib/src/context-variables.js.map +1 -1
- package/lib/src/{fieldExpressionVisitorTypeAware.js → field-expression-visitor-type-aware.js} +3 -3
- package/lib/src/field-expression-visitor-type-aware.js.map +1 -0
- package/lib/src/filter-expression/index.d.ts +3 -3
- package/lib/src/filter-expression/index.js +1 -1
- package/lib/src/filter-expression/index.js.map +1 -1
- package/lib/src/filter-expression/operator-utils.d.ts +3 -3
- package/lib/src/filter-expression/operator-utils.js +7 -7
- package/lib/src/filter-expression/operator-utils.js.map +1 -1
- package/lib/src/filter-expression/operators.d.ts +2 -2
- package/lib/src/filter-expression/operators.js +82 -82
- package/lib/src/filter-expression/operators.js.map +1 -1
- package/lib/src/filter-expression/{patternMatchPlaceholders.js → pattern-match-placeholders.js} +1 -1
- package/lib/src/filter-expression/pattern-match-placeholders.js.map +1 -0
- package/lib/src/filter-expression/pattern-match.d.ts +3 -3
- package/lib/src/filter-expression/pattern-match.js +1 -1
- package/lib/src/filter-expression/pattern-match.js.map +1 -1
- package/lib/src/filter-expression/{patternToExpression.js → pattern-to-expression.js} +1 -1
- package/lib/src/filter-expression/pattern-to-expression.js.map +1 -0
- package/lib/src/filter-expression/types.d.ts +3 -3
- package/lib/src/params-placeholders.d.ts +2 -2
- package/lib/src/params-placeholders.js +2 -2
- package/lib/src/params-placeholders.js.map +1 -1
- package/lib/src/utils.d.ts +2 -2
- package/lib/src/utils.js +2 -2
- package/lib/src/utils.js.map +1 -1
- package/lib/src/visitors.d.ts +3 -3
- package/lib/src/visitors.js +4 -4
- package/lib/src/visitors.js.map +1 -1
- package/lib/{testData/schemaMock.js → test-data/schema-mock.js} +1 -1
- package/lib/test-data/schema-mock.js.map +1 -0
- package/package.json +13 -13
- package/lib/jest.config.cjs +0 -35
- package/lib/jest.config.cjs.map +0 -1
- package/lib/jest.config.d.cts +0 -3
- package/lib/src/fieldExpressionVisitorTypeAware.js.map +0 -1
- package/lib/src/filter-expression/patternMatchPlaceholders.js.map +0 -1
- package/lib/src/filter-expression/patternToExpression.js.map +0 -1
- package/lib/testData/schemaMock.js.map +0 -1
- /package/lib/src/{fieldExpressionVisitorTypeAware.d.ts → field-expression-visitor-type-aware.d.ts} +0 -0
- /package/lib/src/filter-expression/{patternMatchPlaceholders.d.ts → pattern-match-placeholders.d.ts} +0 -0
- /package/lib/src/filter-expression/{patternToExpression.d.ts → pattern-to-expression.d.ts} +0 -0
- /package/lib/{testData/schemaMock.d.ts → test-data/schema-mock.d.ts} +0 -0
|
@@ -5,22 +5,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.operatorBoolIs = exports.operatorCollectionIsNotEmpty = exports.operatorCollectionIsEmpty = exports.operatorCollectionDoesNotContainAnyOf = exports.operatorCollectionDoesNotContainMe = exports.operatorCollectionDoesNotContain = exports.operatorCollectionContainsAnyOf = exports.withoutLastIdAccess = exports.operatorCollectionContainsMe = exports.operatorCollectionContains = exports.operatorLocationIsNotEmpty = exports.operatorLocationIsEmpty = exports.operatorLocationDoesNotContain = exports.operatorLocationContains = exports.operatorTextIsNotEmptyV2 = exports.operatorTextIsNotEmptyV1 = exports.operatorTextIsEmptyV2 = exports.operatorTextIsEmptyV1 = exports.operatorNumberIsNotEmptyV2 = exports.operatorNumberIsNotEmptyV1 = exports.operatorNumberIsEmptyV2 = exports.operatorNumberIsEmptyV1 = exports.operatorCollectionCountLessThanOrEqual = exports.operatorCollectionCountGreaterThanOrEqual = exports.operatorCollectionCountLessThan = exports.operatorCollectionCountGreaterThan = exports.operatorCollectionCountDoesNotEqual = exports.operatorCollectionCountEquals = exports.operatorLessThanOrEqual = exports.operatorGreaterThanOrEqual = exports.operatorLessThan = exports.operatorGreaterThan = exports.operatorNumberDoesNotEqual = exports.operatorNumberEquals = exports.operatorTextEndsWith = exports.operatorTextStartsWith = exports.operatorTextDoesNotContain = exports.operatorTextContains = exports.operatorTextIsNot = exports.operatorTextExactlyIs = exports.operatorTextIs = exports.operatorUserRoleIsAnyOf = exports.operatorReferenceIsNotEmpty = exports.operatorReferenceIsEmpty = exports.operatorReferenceIsNoneOf = exports.operatorReferenceIsNot = exports.operatorReferenceIsAnyOf = exports.operatorReferenceIs = exports.operatorReferenceIsNotMe = exports.operatorReferenceIsMe = void 0;
|
|
7
7
|
exports.hiddenValidOperators = exports.operators = exports.operatorsGroups = exports.operatorsGroupsWithoutMe = exports.operatorDateTimeIsOnOrAfter = exports.operatorDateTimeIsOnOrBefore = exports.operatorDateTimeIsAfter = exports.operatorDateTimeIsBefore = exports.operatorDateTimeIsWithin = exports.operatorDateTimeIs = exports.operatorDateIsOnOrAfter = exports.operatorDateIsAfter = exports.operatorDateIsOnOrBefore = exports.operatorDateIsBefore = exports.operatorDateIsWithin = exports.operatorDateIsNotEmptyV2 = exports.operatorDateIsNotEmptyV1 = exports.operatorDateIsEmptyV2 = exports.operatorDateIsEmptyV1 = exports.operatorDateIs = void 0;
|
|
8
|
+
const _1 = require("@fibery/helpers/src/_");
|
|
8
9
|
/* eslint-disable max-lines */
|
|
9
10
|
const findKey_1 = __importDefault(require("lodash/findKey"));
|
|
10
11
|
const flatten_1 = __importDefault(require("lodash/flatten"));
|
|
11
12
|
const isEqual_1 = __importDefault(require("lodash/isEqual"));
|
|
12
13
|
const isString_1 = __importDefault(require("lodash/isString"));
|
|
13
14
|
const last_1 = __importDefault(require("lodash/last"));
|
|
14
|
-
const mapValues_1 = __importDefault(require("lodash/mapValues"));
|
|
15
15
|
const uniq_1 = __importDefault(require("lodash/uniq"));
|
|
16
16
|
const uuid_1 = require("uuid");
|
|
17
17
|
const params_placeholders_1 = require("../params-placeholders");
|
|
18
18
|
const operator_utils_1 = require("./operator-utils");
|
|
19
19
|
const pattern_match_1 = require("./pattern-match");
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const referenceIsMePattern = ["=",
|
|
23
|
-
const referenceIsNotMePattern = ["!=",
|
|
20
|
+
const pattern_match_placeholders_1 = require("./pattern-match-placeholders");
|
|
21
|
+
const pattern_to_expression_1 = require("./pattern-to-expression");
|
|
22
|
+
const referenceIsMePattern = ["=", pattern_match_placeholders_1.referenceExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x === "$my-id")];
|
|
23
|
+
const referenceIsNotMePattern = ["!=", pattern_match_placeholders_1.referenceExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x === "$my-id")];
|
|
24
24
|
const getReferenceMeOperator = ({ id, title, pattern, isNegative, }) => {
|
|
25
25
|
return {
|
|
26
26
|
type: ":operator-type/unary",
|
|
@@ -37,7 +37,7 @@ const getReferenceMeOperator = ({ id, title, pattern, isNegative, }) => {
|
|
|
37
37
|
return { matchSuccess: false };
|
|
38
38
|
},
|
|
39
39
|
customConvertToWhereExpression: (expression, value, getNextParamName) => {
|
|
40
|
-
return (0,
|
|
40
|
+
return (0, pattern_to_expression_1.convertToExpression)(pattern, expression, "$my-id", getNextParamName);
|
|
41
41
|
},
|
|
42
42
|
isNegative,
|
|
43
43
|
};
|
|
@@ -66,8 +66,8 @@ exports.operatorReferenceIs = {
|
|
|
66
66
|
title: "is",
|
|
67
67
|
pattern: [
|
|
68
68
|
"=",
|
|
69
|
-
|
|
70
|
-
(0,
|
|
69
|
+
pattern_match_placeholders_1.referenceExpressionPlaceholder,
|
|
70
|
+
(0, pattern_match_placeholders_1.getParamPlaceholder)((val) => isValidReferenceUUID(val) || (0, operator_utils_1.isNoValue)(val)),
|
|
71
71
|
],
|
|
72
72
|
type: ":operator-type/binary",
|
|
73
73
|
isNegative: false,
|
|
@@ -75,7 +75,7 @@ exports.operatorReferenceIs = {
|
|
|
75
75
|
exports.operatorReferenceIsAnyOf = {
|
|
76
76
|
id: ":operator/reference-is-any-of",
|
|
77
77
|
title: "is any of",
|
|
78
|
-
pattern: ["q/in",
|
|
78
|
+
pattern: ["q/in", pattern_match_placeholders_1.referenceExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((val) => val !== null)],
|
|
79
79
|
type: ":operator-type/binary",
|
|
80
80
|
isNegative: false,
|
|
81
81
|
};
|
|
@@ -84,8 +84,8 @@ exports.operatorReferenceIsNot = {
|
|
|
84
84
|
title: "is not",
|
|
85
85
|
pattern: [
|
|
86
86
|
"!=",
|
|
87
|
-
|
|
88
|
-
(0,
|
|
87
|
+
pattern_match_placeholders_1.referenceExpressionPlaceholder,
|
|
88
|
+
(0, pattern_match_placeholders_1.getParamPlaceholder)((val) => isValidReferenceUUID(val) || (0, operator_utils_1.isNoValue)(val)),
|
|
89
89
|
],
|
|
90
90
|
type: ":operator-type/binary",
|
|
91
91
|
isNegative: true,
|
|
@@ -93,21 +93,21 @@ exports.operatorReferenceIsNot = {
|
|
|
93
93
|
exports.operatorReferenceIsNoneOf = {
|
|
94
94
|
id: ":operator/reference-is-none-of",
|
|
95
95
|
title: "is none of",
|
|
96
|
-
pattern: ["q/not-in",
|
|
96
|
+
pattern: ["q/not-in", pattern_match_placeholders_1.referenceExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((val) => val !== null)],
|
|
97
97
|
type: ":operator-type/binary",
|
|
98
98
|
isNegative: true,
|
|
99
99
|
};
|
|
100
100
|
exports.operatorReferenceIsEmpty = {
|
|
101
101
|
id: ":operator/reference-is-empty",
|
|
102
102
|
title: "is empty",
|
|
103
|
-
pattern: ["=",
|
|
103
|
+
pattern: ["=", pattern_match_placeholders_1.referenceExpressionPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
104
104
|
type: ":operator-type/unary",
|
|
105
105
|
isNegative: false,
|
|
106
106
|
};
|
|
107
107
|
exports.operatorReferenceIsNotEmpty = {
|
|
108
108
|
id: ":operator/reference-is-not-empty",
|
|
109
109
|
title: "is not empty",
|
|
110
|
-
pattern: ["!=",
|
|
110
|
+
pattern: ["!=", pattern_match_placeholders_1.referenceExpressionPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
111
111
|
type: ":operator-type/unary",
|
|
112
112
|
isNegative: true,
|
|
113
113
|
};
|
|
@@ -116,8 +116,8 @@ exports.operatorUserRoleIsAnyOf = {
|
|
|
116
116
|
title: "is any of",
|
|
117
117
|
pattern: [
|
|
118
118
|
"q/in",
|
|
119
|
-
|
|
120
|
-
(0,
|
|
119
|
+
pattern_match_placeholders_1.textFieldPlaceholder,
|
|
120
|
+
(0, pattern_match_placeholders_1.getParamPlaceholder)((x) => (Array.isArray(x) && x.every((item) => (0, isString_1.default)(item))) || (0, operator_utils_1.isNoValue)(x)),
|
|
121
121
|
],
|
|
122
122
|
type: ":operator-type/binary",
|
|
123
123
|
isNegative: false,
|
|
@@ -125,217 +125,217 @@ exports.operatorUserRoleIsAnyOf = {
|
|
|
125
125
|
exports.operatorTextIs = {
|
|
126
126
|
id: ":operator/string-equals",
|
|
127
127
|
title: "is",
|
|
128
|
-
pattern: ["q/equals-ignoring-case?",
|
|
128
|
+
pattern: ["q/equals-ignoring-case?", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
129
129
|
type: ":operator-type/binary",
|
|
130
130
|
isNegative: false,
|
|
131
131
|
};
|
|
132
132
|
exports.operatorTextExactlyIs = {
|
|
133
133
|
id: ":operator/string-equals-exact",
|
|
134
134
|
title: "=",
|
|
135
|
-
pattern: ["=",
|
|
135
|
+
pattern: ["=", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
136
136
|
type: ":operator-type/binary",
|
|
137
137
|
isNegative: false,
|
|
138
138
|
};
|
|
139
139
|
exports.operatorTextIsNot = {
|
|
140
140
|
id: ":operator/string-not-equals",
|
|
141
141
|
title: "is not",
|
|
142
|
-
pattern: ["q/not-equals-ignoring-case?",
|
|
142
|
+
pattern: ["q/not-equals-ignoring-case?", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
143
143
|
type: ":operator-type/binary",
|
|
144
144
|
isNegative: true,
|
|
145
145
|
};
|
|
146
146
|
exports.operatorTextContains = {
|
|
147
147
|
id: ":operator/string-contains",
|
|
148
148
|
title: "contains",
|
|
149
|
-
pattern: ["q/contains",
|
|
149
|
+
pattern: ["q/contains", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
150
150
|
type: ":operator-type/binary",
|
|
151
151
|
isNegative: false,
|
|
152
152
|
};
|
|
153
153
|
exports.operatorTextDoesNotContain = {
|
|
154
154
|
id: ":operator/string-does-not-contain",
|
|
155
155
|
title: "does not contain",
|
|
156
|
-
pattern: ["q/not-contains",
|
|
156
|
+
pattern: ["q/not-contains", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
157
157
|
type: ":operator-type/binary",
|
|
158
158
|
isNegative: true,
|
|
159
159
|
};
|
|
160
160
|
exports.operatorTextStartsWith = {
|
|
161
161
|
id: ":operator/string-starts-with",
|
|
162
162
|
title: "starts with",
|
|
163
|
-
pattern: ["q/starts-with-ignoring-case?",
|
|
163
|
+
pattern: ["q/starts-with-ignoring-case?", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
164
164
|
type: ":operator-type/binary",
|
|
165
165
|
isNegative: false,
|
|
166
166
|
};
|
|
167
167
|
exports.operatorTextEndsWith = {
|
|
168
168
|
id: ":operator/string-ends-with",
|
|
169
169
|
title: "ends with",
|
|
170
|
-
pattern: ["q/ends-with-ignoring-case?",
|
|
170
|
+
pattern: ["q/ends-with-ignoring-case?", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
171
171
|
type: ":operator-type/binary",
|
|
172
172
|
isNegative: false,
|
|
173
173
|
};
|
|
174
174
|
exports.operatorNumberEquals = {
|
|
175
175
|
id: ":operator/equals",
|
|
176
176
|
title: "=",
|
|
177
|
-
pattern: ["=",
|
|
177
|
+
pattern: ["=", pattern_match_placeholders_1.numberFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x !== null)],
|
|
178
178
|
type: ":operator-type/binary",
|
|
179
179
|
isNegative: false,
|
|
180
180
|
};
|
|
181
181
|
exports.operatorNumberDoesNotEqual = {
|
|
182
182
|
id: ":operator/does-not-equal",
|
|
183
183
|
title: "≠",
|
|
184
|
-
pattern: ["!=",
|
|
184
|
+
pattern: ["!=", pattern_match_placeholders_1.numberFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x !== null)],
|
|
185
185
|
type: ":operator-type/binary",
|
|
186
186
|
isNegative: true,
|
|
187
187
|
};
|
|
188
188
|
exports.operatorGreaterThan = {
|
|
189
189
|
id: ":operator/greater-than",
|
|
190
190
|
title: ">",
|
|
191
|
-
pattern: [">",
|
|
191
|
+
pattern: [">", pattern_match_placeholders_1.numberFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
192
192
|
type: ":operator-type/binary",
|
|
193
193
|
isNegative: false,
|
|
194
194
|
};
|
|
195
195
|
exports.operatorLessThan = {
|
|
196
196
|
id: ":operator/less-than",
|
|
197
197
|
title: "<",
|
|
198
|
-
pattern: ["<",
|
|
198
|
+
pattern: ["<", pattern_match_placeholders_1.numberFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
199
199
|
type: ":operator-type/binary",
|
|
200
200
|
isNegative: false,
|
|
201
201
|
};
|
|
202
202
|
exports.operatorGreaterThanOrEqual = {
|
|
203
203
|
id: ":operator/greater-than-or-equal",
|
|
204
204
|
title: "≥",
|
|
205
|
-
pattern: [">=",
|
|
205
|
+
pattern: [">=", pattern_match_placeholders_1.numberFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
206
206
|
type: ":operator-type/binary",
|
|
207
207
|
isNegative: false,
|
|
208
208
|
};
|
|
209
209
|
exports.operatorLessThanOrEqual = {
|
|
210
210
|
id: ":operator/less-than-or-equal",
|
|
211
211
|
title: "≤",
|
|
212
|
-
pattern: ["<=",
|
|
212
|
+
pattern: ["<=", pattern_match_placeholders_1.numberFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
213
213
|
type: ":operator-type/binary",
|
|
214
214
|
isNegative: false,
|
|
215
215
|
};
|
|
216
216
|
exports.operatorCollectionCountEquals = {
|
|
217
217
|
id: ":operator/collection-count-equals",
|
|
218
218
|
title: "=",
|
|
219
|
-
pattern: ["=",
|
|
219
|
+
pattern: ["=", pattern_match_placeholders_1.collectionCountExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x !== null)],
|
|
220
220
|
type: ":operator-type/binary",
|
|
221
221
|
isNegative: false,
|
|
222
222
|
};
|
|
223
223
|
exports.operatorCollectionCountDoesNotEqual = {
|
|
224
224
|
id: ":operator/collection-count-does-not-equal",
|
|
225
225
|
title: "≠",
|
|
226
|
-
pattern: ["!=",
|
|
226
|
+
pattern: ["!=", pattern_match_placeholders_1.collectionCountExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x !== null)],
|
|
227
227
|
type: ":operator-type/binary",
|
|
228
228
|
isNegative: true,
|
|
229
229
|
};
|
|
230
230
|
exports.operatorCollectionCountGreaterThan = {
|
|
231
231
|
id: ":operator/collection-count-greater-than",
|
|
232
232
|
title: ">",
|
|
233
|
-
pattern: [">",
|
|
233
|
+
pattern: [">", pattern_match_placeholders_1.collectionCountExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
234
234
|
type: ":operator-type/binary",
|
|
235
235
|
isNegative: false,
|
|
236
236
|
};
|
|
237
237
|
exports.operatorCollectionCountLessThan = {
|
|
238
238
|
id: ":operator/collection-count-less-than",
|
|
239
239
|
title: "<",
|
|
240
|
-
pattern: ["<",
|
|
240
|
+
pattern: ["<", pattern_match_placeholders_1.collectionCountExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
241
241
|
type: ":operator-type/binary",
|
|
242
242
|
isNegative: false,
|
|
243
243
|
};
|
|
244
244
|
exports.operatorCollectionCountGreaterThanOrEqual = {
|
|
245
245
|
id: ":operator/collection-count-greater-than-or-equal",
|
|
246
246
|
title: "≥",
|
|
247
|
-
pattern: [">=",
|
|
247
|
+
pattern: [">=", pattern_match_placeholders_1.collectionCountExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
248
248
|
type: ":operator-type/binary",
|
|
249
249
|
isNegative: false,
|
|
250
250
|
};
|
|
251
251
|
exports.operatorCollectionCountLessThanOrEqual = {
|
|
252
252
|
id: ":operator/collection-count-less-than-or-equal",
|
|
253
253
|
title: "≤",
|
|
254
|
-
pattern: ["<=",
|
|
254
|
+
pattern: ["<=", pattern_match_placeholders_1.collectionCountExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
255
255
|
type: ":operator-type/binary",
|
|
256
256
|
isNegative: false,
|
|
257
257
|
};
|
|
258
258
|
exports.operatorNumberIsEmptyV1 = {
|
|
259
259
|
id: ":operator/number-is-empty",
|
|
260
260
|
title: "is empty",
|
|
261
|
-
pattern: ["=",
|
|
261
|
+
pattern: ["=", pattern_match_placeholders_1.numberFieldPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
262
262
|
type: ":operator-type/unary",
|
|
263
263
|
isNegative: false,
|
|
264
264
|
};
|
|
265
265
|
exports.operatorNumberIsEmptyV2 = {
|
|
266
266
|
id: ":operator/number-is-empty",
|
|
267
267
|
title: "is empty",
|
|
268
|
-
pattern: ["=", ["q/null?",
|
|
268
|
+
pattern: ["=", ["q/null?", pattern_match_placeholders_1.numberFieldPlaceholder], (0, pattern_match_placeholders_1.getConstantPlaceholder)(true)],
|
|
269
269
|
type: ":operator-type/unary",
|
|
270
270
|
isNegative: false,
|
|
271
271
|
};
|
|
272
272
|
exports.operatorNumberIsNotEmptyV1 = {
|
|
273
273
|
id: ":operator/number-is-not-empty",
|
|
274
274
|
title: "is not empty",
|
|
275
|
-
pattern: ["!=",
|
|
275
|
+
pattern: ["!=", pattern_match_placeholders_1.numberFieldPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
276
276
|
type: ":operator-type/unary",
|
|
277
277
|
isNegative: true,
|
|
278
278
|
};
|
|
279
279
|
exports.operatorNumberIsNotEmptyV2 = {
|
|
280
280
|
id: ":operator/number-is-not-empty",
|
|
281
281
|
title: "is not empty",
|
|
282
|
-
pattern: ["=", ["q/null?",
|
|
282
|
+
pattern: ["=", ["q/null?", pattern_match_placeholders_1.numberFieldPlaceholder], (0, pattern_match_placeholders_1.getConstantPlaceholder)(false)],
|
|
283
283
|
type: ":operator-type/unary",
|
|
284
284
|
isNegative: true,
|
|
285
285
|
};
|
|
286
286
|
exports.operatorTextIsEmptyV1 = {
|
|
287
287
|
id: ":operator/text-is-empty",
|
|
288
288
|
title: "is empty",
|
|
289
|
-
pattern: ["=",
|
|
289
|
+
pattern: ["=", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
290
290
|
type: ":operator-type/unary",
|
|
291
291
|
isNegative: false,
|
|
292
292
|
};
|
|
293
293
|
exports.operatorTextIsEmptyV2 = {
|
|
294
294
|
id: ":operator/text-is-empty",
|
|
295
295
|
title: "is empty",
|
|
296
|
-
pattern: ["=", ["q/null-or-empty?",
|
|
296
|
+
pattern: ["=", ["q/null-or-empty?", pattern_match_placeholders_1.textFieldPlaceholder], (0, pattern_match_placeholders_1.getConstantPlaceholder)(true)],
|
|
297
297
|
type: ":operator-type/unary",
|
|
298
298
|
isNegative: false,
|
|
299
299
|
};
|
|
300
300
|
exports.operatorTextIsNotEmptyV1 = {
|
|
301
301
|
id: ":operator/text-is-not-empty",
|
|
302
302
|
title: "is not empty",
|
|
303
|
-
pattern: ["!=",
|
|
303
|
+
pattern: ["!=", pattern_match_placeholders_1.textFieldPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
304
304
|
type: ":operator-type/unary",
|
|
305
305
|
isNegative: true,
|
|
306
306
|
};
|
|
307
307
|
exports.operatorTextIsNotEmptyV2 = {
|
|
308
308
|
id: ":operator/text-is-not-empty",
|
|
309
309
|
title: "is not empty",
|
|
310
|
-
pattern: ["=", ["q/null-or-empty?",
|
|
310
|
+
pattern: ["=", ["q/null-or-empty?", pattern_match_placeholders_1.textFieldPlaceholder], (0, pattern_match_placeholders_1.getConstantPlaceholder)(false)],
|
|
311
311
|
type: ":operator-type/unary",
|
|
312
312
|
isNegative: true,
|
|
313
313
|
};
|
|
314
314
|
exports.operatorLocationContains = {
|
|
315
315
|
id: ":operator/location-contains",
|
|
316
316
|
title: "contains",
|
|
317
|
-
pattern: ["q/contains", ["q/address",
|
|
317
|
+
pattern: ["q/contains", ["q/address", pattern_match_placeholders_1.locationFieldPlaceholder], (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
318
318
|
type: ":operator-type/binary",
|
|
319
319
|
isNegative: false,
|
|
320
320
|
};
|
|
321
321
|
exports.operatorLocationDoesNotContain = {
|
|
322
322
|
id: ":operator/location-does-not-contain",
|
|
323
323
|
title: "does not contain",
|
|
324
|
-
pattern: ["q/not-contains", ["q/address",
|
|
324
|
+
pattern: ["q/not-contains", ["q/address", pattern_match_placeholders_1.locationFieldPlaceholder], (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
325
325
|
type: ":operator-type/binary",
|
|
326
326
|
isNegative: true,
|
|
327
327
|
};
|
|
328
328
|
exports.operatorLocationIsEmpty = {
|
|
329
329
|
id: ":operator/location-is-empty",
|
|
330
330
|
title: "is empty",
|
|
331
|
-
pattern: ["=",
|
|
331
|
+
pattern: ["=", pattern_match_placeholders_1.locationFieldPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
332
332
|
type: ":operator-type/unary",
|
|
333
333
|
isNegative: false,
|
|
334
334
|
};
|
|
335
335
|
exports.operatorLocationIsNotEmpty = {
|
|
336
336
|
id: ":operator/location-is-not-empty",
|
|
337
337
|
title: "is not empty",
|
|
338
|
-
pattern: ["!=",
|
|
338
|
+
pattern: ["!=", pattern_match_placeholders_1.locationFieldPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
339
339
|
type: ":operator-type/unary",
|
|
340
340
|
isNegative: true,
|
|
341
341
|
};
|
|
@@ -343,27 +343,27 @@ const getCollectionContainsPattern = (paramMatchFn) => {
|
|
|
343
343
|
return [
|
|
344
344
|
">",
|
|
345
345
|
{
|
|
346
|
-
"q/from":
|
|
346
|
+
"q/from": pattern_match_placeholders_1.referenceCollectionFieldPlaceholder,
|
|
347
347
|
"q/select": ["q/count", ["fibery/id"]],
|
|
348
|
-
"q/where": ["=", ["fibery/id"], (0,
|
|
348
|
+
"q/where": ["=", ["fibery/id"], (0, pattern_match_placeholders_1.getParamPlaceholder)(paramMatchFn)],
|
|
349
349
|
"q/limit": "q/no-limit",
|
|
350
350
|
},
|
|
351
|
-
(0,
|
|
351
|
+
(0, pattern_match_placeholders_1.getConstantPlaceholder)(0),
|
|
352
352
|
];
|
|
353
353
|
};
|
|
354
354
|
const getCollectionContainsAnyOfPattern = (comparisonOperator) => [
|
|
355
355
|
comparisonOperator,
|
|
356
356
|
{
|
|
357
|
-
"q/from":
|
|
357
|
+
"q/from": pattern_match_placeholders_1.referenceCollectionFieldPlaceholder,
|
|
358
358
|
"q/select": ["q/count", ["fibery/id"]],
|
|
359
359
|
"q/where": [
|
|
360
360
|
"q/in",
|
|
361
361
|
["fibery/id"],
|
|
362
|
-
(0,
|
|
362
|
+
(0, pattern_match_placeholders_1.getParamPlaceholder)((x) => (Array.isArray(x) && x.every((item) => isValidReferenceUUID(item))) || (0, operator_utils_1.isNoValue)(x)),
|
|
363
363
|
],
|
|
364
364
|
"q/limit": "q/no-limit",
|
|
365
365
|
},
|
|
366
|
-
(0,
|
|
366
|
+
(0, pattern_match_placeholders_1.getConstantPlaceholder)(0),
|
|
367
367
|
];
|
|
368
368
|
const collectionContainsAnyOfPattern = getCollectionContainsAnyOfPattern(">");
|
|
369
369
|
const collectionDoesNotContainAnyOfPattern = getCollectionContainsAnyOfPattern("=");
|
|
@@ -372,12 +372,12 @@ const collectionContainsMePattern = getCollectionContainsPattern((x) => x === "$
|
|
|
372
372
|
const getCollectionDoesNotContainPattern = (paramMatchFn) => [
|
|
373
373
|
"=",
|
|
374
374
|
{
|
|
375
|
-
"q/from":
|
|
375
|
+
"q/from": pattern_match_placeholders_1.referenceCollectionFieldPlaceholder,
|
|
376
376
|
"q/select": ["q/count", ["fibery/id"]],
|
|
377
|
-
"q/where": ["=", ["fibery/id"], (0,
|
|
377
|
+
"q/where": ["=", ["fibery/id"], (0, pattern_match_placeholders_1.getParamPlaceholder)(paramMatchFn)],
|
|
378
378
|
"q/limit": "q/no-limit",
|
|
379
379
|
},
|
|
380
|
-
(0,
|
|
380
|
+
(0, pattern_match_placeholders_1.getConstantPlaceholder)(0),
|
|
381
381
|
];
|
|
382
382
|
const collectionDoesNotContainPattern = getCollectionDoesNotContainPattern((x) => isValidReferenceUUID(x) || (0, operator_utils_1.isNoValue)(x));
|
|
383
383
|
const collectionDoesNotContainMePattern = getCollectionDoesNotContainPattern((x) => x === "$my-id");
|
|
@@ -396,7 +396,7 @@ exports.operatorCollectionContains = {
|
|
|
396
396
|
return { matchSuccess: false };
|
|
397
397
|
},
|
|
398
398
|
customConvertToWhereExpression: (expression, value, getNextParamName) => {
|
|
399
|
-
return (0,
|
|
399
|
+
return (0, pattern_to_expression_1.convertToExpression)(collectionContainsPattern, (0, exports.withoutLastIdAccess)(expression), value, getNextParamName);
|
|
400
400
|
},
|
|
401
401
|
type: ":operator-type/binary",
|
|
402
402
|
isNegative: false,
|
|
@@ -415,7 +415,7 @@ const getOperatorCollectionMe = ({ id, title, pattern, isNegative, }) => ({
|
|
|
415
415
|
return { matchSuccess: false };
|
|
416
416
|
},
|
|
417
417
|
customConvertToWhereExpression: (expression, value, getNextParamName) => {
|
|
418
|
-
return (0,
|
|
418
|
+
return (0, pattern_to_expression_1.convertToExpression)(pattern, (0, exports.withoutLastIdAccess)(expression), "$my-id", getNextParamName);
|
|
419
419
|
},
|
|
420
420
|
type: ":operator-type/unary",
|
|
421
421
|
isNegative,
|
|
@@ -449,7 +449,7 @@ exports.operatorCollectionContainsAnyOf = {
|
|
|
449
449
|
return { matchSuccess: false };
|
|
450
450
|
},
|
|
451
451
|
customConvertToWhereExpression: (expression, value, getNextParamName) => {
|
|
452
|
-
return (0,
|
|
452
|
+
return (0, pattern_to_expression_1.convertToExpression)(collectionContainsAnyOfPattern, (0, exports.withoutLastIdAccess)(expression), value, getNextParamName);
|
|
453
453
|
},
|
|
454
454
|
type: ":operator-type/binary",
|
|
455
455
|
isNegative: false,
|
|
@@ -469,7 +469,7 @@ exports.operatorCollectionDoesNotContain = {
|
|
|
469
469
|
return { matchSuccess: false };
|
|
470
470
|
},
|
|
471
471
|
customConvertToWhereExpression: (expression, value, getNextParamName) => {
|
|
472
|
-
return (0,
|
|
472
|
+
return (0, pattern_to_expression_1.convertToExpression)(collectionDoesNotContainPattern, (0, exports.withoutLastIdAccess)(expression), value, getNextParamName);
|
|
473
473
|
},
|
|
474
474
|
type: ":operator-type/binary",
|
|
475
475
|
isNegative: true,
|
|
@@ -495,7 +495,7 @@ exports.operatorCollectionDoesNotContainAnyOf = {
|
|
|
495
495
|
return { matchSuccess: false };
|
|
496
496
|
},
|
|
497
497
|
customConvertToWhereExpression: (expression, value, getNextParamName) => {
|
|
498
|
-
return (0,
|
|
498
|
+
return (0, pattern_to_expression_1.convertToExpression)(collectionDoesNotContainAnyOfPattern, (0, exports.withoutLastIdAccess)(expression), value, getNextParamName);
|
|
499
499
|
},
|
|
500
500
|
type: ":operator-type/binary",
|
|
501
501
|
isNegative: true,
|
|
@@ -503,14 +503,14 @@ exports.operatorCollectionDoesNotContainAnyOf = {
|
|
|
503
503
|
exports.operatorCollectionIsEmpty = {
|
|
504
504
|
id: ":operator/is-collection-empty",
|
|
505
505
|
title: "is empty",
|
|
506
|
-
pattern: ["=", ["q/count",
|
|
506
|
+
pattern: ["=", ["q/count", pattern_match_placeholders_1.referenceCollectionExpressionPlaceholder], (0, pattern_match_placeholders_1.getConstantPlaceholder)(0)],
|
|
507
507
|
type: ":operator-type/unary",
|
|
508
508
|
isNegative: false,
|
|
509
509
|
};
|
|
510
510
|
exports.operatorCollectionIsNotEmpty = {
|
|
511
511
|
id: ":operator/is-collection-not-empty",
|
|
512
512
|
title: "is not empty",
|
|
513
|
-
pattern: [">", ["q/count",
|
|
513
|
+
pattern: [">", ["q/count", pattern_match_placeholders_1.referenceCollectionExpressionPlaceholder], (0, pattern_match_placeholders_1.getConstantPlaceholder)(0)],
|
|
514
514
|
type: ":operator-type/unary",
|
|
515
515
|
isNegative: true,
|
|
516
516
|
};
|
|
@@ -519,7 +519,7 @@ exports.operatorBoolIs = {
|
|
|
519
519
|
title: "is",
|
|
520
520
|
customMatch: (where, params, typeObject) => {
|
|
521
521
|
{
|
|
522
|
-
const { matchSuccess, matches } = (0, pattern_match_1.doPatternMatch)(where, params, ["=",
|
|
522
|
+
const { matchSuccess, matches } = (0, pattern_match_1.doPatternMatch)(where, params, ["=", pattern_match_placeholders_1.boolFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x === true || x === false)], typeObject);
|
|
523
523
|
if (matchSuccess) {
|
|
524
524
|
return {
|
|
525
525
|
matchSuccess,
|
|
@@ -532,8 +532,8 @@ exports.operatorBoolIs = {
|
|
|
532
532
|
// This is old expression version, just for backward compatibility.
|
|
533
533
|
const { matchSuccess, matches } = (0, pattern_match_1.doPatternMatch)(where, params, [
|
|
534
534
|
"or",
|
|
535
|
-
["=",
|
|
536
|
-
["=",
|
|
535
|
+
["=", pattern_match_placeholders_1.boolFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x === false)],
|
|
536
|
+
["=", pattern_match_placeholders_1.boolFieldPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x === null)],
|
|
537
537
|
], typeObject);
|
|
538
538
|
if (matchSuccess) {
|
|
539
539
|
return {
|
|
@@ -558,42 +558,42 @@ exports.operatorBoolIs = {
|
|
|
558
558
|
exports.operatorDateIs = {
|
|
559
559
|
id: ":operator/date-is",
|
|
560
560
|
title: "is",
|
|
561
|
-
pattern: ["=",
|
|
561
|
+
pattern: ["=", pattern_match_placeholders_1.dateOrDateRangeExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)((x) => x !== null)],
|
|
562
562
|
type: ":operator-type/binary",
|
|
563
563
|
isNegative: false,
|
|
564
564
|
};
|
|
565
565
|
exports.operatorDateIsEmptyV1 = {
|
|
566
566
|
id: ":operator/date-is-empty",
|
|
567
567
|
title: "is empty",
|
|
568
|
-
pattern: ["=",
|
|
568
|
+
pattern: ["=", pattern_match_placeholders_1.anyDateExpressionPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
569
569
|
type: ":operator-type/unary",
|
|
570
570
|
isNegative: false,
|
|
571
571
|
};
|
|
572
572
|
exports.operatorDateIsEmptyV2 = {
|
|
573
573
|
id: ":operator/date-is-empty",
|
|
574
574
|
title: "is empty",
|
|
575
|
-
pattern: ["=", ["q/null?",
|
|
575
|
+
pattern: ["=", ["q/null?", pattern_match_placeholders_1.anyDateExpressionPlaceholder], (0, pattern_match_placeholders_1.getConstantPlaceholder)(true)],
|
|
576
576
|
type: ":operator-type/unary",
|
|
577
577
|
isNegative: false,
|
|
578
578
|
};
|
|
579
579
|
exports.operatorDateIsNotEmptyV1 = {
|
|
580
580
|
id: ":operator/date-is-not-empty",
|
|
581
581
|
title: "is not empty",
|
|
582
|
-
pattern: ["!=",
|
|
582
|
+
pattern: ["!=", pattern_match_placeholders_1.anyDateExpressionPlaceholder, (0, pattern_match_placeholders_1.getConstantPlaceholder)(null)],
|
|
583
583
|
type: ":operator-type/unary",
|
|
584
584
|
isNegative: true,
|
|
585
585
|
};
|
|
586
586
|
exports.operatorDateIsNotEmptyV2 = {
|
|
587
587
|
id: ":operator/date-is-not-empty",
|
|
588
588
|
title: "is not empty",
|
|
589
|
-
pattern: ["=", ["q/null?",
|
|
589
|
+
pattern: ["=", ["q/null?", pattern_match_placeholders_1.anyDateExpressionPlaceholder], (0, pattern_match_placeholders_1.getConstantPlaceholder)(false)],
|
|
590
590
|
type: ":operator-type/unary",
|
|
591
591
|
isNegative: true,
|
|
592
592
|
};
|
|
593
593
|
exports.operatorDateIsWithin = {
|
|
594
594
|
id: ":operator/date-is-within",
|
|
595
595
|
title: "is within",
|
|
596
|
-
customMatch: (0, operator_utils_1.getWithinOperatorCustomMatchFn)(
|
|
596
|
+
customMatch: (0, operator_utils_1.getWithinOperatorCustomMatchFn)(pattern_match_placeholders_1.dateOrDateRangeExpressionPlaceholder, false),
|
|
597
597
|
customConvertToWhereExpression: (0, operator_utils_1.getWithinOperatorCustomConvertFn)(false),
|
|
598
598
|
type: ":operator-type/binary",
|
|
599
599
|
isNegative: false,
|
|
@@ -601,28 +601,28 @@ exports.operatorDateIsWithin = {
|
|
|
601
601
|
exports.operatorDateIsBefore = {
|
|
602
602
|
id: ":operator/date-is-before",
|
|
603
603
|
title: "is earlier than",
|
|
604
|
-
pattern: ["<",
|
|
604
|
+
pattern: ["<", pattern_match_placeholders_1.dateOrDateRangeExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
605
605
|
type: ":operator-type/binary",
|
|
606
606
|
isNegative: false,
|
|
607
607
|
};
|
|
608
608
|
exports.operatorDateIsOnOrBefore = {
|
|
609
609
|
id: ":operator/date-is-on-or-before",
|
|
610
610
|
title: "is on or earlier than",
|
|
611
|
-
pattern: ["<=",
|
|
611
|
+
pattern: ["<=", pattern_match_placeholders_1.dateOrDateRangeExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
612
612
|
type: ":operator-type/binary",
|
|
613
613
|
isNegative: false,
|
|
614
614
|
};
|
|
615
615
|
exports.operatorDateIsAfter = {
|
|
616
616
|
id: ":operator/date-is-after",
|
|
617
617
|
title: "is later than",
|
|
618
|
-
pattern: [">",
|
|
618
|
+
pattern: [">", pattern_match_placeholders_1.dateOrDateRangeExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
619
619
|
type: ":operator-type/binary",
|
|
620
620
|
isNegative: false,
|
|
621
621
|
};
|
|
622
622
|
exports.operatorDateIsOnOrAfter = {
|
|
623
623
|
id: ":operator/date-is-on-or-after",
|
|
624
624
|
title: "is on or later than",
|
|
625
|
-
pattern: [">=",
|
|
625
|
+
pattern: [">=", pattern_match_placeholders_1.dateOrDateRangeExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
626
626
|
type: ":operator-type/binary",
|
|
627
627
|
isNegative: false,
|
|
628
628
|
};
|
|
@@ -633,8 +633,8 @@ exports.operatorDateTimeIs = {
|
|
|
633
633
|
{
|
|
634
634
|
const { matchSuccess, matches: [firstFieldMatch, firstParamMatch, secondFieldMatch, secondParamMatch], } = (0, pattern_match_1.doPatternMatch)(where, params, [
|
|
635
635
|
"and",
|
|
636
|
-
[">=",
|
|
637
|
-
["<=",
|
|
636
|
+
[">=", pattern_match_placeholders_1.dateTimeOrDateTimeRangeExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
637
|
+
["<=", pattern_match_placeholders_1.dateTimeOrDateTimeRangeExpressionPlaceholder, (0, pattern_match_placeholders_1.getParamPlaceholder)()],
|
|
638
638
|
], typeObject);
|
|
639
639
|
if (matchSuccess && (0, isEqual_1.default)(firstFieldMatch.value, secondFieldMatch.value)) {
|
|
640
640
|
const firstParamValue = firstParamMatch.value;
|
|
@@ -665,8 +665,8 @@ exports.operatorDateTimeIs = {
|
|
|
665
665
|
{
|
|
666
666
|
const { matchSuccess, matches: [fieldMatch, paramMatch], } = (0, pattern_match_1.doPatternMatch)(where, params, [
|
|
667
667
|
"=",
|
|
668
|
-
|
|
669
|
-
(0,
|
|
668
|
+
pattern_match_placeholders_1.dateTimeOrDateTimeRangeExpressionPlaceholder,
|
|
669
|
+
(0, pattern_match_placeholders_1.getParamPlaceholder)((x) => ((0, isString_1.default)(x) && (0, operator_utils_1.isDateTime)(x)) || (0, operator_utils_1.isNoValue)(x)),
|
|
670
670
|
], typeObject);
|
|
671
671
|
if (matchSuccess) {
|
|
672
672
|
return {
|
|
@@ -721,7 +721,7 @@ exports.operatorDateTimeIs = {
|
|
|
721
721
|
exports.operatorDateTimeIsWithin = {
|
|
722
722
|
id: ":operator/date-time-is-within",
|
|
723
723
|
title: "is within",
|
|
724
|
-
customMatch: (0, operator_utils_1.getWithinOperatorCustomMatchFn)(
|
|
724
|
+
customMatch: (0, operator_utils_1.getWithinOperatorCustomMatchFn)(pattern_match_placeholders_1.dateTimeOrDateTimeRangeExpressionPlaceholder, true),
|
|
725
725
|
customConvertToWhereExpression: (0, operator_utils_1.getWithinOperatorCustomConvertFn)(true),
|
|
726
726
|
type: ":operator-type/binary",
|
|
727
727
|
isNegative: false,
|
|
@@ -839,7 +839,7 @@ exports.operatorsGroupsWithoutMe = {
|
|
|
839
839
|
exports.operatorCollectionCountLessThanOrEqual,
|
|
840
840
|
],
|
|
841
841
|
};
|
|
842
|
-
exports.operatorsGroups = (0,
|
|
842
|
+
exports.operatorsGroups = (0, _1.mapValues)(exports.operatorsGroupsWithoutMe, (value, key) => {
|
|
843
843
|
if (key === ":filter-type/user-reference") {
|
|
844
844
|
return [exports.operatorReferenceIsMe, exports.operatorReferenceIsNotMe].concat(value);
|
|
845
845
|
}
|