@getcommunity/gc-validators 0.0.292 → 0.0.294

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 (165) hide show
  1. package/dist/base/index.cjs +1 -1
  2. package/dist/base/index.d.cts +2 -2
  3. package/dist/base/index.d.mts +2 -2
  4. package/dist/base/index.mjs +1 -1
  5. package/dist/{boolean-BwqaNE9c.cjs → boolean-BadU8QJ7.cjs} +6 -3
  6. package/dist/boolean-CA_mX99H.mjs +13 -0
  7. package/dist/entities/audit-log/query.cjs +4 -5
  8. package/dist/entities/audit-log/query.d.cts +23 -3
  9. package/dist/entities/audit-log/query.d.mts +23 -3
  10. package/dist/entities/audit-log/query.mjs +3 -4
  11. package/dist/entities/blog-post/query.cjs +5 -6
  12. package/dist/entities/blog-post/query.d.cts +23 -3
  13. package/dist/entities/blog-post/query.d.mts +23 -3
  14. package/dist/entities/blog-post/query.mjs +4 -5
  15. package/dist/entities/category/query.cjs +3 -4
  16. package/dist/entities/category/query.d.cts +1 -1
  17. package/dist/entities/category/query.d.mts +1 -1
  18. package/dist/entities/category/query.mjs +2 -3
  19. package/dist/entities/client/query.cjs +5 -6
  20. package/dist/entities/client/query.d.cts +1 -1
  21. package/dist/entities/client/query.d.mts +1 -1
  22. package/dist/entities/client/query.mjs +4 -5
  23. package/dist/entities/client-content-pillar/query.cjs +1 -1
  24. package/dist/entities/client-content-pillar/query.d.cts +1 -1
  25. package/dist/entities/client-content-pillar/query.d.mts +1 -1
  26. package/dist/entities/client-content-pillar/query.mjs +1 -1
  27. package/dist/entities/client-email/query.cjs +3 -4
  28. package/dist/entities/client-email/query.d.cts +2 -2
  29. package/dist/entities/client-email/query.d.mts +2 -2
  30. package/dist/entities/client-email/query.mjs +2 -3
  31. package/dist/entities/client-media-platform/query.cjs +1 -1
  32. package/dist/entities/client-media-platform/query.d.cts +1 -1
  33. package/dist/entities/client-media-platform/query.d.mts +1 -1
  34. package/dist/entities/client-media-platform/query.mjs +1 -1
  35. package/dist/entities/client-project/query.cjs +5 -6
  36. package/dist/entities/client-project/query.d.cts +46 -6
  37. package/dist/entities/client-project/query.d.mts +46 -6
  38. package/dist/entities/client-project/query.mjs +4 -5
  39. package/dist/entities/client-report/query.cjs +5 -6
  40. package/dist/entities/client-report/query.d.cts +24 -4
  41. package/dist/entities/client-report/query.d.mts +24 -4
  42. package/dist/entities/client-report/query.mjs +4 -5
  43. package/dist/entities/client-styleguide/query.cjs +4 -5
  44. package/dist/entities/client-styleguide/query.d.cts +2 -2
  45. package/dist/entities/client-styleguide/query.d.mts +2 -2
  46. package/dist/entities/client-styleguide/query.mjs +3 -4
  47. package/dist/entities/client-user/query.cjs +1 -1
  48. package/dist/entities/client-user/query.d.cts +1 -1
  49. package/dist/entities/client-user/query.d.mts +1 -1
  50. package/dist/entities/client-user/query.mjs +1 -1
  51. package/dist/entities/content-pillar/query.cjs +1 -1
  52. package/dist/entities/content-pillar/query.d.cts +1 -1
  53. package/dist/entities/content-pillar/query.d.mts +1 -1
  54. package/dist/entities/content-pillar/query.mjs +1 -1
  55. package/dist/entities/gcflytour/query.cjs +1 -1
  56. package/dist/entities/gcflytour/query.d.cts +1 -1
  57. package/dist/entities/gcflytour/query.d.mts +1 -1
  58. package/dist/entities/gcflytour/query.mjs +1 -1
  59. package/dist/entities/gcflytour-snap/query.cjs +1 -1
  60. package/dist/entities/gcflytour-snap/query.d.cts +1 -1
  61. package/dist/entities/gcflytour-snap/query.d.mts +1 -1
  62. package/dist/entities/gcflytour-snap/query.mjs +1 -1
  63. package/dist/entities/media-content-type/query.cjs +1 -1
  64. package/dist/entities/media-content-type/query.d.cts +1 -1
  65. package/dist/entities/media-content-type/query.d.mts +1 -1
  66. package/dist/entities/media-content-type/query.mjs +1 -1
  67. package/dist/entities/media-creative-format/query.cjs +1 -1
  68. package/dist/entities/media-creative-format/query.d.cts +1 -1
  69. package/dist/entities/media-creative-format/query.d.mts +1 -1
  70. package/dist/entities/media-creative-format/query.mjs +1 -1
  71. package/dist/entities/media-medium/query.cjs +1 -1
  72. package/dist/entities/media-medium/query.d.cts +1 -1
  73. package/dist/entities/media-medium/query.d.mts +1 -1
  74. package/dist/entities/media-medium/query.mjs +1 -1
  75. package/dist/entities/media-platform/query.cjs +1 -1
  76. package/dist/entities/media-platform/query.d.cts +1 -1
  77. package/dist/entities/media-platform/query.d.mts +1 -1
  78. package/dist/entities/media-platform/query.mjs +1 -1
  79. package/dist/entities/monday-workspace/query.cjs +3 -4
  80. package/dist/entities/monday-workspace/query.d.cts +2 -2
  81. package/dist/entities/monday-workspace/query.d.mts +2 -2
  82. package/dist/entities/monday-workspace/query.mjs +2 -3
  83. package/dist/entities/tag/query.cjs +3 -4
  84. package/dist/entities/tag/query.d.cts +1 -1
  85. package/dist/entities/tag/query.d.mts +1 -1
  86. package/dist/entities/tag/query.mjs +2 -3
  87. package/dist/entities/team-member/query.cjs +5 -6
  88. package/dist/entities/team-member/query.d.cts +45 -5
  89. package/dist/entities/team-member/query.d.mts +45 -5
  90. package/dist/entities/team-member/query.mjs +4 -5
  91. package/dist/entities/up-permission/fields.cjs +1 -1
  92. package/dist/entities/up-permission/fields.d.cts +1 -1
  93. package/dist/entities/up-permission/fields.d.mts +1 -1
  94. package/dist/entities/up-permission/fields.mjs +1 -1
  95. package/dist/entities/up-role/query.cjs +4 -5
  96. package/dist/entities/up-role/query.d.cts +1 -1
  97. package/dist/entities/up-role/query.d.mts +1 -1
  98. package/dist/entities/up-role/query.mjs +3 -4
  99. package/dist/entities/up-user/query.cjs +1 -1
  100. package/dist/entities/up-user/query.d.cts +1 -1
  101. package/dist/entities/up-user/query.d.mts +1 -1
  102. package/dist/entities/up-user/query.mjs +1 -1
  103. package/dist/entities/url-redirect/query.cjs +5 -6
  104. package/dist/entities/url-redirect/query.d.cts +45 -5
  105. package/dist/entities/url-redirect/query.d.mts +45 -5
  106. package/dist/entities/url-redirect/query.mjs +4 -5
  107. package/dist/entities/user-account/query.cjs +1 -1
  108. package/dist/entities/user-account/query.d.cts +1 -1
  109. package/dist/entities/user-account/query.d.mts +1 -1
  110. package/dist/entities/user-account/query.mjs +1 -1
  111. package/dist/entities/utm-tracking-link/query.cjs +5 -6
  112. package/dist/entities/utm-tracking-link/query.d.cts +3 -3
  113. package/dist/entities/utm-tracking-link/query.d.mts +3 -3
  114. package/dist/entities/utm-tracking-link/query.mjs +4 -5
  115. package/dist/{fields-DbNgWbgS.d.mts → fields-BgmgY8Er.d.mts} +23 -3
  116. package/dist/{fields-CRaDKzi3.d.cts → fields-C3xhlRTd.d.cts} +23 -3
  117. package/dist/filters/index.cjs +21 -150
  118. package/dist/filters/index.d.cts +2 -110
  119. package/dist/filters/index.d.mts +2 -110
  120. package/dist/filters/index.mjs +6 -149
  121. package/dist/{identifier-CeOY3BU-.mjs → identifier-Cj5_NcEx.mjs} +57 -16
  122. package/dist/{identifier-Di0Gx239.cjs → identifier-Dy532ddR.cjs} +68 -15
  123. package/dist/index-BVVgDSdq.d.cts +1 -0
  124. package/dist/index-BVVgDSdq.d.mts +1 -0
  125. package/dist/{index-C_iAaSf1.d.cts → index-C-zBMTZR.d.cts} +1 -1
  126. package/dist/{index-COEq2o6s.d.mts → index-CeACed-B.d.mts} +1 -1
  127. package/dist/{index-BgZbDm41.d.cts → index-eY9SdBCA.d.cts} +492 -51
  128. package/dist/{index-BgZbDm41.d.mts → index-eY9SdBCA.d.mts} +492 -51
  129. package/dist/{null-operators-CyK5Nxn3.cjs → null-operators-CTPiNKlc.cjs} +64 -0
  130. package/dist/{null-operators-DvwH8j8n.mjs → null-operators-Di2tW3dI.mjs} +35 -1
  131. package/dist/picklist-CKrOioY-.mjs +22 -0
  132. package/dist/{picklist-DMZjp2EE.cjs → picklist-CxE13krA.cjs} +11 -5
  133. package/dist/{query-CQVW_n7R.cjs → query-5jb1_gFO.cjs} +8 -9
  134. package/dist/{query-Do9f-PY3.cjs → query-8q9CmDYp.cjs} +2 -3
  135. package/dist/{query-BOv5YhYc.d.cts → query-BGa0eFd6.d.cts} +1 -1
  136. package/dist/{query-Bzv2SS5C.mjs → query-BSU751G0.mjs} +1 -2
  137. package/dist/{query-79CK1qXP.d.cts → query-BiaMh5wb.d.mts} +23 -3
  138. package/dist/{query-C-1Mp1j6.d.mts → query-BsHRkBSK.d.cts} +4 -4
  139. package/dist/{query-PKg23GyY.d.cts → query-Bwi8ePMq.d.mts} +2 -2
  140. package/dist/{query-BQkvCQDy.d.mts → query-Bz2rxUwZ.d.mts} +1 -1
  141. package/dist/{query-BdS6AzQM.d.mts → query-CFRFISob.d.cts} +2 -2
  142. package/dist/{query-DIQPfsSq.d.cts → query-CM9uDbB4.d.mts} +23 -3
  143. package/dist/{query-DlpZHcIM.d.mts → query-CUu1QJo_.d.mts} +2 -2
  144. package/dist/{query-CbCFSDNP.d.cts → query-C_DZhlbS.d.cts} +2 -2
  145. package/dist/{query-k5JTPobF.mjs → query-CcAAKT5-.mjs} +3 -4
  146. package/dist/{query-Dh3ryD3m.cjs → query-CkVAE7F4.cjs} +5 -6
  147. package/dist/{query-DQvrkaL2.d.mts → query-ClZapNze.d.cts} +23 -3
  148. package/dist/{query-WLdChTbq.mjs → query-D34XPwAY.mjs} +3 -4
  149. package/dist/{query-BiM_LW7b.d.cts → query-D4NPsmi5.d.cts} +2 -2
  150. package/dist/{query-hXEB-Beo.cjs → query-DE58iR9R.cjs} +5 -6
  151. package/dist/{query-9J5wmu64.d.mts → query-DlRfLaGp.d.mts} +2 -2
  152. package/dist/{query-Dxilctoo.d.cts → query-EHdJppMP.d.mts} +4 -4
  153. package/dist/{query-DVIHcRpR.mjs → query-PGARJYST.mjs} +3 -4
  154. package/dist/{query-Ctmp66KS.mjs → query-bKI8MTHp.mjs} +3 -4
  155. package/dist/{query-M5dC8L8L.cjs → query-c2PAMeF4.cjs} +5 -6
  156. package/dist/{query-z32wChYv.d.mts → query-xz04XcD5.d.cts} +23 -3
  157. package/dist/{string-By4lqNB3.cjs → string-CbMlEOfD.cjs} +19 -16
  158. package/dist/{string-CHEFvHQa.mjs → string-Cg95IUzI.mjs} +14 -11
  159. package/dist/utilities/index.d.cts +1 -1
  160. package/dist/utilities/index.d.mts +1 -1
  161. package/package.json +5 -5
  162. package/dist/boolean-cJxcC8gC.mjs +0 -10
  163. package/dist/logical-operators-Bku8NPDs.cjs +0 -24
  164. package/dist/logical-operators-C0-wSK0P.mjs +0 -17
  165. package/dist/picklist-DayZlSoN.mjs +0 -16
