@degenerate/rules 0.1.11 → 0.1.13
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/__testdata__/conditions/current-conditions.test-data.d.ts +61 -353
- package/dist/__testdata__/conditions/current-conditions.test-data.d.ts.map +1 -1
- package/dist/__testdata__/rules/rules.test-data.d.ts.map +1 -1
- package/dist/evaluation/conditions/boolean-conditions.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,356 +1,64 @@
|
|
|
1
|
-
import { IConditionShareRule, IShareRule } from '@degenerate/generic';
|
|
2
|
-
export declare const exampleConditionTypeOfIsNumber:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export declare const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export declare const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export declare const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export declare const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export declare const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
export declare const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export declare const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
export declare const exampleConditionTypeOfIsArray: {
|
|
63
|
-
conditionType: "TYPEOF";
|
|
64
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
65
|
-
targettedProperty: string;
|
|
66
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
67
|
-
};
|
|
68
|
-
export declare const exampleConditionTypeOfIsNotArray: {
|
|
69
|
-
conditionType: "TYPEOF";
|
|
70
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
71
|
-
targettedProperty: string;
|
|
72
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
73
|
-
};
|
|
74
|
-
export declare const exampleConditionTypeOfIsNull: {
|
|
75
|
-
conditionType: "TYPEOF";
|
|
76
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
77
|
-
targettedProperty: string;
|
|
78
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
79
|
-
};
|
|
80
|
-
export declare const exampleConditionTypeOfIsNotNull: {
|
|
81
|
-
conditionType: "TYPEOF";
|
|
82
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
83
|
-
targettedProperty: string;
|
|
84
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
85
|
-
};
|
|
86
|
-
export declare const exampleConditionTypeOfIsUndefined: {
|
|
87
|
-
conditionType: "TYPEOF";
|
|
88
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
89
|
-
targettedProperty: string;
|
|
90
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
91
|
-
};
|
|
92
|
-
export declare const exampleConditionTypeOfIsNotUndefined: {
|
|
93
|
-
conditionType: "TYPEOF";
|
|
94
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
95
|
-
targettedProperty: string;
|
|
96
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
97
|
-
};
|
|
98
|
-
export declare const exampleConditionTypeOfIsFunction: {
|
|
99
|
-
conditionType: "TYPEOF";
|
|
100
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
101
|
-
targettedProperty: string;
|
|
102
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
103
|
-
};
|
|
104
|
-
export declare const exampleConditionTypeOfIsNotFunction: {
|
|
105
|
-
conditionType: "TYPEOF";
|
|
106
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
107
|
-
targettedProperty: string;
|
|
108
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
109
|
-
};
|
|
110
|
-
export declare const exampleConditionTypeOfIsBigInt: {
|
|
111
|
-
conditionType: "TYPEOF";
|
|
112
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
113
|
-
targettedProperty: string;
|
|
114
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
115
|
-
};
|
|
116
|
-
export declare const exampleConditionTypeOfIsNotBigInt: {
|
|
117
|
-
conditionType: "TYPEOF";
|
|
118
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
119
|
-
targettedProperty: string;
|
|
120
|
-
conditionValue: "NULL" | "STRING" | "NUMBER" | "INTEGER" | "BOOLEAN" | "OBJECT" | "ARRAY" | "UNDEFINED" | "FUNCTION" | "BIGINT";
|
|
121
|
-
};
|
|
122
|
-
export declare const exampleConditionEqualityIs100: {
|
|
123
|
-
conditionType: "EQUAL";
|
|
124
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
125
|
-
targettedProperty: string;
|
|
126
|
-
conditionValue: string | number;
|
|
127
|
-
};
|
|
128
|
-
export declare const exampleConditionEqualityIsNotNewYork: {
|
|
129
|
-
conditionType: "EQUAL";
|
|
130
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
131
|
-
targettedProperty: string;
|
|
132
|
-
conditionValue: string | number;
|
|
133
|
-
};
|
|
134
|
-
export declare const exampleConditionEqualityIs200: {
|
|
135
|
-
conditionType: "EQUAL";
|
|
136
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
137
|
-
targettedProperty: string;
|
|
138
|
-
conditionValue: string | number;
|
|
139
|
-
};
|
|
140
|
-
export declare const exampleConditionEqualityIsNotAdmin: {
|
|
141
|
-
conditionType: "EQUAL";
|
|
142
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
143
|
-
targettedProperty: string;
|
|
144
|
-
conditionValue: string | number;
|
|
145
|
-
};
|
|
146
|
-
export declare const exampleConditionRangeIsGreaterThan100: {
|
|
147
|
-
conditionType: "GREATER_THAN";
|
|
148
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
149
|
-
targettedProperty: string;
|
|
150
|
-
conditionValue: string | number;
|
|
151
|
-
};
|
|
152
|
-
export declare const exampleConditionRangeIsNotGreaterThan100: {
|
|
153
|
-
conditionType: "GREATER_THAN";
|
|
154
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
155
|
-
targettedProperty: string;
|
|
156
|
-
conditionValue: string | number;
|
|
157
|
-
};
|
|
158
|
-
export declare const exampleConditionRangeIsLessThan200: {
|
|
159
|
-
conditionType: "GREATER_THAN";
|
|
160
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
161
|
-
targettedProperty: string;
|
|
162
|
-
conditionValue: string | number;
|
|
163
|
-
};
|
|
164
|
-
export declare const exampleConditionRangeIsNotLessThan200: {
|
|
165
|
-
conditionType: "GREATER_THAN";
|
|
166
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
167
|
-
targettedProperty: string;
|
|
168
|
-
conditionValue: string | number;
|
|
169
|
-
};
|
|
170
|
-
export declare const exampleConditionRangeIsGreaterThanOrEqual100: {
|
|
171
|
-
conditionType: "GREATER_THAN";
|
|
172
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
173
|
-
targettedProperty: string;
|
|
174
|
-
conditionValue: string | number;
|
|
175
|
-
};
|
|
176
|
-
export declare const exampleConditionRangeIsNotGreaterThanOrEqual100: {
|
|
177
|
-
conditionType: "GREATER_THAN";
|
|
178
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
179
|
-
targettedProperty: string;
|
|
180
|
-
conditionValue: string | number;
|
|
181
|
-
};
|
|
182
|
-
export declare const exampleConditionRangeIsLessThanOrEqual200: {
|
|
183
|
-
conditionType: "GREATER_THAN";
|
|
184
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
185
|
-
targettedProperty: string;
|
|
186
|
-
conditionValue: string | number;
|
|
187
|
-
};
|
|
188
|
-
export declare const exampleConditionRangeIsNotLessThanOrEqual200: {
|
|
189
|
-
conditionType: "GREATER_THAN";
|
|
190
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
191
|
-
targettedProperty: string;
|
|
192
|
-
conditionValue: string | number;
|
|
193
|
-
};
|
|
194
|
-
export declare const exampleConditionRangeIsGreaterThanH: {
|
|
195
|
-
conditionType: "GREATER_THAN";
|
|
196
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
197
|
-
targettedProperty: string;
|
|
198
|
-
conditionValue: string | number;
|
|
199
|
-
};
|
|
200
|
-
export declare const exampleConditionRangeIsNotGreaterThanH: {
|
|
201
|
-
conditionType: "GREATER_THAN";
|
|
202
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
203
|
-
targettedProperty: string;
|
|
204
|
-
conditionValue: string | number;
|
|
205
|
-
};
|
|
206
|
-
export declare const exampleConditionRangeIsLessThanY: {
|
|
207
|
-
conditionType: "GREATER_THAN";
|
|
208
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
209
|
-
targettedProperty: string;
|
|
210
|
-
conditionValue: string | number;
|
|
211
|
-
};
|
|
212
|
-
export declare const exampleConditionRangeIsNotLessThanY: {
|
|
213
|
-
conditionType: "GREATER_THAN";
|
|
214
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
215
|
-
targettedProperty: string;
|
|
216
|
-
conditionValue: string | number;
|
|
217
|
-
};
|
|
218
|
-
export declare const exampleConditionRangeIsGreaterThanOrEqualH: {
|
|
219
|
-
conditionType: "GREATER_THAN";
|
|
220
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
221
|
-
targettedProperty: string;
|
|
222
|
-
conditionValue: string | number;
|
|
223
|
-
};
|
|
224
|
-
export declare const exampleConditionRangeIsNotGreaterThanOrEqualH: {
|
|
225
|
-
conditionType: "GREATER_THAN";
|
|
226
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
227
|
-
targettedProperty: string;
|
|
228
|
-
conditionValue: string | number;
|
|
229
|
-
};
|
|
230
|
-
export declare const exampleConditionRangeIsLessThanOrEqualY: {
|
|
231
|
-
conditionType: "GREATER_THAN";
|
|
232
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
233
|
-
targettedProperty: string;
|
|
234
|
-
conditionValue: string | number;
|
|
235
|
-
};
|
|
236
|
-
export declare const exampleConditionRangeIsNotLessThanOrEqualY: {
|
|
237
|
-
conditionType: "GREATER_THAN";
|
|
238
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
239
|
-
targettedProperty: string;
|
|
240
|
-
conditionValue: string | number;
|
|
241
|
-
};
|
|
242
|
-
export declare const exampleConditionContainsIsGar: {
|
|
243
|
-
conditionType: "CONTAINS";
|
|
244
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
245
|
-
targettedProperty: string;
|
|
246
|
-
conditionValue: string | string[] | number[];
|
|
247
|
-
};
|
|
248
|
-
export declare const exampleConditionContainsIsNotGarison: {
|
|
249
|
-
conditionType: "CONTAINS";
|
|
250
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
251
|
-
targettedProperty: string;
|
|
252
|
-
conditionValue: string | string[] | number[];
|
|
253
|
-
};
|
|
254
|
-
export declare const exampleConditionContainsIsGarCarHap: {
|
|
255
|
-
conditionType: "CONTAINS";
|
|
256
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
257
|
-
targettedProperty: string;
|
|
258
|
-
conditionValue: string | string[] | number[];
|
|
259
|
-
};
|
|
260
|
-
export declare const exampleConditionContainsIsNotGarCarHap: {
|
|
261
|
-
conditionType: "CONTAINS";
|
|
262
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
263
|
-
targettedProperty: string;
|
|
264
|
-
conditionValue: string | string[] | number[];
|
|
265
|
-
};
|
|
266
|
-
export declare const exampleConditionContainsIs1135: {
|
|
267
|
-
conditionType: "CONTAINS";
|
|
268
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
269
|
-
targettedProperty: string;
|
|
270
|
-
conditionValue: string | string[] | number[];
|
|
271
|
-
};
|
|
272
|
-
export declare const exampleConditionContainsIsNot1135: {
|
|
273
|
-
conditionType: "CONTAINS";
|
|
274
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
275
|
-
targettedProperty: string;
|
|
276
|
-
conditionValue: string | string[] | number[];
|
|
277
|
-
};
|
|
278
|
-
export declare const exampleConditionStartsWithIsCal: {
|
|
279
|
-
conditionType: "STARTS_WITH" | "ENDS_WITH";
|
|
280
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
281
|
-
targettedProperty: string;
|
|
282
|
-
conditionValue: string;
|
|
283
|
-
};
|
|
284
|
-
export declare const exampleConditionStartsWithIsNotCal: {
|
|
285
|
-
conditionType: "STARTS_WITH" | "ENDS_WITH";
|
|
286
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
287
|
-
targettedProperty: string;
|
|
288
|
-
conditionValue: string;
|
|
289
|
-
};
|
|
290
|
-
export declare const exampleConditionEndsWithIsGary: {
|
|
291
|
-
conditionType: "STARTS_WITH" | "ENDS_WITH";
|
|
292
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
293
|
-
targettedProperty: string;
|
|
294
|
-
conditionValue: string;
|
|
295
|
-
};
|
|
296
|
-
export declare const exampleConditionEndsWithIsNotGary: {
|
|
297
|
-
conditionType: "STARTS_WITH" | "ENDS_WITH";
|
|
298
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
299
|
-
targettedProperty: string;
|
|
300
|
-
conditionValue: string;
|
|
301
|
-
};
|
|
302
|
-
export declare const exampleConditionIsNull: {
|
|
303
|
-
conditionType: "NULL";
|
|
304
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
305
|
-
targettedProperty: string;
|
|
306
|
-
};
|
|
307
|
-
export declare const exampleConditionIsNotNull: {
|
|
308
|
-
conditionType: "NULL";
|
|
309
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
310
|
-
targettedProperty: string;
|
|
311
|
-
};
|
|
312
|
-
export declare const exampleConditionBooleanIsTrue: {
|
|
313
|
-
conditionType: "TRUE" | "FALSE";
|
|
314
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
315
|
-
targettedProperty: string;
|
|
316
|
-
};
|
|
317
|
-
export declare const exampleConditionBooleanIsNotTrue: {
|
|
318
|
-
conditionType: "TRUE" | "FALSE";
|
|
319
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
320
|
-
targettedProperty: string;
|
|
321
|
-
};
|
|
322
|
-
export declare const exampleConditionBooleanIsFalse: {
|
|
323
|
-
conditionType: "TRUE" | "FALSE";
|
|
324
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
325
|
-
targettedProperty: string;
|
|
326
|
-
};
|
|
327
|
-
export declare const exampleConditionBooleanIsNotFalse: {
|
|
328
|
-
conditionType: "TRUE" | "FALSE";
|
|
329
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
330
|
-
targettedProperty: string;
|
|
331
|
-
};
|
|
332
|
-
export declare const exampleConditionIsEmpty: {
|
|
333
|
-
conditionType: "EMPTY";
|
|
334
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
335
|
-
targettedProperty: string;
|
|
336
|
-
};
|
|
337
|
-
export declare const exampleConditionIsNotEmpty: {
|
|
338
|
-
conditionType: "EMPTY";
|
|
339
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
340
|
-
targettedProperty: string;
|
|
341
|
-
};
|
|
342
|
-
export declare const exampleConditionSpecialIsPattern: {
|
|
343
|
-
conditionType: "PATTERN";
|
|
344
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
345
|
-
targettedProperty: string;
|
|
346
|
-
conditionValue: string;
|
|
347
|
-
};
|
|
348
|
-
export declare const exampleConditionSpecialIsNotPattern: {
|
|
349
|
-
conditionType: "PATTERN";
|
|
350
|
-
conditionTypeQualifier: "IS" | "IS_NOT";
|
|
351
|
-
targettedProperty: string;
|
|
352
|
-
conditionValue: string;
|
|
353
|
-
};
|
|
1
|
+
import { IConditionBoolean, IConditionContains, IConditionEmpty, IConditionEquality, IConditionNull, IConditionRange, IConditionShareRule, IConditionSpecial, IConditionStartsEndsWith, IShareRule } from '@degenerate/generic';
|
|
2
|
+
export declare const exampleConditionTypeOfIsNumber: import("@degenerate/generic").IConditionTypeOf;
|
|
3
|
+
export declare const exampleConditionTypeOfIsNotNumber: import("@degenerate/generic").IConditionTypeOf;
|
|
4
|
+
export declare const exampleConditionTypeOfIsString: import("@degenerate/generic").IConditionTypeOf;
|
|
5
|
+
export declare const exampleConditionTypeOfIsNotString: import("@degenerate/generic").IConditionTypeOf;
|
|
6
|
+
export declare const exampleConditionTypeOfIsBoolean: import("@degenerate/generic").IConditionTypeOf;
|
|
7
|
+
export declare const exampleConditionTypeOfIsNotBoolean: import("@degenerate/generic").IConditionTypeOf;
|
|
8
|
+
export declare const exampleConditionTypeOfIsObject: import("@degenerate/generic").IConditionTypeOf;
|
|
9
|
+
export declare const exampleConditionTypeOfIsNotObject: import("@degenerate/generic").IConditionTypeOf;
|
|
10
|
+
export declare const exampleConditionTypeOfIsInteger: import("@degenerate/generic").IConditionTypeOf;
|
|
11
|
+
export declare const exampleConditionTypeOfIsNotInteger: import("@degenerate/generic").IConditionTypeOf;
|
|
12
|
+
export declare const exampleConditionTypeOfIsArray: import("@degenerate/generic").IConditionTypeOf;
|
|
13
|
+
export declare const exampleConditionTypeOfIsNotArray: import("@degenerate/generic").IConditionTypeOf;
|
|
14
|
+
export declare const exampleConditionTypeOfIsNull: import("@degenerate/generic").IConditionTypeOf;
|
|
15
|
+
export declare const exampleConditionTypeOfIsNotNull: import("@degenerate/generic").IConditionTypeOf;
|
|
16
|
+
export declare const exampleConditionTypeOfIsUndefined: import("@degenerate/generic").IConditionTypeOf;
|
|
17
|
+
export declare const exampleConditionTypeOfIsNotUndefined: import("@degenerate/generic").IConditionTypeOf;
|
|
18
|
+
export declare const exampleConditionTypeOfIsFunction: import("@degenerate/generic").IConditionTypeOf;
|
|
19
|
+
export declare const exampleConditionTypeOfIsNotFunction: import("@degenerate/generic").IConditionTypeOf;
|
|
20
|
+
export declare const exampleConditionTypeOfIsBigInt: import("@degenerate/generic").IConditionTypeOf;
|
|
21
|
+
export declare const exampleConditionTypeOfIsNotBigInt: import("@degenerate/generic").IConditionTypeOf;
|
|
22
|
+
export declare const exampleConditionEqualityIs100: IConditionEquality;
|
|
23
|
+
export declare const exampleConditionEqualityIsNotNewYork: IConditionEquality;
|
|
24
|
+
export declare const exampleConditionEqualityIs200: IConditionEquality;
|
|
25
|
+
export declare const exampleConditionEqualityIsNotAdmin: IConditionEquality;
|
|
26
|
+
export declare const exampleConditionRangeIsGreaterThan100: IConditionRange;
|
|
27
|
+
export declare const exampleConditionRangeIsNotGreaterThan100: IConditionRange;
|
|
28
|
+
export declare const exampleConditionRangeIsLessThan200: IConditionRange;
|
|
29
|
+
export declare const exampleConditionRangeIsNotLessThan200: IConditionRange;
|
|
30
|
+
export declare const exampleConditionRangeIsGreaterThanOrEqual100: IConditionRange;
|
|
31
|
+
export declare const exampleConditionRangeIsNotGreaterThanOrEqual100: IConditionRange;
|
|
32
|
+
export declare const exampleConditionRangeIsLessThanOrEqual200: IConditionRange;
|
|
33
|
+
export declare const exampleConditionRangeIsNotLessThanOrEqual200: IConditionRange;
|
|
34
|
+
export declare const exampleConditionRangeIsGreaterThanH: IConditionRange;
|
|
35
|
+
export declare const exampleConditionRangeIsNotGreaterThanH: IConditionRange;
|
|
36
|
+
export declare const exampleConditionRangeIsLessThanY: IConditionRange;
|
|
37
|
+
export declare const exampleConditionRangeIsNotLessThanY: IConditionRange;
|
|
38
|
+
export declare const exampleConditionRangeIsGreaterThanOrEqualH: IConditionRange;
|
|
39
|
+
export declare const exampleConditionRangeIsNotGreaterThanOrEqualH: IConditionRange;
|
|
40
|
+
export declare const exampleConditionRangeIsLessThanOrEqualY: IConditionRange;
|
|
41
|
+
export declare const exampleConditionRangeIsNotLessThanOrEqualY: IConditionRange;
|
|
42
|
+
export declare const exampleConditionContainsIsGar: IConditionContains;
|
|
43
|
+
export declare const exampleConditionContainsIsNotGarison: IConditionContains;
|
|
44
|
+
export declare const exampleConditionContainsIsGarCarHap: IConditionContains;
|
|
45
|
+
export declare const exampleConditionContainsIsNotGarCarHap: IConditionContains;
|
|
46
|
+
export declare const exampleConditionContainsIs1135: IConditionContains;
|
|
47
|
+
export declare const exampleConditionContainsIsNot1135: IConditionContains;
|
|
48
|
+
export declare const exampleConditionStartsWithIsCal: IConditionStartsEndsWith;
|
|
49
|
+
export declare const exampleConditionStartsWithIsNotCal: IConditionStartsEndsWith;
|
|
50
|
+
export declare const exampleConditionEndsWithIsGary: IConditionStartsEndsWith;
|
|
51
|
+
export declare const exampleConditionEndsWithIsNotGary: IConditionStartsEndsWith;
|
|
52
|
+
export declare const exampleConditionIsNull: IConditionNull;
|
|
53
|
+
export declare const exampleConditionIsNotNull: IConditionNull;
|
|
54
|
+
export declare const exampleConditionBooleanIsTrue: IConditionBoolean;
|
|
55
|
+
export declare const exampleConditionBooleanIsNotTrue: IConditionBoolean;
|
|
56
|
+
export declare const exampleConditionBooleanIsFalse: IConditionBoolean;
|
|
57
|
+
export declare const exampleConditionBooleanIsNotFalse: IConditionBoolean;
|
|
58
|
+
export declare const exampleConditionIsEmpty: IConditionEmpty;
|
|
59
|
+
export declare const exampleConditionIsNotEmpty: IConditionEmpty;
|
|
60
|
+
export declare const exampleConditionSpecialIsPattern: IConditionSpecial;
|
|
61
|
+
export declare const exampleConditionSpecialIsNotPattern: IConditionSpecial;
|
|
354
62
|
export declare const nestedShareRule: IShareRule;
|
|
355
63
|
export declare const exampleConditionIsShareRule: IConditionShareRule;
|
|
356
64
|
export declare const exampleConditionIsNotShareRule: IConditionShareRule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-conditions.test-data.d.ts","sourceRoot":"","sources":["../../../src/__testdata__/conditions/current-conditions.test-data.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"current-conditions.test-data.d.ts","sourceRoot":"","sources":["../../../src/__testdata__/conditions/current-conditions.test-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAQH,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACxB,UAAU,EACb,MAAM,qBAAqB,CAAC;AAc7B,eAAO,MAAM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M,mCAAmC,mBAA8H,CAAC;AAM/K,eAAO,MAAM,eAAe,EAAE,UAkB7B,CAAC;AAEF,eAAO,MAAM,2BAA2B,qBAA+D,CAAC;AACxG,eAAO,MAAM,8BAA8B,qBAA8F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.test-data.d.ts","sourceRoot":"","sources":["../../../src/__testdata__/rules/rules.test-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,aAAa,EAEhB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"rules.test-data.d.ts","sourceRoot":"","sources":["../../../src/__testdata__/rules/rules.test-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,aAAa,EAEhB,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,oBAAoB,EAAE,UASlC,CAAA;AACD,eAAO,MAAM,gBAAgB,EAAE,iBAU9B,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAStC,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,iBAWxC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,iBAW9B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,iBAazC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,iBAU9B,CAAC;AAmBF,eAAO,MAAM,mBAAmB,EAAE,eAGjC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,eAGrC,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,eAGrC,CAAA;AA2FD,eAAO,MAAM,iBAAiB,EAAE,aAM/B,CAAA;AAMD,eAAO,MAAM,aAAa,EAAE,iBAU3B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,iBAWvB,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,iBAW3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,iBAU3B,CAAC;AAMF,eAAO,MAAM,mBAAmB,EAAE,iBASjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAShC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBASjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAShC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBASjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAShC,CAAC;AAIF,eAAO,MAAM,kBAAkB,EAAE,iBAchC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAehC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAchC,CAAC;AAeF,eAAO,MAAM,sBAAsB,EAAE,UAkBpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boolean-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/boolean-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"boolean-conditions.d.ts","sourceRoot":"","sources":["../../../src/evaluation/conditions/boolean-conditions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACH,oBAAoB,EACpB,sBAAsB,EAEzB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,cAAe,OAAO,iBAAiB,oBAAoB,0BACxD,sBAAsB,KAAG,OAYpD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@degenerate/rules",
|
|
3
3
|
"description": "This contains the rules information needed for the ShareData Adaptive Framework Ecosystem (SAFE) network.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.13",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"devDependencies": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"homepage": "https://github.com/syncrude/safe#readme",
|
|
36
36
|
"author": "Degenerate Inc.",
|
|
37
37
|
"license": "ISC",
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "0990266ef08bdd4c58971492f779b086aa621a37",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@degenerate/generic": "^0.1.
|
|
40
|
+
"@degenerate/generic": "^0.1.13"
|
|
41
41
|
}
|
|
42
42
|
}
|