quetch 0.28.1 → 0.29.0
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/tools/filterChildren.js +3 -3
- package/dist/tools/filterChildren.js.map +1 -1
- package/dist/tools/testFilter.js +0 -16
- package/dist/tools/testFilter.js.map +1 -1
- package/dist/types/Filter.d.ts +1 -2
- package/dist/types/FilterChildren.d.ts +2 -2
- package/dist/types/IntrinsicFilter.d.ts +1 -1
- package/dist/types/QuerySettings.d.ts +0 -8
- package/dist/types.d.ts +0 -1
- package/doc/README.md +0 -1
- package/doc/classes/RequestError.md +5 -5
- package/doc/functions/aggregate.md +1 -1
- package/doc/functions/branch.md +1 -1
- package/doc/functions/cache.md +1 -1
- package/doc/functions/combine.md +1 -1
- package/doc/functions/cork.md +1 -1
- package/doc/functions/defineCheckQuery.md +1 -1
- package/doc/functions/defineCustomFetch.md +1 -1
- package/doc/functions/defineGenericFetch.md +1 -1
- package/doc/functions/escapeRegex.md +1 -1
- package/doc/functions/fetchExternal.md +1 -1
- package/doc/functions/fetchLocal.md +1 -1
- package/doc/functions/fieldListFromFilter.md +1 -1
- package/doc/functions/filterChildren.md +2 -2
- package/doc/functions/filterFromValue.md +1 -1
- package/doc/functions/get.md +1 -1
- package/doc/functions/groupFilters.md +1 -1
- package/doc/functions/identity.md +1 -1
- package/doc/functions/isFilterGroup.md +1 -1
- package/doc/functions/log.md +1 -1
- package/doc/functions/normalizeOrder.md +1 -1
- package/doc/functions/queryItemList.md +1 -1
- package/doc/functions/retry.md +1 -1
- package/doc/functions/reverseOrder.md +1 -1
- package/doc/functions/sameField.md +1 -1
- package/doc/functions/sortItemList.md +1 -1
- package/doc/functions/splitPath.md +2 -2
- package/doc/functions/testFilter.md +1 -1
- package/doc/interfaces/CustomFetch.md +1 -1
- package/doc/type-aliases/AggregateFunction.md +1 -1
- package/doc/type-aliases/AggregateFunctionOperator.md +1 -1
- package/doc/type-aliases/CombineUnion.md +1 -1
- package/doc/type-aliases/Context.md +1 -1
- package/doc/type-aliases/CustomFieldAggregateMap.md +1 -1
- package/doc/type-aliases/CustomFieldMap.md +1 -1
- package/doc/type-aliases/Field.md +1 -1
- package/doc/type-aliases/FieldFiltered.md +1 -1
- package/doc/type-aliases/FieldFunction.md +1 -1
- package/doc/type-aliases/FieldFunctionCustom.md +1 -1
- package/doc/type-aliases/FieldFunctionFormatDate.md +1 -1
- package/doc/type-aliases/FieldFunctionReturn.md +1 -1
- package/doc/type-aliases/FieldKey.md +1 -1
- package/doc/type-aliases/FieldMap.md +1 -1
- package/doc/type-aliases/Filter.md +2 -2
- package/doc/type-aliases/FilterArray.md +1 -1
- package/doc/type-aliases/FilterBoolean.md +1 -1
- package/doc/type-aliases/FilterChildren.md +3 -3
- package/doc/type-aliases/FilterCustom.md +1 -1
- package/doc/type-aliases/FilterField.md +1 -1
- package/doc/type-aliases/FilterGroup.md +1 -1
- package/doc/type-aliases/FilterNumber.md +1 -1
- package/doc/type-aliases/FilterOperator.md +1 -1
- package/doc/type-aliases/FilterString.md +1 -1
- package/doc/type-aliases/FilterStringIntersect.md +1 -1
- package/doc/type-aliases/FilterStringMatch.md +1 -1
- package/doc/type-aliases/Get.md +1 -1
- package/doc/type-aliases/Group.md +1 -1
- package/doc/type-aliases/Handler.md +1 -1
- package/doc/type-aliases/Immutable.md +1 -1
- package/doc/type-aliases/Increment.md +1 -1
- package/doc/type-aliases/InjectCustomFields.md +1 -1
- package/doc/type-aliases/IntersectUnion.md +1 -1
- package/doc/type-aliases/IntrinsicFilter.md +1 -1
- package/doc/type-aliases/Item.md +1 -1
- package/doc/type-aliases/Join.md +1 -1
- package/doc/type-aliases/Key.md +1 -1
- package/doc/type-aliases/KeyFiltered.md +1 -1
- package/doc/type-aliases/KeyFromUnion.md +1 -1
- package/doc/type-aliases/Locale.md +1 -1
- package/doc/type-aliases/NextHandler.md +1 -1
- package/doc/type-aliases/Order.md +1 -1
- package/doc/type-aliases/OrderNormalized.md +1 -1
- package/doc/type-aliases/Parameters.md +1 -1
- package/doc/type-aliases/Path.md +1 -1
- package/doc/type-aliases/PathFiltered.md +1 -1
- package/doc/type-aliases/Primitive.md +1 -1
- package/doc/type-aliases/PrimitiveObject.md +1 -1
- package/doc/type-aliases/Query.md +1 -1
- package/doc/type-aliases/QueryAggregate.md +1 -1
- package/doc/type-aliases/QueryCreate.md +1 -1
- package/doc/type-aliases/QueryCreateMultiple.md +1 -1
- package/doc/type-aliases/QueryDelete.md +1 -1
- package/doc/type-aliases/QueryDeleteMultiple.md +1 -1
- package/doc/type-aliases/QueryMethod.md +1 -1
- package/doc/type-aliases/QueryRead.md +1 -1
- package/doc/type-aliases/QueryReadMultiple.md +1 -1
- package/doc/type-aliases/QuerySettings.md +1 -17
- package/doc/type-aliases/QueryUpdate.md +1 -1
- package/doc/type-aliases/QueryUpdateMultiple.md +1 -1
- package/doc/type-aliases/Result.md +1 -1
- package/doc/type-aliases/Store.md +1 -1
- package/doc/type-aliases/Value.md +1 -1
- package/doc/type-aliases/ValueMap.md +1 -1
- package/doc/variables/CACHE.md +1 -1
- package/doc/variables/FILTER_ANY.md +1 -1
- package/doc/variables/FILTER_NONE.md +1 -1
- package/doc/variables/SELF.md +1 -1
- package/lib/tools/filterChildren.ts +3 -3
- package/lib/tools/testFilter.test.ts +6 -51
- package/lib/tools/testFilter.ts +0 -16
- package/lib/types/Filter.ts +0 -2
- package/lib/types/FilterChildren.ts +2 -2
- package/lib/types/IntrinsicFilter.ts +1 -1
- package/lib/types/QuerySettings.ts +0 -8
- package/lib/types.ts +0 -1
- package/package.json +1 -1
- package/dist/types/FilterContext.d.ts +0 -11
- package/dist/types/FilterContext.js +0 -1
- package/dist/types/FilterContext.js.map +0 -1
- package/doc/type-aliases/FilterContext.md +0 -33
- package/lib/types/FilterContext.ts +0 -13
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CACHE } from "../constants/CACHE.js";
|
|
2
|
-
import type { Context } from "./Context";
|
|
3
|
-
import type { IntrinsicFilter } from "./IntrinsicFilter.js";
|
|
4
|
-
/**
|
|
5
|
-
* Matches items identified by their context.
|
|
6
|
-
*/
|
|
7
|
-
export type FilterContext<T> = {
|
|
8
|
-
operator: "is" | "notIs";
|
|
9
|
-
value: Context<T>;
|
|
10
|
-
[CACHE]?: IntrinsicFilter<T>;
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=FilterContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FilterContext.js","sourceRoot":"","sources":["../../lib/types/FilterContext.ts"],"names":[],"mappings":""}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
[**quetch**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[quetch](../README.md) / FilterContext
|
|
6
|
-
|
|
7
|
-
# Type Alias: FilterContext\<T\>
|
|
8
|
-
|
|
9
|
-
> **FilterContext**\<`T`\>: `object`
|
|
10
|
-
|
|
11
|
-
Matches items identified by their context.
|
|
12
|
-
|
|
13
|
-
## Type Parameters
|
|
14
|
-
|
|
15
|
-
• **T**
|
|
16
|
-
|
|
17
|
-
## Type declaration
|
|
18
|
-
|
|
19
|
-
### \[CACHE\]?
|
|
20
|
-
|
|
21
|
-
> `optional` **\[CACHE\]**: [`IntrinsicFilter`](IntrinsicFilter.md)\<`T`\>
|
|
22
|
-
|
|
23
|
-
### operator
|
|
24
|
-
|
|
25
|
-
> **operator**: `"is"` \| `"notIs"`
|
|
26
|
-
|
|
27
|
-
### value
|
|
28
|
-
|
|
29
|
-
> **value**: [`Context`](Context.md)\<`T`\>
|
|
30
|
-
|
|
31
|
-
## Defined in
|
|
32
|
-
|
|
33
|
-
[lib/types/FilterContext.ts:9](https://github.com/nevoland/quetch/blob/78e51f8989e150bad7c9687ad573f6d1f074683e/lib/types/FilterContext.ts#L9)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CACHE } from "../constants/CACHE.js";
|
|
2
|
-
|
|
3
|
-
import type { Context } from "./Context";
|
|
4
|
-
import type { IntrinsicFilter } from "./IntrinsicFilter.js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Matches items identified by their context.
|
|
8
|
-
*/
|
|
9
|
-
export type FilterContext<T> = {
|
|
10
|
-
operator: "is" | "notIs";
|
|
11
|
-
value: Context<T>;
|
|
12
|
-
[CACHE]?: IntrinsicFilter<T>;
|
|
13
|
-
};
|