@@ -1,21 +1,125 @@
1
1
  import * as v from "valibot";
2
2
 
3
+ //#region src/filters/primitives/comparison-operators.d.ts
4
+ declare const createStrapiEqualityOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
5
+ $eq: TValue;
6
+ $ne: TValue;
7
+ };
8
+ declare const createStrapiCaseInsensitiveEqualityOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
9
+ $eqi: TValue;
10
+ $nei: TValue;
11
+ };
12
+ declare const createStrapiOrderedComparisonOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
13
+ $gt: TValue;
14
+ $gte: TValue;
15
+ $lt: TValue;
16
+ $lte: TValue;
17
+ };
18
+ declare const createStrapiComparisonOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
19
+ $gt: TValue;
20
+ $gte: TValue;
21
+ $lt: TValue;
22
+ $lte: TValue;
23
+ $eqi: TValue;
24
+ $nei: TValue;
25
+ $eq: TValue;
26
+ $ne: TValue;
27
+ };
28
+ //#endregion
3
29
  //#region src/filters/primitives/types.d.ts
4
30
  type Simplify<T> = { [TKey in keyof T]: T[TKey] } & {};
5
31
  type StrapiFilterEntries = Record<string, v.GenericSchema>;
6
32
  type StrapiStrictFilterObjectInput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferInput<TEntries[TKey]> }>>;
