quetch 0.16.1 → 0.16.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.
Files changed (86) hide show
  1. package/dist/tools/testFilter.js +2 -2
  2. package/doc/classes/RequestError.md +5 -5
  3. package/doc/functions/aggregate.md +1 -1
  4. package/doc/functions/branch.md +1 -1
  5. package/doc/functions/cache.md +1 -1
  6. package/doc/functions/combine.md +1 -1
  7. package/doc/functions/cork.md +1 -1
  8. package/doc/functions/defineCheckQuery.md +1 -1
  9. package/doc/functions/defineCustomFetch.md +1 -1
  10. package/doc/functions/defineGenericFetch.md +1 -1
  11. package/doc/functions/escapeRegex.md +1 -1
  12. package/doc/functions/fetchExternal.md +1 -1
  13. package/doc/functions/fetchLocal.md +1 -1
  14. package/doc/functions/fieldListFromFilter.md +1 -1
  15. package/doc/functions/filterChildren.md +1 -1
  16. package/doc/functions/filterFromContext.md +1 -1
  17. package/doc/functions/get.md +1 -1
  18. package/doc/functions/identity.md +1 -1
  19. package/doc/functions/isFilterGroup.md +1 -1
  20. package/doc/functions/log.md +1 -1
  21. package/doc/functions/normalizeOrder.md +1 -1
  22. package/doc/functions/queryItemList.md +1 -1
  23. package/doc/functions/retry.md +1 -1
  24. package/doc/functions/reverseOrder.md +1 -1
  25. package/doc/functions/sortItemList.md +1 -1
  26. package/doc/functions/testFilter.md +1 -1
  27. package/doc/interfaces/CustomFetch.md +1 -1
  28. package/doc/type-aliases/AggregateFunction.md +2 -2
  29. package/doc/type-aliases/AggregateFunctionOperator.md +1 -1
  30. package/doc/type-aliases/Any.md +1 -1
  31. package/doc/type-aliases/Context.md +1 -1
  32. package/doc/type-aliases/CustomFieldAggregateMap.md +1 -1
  33. package/doc/type-aliases/CustomFieldMap.md +1 -1
  34. package/doc/type-aliases/Field.md +1 -1
  35. package/doc/type-aliases/FieldFiltered.md +1 -1
  36. package/doc/type-aliases/FieldFunction.md +1 -1
  37. package/doc/type-aliases/FieldFunctionCustom.md +1 -1
  38. package/doc/type-aliases/FieldFunctionFormatDate.md +1 -1
  39. package/doc/type-aliases/FieldFunctionReturn.md +1 -1
  40. package/doc/type-aliases/Filter.md +1 -1
  41. package/doc/type-aliases/FilterArray.md +1 -1
  42. package/doc/type-aliases/FilterBoolean.md +1 -1
  43. package/doc/type-aliases/FilterChildren.md +1 -1
  44. package/doc/type-aliases/FilterCustom.md +1 -1
  45. package/doc/type-aliases/FilterField.md +1 -1
  46. package/doc/type-aliases/FilterGroup.md +1 -1
  47. package/doc/type-aliases/FilterNumber.md +1 -1
  48. package/doc/type-aliases/FilterOperator.md +1 -1
  49. package/doc/type-aliases/FilterString.md +1 -1
  50. package/doc/type-aliases/FilterStringIntersect.md +1 -1
  51. package/doc/type-aliases/FilterStringMatch.md +1 -1
  52. package/doc/type-aliases/Get.md +1 -1
  53. package/doc/type-aliases/Group.md +1 -1
  54. package/doc/type-aliases/Handler.md +1 -1
  55. package/doc/type-aliases/Immutable.md +1 -1
  56. package/doc/type-aliases/Increment.md +1 -1
  57. package/doc/type-aliases/InjectCustomFields.md +1 -1
  58. package/doc/type-aliases/Item.md +1 -1
  59. package/doc/type-aliases/Join.md +1 -1
  60. package/doc/type-aliases/Key.md +1 -1
  61. package/doc/type-aliases/KeyFiltered.md +1 -1
  62. package/doc/type-aliases/Locale.md +1 -1
  63. package/doc/type-aliases/Mutable.md +1 -1
  64. package/doc/type-aliases/NextHandler.md +1 -1
  65. package/doc/type-aliases/Order.md +1 -1
  66. package/doc/type-aliases/Parameters.md +1 -1
  67. package/doc/type-aliases/Path.md +1 -1
  68. package/doc/type-aliases/PathFiltered.md +1 -1
  69. package/doc/type-aliases/Query.md +1 -1
  70. package/doc/type-aliases/QueryAggregate.md +1 -1
  71. package/doc/type-aliases/QueryCreate.md +1 -1
  72. package/doc/type-aliases/QueryCreateMultiple.md +1 -1
  73. package/doc/type-aliases/QueryDelete.md +1 -1
  74. package/doc/type-aliases/QueryDeleteMultiple.md +1 -1
  75. package/doc/type-aliases/QueryMethod.md +1 -1
  76. package/doc/type-aliases/QueryRead.md +1 -1
  77. package/doc/type-aliases/QueryReadMultiple.md +1 -1
  78. package/doc/type-aliases/QuerySettings.md +1 -1
  79. package/doc/type-aliases/QueryUpdate.md +1 -1
  80. package/doc/type-aliases/QueryUpdateMultiple.md +1 -1
  81. package/doc/type-aliases/Result.md +1 -1
  82. package/doc/type-aliases/Store.md +1 -1
  83. package/doc/type-aliases/Value.md +1 -1
  84. package/lib/tools/testFilter.test.ts +11 -0
  85. package/lib/tools/testFilter.ts +2 -2
  86. package/package.json +1 -1
