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.
Files changed (121) hide show
  1. package/dist/tools/filterChildren.js +3 -3
  2. package/dist/tools/filterChildren.js.map +1 -1
  3. package/dist/tools/testFilter.js +0 -16
  4. package/dist/tools/testFilter.js.map +1 -1
  5. package/dist/types/Filter.d.ts +1 -2
  6. package/dist/types/FilterChildren.d.ts +2 -2
  7. package/dist/types/IntrinsicFilter.d.ts +1 -1
  8. package/dist/types/QuerySettings.d.ts +0 -8
  9. package/dist/types.d.ts +0 -1
  10. package/doc/README.md +0 -1
  11. package/doc/classes/RequestError.md +5 -5
  12. package/doc/functions/aggregate.md +1 -1
  13. package/doc/functions/branch.md +1 -1
  14. package/doc/functions/cache.md +1 -1
  15. package/doc/functions/combine.md +1 -1
  16. package/doc/functions/cork.md +1 -1
  17. package/doc/functions/defineCheckQuery.md +1 -1
  18. package/doc/functions/defineCustomFetch.md +1 -1
  19. package/doc/functions/defineGenericFetch.md +1 -1
  20. package/doc/functions/escapeRegex.md +1 -1
  21. package/doc/functions/fetchExternal.md +1 -1
  22. package/doc/functions/fetchLocal.md +1 -1
  23. package/doc/functions/fieldListFromFilter.md +1 -1
  24. package/doc/functions/filterChildren.md +2 -2
  25. package/doc/functions/filterFromValue.md +1 -1
  26. package/doc/functions/get.md +1 -1
  27. package/doc/functions/groupFilters.md +1 -1
  28. package/doc/functions/identity.md +1 -1
  29. package/doc/functions/isFilterGroup.md +1 -1
  30. package/doc/functions/log.md +1 -1
  31. package/doc/functions/normalizeOrder.md +1 -1
  32. package/doc/functions/queryItemList.md +1 -1
  33. package/doc/functions/retry.md +1 -1
  34. package/doc/functions/reverseOrder.md +1 -1
  35. package/doc/functions/sameField.md +1 -1
  36. package/doc/functions/sortItemList.md +1 -1
  37. package/doc/functions/splitPath.md +2 -2
  38. package/doc/functions/testFilter.md +1 -1
  39. package/doc/interfaces/CustomFetch.md +1 -1
  40. package/doc/type-aliases/AggregateFunction.md +1 -1
  41. package/doc/type-aliases/AggregateFunctionOperator.md +1 -1
  42. package/doc/type-aliases/CombineUnion.md +1 -1
  43. package/doc/type-aliases/Context.md +1 -1
  44. package/doc/type-aliases/CustomFieldAggregateMap.md +1 -1
  45. package/doc/type-aliases/CustomFieldMap.md +1 -1
  46. package/doc/type-aliases/Field.md +1 -1
  47. package/doc/type-aliases/FieldFiltered.md +1 -1
  48. package/doc/type-aliases/FieldFunction.md +1 -1
  49. package/doc/type-aliases/FieldFunctionCustom.md +1 -1
  50. package/doc/type-aliases/FieldFunctionFormatDate.md +1 -1
  51. package/doc/type-aliases/FieldFunctionReturn.md +1 -1
  52. package/doc/type-aliases/FieldKey.md +1 -1
  53. package/doc/type-aliases/FieldMap.md +1 -1
  54. package/doc/type-aliases/Filter.md +2 -2
  55. package/doc/type-aliases/FilterArray.md +1 -1
  56. package/doc/type-aliases/FilterBoolean.md +1 -1
  57. package/doc/type-aliases/FilterChildren.md +3 -3
  58. package/doc/type-aliases/FilterCustom.md +1 -1
  59. package/doc/type-aliases/FilterField.md +1 -1
  60. package/doc/type-aliases/FilterGroup.md +1 -1
  61. package/doc/type-aliases/FilterNumber.md +1 -1
  62. package/doc/type-aliases/FilterOperator.md +1 -1
  63. package/doc/type-aliases/FilterString.md +1 -1
  64. package/doc/type-aliases/FilterStringIntersect.md +1 -1
  65. package/doc/type-aliases/FilterStringMatch.md +1 -1
  66. package/doc/type-aliases/Get.md +1 -1
  67. package/doc/type-aliases/Group.md +1 -1
  68. package/doc/type-aliases/Handler.md +1 -1
  69. package/doc/type-aliases/Immutable.md +1 -1
  70. package/doc/type-aliases/Increment.md +1 -1
  71. package/doc/type-aliases/InjectCustomFields.md +1 -1
  72. package/doc/type-aliases/IntersectUnion.md +1 -1
  73. package/doc/type-aliases/IntrinsicFilter.md +1 -1
  74. package/doc/type-aliases/Item.md +1 -1
  75. package/doc/type-aliases/Join.md +1 -1
  76. package/doc/type-aliases/Key.md +1 -1
  77. package/doc/type-aliases/KeyFiltered.md +1 -1
  78. package/doc/type-aliases/KeyFromUnion.md +1 -1
  79. package/doc/type-aliases/Locale.md +1 -1
  80. package/doc/type-aliases/NextHandler.md +1 -1
  81. package/doc/type-aliases/Order.md +1 -1
  82. package/doc/type-aliases/OrderNormalized.md +1 -1
  83. package/doc/type-aliases/Parameters.md +1 -1
  84. package/doc/type-aliases/Path.md +1 -1
  85. package/doc/type-aliases/PathFiltered.md +1 -1
  86. package/doc/type-aliases/Primitive.md +1 -1
  87. package/doc/type-aliases/PrimitiveObject.md +1 -1
  88. package/doc/type-aliases/Query.md +1 -1
  89. package/doc/type-aliases/QueryAggregate.md +1 -1
  90. package/doc/type-aliases/QueryCreate.md +1 -1
  91. package/doc/type-aliases/QueryCreateMultiple.md +1 -1
  92. package/doc/type-aliases/QueryDelete.md +1 -1
  93. package/doc/type-aliases/QueryDeleteMultiple.md +1 -1
  94. package/doc/type-aliases/QueryMethod.md +1 -1
  95. package/doc/type-aliases/QueryRead.md +1 -1
  96. package/doc/type-aliases/QueryReadMultiple.md +1 -1
  97. package/doc/type-aliases/QuerySettings.md +1 -17
  98. package/doc/type-aliases/QueryUpdate.md +1 -1
  99. package/doc/type-aliases/QueryUpdateMultiple.md +1 -1
  100. package/doc/type-aliases/Result.md +1 -1
  101. package/doc/type-aliases/Store.md +1 -1
  102. package/doc/type-aliases/Value.md +1 -1
  103. package/doc/type-aliases/ValueMap.md +1 -1
  104. package/doc/variables/CACHE.md +1 -1
  105. package/doc/variables/FILTER_ANY.md +1 -1
  106. package/doc/variables/FILTER_NONE.md +1 -1
  107. package/doc/variables/SELF.md +1 -1
  108. package/lib/tools/filterChildren.ts +3 -3
  109. package/lib/tools/testFilter.test.ts +6 -51
  110. package/lib/tools/testFilter.ts +0 -16
  111. package/lib/types/Filter.ts +0 -2
  112. package/lib/types/FilterChildren.ts +2 -2
  113. package/lib/types/IntrinsicFilter.ts +1 -1
  114. package/lib/types/QuerySettings.ts +0 -8
  115. package/lib/types.ts +0 -1
  116. package/package.json +1 -1
  117. package/dist/types/FilterContext.d.ts +0 -11
  118. package/dist/types/FilterContext.js +0 -1
  119. package/dist/types/FilterContext.js.map +0 -1
  120. package/doc/type-aliases/FilterContext.md +0 -33
  121. 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
- };