7
33
  type StrapiStrictFilterObjectOutput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferOutput<TEntries[TKey]> }>>;
8
34
  type StrapiStrictFilterObjectSchema<TEntries extends StrapiFilterEntries> = v.GenericSchema<StrapiStrictFilterObjectInput<TEntries>, StrapiStrictFilterObjectOutput<TEntries>>;
35
+ type StrapiFilterFieldsInput<TEntries extends StrapiFilterEntries> = { [TKey in keyof TEntries]: v.InferInput<TEntries[TKey]> };
36
+ type StrapiFilterFieldsOutput<TEntries extends StrapiFilterEntries> = { [TKey in keyof TEntries]: v.InferOutput<TEntries[TKey]> };
37
+ type StrapiFilterLogicalInput<TEntries extends StrapiFilterEntries> = {
38
+ $and: StrapiFilterInput<TEntries>[];
39
+ $not: StrapiFilterInput<TEntries>;
40
+ $or: StrapiFilterInput<TEntries>[];
41
+ };
42
+ type StrapiFilterLogicalOutput<TEntries extends StrapiFilterEntries> = {
43
+ $and: StrapiFilterOutput<TEntries>[];
44
+ $not: StrapiFilterOutput<TEntries>;
45
+ $or: StrapiFilterOutput<TEntries>[];
46
+ };
47
+ type StrapiFilterInput<TEntries extends StrapiFilterEntries> = Simplify<Partial<StrapiFilterFieldsInput<TEntries>>> & Partial<StrapiFilterLogicalInput<TEntries>>;
48
+ type StrapiFilterOutput<TEntries extends StrapiFilterEntries> = Simplify<Partial<StrapiFilterFieldsOutput<TEntries>>> & Partial<StrapiFilterLogicalOutput<TEntries>>;
49
+ type StrapiFilterSchema<TEntries extends StrapiFilterEntries> = v.GenericSchema<StrapiFilterInput<TEntries>, StrapiFilterOutput<TEntries>>;
50
+ type OptionalStrapiFilterEntries<TEntries extends StrapiFilterEntries> = { [TKey in keyof TEntries]: v.OptionalSchema<TEntries[TKey], undefined> };
9
51
  type StrapiLogicalFilter<TFields extends object> = TFields & {
10
52
  $and?: StrapiLogicalFilter<TFields>[];
11
53
  $not?: StrapiLogicalFilter<TFields>;
12
54
  $or?: StrapiLogicalFilter<TFields>[];
13
55
  };
14
56
  //#endregion