@@ -99,7 +99,7 @@ export function testFilter(filter, value, settings) {
99
99
  return false;
100
100
  }
101
101
  if (filter.options !== undefined || filter.locale !== undefined) {
102
- return (rightValue.localeCompare(leftValue.slice(0, rightValue.length), filter.locale, filter.options) !== 0);
102
+ return (rightValue.localeCompare(leftValue.slice(0, rightValue.length), filter.locale, filter.options) === 0);
103
103
  }
104
104
  return leftValue.startsWith(rightValue) ?? false;
105
105
  }
@@ -110,7 +110,7 @@ export function testFilter(filter, value, settings) {
110
110
  return false;
111
111
  }
112
112
  if (filter.options !== undefined || filter.locale !== undefined) {
113
- return (rightValue.localeCompare(leftValue.slice(-rightValue.length), filter.locale, filter.options) !== 0);
113
+ return (rightValue.localeCompare(leftValue.slice(-rightValue.length), filter.locale, filter.options) === 0);
114
114
  }
115
115
  return leftValue.endsWith(rightValue) ?? false;
116
116
  }
@@ -40,7 +40,7 @@ Error to be thrown in case there is an issue with the query call. Only instances
40
40
 
41
41
  #### Defined in
42
42
 
43
- [lib/errors/RequestError.ts:7](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/errors/RequestError.ts#L7)
43
+ [lib/errors/RequestError.ts:7](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/errors/RequestError.ts#L7)
44
44
 
45
45
  ## Properties
46
46
 
@@ -50,7 +50,7 @@ Error to be thrown in case there is an issue with the query call. Only instances
50
50
 
51
51
  #### Defined in
52
52
 
53
- [lib/errors/RequestError.ts:10](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/errors/RequestError.ts#L10)
53
+ [lib/errors/RequestError.ts:10](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/errors/RequestError.ts#L10)
54
54
 
55
55
  ***
56
56
 
@@ -60,7 +60,7 @@ Error to be thrown in case there is an issue with the query call. Only instances
60
60
 
61
61
  #### Defined in
62
62
 
63
- [lib/errors/RequestError.ts:11](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/errors/RequestError.ts#L11)
63
+ [lib/errors/RequestError.ts:11](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/errors/RequestError.ts#L11)
64
64
 
65
65
  ***
66
66
 
@@ -70,7 +70,7 @@ Error to be thrown in case there is an issue with the query call. Only instances
70
70
 
71
71
  #### Defined in
72
72
 
73
- [lib/errors/RequestError.ts:12](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/errors/RequestError.ts#L12)
73
+ [lib/errors/RequestError.ts:12](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/errors/RequestError.ts#L12)
74
74
 
75
75
  ***
76
76
 
@@ -80,4 +80,4 @@ Error to be thrown in case there is an issue with the query call. Only instances
80
80
 
81
81
  #### Defined in
82
82
 
83
- [lib/errors/RequestError.ts:9](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/errors/RequestError.ts#L9)
83
+ [lib/errors/RequestError.ts:9](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/errors/RequestError.ts#L9)
@@ -46,4 +46,4 @@ If a query occurs twice, `mergeQuery(query, currentQuery)` is called and the out
46
46
 
47
47
  ## Defined in
48
48
 
49
- [lib/middlewares/aggregate.ts:16](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/aggregate.ts#L16)
49
+ [lib/middlewares/aggregate.ts:16](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/aggregate.ts#L16)
@@ -43,4 +43,4 @@ const customFetch = combine(
43
43
 
44
44
  ## Defined in
45
45
 
46
- [lib/middlewares/branch.ts:21](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/branch.ts#L21)
46
+ [lib/middlewares/branch.ts:21](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/branch.ts#L21)
@@ -56,4 +56,4 @@ Cache store.
56
56
 
57
57
  ## Defined in
58
58
 
59
- [lib/middlewares/cache.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/cache.ts#L8)
59
+ [lib/middlewares/cache.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/cache.ts#L8)
@@ -114,4 +114,4 @@ Handler that combines all provided handlers.
114
114
 
115
115
  ## Defined in
116
116
 
117
- [lib/middlewares/combine.ts:801](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/combine.ts#L801)
117
+ [lib/middlewares/combine.ts:801](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/combine.ts#L801)
@@ -20,4 +20,4 @@ Uncallable handler used to terminate a sequence of handlers combined with `combi
20
20
 
21
21
  ## Defined in
22
22
 
23
- [lib/tools/cork.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/cork.ts#L6)
23
+ [lib/tools/cork.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/cork.ts#L6)
@@ -52,4 +52,4 @@ Function that checks queries.
52
52
 
53
53
  ## Defined in
54
54
 
55
- [lib/tools/defineCheckQuery.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/defineCheckQuery.ts#L8)
55
+ [lib/tools/defineCheckQuery.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/defineCheckQuery.ts#L8)
@@ -60,4 +60,4 @@ A custom fetch function.
60
60
 
61
61
  ## Defined in
62
62
 
63
- [lib/tools/defineCustomFetch.ts:11](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/defineCustomFetch.ts#L11)
63
+ [lib/tools/defineCustomFetch.ts:11](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/defineCustomFetch.ts#L11)
@@ -51,4 +51,4 @@ A curried generic fetch function.
51
51
 
52
52
  ## Defined in
53
53
 
54
- [lib/tools/defineGenericFetch.ts:14](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/defineGenericFetch.ts#L14)
54
+ [lib/tools/defineGenericFetch.ts:14](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/defineGenericFetch.ts#L14)
@@ -24,4 +24,4 @@ Escaped regular expression
24
24
 
25
25
  ## Defined in
26
26
 
27
- [lib/tools/escapeRegex.ts:7](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/escapeRegex.ts#L7)
27
+ [lib/tools/escapeRegex.ts:7](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/escapeRegex.ts#L7)
@@ -24,4 +24,4 @@ Handler that returns a promise that resolves to the response.
24
24
 
25
25
  ## Defined in
26
26
 
27
- [lib/middlewares/fetchExternal.ts:12](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/fetchExternal.ts#L12)
27
+ [lib/middlewares/fetchExternal.ts:12](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/fetchExternal.ts#L12)
@@ -22,4 +22,4 @@ Promise that resolves to the response.
22
22
 
23
23
  ## Defined in
24
24
 
25
- [lib/middlewares/fetchLocal.ts:9](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/fetchLocal.ts#L9)
25
+ [lib/middlewares/fetchLocal.ts:9](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/fetchLocal.ts#L9)
@@ -28,4 +28,4 @@ A list of fields.
28
28
 
29
29
  ## Defined in
30
30
 
31
- [lib/tools/fieldListFromFilter.ts:11](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/fieldListFromFilter.ts#L11)
31
+ [lib/tools/fieldListFromFilter.ts:11](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/fieldListFromFilter.ts#L11)
@@ -28,4 +28,4 @@
28
28
 
29
29
  ## Defined in
30
30
 
31
- [lib/tools/filterChildren.ts:5](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/filterChildren.ts#L5)
31
+ [lib/tools/filterChildren.ts:5](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/filterChildren.ts#L5)
@@ -22,4 +22,4 @@
22
22
 
23
23
  ## Defined in
24
24
 
25
- [lib/tools/filterFromContext.ts:5](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/filterFromContext.ts#L5)
25
+ [lib/tools/filterFromContext.ts:5](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/filterFromContext.ts#L5)
@@ -37,4 +37,4 @@ The property value found at the given path, or `undefined` if it cannot be found
37
37
 
38
38
  ## Defined in
39
39
 
40
- [lib/tools/get.ts:13](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/get.ts#L13)
40
+ [lib/tools/get.ts:13](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/get.ts#L13)
@@ -30,4 +30,4 @@
30
30
 
31
31
  ## Defined in
32
32
 
33
- [lib/middlewares/identity.ts:3](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/identity.ts#L3)
33
+ [lib/middlewares/identity.ts:3](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/identity.ts#L3)
@@ -28,4 +28,4 @@ Whether the provided filter is a group filter or not.
28
28
 
29
29
  ## Defined in
30
30
 
31
- [lib/tools/isFilterGroup.ts:9](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/isFilterGroup.ts#L9)
31
+ [lib/tools/isFilterGroup.ts:9](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/isFilterGroup.ts#L9)
@@ -32,4 +32,4 @@ Query handler
32
32
 
33
33
  ## Defined in
34
34
 
35
- [lib/middlewares/log.ts:13](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/log.ts#L13)
35
+ [lib/middlewares/log.ts:13](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/log.ts#L13)
@@ -36,4 +36,4 @@ The normalized order object.
36
36
 
37
37
  ## Defined in
38
38
 
39
- [lib/tools/normalizeOrder.ts:11](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/normalizeOrder.ts#L11)
39
+ [lib/tools/normalizeOrder.ts:11](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/normalizeOrder.ts#L11)
@@ -30,4 +30,4 @@ The result of the query.
30
30
 
31
31
  ## Defined in
32
32
 
33
- [lib/tools/queryItemList.ts:51](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/queryItemList.ts#L51)
33
+ [lib/tools/queryItemList.ts:48](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/queryItemList.ts#L48)
@@ -30,4 +30,4 @@ Handler
30
30
 
31
31
  ## Defined in
32
32
 
33
- [lib/middlewares/retry.ts:15](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/middlewares/retry.ts#L15)
33
+ [lib/middlewares/retry.ts:15](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/middlewares/retry.ts#L15)
@@ -36,4 +36,4 @@ The reversed order.
36
36
 
37
37
  ## Defined in
38
38
 
39
- [lib/tools/reverseOrder.ts:11](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/reverseOrder.ts#L11)
39
+ [lib/tools/reverseOrder.ts:11](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/reverseOrder.ts#L11)
@@ -32,4 +32,4 @@ A new sorted array.
32
32
 
33
33
  ## Defined in
34
34
 
35
- [lib/tools/sortItemList.ts:13](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/sortItemList.ts#L13)
35
+ [lib/tools/sortItemList.ts:13](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/sortItemList.ts#L13)
@@ -36,4 +36,4 @@ Optional query settings.
36
36
 
37
37
  ## Defined in
38
38
 
39
- [lib/tools/testFilter.ts:28](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/tools/testFilter.ts#L28)
39
+ [lib/tools/testFilter.ts:28](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/tools/testFilter.ts#L28)
@@ -26,4 +26,4 @@
26
26
 
27
27
  ## Defined in
28
28
 
29
- [lib/types/CustomFetch.ts:5](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/CustomFetch.ts#L5)
29
+ [lib/types/CustomFetch.ts:5](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/CustomFetch.ts#L5)
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Type Alias: AggregateFunction\<T\>
8
8
 
9
- > **AggregateFunction**\<`T`\>: `"length"` \| `object` \| `"index"` \| `object` \| `object`
9
+ > **AggregateFunction**\<`T`\>: `"length"` \| `object` \| `object` \| `object`
10
10
 
11
11
  Aggregation function.
12
12
 
@@ -16,4 +16,4 @@ Aggregation function.
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/AggregateFunction.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/AggregateFunction.ts#L6)
19
+ [lib/types/AggregateFunction.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/AggregateFunction.ts#L6)
@@ -10,4 +10,4 @@
10
10
 
11
11
  ## Defined in
12
12
 
13
- [lib/types/AggregateFunctionOperator.ts:3](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/AggregateFunctionOperator.ts#L3)
13
+ [lib/types/AggregateFunctionOperator.ts:3](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/AggregateFunctionOperator.ts#L3)
@@ -10,4 +10,4 @@
10
10
 
11
11
  ## Defined in
12
12
 
13
- [lib/types/Any.ts:1](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Any.ts#L1)
13
+ [lib/types/Any.ts:1](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Any.ts#L1)
@@ -14,4 +14,4 @@
14
14
 
15
15
  ## Defined in
16
16
 
17
- [lib/types/Context.ts:1](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Context.ts#L1)
17
+ [lib/types/Context.ts:1](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Context.ts#L1)
@@ -14,4 +14,4 @@
14
14
 
15
15
  ## Defined in
16
16
 
17
- [lib/types/CustomFieldAggregateMap.ts:3](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/CustomFieldAggregateMap.ts#L3)
17
+ [lib/types/CustomFieldAggregateMap.ts:3](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/CustomFieldAggregateMap.ts#L3)
@@ -14,4 +14,4 @@
14
14
 
15
15
  ## Defined in
16
16
 
17
- [lib/types/CustomFieldMap.ts:3](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/CustomFieldMap.ts#L3)
17
+ [lib/types/CustomFieldMap.ts:3](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/CustomFieldMap.ts#L3)
@@ -14,4 +14,4 @@
14
14
 
15
15
  ## Defined in
16
16
 
17
- [lib/types/Field.ts:3](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Field.ts#L3)
17
+ [lib/types/Field.ts:3](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Field.ts#L3)
@@ -16,4 +16,4 @@
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/FieldFiltered.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FieldFiltered.ts#L4)
19
+ [lib/types/FieldFiltered.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FieldFiltered.ts#L4)
@@ -14,4 +14,4 @@
14
14
 
15
15
  ## Defined in
16
16
 
17
- [lib/types/FieldFunction.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FieldFunction.ts#L4)
17
+ [lib/types/FieldFunction.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FieldFunction.ts#L4)
@@ -34,4 +34,4 @@ Applies a custom field transform function.
34
34
 
35
35
  ## Defined in
36
36
 
37
- [lib/types/FieldFunctionCustom.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FieldFunctionCustom.ts#L4)
37
+ [lib/types/FieldFunctionCustom.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FieldFunctionCustom.ts#L4)
@@ -30,4 +30,4 @@ Formats the date found in a given field, which can be an ISO string date or a ti
30
30
 
31
31
  ## Defined in
32
32
 
33
- [lib/types/FieldFunctionFormatDate.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FieldFunctionFormatDate.ts#L6)
33
+ [lib/types/FieldFunctionFormatDate.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FieldFunctionFormatDate.ts#L6)
@@ -18,4 +18,4 @@ Return types of custom field functions.
18
18
 
19
19
  ## Defined in
20
20
 
21
- [lib/types/FieldFunctionReturn.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FieldFunctionReturn.ts#L4)
21
+ [lib/types/FieldFunctionReturn.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FieldFunctionReturn.ts#L4)
@@ -16,4 +16,4 @@ Describes a predicate for filtering items.
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/Filter.ts:15](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Filter.ts#L15)
19
+ [lib/types/Filter.ts:15](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Filter.ts#L15)
@@ -28,4 +28,4 @@ Checks if a given array field matches a given array value according to a given o
28
28
 
29
29
  ## Defined in
30
30
 
31
- [lib/types/FilterArray.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterArray.ts#L8)
31
+ [lib/types/FilterArray.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterArray.ts#L8)
@@ -26,4 +26,4 @@ Checks if a given boolean field is `true` or `false`.
26
26
 
27
27
  ## Defined in
28
28
 
29
- [lib/types/FilterBoolean.ts:7](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterBoolean.ts#L7)
29
+ [lib/types/FilterBoolean.ts:7](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterBoolean.ts#L7)
@@ -35,4 +35,4 @@ If `deep` is `true`, also captures all the descendants.
35
35
 
36
36
  ## Defined in
37
37
 
38
- [lib/types/FilterChildren.ts:10](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterChildren.ts#L10)
38
+ [lib/types/FilterChildren.ts:10](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterChildren.ts#L10)
@@ -34,4 +34,4 @@ Custom filter where `value(item)` returns `true` for matching items.
34
34
 
35
35
  ## Defined in
36
36
 
37
- [lib/types/FilterCustom.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterCustom.ts#L4)
37
+ [lib/types/FilterCustom.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterCustom.ts#L4)
@@ -28,4 +28,4 @@ The field name or path for which to check its existence.
28
28
 
29
29
  ## Defined in
30
30
 
31
- [lib/types/FilterField.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterField.ts#L6)
31
+ [lib/types/FilterField.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterField.ts#L6)
@@ -16,4 +16,4 @@ Joins a list of filters with a specific boolean operator.
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/FilterGroup.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterGroup.ts#L6)
19
+ [lib/types/FilterGroup.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterGroup.ts#L6)
@@ -26,4 +26,4 @@ Checks if a given number field matches a given number value according to a given
26
26
 
27
27
  ## Defined in
28
28
 
29
- [lib/types/FilterNumber.ts:7](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterNumber.ts#L7)
29
+ [lib/types/FilterNumber.ts:7](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterNumber.ts#L7)
@@ -10,4 +10,4 @@
10
10
 
11
11
  ## Defined in
12
12
 
13
- [lib/types/FilterOperator.ts:3](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterOperator.ts#L3)
13
+ [lib/types/FilterOperator.ts:3](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterOperator.ts#L3)
@@ -34,4 +34,4 @@ Checks if a given string field matches a given string value according to a given
34
34
 
35
35
  ## Defined in
36
36
 
37
- [lib/types/FilterString.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterString.ts#L8)
37
+ [lib/types/FilterString.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterString.ts#L8)
@@ -34,4 +34,4 @@ Checks if a given string field has any of the provided values.
34
34
 
35
35
  ## Defined in
36
36
 
37
- [lib/types/FilterStringIntersect.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterStringIntersect.ts#L8)
37
+ [lib/types/FilterStringIntersect.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterStringIntersect.ts#L8)
@@ -50,4 +50,4 @@ Ignore casing differences if `true`.
50
50
 
51
51
  ## Defined in
52
52
 
53
- [lib/types/FilterStringMatch.ts:9](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/FilterStringMatch.ts#L9)
53
+ [lib/types/FilterStringMatch.ts:9](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/FilterStringMatch.ts#L9)
@@ -18,4 +18,4 @@ Returns the type of the property at the specified `P` path.
18
18
 
19
19
  ## Defined in
20
20
 
21
- [lib/types/Get.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Get.ts#L6)
21
+ [lib/types/Get.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Get.ts#L6)
@@ -16,4 +16,4 @@ Specifies how items should be grouped.
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/Group.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Group.ts#L4)
19
+ [lib/types/Group.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Group.ts#L4)
@@ -32,4 +32,4 @@ Handles an `input` query and returns an `output` promise, eventually using the `
32
32
 
33
33
  ## Defined in
34
34
 
35
- [lib/types/Handler.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Handler.ts#L6)
35
+ [lib/types/Handler.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Handler.ts#L6)
@@ -14,4 +14,4 @@
14
14
 
15
15
  ## Defined in
16
16
 
17
- [lib/types/Immutable.ts:1](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Immutable.ts#L1)
17
+ [lib/types/Immutable.ts:1](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Immutable.ts#L1)
@@ -14,4 +14,4 @@
14
14
 
15
15
  ## Defined in
16
16
 
17
- [lib/types/Increment.ts:5](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Increment.ts#L5)
17
+ [lib/types/Increment.ts:5](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Increment.ts#L5)
@@ -18,4 +18,4 @@ Injects the custom fields into the entity type.
18
18
 
19
19
  ## Defined in
20
20
 
21
- [lib/types/InjectCustomFields.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/InjectCustomFields.ts#L8)
21
+ [lib/types/InjectCustomFields.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/InjectCustomFields.ts#L8)
@@ -18,4 +18,4 @@ Returns the inferred item type of an array, or an alternative type if it is some
18
18
 
19
19
  ## Defined in
20
20
 
21
- [lib/types/Item.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Item.ts#L4)
21
+ [lib/types/Item.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Item.ts#L4)
@@ -16,4 +16,4 @@
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/Join.ts:1](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Join.ts#L1)
19
+ [lib/types/Join.ts:1](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Join.ts#L1)
@@ -10,4 +10,4 @@
10
10
 
11
11
  ## Defined in
12
12
 
13
- [lib/types/Key.ts:1](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Key.ts#L1)
13
+ [lib/types/Key.ts:1](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Key.ts#L1)
@@ -18,4 +18,4 @@ Returns object type with field extending the provided `P` type.
18
18
 
19
19
  ## Defined in
20
20
 
21
- [lib/types/KeyFiltered.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/KeyFiltered.ts#L4)
21
+ [lib/types/KeyFiltered.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/KeyFiltered.ts#L4)
@@ -10,4 +10,4 @@
10
10
 
11
11
  ## Defined in
12
12
 
13
- [lib/types/Locale.ts:1](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Locale.ts#L1)
13
+ [lib/types/Locale.ts:1](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Locale.ts#L1)
@@ -14,4 +14,4 @@
14
14
 
15
15
  ## Defined in
16
16
 
17
- [lib/types/Mutable.ts:1](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Mutable.ts#L1)
17
+ [lib/types/Mutable.ts:1](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Mutable.ts#L1)
@@ -26,4 +26,4 @@ Handles an `input` query and returns an `output` promise.
26
26
 
27
27
  ## Defined in
28
28
 
29
- [lib/types/NextHandler.ts:4](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/NextHandler.ts#L4)
29
+ [lib/types/NextHandler.ts:4](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/NextHandler.ts#L4)
@@ -16,4 +16,4 @@ Order item.
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/Order.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Order.ts#L6)
19
+ [lib/types/Order.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Order.ts#L6)
@@ -10,4 +10,4 @@
10
10
 
11
11
  ## Defined in
12
12
 
13
- [lib/types/Parameters.ts:1](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Parameters.ts#L1)
13
+ [lib/types/Parameters.ts:1](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Parameters.ts#L1)
@@ -16,4 +16,4 @@
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/Path.ts:3](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Path.ts#L3)
19
+ [lib/types/Path.ts:3](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Path.ts#L3)
@@ -18,4 +18,4 @@
18
18
 
19
19
  ## Defined in
20
20
 
21
- [lib/types/PathFiltered.ts:3](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/PathFiltered.ts#L3)
21
+ [lib/types/PathFiltered.ts:3](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/PathFiltered.ts#L3)
@@ -16,4 +16,4 @@ Query that fetches or mutates an entity.
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/Query.ts:14](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Query.ts#L14)
19
+ [lib/types/Query.ts:14](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Query.ts#L14)
@@ -68,4 +68,4 @@ Query settings.
68
68
 
69
69
  ## Defined in
70
70
 
71
- [lib/types/QueryAggregate.ts:11](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryAggregate.ts#L11)
71
+ [lib/types/QueryAggregate.ts:11](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryAggregate.ts#L11)
@@ -50,4 +50,4 @@ Value properties of the item to create.
50
50
 
51
51
  ## Defined in
52
52
 
53
- [lib/types/QueryCreate.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryCreate.ts#L8)
53
+ [lib/types/QueryCreate.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryCreate.ts#L8)
@@ -48,4 +48,4 @@ Query settings.
48
48
 
49
49
  ## Defined in
50
50
 
51
- [lib/types/QueryCreateMultiple.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryCreateMultiple.ts#L8)
51
+ [lib/types/QueryCreateMultiple.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryCreateMultiple.ts#L8)
@@ -48,4 +48,4 @@ Query settings.
48
48
 
49
49
  ## Defined in
50
50
 
51
- [lib/types/QueryDelete.ts:9](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryDelete.ts#L9)
51
+ [lib/types/QueryDelete.ts:9](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryDelete.ts#L9)
@@ -48,4 +48,4 @@ Query settings.
48
48
 
49
49
  ## Defined in
50
50
 
51
- [lib/types/QueryDeleteMultiple.ts:9](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryDeleteMultiple.ts#L9)
51
+ [lib/types/QueryDeleteMultiple.ts:9](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryDeleteMultiple.ts#L9)
@@ -12,4 +12,4 @@ Available query methods.
12
12
 
13
13
  ## Defined in
14
14
 
15
- [lib/types/QueryMethod.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryMethod.ts#L6)
15
+ [lib/types/QueryMethod.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryMethod.ts#L6)
@@ -76,4 +76,4 @@ Query settings.
76
76
 
77
77
  ## Defined in
78
78
 
79
- [lib/types/QueryRead.ts:10](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryRead.ts#L10)
79
+ [lib/types/QueryRead.ts:10](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryRead.ts#L10)
@@ -80,4 +80,4 @@ Query settings.
80
80
 
81
81
  ## Defined in
82
82
 
83
- [lib/types/QueryReadMultiple.ts:11](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryReadMultiple.ts#L11)
83
+ [lib/types/QueryReadMultiple.ts:11](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryReadMultiple.ts#L11)
@@ -60,4 +60,4 @@ A filter that captures the items expressed by the provided `FilterChildren`.
60
60
 
61
61
  ## Defined in
62
62
 
63
- [lib/types/QuerySettings.ts:8](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QuerySettings.ts#L8)
63
+ [lib/types/QuerySettings.ts:8](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QuerySettings.ts#L8)
@@ -68,4 +68,4 @@ Partial property values to update.
68
68
 
69
69
  ## Defined in
70
70
 
71
- [lib/types/QueryUpdate.ts:9](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryUpdate.ts#L9)
71
+ [lib/types/QueryUpdate.ts:9](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryUpdate.ts#L9)
@@ -72,4 +72,4 @@ Partial property values to update.
72
72
 
73
73
  ## Defined in
74
74
 
75
- [lib/types/QueryUpdateMultiple.ts:10](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/QueryUpdateMultiple.ts#L10)
75
+ [lib/types/QueryUpdateMultiple.ts:10](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/QueryUpdateMultiple.ts#L10)
@@ -16,4 +16,4 @@
16
16
 
17
17
  ## Defined in
18
18
 
19
- [lib/types/Result.ts:20](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Result.ts#L20)
19
+ [lib/types/Result.ts:20](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Result.ts#L20)
@@ -58,4 +58,4 @@
58
58
 
59
59
  ## Defined in
60
60
 
61
- [lib/types/Store.ts:2](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Store.ts#L2)
61
+ [lib/types/Store.ts:2](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Store.ts#L2)
@@ -18,4 +18,4 @@ Actual `value` or `valueField` leading to the value.
18
18
 
19
19
  ## Defined in
20
20
 
21
- [lib/types/Value.ts:6](https://github.com/nevoland/quetch/blob/b70842cb9761fe7c217edef26e0fbc90449abccb/lib/types/Value.ts#L6)
21
+ [lib/types/Value.ts:6](https://github.com/nevoland/quetch/blob/4c3c4d08a348f3317d0dfdffa7516132c18306c7/lib/types/Value.ts#L6)
@@ -134,6 +134,17 @@ test("tests filter on string values", () => {
134
134
  { a: "foo" },
135
135
  ),
136
136
  ).toBe(true);
137
+ expect(
138
+ testFilter(
139
+ {
140
+ field: "a",
141
+ operator: "startWith",
142
+ options: { sensitivity: "base" },
143
+ value: "HELLO",
144
+ },
145
+ { a: "hello there!" },
146
+ ),
147
+ ).toBe(true);
137
148
  expect(
138
149
  testFilter(
139
150
  { field: "a", operator: "include", value: "bar" },
@@ -141,7 +141,7 @@ export function testFilter<T extends object>(
141
141
  leftValue.slice(0, rightValue.length),
142
142
  filter.locale,
143
143
  filter.options,
144
- ) !== 0
144
+ ) === 0
145
145
  );
146
146
  }
147
147
  return leftValue.startsWith(rightValue) ?? false;
@@ -158,7 +158,7 @@ export function testFilter<T extends object>(
158
158
  leftValue.slice(-rightValue.length),
159
159
  filter.locale,
160
160
  filter.options,
161
- ) !== 0
161
+ ) === 0
162
162
  );
163
163
  }
164
164
  return leftValue.endsWith(rightValue) ?? false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quetch",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "type": "module",
5
5
  "main": "./dist/main.js",
6
6
  "exports": {