57
+ //#region src/filters/primitives/field-operators.d.ts
58
+ declare const createStrapiOperatorSchema: <const TEntries extends StrapiFilterEntries>(entries: TEntries) => StrapiStrictFilterObjectSchema<TEntries>;
59
+ declare const createStrapiFieldOperatorSchema: <const TEntries extends StrapiFilterEntries>(entries: TEntries) => StrapiStrictFilterObjectSchema<TEntries & {
60
+ readonly $not: StrapiStrictFilterObjectSchema<TEntries>;
61
+ }>;
62
+ //#endregion
63
+ //#region src/filters/primitives/filter-metadata.d.ts
64
+ type StrapiFilterOperatorKind = "comparison" | "array" | "null" | "logical";
65
+ type StrapiFilterInputType = "textarea" | "text" | "url" | "email" | "number-range" | "integer-range" | "checkbox" | "date-range" | "time-range" | "datetime-range" | "select";
66
+ type FilterSchemaMetadata = {
67
+ value: {
68
+ kind: StrapiFilterOperatorKind;
69
+ input: StrapiFilterInputType;
70
+ };
71
+ } & Record<string, unknown>;
72
+ type StrapiFilterOperator = "$eq" | "$ne" | "$eqi" | "$nei" | "$contains" | "$containsi" | "$notContains" | "$notContainsi" | "$startsWith" | "$startsWithi" | "$endsWith" | "$endsWithi" | "$gt" | "$gte" | "$lt" | "$lte" | "$in" | "$notIn" | "$between" | "$null" | "$notNull" | "$not" | "$and" | "$or";
73
+ declare const STRAPI_FILTER_OPERATORS: Record<StrapiFilterOperator, string>;
74
+ declare const createFilterWithMetadata: <const TSchema extends v.GenericSchema, const TMetadata extends FilterSchemaMetadata>(schema: TSchema, metadata: TMetadata) => v.SchemaWithPipe<readonly [TSchema, v.MetadataAction<v.InferOutput<TSchema>, TMetadata>]>;
75
+ //#endregion
76
+ //#region src/filters/primitives/logical-operators.d.ts
77
+ declare const createStrapiLogicalFilterEntries: <const TFilter extends v.GenericSchema>(filter: TFilter) => {
78
+ $and: v.SchemaWithPipe<readonly [v.ArraySchema<TFilter, undefined>, v.MinLengthAction<v.InferOutput<TFilter>[], 1, undefined>]>;
79
+ $not: TFilter;
80
+ $or: v.SchemaWithPipe<readonly [v.ArraySchema<TFilter, undefined>, v.MinLengthAction<v.InferOutput<TFilter>[], 1, undefined>]>;
81
+ };
82
+ declare const createStrapiFilterSchema: <const TFieldEntries extends StrapiFilterEntries>(fieldEntries: TFieldEntries) => StrapiFilterSchema<TFieldEntries>;
83
+ //#endregion
84
+ //#region src/filters/primitives/membership-operators.d.ts
85
+ declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
86
+ $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
87
+ $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
88
+ };
89
+ declare const createStrapiBetweenOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
90
+ $between: v.StrictTupleSchema<[TValue, TValue], undefined>;
91
+ };
92
+ declare const createStrapiMembershipOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
93
+ $between: v.StrictTupleSchema<[TValue, TValue], undefined>;
94
+ $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
95
+ $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
96
+ };
97
+ //#endregion
98
+ //#region src/filters/primitives/null-operators.d.ts
99
+ declare const StrapiNullOperatorEntries: {
100
+ readonly $notNull: v.LiteralSchema<true, undefined>;
101
+ readonly $null: v.LiteralSchema<true, undefined>;
102
+ };
103
+ //#endregion
104
+ //#region src/filters/primitives/strict-filter-object.d.ts
105
+ declare const createStrapiStrictFilterObject: <const TEntries extends StrapiFilterEntries>(entries: TEntries) => StrapiStrictFilterObjectSchema<TEntries>;
106
+ //#endregion
107
+ //#region src/filters/primitives/string-matching-operators.d.ts
108
+ declare const createStrapiStringMatchingOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
109
+ $contains: TValue;
110
+ $containsi: TValue;
111
+ $endsWith: TValue;
112
+ $endsWithi: TValue;
113
+ $notContains: TValue;
114
+ $notContainsi: TValue;
115
+ $startsWith: TValue;
116
+ $startsWithi: TValue;
117
+ };
118
+ //#endregion
15
119
  //#region src/filters/generics/boolean.d.ts
16
120
  declare const BooleanFilterValue: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
17
121
  type BooleanFilterValue = v.InferOutput<typeof BooleanFilterValue>;
18
- declare const BooleanFilter: StrapiStrictFilterObjectSchema<{
122
+ declare const BooleanFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
19
123
  readonly $notNull: v.LiteralSchema<true, undefined>;
20
124
  readonly $null: v.LiteralSchema<true, undefined>;
21
125
  readonly $eq: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
@@ -27,7 +131,23 @@ declare const BooleanFilter: StrapiStrictFilterObjectSchema<{
27
131
  readonly $eq: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
28
132
  readonly $ne: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
29
133
  }>;
30
- }>;
134
+ }>, v.MetadataAction<{
135
+ readonly $notNull?: true | undefined;
136
+ readonly $null?: true | undefined;
137
+ readonly $eq?: boolean | undefined;
138
+ readonly $ne?: boolean | undefined;
139
+ readonly $not?: {
140
+ readonly $notNull?: true | undefined;
141
+ readonly $null?: true | undefined;
142
+ readonly $eq?: boolean | undefined;
143
+ readonly $ne?: boolean | undefined;
144
+ } | undefined;
145
+ }, {
146
+ readonly value: {
147
+ readonly kind: "comparison";
148
+ readonly input: "checkbox";
149
+ };
150
+ }>]>;
31
151
  type BooleanFilter = v.InferOutput<typeof BooleanFilter>;
32
152
  //#endregion
33
153
  //#region src/filters/generics/date-time.d.ts
@@ -37,7 +157,7 @@ declare const TimeFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.Schem
37
157
  type TimeFilterValue = v.InferOutput<typeof TimeFilterValue>;
38
158
  declare const DateTimeFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
39
159
  type DateTimeFilterValue = v.InferOutput<typeof DateTimeFilterValue>;
40
- declare const DateFilter: StrapiStrictFilterObjectSchema<{
160
+ declare const DateFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
41
161
  readonly $notNull: v.LiteralSchema<true, undefined>;
42
162
  readonly $null: v.LiteralSchema<true, undefined>;
43
163
  readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
@@ -63,9 +183,39 @@ declare const DateFilter: StrapiStrictFilterObjectSchema<{
63
183
  readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
64
184
  readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
65
185
  }>;
66
- }>;
186
+ }>, v.MetadataAction<{
187
+ readonly $notNull?: true | undefined;
188
+ readonly $null?: true | undefined;
189
+ readonly $between?: [string, string] | undefined;
190
+ readonly $in?: string[] | undefined;
191
+ readonly $notIn?: string[] | undefined;
192
+ readonly $gt?: string | undefined;
193
+ readonly $gte?: string | undefined;
194
+ readonly $lt?: string | undefined;
195
+ readonly $lte?: string | undefined;
196
+ readonly $eq?: string | undefined;
197
+ readonly $ne?: string | undefined;
198
+ readonly $not?: {
199
+ readonly $notNull?: true | undefined;
200
+ readonly $null?: true | undefined;
201
+ readonly $between?: [string, string] | undefined;
202
+ readonly $in?: string[] | undefined;
203
+ readonly $notIn?: string[] | undefined;
204
+ readonly $gt?: string | undefined;
205
+ readonly $gte?: string | undefined;
206
+ readonly $lt?: string | undefined;
207
+ readonly $lte?: string | undefined;
208
+ readonly $eq?: string | undefined;
209
+ readonly $ne?: string | undefined;
210
+ } | undefined;
211
+ }, {
212
+ readonly value: {
213
+ readonly kind: "comparison";
214
+ readonly input: "date-range";
215
+ };
216
+ }>]>;
67
217
  type DateFilter = v.InferOutput<typeof DateFilter>;
68
- declare const TimeFilter: StrapiStrictFilterObjectSchema<{
218
+ declare const TimeFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
69
219
  readonly $notNull: v.LiteralSchema<true, undefined>;
70
220
  readonly $null: v.LiteralSchema<true, undefined>;
71
221
  readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
@@ -91,9 +241,39 @@ declare const TimeFilter: StrapiStrictFilterObjectSchema<{
91
241
  readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
92
242
  readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
93
243
  }>;
94
- }>;
244
+ }>, v.MetadataAction<{
245
+ readonly $notNull?: true | undefined;
246
+ readonly $null?: true | undefined;
247
+ readonly $between?: [string, string] | undefined;
248
+ readonly $in?: string[] | undefined;
249
+ readonly $notIn?: string[] | undefined;
250
+ readonly $gt?: string | undefined;
251
+ readonly $gte?: string | undefined;
252
+ readonly $lt?: string | undefined;
253
+ readonly $lte?: string | undefined;
254
+ readonly $eq?: string | undefined;
255
+ readonly $ne?: string | undefined;
256
+ readonly $not?: {
257
+ readonly $notNull?: true | undefined;
258
+ readonly $null?: true | undefined;
259
+ readonly $between?: [string, string] | undefined;
260
+ readonly $in?: string[] | undefined;
261
+ readonly $notIn?: string[] | undefined;
262
+ readonly $gt?: string | undefined;
263
+ readonly $gte?: string | undefined;
264
+ readonly $lt?: string | undefined;
265
+ readonly $lte?: string | undefined;
266
+ readonly $eq?: string | undefined;
267
+ readonly $ne?: string | undefined;
268
+ } | undefined;
269
+ }, {
270
+ readonly value: {
271
+ readonly kind: "comparison";
272
+ readonly input: "time-range";
273
+ };
274
+ }>]>;
95
275
  type TimeFilter = v.InferOutput<typeof TimeFilter>;
96
- declare const DateTimeFilter: StrapiStrictFilterObjectSchema<{
276
+ declare const DateTimeFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
97
277
  readonly $notNull: v.LiteralSchema<true, undefined>;
98
278
  readonly $null: v.LiteralSchema<true, undefined>;
99
279
  readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
@@ -119,7 +299,37 @@ declare const DateTimeFilter: StrapiStrictFilterObjectSchema<{
119
299
  readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
120
300
  readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
121
301
  }>;
122
- }>;
302
+ }>, v.MetadataAction<{
303
+ readonly $notNull?: true | undefined;
304
+ readonly $null?: true | undefined;
305
+ readonly $between?: [string, string] | undefined;
306
+ readonly $in?: string[] | undefined;
307
+ readonly $notIn?: string[] | undefined;
308
+ readonly $gt?: string | undefined;
309
+ readonly $gte?: string | undefined;
310
+ readonly $lt?: string | undefined;
311
+ readonly $lte?: string | undefined;
312
+ readonly $eq?: string | undefined;
313
+ readonly $ne?: string | undefined;
314
+ readonly $not?: {
315
+ readonly $notNull?: true | undefined;
316
+ readonly $null?: true | undefined;
317
+ readonly $between?: [string, string] | undefined;
318
+ readonly $in?: string[] | undefined;
319
+ readonly $notIn?: string[] | undefined;
320
+ readonly $gt?: string | undefined;
321
+ readonly $gte?: string | undefined;
322
+ readonly $lt?: string | undefined;
323
+ readonly $lte?: string | undefined;
324
+ readonly $eq?: string | undefined;
325
+ readonly $ne?: string | undefined;
326
+ } | undefined;
327
+ }, {
328
+ readonly value: {
329
+ readonly kind: "comparison";
330
+ readonly input: "datetime-range";
331
+ };
332
+ }>]>;
123
333
  type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
124
334
  //#endregion
125
335
  //#region src/filters/generics/identifier.d.ts
@@ -139,7 +349,7 @@ declare const IdFilter: StrapiStrictFilterObjectSchema<{
139
349
  }>;
140
350
  }>;
141
351
  type IdFilter = v.InferOutput<typeof IdFilter>;
142
- declare const DocumentIdFilter: StrapiStrictFilterObjectSchema<{
352
+ declare const DocumentIdFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
143
353
  readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
144
354
  readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
145
355
  readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
@@ -155,9 +365,29 @@ declare const DocumentIdFilter: StrapiStrictFilterObjectSchema<{
155
365
  readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
156
366
  readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
157
367
  }>;
158
- }>;
368
+ }>, v.MetadataAction<{
369
+ readonly $in?: string[] | undefined;
370
+ readonly $notIn?: string[] | undefined;
371
+ readonly $eqi?: string | undefined;
372
+ readonly $nei?: string | undefined;
373
+ readonly $eq?: string | undefined;
374
+ readonly $ne?: string | undefined;
375
+ readonly $not?: {
376
+ readonly $in?: string[] | undefined;
377
+ readonly $notIn?: string[] | undefined;
378
+ readonly $eqi?: string | undefined;
379
+ readonly $nei?: string | undefined;
380
+ readonly $eq?: string | undefined;
381
+ readonly $ne?: string | undefined;
382
+ } | undefined;
383
+ }, {
384
+ readonly value: {
385
+ readonly kind: "comparison";
386
+ readonly input: "text";
387
+ };
388
+ }>]>;
159
389
  type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
160
- declare const SlugFilter: StrapiStrictFilterObjectSchema<{
390
+ declare const SlugFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
161
391
  readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
162
392
  readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
163
393
  readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
@@ -173,9 +403,29 @@ declare const SlugFilter: StrapiStrictFilterObjectSchema<{
173
403
  readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
174
404
  readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
175
405
  }>;
176
- }>;
406
+ }>, v.MetadataAction<{
407
+ readonly $in?: string[] | undefined;
408
+ readonly $notIn?: string[] | undefined;
409
+ readonly $eqi?: string | undefined;
410
+ readonly $nei?: string | undefined;
411
+ readonly $eq?: string | undefined;
412
+ readonly $ne?: string | undefined;
413
+ readonly $not?: {
414
+ readonly $in?: string[] | undefined;
415
+ readonly $notIn?: string[] | undefined;
416
+ readonly $eqi?: string | undefined;
417
+ readonly $nei?: string | undefined;
418
+ readonly $eq?: string | undefined;
419
+ readonly $ne?: string | undefined;
420
+ } | undefined;
421
+ }, {
422
+ readonly value: {
423
+ readonly kind: "comparison";
424
+ readonly input: "text";
425
+ };
426
+ }>]>;
177
427
  type SlugFilter = v.InferOutput<typeof SlugFilter>;
178
- declare const EmailFilter: StrapiStrictFilterObjectSchema<{
428
+ declare const EmailFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
179
429
  readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
180
430
  readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
181
431
  readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
@@ -191,9 +441,29 @@ declare const EmailFilter: StrapiStrictFilterObjectSchema<{
191
441
  readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
192
442
  readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
193
443
  }>;
194
- }>;
444
+ }>, v.MetadataAction<{
445
+ readonly $in?: string[] | undefined;
446
+ readonly $notIn?: string[] | undefined;
447
+ readonly $eqi?: string | undefined;
448
+ readonly $nei?: string | undefined;
449
+ readonly $eq?: string | undefined;
450
+ readonly $ne?: string | undefined;
451
+ readonly $not?: {
452
+ readonly $in?: string[] | undefined;
453
+ readonly $notIn?: string[] | undefined;
454
+ readonly $eqi?: string | undefined;
455
+ readonly $nei?: string | undefined;
456
+ readonly $eq?: string | undefined;
457
+ readonly $ne?: string | undefined;
458
+ } | undefined;
459
+ }, {
460
+ readonly value: {
461
+ readonly kind: "comparison";
462
+ readonly input: "email";
463
+ };
464
+ }>]>;
195
465
  type EmailFilter = v.InferOutput<typeof EmailFilter>;
196
- declare const UrlFilter: StrapiStrictFilterObjectSchema<{
466
+ declare const UrlFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
197
467
  readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
198
468
  readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
199
469
  readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
@@ -209,7 +479,27 @@ declare const UrlFilter: StrapiStrictFilterObjectSchema<{
209
479
  readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
210
480
  readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
211
481
  }>;
212
- }>;
482
+ }>, v.MetadataAction<{
483
+ readonly $in?: string[] | undefined;
484
+ readonly $notIn?: string[] | undefined;
485
+ readonly $eqi?: string | undefined;
486
+ readonly $nei?: string | undefined;
487
+ readonly $eq?: string | undefined;
488
+ readonly $ne?: string | undefined;
489
+ readonly $not?: {
490
+ readonly $in?: string[] | undefined;
491
+ readonly $notIn?: string[] | undefined;
492
+ readonly $eqi?: string | undefined;
493
+ readonly $nei?: string | undefined;
494
+ readonly $eq?: string | undefined;
495
+ readonly $ne?: string | undefined;
496
+ } | undefined;
497
+ }, {
498
+ readonly value: {
499
+ readonly kind: "comparison";
500
+ readonly input: "url";
501
+ };
502
+ }>]>;
213
503
  type UrlFilter = v.InferOutput<typeof UrlFilter>;
214
504
  //#endregion
215
505
  //#region src/filters/generics/number.d.ts
@@ -218,7 +508,7 @@ declare const NumberFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.Num
218
508
  type NumberFilterValue = v.InferOutput<typeof NumberFilterValue>;
219
509
  declare const IntegerFilterValue: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
220
510
  type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
221
- declare const NumberFilter: StrapiStrictFilterObjectSchema<{
511
+ declare const NumberFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
222
512
  readonly $notNull: v.LiteralSchema<true, undefined>;
223
513
  readonly $null: v.LiteralSchema<true, undefined>;
224
514
  readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
@@ -244,9 +534,39 @@ declare const NumberFilter: StrapiStrictFilterObjectSchema<{
244
534
  readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
245
535
  readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
246
536
  }>;
247
- }>;
537
+ }>, v.MetadataAction<{
538
+ readonly $notNull?: true | undefined;
539
+ readonly $null?: true | undefined;
540
+ readonly $between?: [number, number] | undefined;
541
+ readonly $in?: number[] | undefined;
542
+ readonly $notIn?: number[] | undefined;
543
+ readonly $gt?: number | undefined;
544
+ readonly $gte?: number | undefined;
545
+ readonly $lt?: number | undefined;
546
+ readonly $lte?: number | undefined;
547
+ readonly $eq?: number | undefined;
548
+ readonly $ne?: number | undefined;
549
+ readonly $not?: {
550
+ readonly $notNull?: true | undefined;
551
+ readonly $null?: true | undefined;
552
+ readonly $between?: [number, number] | undefined;
553
+ readonly $in?: number[] | undefined;
554
+ readonly $notIn?: number[] | undefined;
555
+ readonly $gt?: number | undefined;
556
+ readonly $gte?: number | undefined;
557
+ readonly $lt?: number | undefined;
558
+ readonly $lte?: number | undefined;
559
+ readonly $eq?: number | undefined;
560
+ readonly $ne?: number | undefined;
561
+ } | undefined;
562
+ }, {
563
+ readonly value: {
564
+ readonly kind: "comparison";
565
+ readonly input: "number-range";
566
+ };
567
+ }>]>;
248
568
  type NumberFilter = v.InferOutput<typeof NumberFilter>;
249
- declare const IntegerFilter: StrapiStrictFilterObjectSchema<{
569
+ declare const IntegerFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
250
570
  readonly $notNull: v.LiteralSchema<true, undefined>;
251
571
  readonly $null: v.LiteralSchema<true, undefined>;
252
572
  readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
@@ -272,11 +592,41 @@ declare const IntegerFilter: StrapiStrictFilterObjectSchema<{
272
592
  readonly $eq: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
273
593
  readonly $ne: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
274
594
  }>;
275
- }>;
595
+ }>, v.MetadataAction<{
596
+ readonly $notNull?: true | undefined;
597
+ readonly $null?: true | undefined;
598
+ readonly $between?: [number, number] | undefined;
599
+ readonly $in?: number[] | undefined;
600
+ readonly $notIn?: number[] | undefined;
601
+ readonly $gt?: number | undefined;
602
+ readonly $gte?: number | undefined;
603
+ readonly $lt?: number | undefined;
604
+ readonly $lte?: number | undefined;
605
+ readonly $eq?: number | undefined;
606
+ readonly $ne?: number | undefined;
607
+ readonly $not?: {
608
+ readonly $notNull?: true | undefined;
609
+ readonly $null?: true | undefined;
610
+ readonly $between?: [number, number] | undefined;
611
+ readonly $in?: number[] | undefined;
612
+ readonly $notIn?: number[] | undefined;
613
+ readonly $gt?: number | undefined;
614
+ readonly $gte?: number | undefined;
615
+ readonly $lt?: number | undefined;
616
+ readonly $lte?: number | undefined;
617
+ readonly $eq?: number | undefined;
618
+ readonly $ne?: number | undefined;
619
+ } | undefined;
620
+ }, {
621
+ readonly value: {
622
+ readonly kind: "comparison";
623
+ readonly input: "integer-range";
624
+ };
625
+ }>]>;
276
626
  type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
277
627
  //#endregion
278
628
  //#region src/filters/generics/picklist.d.ts
279
- declare const createPicklistFilter: <const TValue extends v.GenericSchema>(value: TValue) => StrapiStrictFilterObjectSchema<{
629
+ declare const createPicklistFilter: <const TValue extends v.GenericSchema>(value: TValue) => v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
280
630
  readonly $notNull: v.LiteralSchema<true, undefined>;
281
631
  readonly $null: v.LiteralSchema<true, undefined>;
282
632
  readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
@@ -292,8 +642,28 @@ declare const createPicklistFilter: <const TValue extends v.GenericSchema>(value
292
642
  readonly $eq: TValue;
293
643
  readonly $ne: TValue;
294
644
  }>;
295
- }>;
296
- declare const createPicklistArrayFilter: <const TValue extends v.GenericSchema>(value: TValue) => StrapiStrictFilterObjectSchema<{
645
+ }>, v.MetadataAction<{
646
+ readonly $notNull?: true | undefined;
647
+ readonly $null?: true | undefined;
648
+ readonly $in?: v.InferOutput<TValue>[] | undefined;
649
+ readonly $notIn?: v.InferOutput<TValue>[] | undefined;
650
+ readonly $eq?: v.InferOutput<TValue> | undefined;
651
+ readonly $ne?: v.InferOutput<TValue> | undefined;
652
+ readonly $not?: {
653
+ readonly $notNull?: true | undefined;
654
+ readonly $null?: true | undefined;
655
+ readonly $in?: v.InferOutput<TValue>[] | undefined;
656
+ readonly $notIn?: v.InferOutput<TValue>[] | undefined;
657
+ readonly $eq?: v.InferOutput<TValue> | undefined;
658
+ readonly $ne?: v.InferOutput<TValue> | undefined;
659
+ } | undefined;
660
+ }, {
661
+ readonly value: {
662
+ readonly kind: "comparison";
663
+ readonly input: "select";
664
+ };
665
+ }>]>;
666
+ declare const createPicklistArrayFilter: <const TValue extends v.GenericSchema>(value: TValue) => v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
297
667
  readonly $notNull: v.LiteralSchema<true, undefined>;
298
668
  readonly $null: v.LiteralSchema<true, undefined>;
299
669
  readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
@@ -309,10 +679,30 @@ declare const createPicklistArrayFilter: <const TValue extends v.GenericSchema>(
309
679
  readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
310
680
  readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
311
681
  }>;
312
- }>;
682
+ }>, v.MetadataAction<{
683
+ readonly $notNull?: true | undefined;
684
+ readonly $null?: true | undefined;
685
+ readonly $in?: v.InferOutput<TValue>[] | undefined;
686
+ readonly $notIn?: v.InferOutput<TValue>[] | undefined;
687
+ readonly $eq?: v.InferOutput<TValue>[] | undefined;
688
+ readonly $ne?: v.InferOutput<TValue>[] | undefined;
689
+ readonly $not?: {
690
+ readonly $notNull?: true | undefined;
691
+ readonly $null?: true | undefined;
692
+ readonly $in?: v.InferOutput<TValue>[] | undefined;
693
+ readonly $notIn?: v.InferOutput<TValue>[] | undefined;
694
+ readonly $eq?: v.InferOutput<TValue>[] | undefined;
695
+ readonly $ne?: v.InferOutput<TValue>[] | undefined;
696
+ } | undefined;
697
+ }, {
698
+ readonly value: {
699
+ readonly kind: "comparison";
700
+ readonly input: "select";
701
+ };
702
+ }>]>;
313
703
  //#endregion
314
704
  //#region src/filters/generics/string.d.ts
315
- declare const StringFilter: StrapiStrictFilterObjectSchema<{
705
+ declare const StringFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
316
706
  readonly $notNull: v.LiteralSchema<true, undefined>;
317
707
  readonly $null: v.LiteralSchema<true, undefined>;
318
708
  readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
@@ -344,9 +734,46 @@ declare const StringFilter: StrapiStrictFilterObjectSchema<{
344
734
  readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
345
735
  readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
346
736
  }>;
347
- }>;
737
+ }>, v.MetadataAction<{
738
+ readonly $notNull?: true | undefined;
739
+ readonly $null?: true | undefined;
740
+ readonly $contains?: string | undefined;
741
+ readonly $containsi?: string | undefined;
742
+ readonly $endsWith?: string | undefined;
743
+ readonly $endsWithi?: string | undefined;
744
+ readonly $notContains?: string | undefined;
745
+ readonly $notContainsi?: string | undefined;
746
+ readonly $startsWith?: string | undefined;
747
+ readonly $startsWithi?: string | undefined;
748
+ readonly $eqi?: string | undefined;
749
+ readonly $nei?: string | undefined;
750
+ readonly $eq?: string | undefined;
751
+ readonly $ne?: string | undefined;
752
+ readonly $not?: {
753
+ readonly $notNull?: true | undefined;
754
+ readonly $null?: true | undefined;
755
+ readonly $contains?: string | undefined;
756
+ readonly $containsi?: string | undefined;
757
+ readonly $endsWith?: string | undefined;
758
+ readonly $endsWithi?: string | undefined;
759
+ readonly $notContains?: string | undefined;
760
+ readonly $notContainsi?: string | undefined;
761
+ readonly $startsWith?: string | undefined;
762
+ readonly $startsWithi?: string | undefined;
763
+ readonly $eqi?: string | undefined;
764
+ readonly $nei?: string | undefined;
765
+ readonly $eq?: string | undefined;
766
+ readonly $ne?: string | undefined;
767
+ } | undefined;
768
+ }, {
769
+ readonly value: {
770
+ readonly kind: "comparison";
771
+ readonly input: "text";
772
+ };
773
+ readonly operators: readonly [];
774
+ }>]>;
348
775
  type StringFilter = v.InferOutput<typeof StringFilter>;
349
- declare const LongStringFilter: StrapiStrictFilterObjectSchema<{
776
+ declare const LongStringFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSchema<{
350
777
  readonly $notNull: v.LiteralSchema<true, undefined>;
351
778
  readonly $null: v.LiteralSchema<true, undefined>;
352
779
  readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
@@ -378,29 +805,43 @@ declare const LongStringFilter: StrapiStrictFilterObjectSchema<{
378
805
  readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
379
806
  readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
380
807
  }>;
381
- }>;
808
+ }>, v.MetadataAction<{
809
+ readonly $notNull?: true | undefined;
810
+ readonly $null?: true | undefined;
811
+ readonly $contains?: string | undefined;
812
+ readonly $containsi?: string | undefined;
813
+ readonly $endsWith?: string | undefined;
814
+ readonly $endsWithi?: string | undefined;
815
+ readonly $notContains?: string | undefined;
816
+ readonly $notContainsi?: string | undefined;
817
+ readonly $startsWith?: string | undefined;
818
+ readonly $startsWithi?: string | undefined;
819
+ readonly $eqi?: string | undefined;
820
+ readonly $nei?: string | undefined;
821
+ readonly $eq?: string | undefined;
822
+ readonly $ne?: string | undefined;
823
+ readonly $not?: {
824
+ readonly $notNull?: true | undefined;
825
+ readonly $null?: true | undefined;
826
+ readonly $contains?: string | undefined;
827
+ readonly $containsi?: string | undefined;
828
+ readonly $endsWith?: string | undefined;
829
+ readonly $endsWithi?: string | undefined;
830
+ readonly $notContains?: string | undefined;
831
+ readonly $notContainsi?: string | undefined;
832
+ readonly $startsWith?: string | undefined;
833
+ readonly $startsWithi?: string | undefined;
834
+ readonly $eqi?: string | undefined;
835
+ readonly $nei?: string | undefined;
836
+ readonly $eq?: string | undefined;
837
+ readonly $ne?: string | undefined;
838
+ } | undefined;
839
+ }, {
840
+ readonly value: {
841
+ readonly kind: "comparison";
842
+ readonly input: "textarea";
843
+ };
844
+ }>]>;
382
845
  type LongStringFilter = v.InferOutput<typeof LongStringFilter>;
383
- declare const ExactStringFilter: StrapiStrictFilterObjectSchema<{
384
- readonly $notNull: v.LiteralSchema<true, undefined>;
385
- readonly $null: v.LiteralSchema<true, undefined>;
386
- readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
387
- readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
388
- readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
389
- readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
390
- readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
391
- readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
392
- } & {
393
- readonly $not: StrapiStrictFilterObjectSchema<{
394
- readonly $notNull: v.LiteralSchema<true, undefined>;
395
- readonly $null: v.LiteralSchema<true, undefined>;
396
- readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
397
- readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
398
- readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
399
- readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
400
- readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
401
- readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
402
- }>;
403
- }>;
404
- type ExactStringFilter = v.InferOutput<typeof ExactStringFilter>;
405
846
  //#endregion
406
- export { BooleanFilter as C, StrapiStrictFilterObjectSchema as E, TimeFilterValue as S, StrapiLogicalFilter as T, DateFilter as _, createPicklistFilter as a, DateTimeFilterValue as b, NUMBER_STRING_PATTERN as c, DocumentIdFilter as d, EmailFilter as f, UrlFilter as g, SlugFilter as h, createPicklistArrayFilter as i, NumberFilter as l, IdFilterValue as m, LongStringFilter as n, IntegerFilter as o, IdFilter as p, StringFilter as r, IntegerFilterValue as s, ExactStringFilter as t, NumberFilterValue as u, DateFilterValue as v, BooleanFilterValue as w, TimeFilter as x, DateTimeFilter as y };
847
+ export { createStrapiFilterSchema as A, OptionalStrapiFilterEntries as B, BooleanFilterValue as C, createStrapiArrayMembershipOperatorEntries as D, StrapiNullOperatorEntries as E, StrapiFilterOperator as F, StrapiLogicalFilter as G, StrapiFilterInput as H, StrapiFilterOperatorKind as I, StrapiStrictFilterObjectSchema as J, StrapiStrictFilterObjectInput as K, createFilterWithMetadata as L, FilterSchemaMetadata as M, STRAPI_FILTER_OPERATORS as N, createStrapiBetweenOperatorEntries as O, StrapiFilterInputType as P, createStrapiOrderedComparisonOperatorEntries as Q, createStrapiFieldOperatorSchema as R, BooleanFilter as S, createStrapiStrictFilterObject as T, StrapiFilterOutput as U, StrapiFilterEntries as V, StrapiFilterSchema as W, createStrapiComparisonOperatorEntries as X, createStrapiCaseInsensitiveEqualityOperatorEntries as Y, createStrapiEqualityOperatorEntries as Z, DateFilterValue as _, IntegerFilter as a, TimeFilter as b, NumberFilter as c, EmailFilter as d, IdFilter as f, DateFilter as g, UrlFilter as h, createPicklistFilter as i, createStrapiLogicalFilterEntries as j, createStrapiMembershipOperatorEntries as k, NumberFilterValue as l, SlugFilter as m, StringFilter as n, IntegerFilterValue as o, IdFilterValue as p, StrapiStrictFilterObjectOutput as q, createPicklistArrayFilter as r, NUMBER_STRING_PATTERN as s, LongStringFilter as t, DocumentIdFilter as u, DateTimeFilter as v, createStrapiStringMatchingOperatorEntries as w, TimeFilterValue as x, DateTimeFilterValue as y, createStrapiOperatorSchema as z };