@getcommunity/gc-validators 0.0.308 → 0.0.310
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/index.cjs +1 -1
- package/dist/base/index.d.cts +2 -2
- package/dist/base/index.d.mts +2 -2
- package/dist/base/index.mjs +1 -1
- package/dist/{boolean-Awn5E33N.mjs → boolean-RybEp4Qm.mjs} +1 -1
- package/dist/{boolean-DzD4fTb5.cjs → boolean-XOzedrAG.cjs} +1 -1
- package/dist/entities/audit-log/query.cjs +3 -3
- package/dist/entities/audit-log/query.d.cts +1 -1
- package/dist/entities/audit-log/query.d.mts +1 -1
- package/dist/entities/audit-log/query.mjs +3 -3
- package/dist/entities/blog-post/query.cjs +4 -4
- package/dist/entities/blog-post/query.d.cts +1 -1
- package/dist/entities/blog-post/query.d.mts +1 -1
- package/dist/entities/blog-post/query.mjs +4 -4
- package/dist/entities/category/query.cjs +2 -2
- package/dist/entities/category/query.d.cts +1 -1
- package/dist/entities/category/query.d.mts +1 -1
- package/dist/entities/category/query.mjs +2 -2
- package/dist/entities/client/query.cjs +4 -4
- package/dist/entities/client/query.d.cts +1 -1
- package/dist/entities/client/query.d.mts +1 -1
- package/dist/entities/client/query.mjs +4 -4
- package/dist/entities/client-content-pillar/query.cjs +1 -1
- package/dist/entities/client-content-pillar/query.d.cts +1 -1
- package/dist/entities/client-content-pillar/query.d.mts +1 -1
- package/dist/entities/client-content-pillar/query.mjs +1 -1
- package/dist/entities/client-email/query.cjs +2 -2
- package/dist/entities/client-email/query.d.cts +2 -2
- package/dist/entities/client-email/query.d.mts +2 -2
- package/dist/entities/client-email/query.mjs +2 -2
- package/dist/entities/client-media-platform/query.cjs +1 -1
- package/dist/entities/client-media-platform/query.d.cts +1 -1
- package/dist/entities/client-media-platform/query.d.mts +1 -1
- package/dist/entities/client-media-platform/query.mjs +1 -1
- package/dist/entities/client-project/query.cjs +4 -4
- package/dist/entities/client-project/query.d.cts +2 -2
- package/dist/entities/client-project/query.d.mts +2 -2
- package/dist/entities/client-project/query.mjs +4 -4
- package/dist/entities/client-report/query.cjs +4 -4
- package/dist/entities/client-report/query.d.cts +2 -2
- package/dist/entities/client-report/query.d.mts +2 -2
- package/dist/entities/client-report/query.mjs +4 -4
- package/dist/entities/client-styleguide/query.cjs +3 -3
- package/dist/entities/client-styleguide/query.d.cts +2 -2
- package/dist/entities/client-styleguide/query.d.mts +2 -2
- package/dist/entities/client-styleguide/query.mjs +3 -3
- package/dist/entities/client-user/query.cjs +1 -1
- package/dist/entities/client-user/query.d.cts +1 -1
- package/dist/entities/client-user/query.d.mts +1 -1
- package/dist/entities/client-user/query.mjs +1 -1
- package/dist/entities/content-pillar/query.cjs +1 -1
- package/dist/entities/content-pillar/query.d.cts +1 -1
- package/dist/entities/content-pillar/query.d.mts +1 -1
- package/dist/entities/content-pillar/query.mjs +1 -1
- package/dist/entities/gcflytour/query.cjs +1 -1
- package/dist/entities/gcflytour/query.d.cts +1 -1
- package/dist/entities/gcflytour/query.d.mts +1 -1
- package/dist/entities/gcflytour/query.mjs +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +1 -1
- package/dist/entities/gcflytour-snap/query.d.cts +1 -1
- package/dist/entities/gcflytour-snap/query.d.mts +1 -1
- package/dist/entities/gcflytour-snap/query.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +1 -1
- package/dist/entities/media-content-type/query.d.cts +1 -1
- package/dist/entities/media-content-type/query.d.mts +1 -1
- package/dist/entities/media-content-type/query.mjs +1 -1
- package/dist/entities/media-creative-format/query.cjs +1 -1
- package/dist/entities/media-creative-format/query.d.cts +1 -1
- package/dist/entities/media-creative-format/query.d.mts +1 -1
- package/dist/entities/media-creative-format/query.mjs +1 -1
- package/dist/entities/media-medium/query.cjs +1 -1
- package/dist/entities/media-medium/query.d.cts +1 -1
- package/dist/entities/media-medium/query.d.mts +1 -1
- package/dist/entities/media-medium/query.mjs +1 -1
- package/dist/entities/media-platform/query.cjs +1 -1
- package/dist/entities/media-platform/query.d.cts +1 -1
- package/dist/entities/media-platform/query.d.mts +1 -1
- package/dist/entities/media-platform/query.mjs +1 -1
- package/dist/entities/monday-workspace/query.cjs +2 -2
- package/dist/entities/monday-workspace/query.d.cts +2 -2
- package/dist/entities/monday-workspace/query.d.mts +2 -2
- package/dist/entities/monday-workspace/query.mjs +2 -2
- package/dist/entities/tag/query.cjs +2 -2
- package/dist/entities/tag/query.d.cts +1 -1
- package/dist/entities/tag/query.d.mts +1 -1
- package/dist/entities/tag/query.mjs +2 -2
- package/dist/entities/team-member/query.cjs +4 -4
- package/dist/entities/team-member/query.d.cts +1 -1
- package/dist/entities/team-member/query.d.mts +1 -1
- package/dist/entities/team-member/query.mjs +4 -4
- package/dist/entities/up-permission/fields.cjs +1 -1
- package/dist/entities/up-permission/fields.d.cts +1 -1
- package/dist/entities/up-permission/fields.d.mts +1 -1
- package/dist/entities/up-permission/fields.mjs +1 -1
- package/dist/entities/up-role/query.cjs +3 -3
- package/dist/entities/up-role/query.d.cts +1 -1
- package/dist/entities/up-role/query.d.mts +1 -1
- package/dist/entities/up-role/query.mjs +3 -3
- package/dist/entities/up-user/query.cjs +1 -1
- package/dist/entities/up-user/query.d.cts +1 -1
- package/dist/entities/up-user/query.d.mts +1 -1
- package/dist/entities/up-user/query.mjs +1 -1
- package/dist/entities/url-redirect/query.cjs +4 -4
- package/dist/entities/url-redirect/query.d.cts +1 -1
- package/dist/entities/url-redirect/query.d.mts +1 -1
- package/dist/entities/url-redirect/query.mjs +4 -4
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.d.cts +1 -1
- package/dist/entities/user-account/query.d.mts +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-tracking-link/query.cjs +4 -4
- package/dist/entities/utm-tracking-link/query.d.cts +3 -3
- package/dist/entities/utm-tracking-link/query.d.mts +3 -3
- package/dist/entities/utm-tracking-link/query.mjs +4 -4
- package/dist/{fields-BmZULYPg.d.cts → fields-0kU1Ki5J.d.cts} +1 -1
- package/dist/{fields-1U7noaTo.d.mts → fields-ClKDIXBA.d.mts} +1 -1
- package/dist/filters/index.cjs +5 -5
- package/dist/filters/index.d.cts +1 -1
- package/dist/filters/index.d.mts +1 -1
- package/dist/filters/index.mjs +5 -5
- package/dist/{identifier-B5hoNK94.cjs → identifier-D-1XmLpg.cjs} +7 -3
- package/dist/{identifier-P11I6-2e.mjs → identifier-DB1uyBYb.mjs} +7 -3
- package/dist/{index-DrNoP-_5.d.mts → index-BMe7Jofa.d.mts} +1 -1
- package/dist/{index-M8czzs6r.d.cts → index-C1lno-pG.d.cts} +33 -13
- package/dist/{index-M8czzs6r.d.mts → index-C1lno-pG.d.mts} +33 -13
- package/dist/{index-BKxoyWIT.d.cts → index-DNnT5eta.d.cts} +1 -1
- package/dist/{null-operators-CGfkGrIO.cjs → null-operators-DBp96-T6.cjs} +1 -1
- package/dist/{null-operators-t1LAL1Jv.mjs → null-operators-DP33n2mH.mjs} +1 -1
- package/dist/{picklist-DbQ-Fjn0.mjs → picklist-GevPCTtB.mjs} +1 -1
- package/dist/{picklist-ilW7cZW7.cjs → picklist-s9pJvW6F.cjs} +1 -1
- package/dist/{query-DF85FJRT.d.cts → query-55OkccFS.d.mts} +1 -1
- package/dist/{query-Bwjam4Z-.d.cts → query-B0pQqqOC.d.cts} +1 -1
- package/dist/{query-BqtZJliF.d.mts → query-BAguu4Pe.d.cts} +2 -2
- package/dist/{query-D6FiVYPp.mjs → query-BBR-Bpe9.mjs} +3 -3
- package/dist/{query-lMKzM90T.d.cts → query-BCyT-YOb.d.mts} +4 -4
- package/dist/{query-DmP074m6.mjs → query-BI-cl9vk.mjs} +3 -3
- package/dist/{query-CCVy5AFa.mjs → query-BuPgN1NJ.mjs} +3 -3
- package/dist/{query-BMbkq_eR.d.mts → query-CKVUw333.d.cts} +4 -4
- package/dist/{query-CAsrSbX3.d.mts → query-COw6BUqd.d.mts} +1 -1
- package/dist/{query-CB5--WQd.d.mts → query-CTAnHA1h.d.cts} +2 -2
- package/dist/{query-D-i9F0yF.cjs → query-D6IHT71S.cjs} +1 -1
- package/dist/{query-BeE--MIO.d.cts → query-DDHzw_gU.d.cts} +2 -2
- package/dist/{query-37qHv0dT.mjs → query-DRi-A4NN.mjs} +1 -1
- package/dist/{query-C7PXaNyZ.d.mts → query-DY9xvKfl.d.mts} +2 -2
- package/dist/{query-CtrsxZKW.cjs → query-DYywyKqR.cjs} +3 -3
- package/dist/{query-nhy4I6mm.d.cts → query-Dq1bV-Ox.d.mts} +2 -2
- package/dist/{query-C98m5sMH.d.cts → query-Dw2sqX5D.d.mts} +2 -2
- package/dist/{query-CV9Q9iZv.d.mts → query-E5t59Yi4.d.mts} +1 -1
- package/dist/{query-Bj9M3CNT.cjs → query-FKM0mcIQ.cjs} +3 -3
- package/dist/{query-CtFtyo3M.cjs → query-MLnPaiIU.cjs} +3 -3
- package/dist/{query-BLEF9j_D.d.cts → query-McAvfHCo.d.cts} +1 -1
- package/dist/{query-DJb7ukGF.d.mts → query-XnRMYLD2.d.cts} +1 -1
- package/dist/{query-D1zYGtel.mjs → query-m56k-baL.mjs} +3 -3
- package/dist/{query-LI2-OdpF.cjs → query-n0MHg__1.cjs} +3 -3
- package/dist/{string-DFJlWRKA.mjs → string-CC8a21CV.mjs} +1 -1
- package/dist/{string-CFRNdIpd.cjs → string-CyNOaE16.cjs} +1 -1
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ type StrapiLogicalFilter<TFields extends object, TDepth extends StrapiFilterMaxD
|
|
|
52
52
|
$not?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>;
|
|
53
53
|
});
|
|
54
54
|
type StrapiMembershipInput<TValue> = TValue extends readonly (infer TItem)[] ? (TItem | undefined)[] : TValue;
|
|
55
|
-
type StrapiBetweenInput<TValue> = TValue extends readonly
|
|
55
|
+
type StrapiBetweenInput<TValue> = TValue extends readonly [infer TStart, infer TEnd] ? [TStart, TEnd] : TValue;
|
|
56
56
|
type StrapiLogicalFilterInputValue<TKey extends PropertyKey, TValue> = TKey extends "$in" | "$notIn" ? StrapiMembershipInput<TValue> : TKey extends "$between" ? StrapiBetweenInput<TValue> : TKey extends "$and" | "$or" ? TValue extends readonly (infer TItem)[] ? StrapiLogicalFilterInputField<TItem>[] : TValue : TKey extends "$not" ? StrapiLogicalFilterInputField<TValue> : StrapiLogicalFilterInputField<TValue>;
|
|
57
57
|
type StrapiLogicalFilterInputField<TField> = TField extends readonly unknown[] ? TField : TField extends object ? Simplify<{ [TKey in keyof TField]: StrapiLogicalFilterInputValue<TKey, TField[TKey]> }> : TField;
|
|
58
58
|
type StrapiLogicalFilterInputFields<TFields extends object> = { [TKey in keyof TFields]: StrapiLogicalFilterInputField<TFields[TKey]> };
|
|
@@ -133,10 +133,10 @@ declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends
|
|
|
133
133
|
$notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.TransformAction<v.InferOutput<TValue>[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>, undefined>;
|
|
134
134
|
};
|
|
135
135
|
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
136
|
-
$between: v.OptionalSchema<v.
|
|
136
|
+
$between: v.OptionalSchema<v.StrictTupleSchema<[TValue, TValue], undefined>, undefined>;
|
|
137
137
|
};
|
|
138
138
|
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
139
|
-
$between: v.OptionalSchema<v.
|
|
139
|
+
$between: v.OptionalSchema<v.StrictTupleSchema<[TValue, TValue], undefined>, undefined>;
|
|
140
140
|
$in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.TransformAction<v.InferOutput<TValue>[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>, undefined>;
|
|
141
141
|
$notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.TransformAction<v.InferOutput<TValue>[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>, undefined>;
|
|
142
142
|
};
|
|
@@ -197,7 +197,7 @@ type DateTimeFilterValue = v.InferOutput<typeof DateTimeFilterValue>;
|
|
|
197
197
|
declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
198
198
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
199
199
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
200
|
-
readonly $between: v.OptionalSchema<v.
|
|
200
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
201
201
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
202
202
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
203
203
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -210,7 +210,7 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
210
210
|
$not: StrapiFilterObjectSchema<{
|
|
211
211
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
212
212
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
213
|
-
readonly $between: v.OptionalSchema<v.
|
|
213
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
214
214
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
215
215
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
216
216
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -230,7 +230,7 @@ type DateFilter = v.InferOutput<typeof DateFilter>;
|
|
|
230
230
|
declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
231
231
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
232
232
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
233
|
-
readonly $between: v.OptionalSchema<v.
|
|
233
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
234
234
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
235
235
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
236
236
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -243,7 +243,7 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
243
243
|
$not: StrapiFilterObjectSchema<{
|
|
244
244
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
245
245
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
246
|
-
readonly $between: v.OptionalSchema<v.
|
|
246
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
247
247
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
248
248
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
249
249
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -263,7 +263,7 @@ type TimeFilter = v.InferOutput<typeof TimeFilter>;
|
|
|
263
263
|
declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
264
264
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
265
265
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
266
|
-
readonly $between: v.OptionalSchema<v.
|
|
266
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
267
267
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
268
268
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
269
269
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -276,7 +276,7 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
276
276
|
$not: StrapiFilterObjectSchema<{
|
|
277
277
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
278
278
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
279
|
-
readonly $between: v.OptionalSchema<v.
|
|
279
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
280
280
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
281
281
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
282
282
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -298,10 +298,14 @@ type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
|
|
|
298
298
|
declare const IdFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
299
299
|
type IdFilterValue = v.InferOutput<typeof IdFilterValue>;
|
|
300
300
|
declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
301
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
302
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
301
303
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
302
304
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
303
305
|
} & {
|
|
304
306
|
$not: StrapiFilterObjectSchema<{
|
|
307
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
308
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
305
309
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
306
310
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
307
311
|
}>;
|
|
@@ -313,12 +317,16 @@ declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEn
|
|
|
313
317
|
}>;
|
|
314
318
|
type IdFilter = v.InferOutput<typeof IdFilter>;
|
|
315
319
|
declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
320
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
321
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
316
322
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
317
323
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
318
324
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
319
325
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
320
326
|
} & {
|
|
321
327
|
$not: StrapiFilterObjectSchema<{
|
|
328
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
329
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
322
330
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
323
331
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
324
332
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -332,12 +340,16 @@ declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapi
|
|
|
332
340
|
}>;
|
|
333
341
|
type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
|
|
334
342
|
declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
343
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
344
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
335
345
|
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: - _ .">]>;
|
|
336
346
|
readonly $nei: 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: - _ .">]>;
|
|
337
347
|
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: - _ .">]>;
|
|
338
348
|
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: - _ .">]>;
|
|
339
349
|
} & {
|
|
340
350
|
$not: StrapiFilterObjectSchema<{
|
|
351
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
352
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
341
353
|
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: - _ .">]>;
|
|
342
354
|
readonly $nei: 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: - _ .">]>;
|
|
343
355
|
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: - _ .">]>;
|
|
@@ -351,12 +363,16 @@ declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
351
363
|
}>;
|
|
352
364
|
type SlugFilter = v.InferOutput<typeof SlugFilter>;
|
|
353
365
|
declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
366
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
367
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
354
368
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
355
369
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
356
370
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
357
371
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
358
372
|
} & {
|
|
359
373
|
$not: StrapiFilterObjectSchema<{
|
|
374
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
375
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
360
376
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
361
377
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
362
378
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
@@ -370,12 +386,16 @@ declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilte
|
|
|
370
386
|
}>;
|
|
371
387
|
type EmailFilter = v.InferOutput<typeof EmailFilter>;
|
|
372
388
|
declare const UrlFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
389
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
390
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
373
391
|
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.">]>;
|
|
374
392
|
readonly $nei: 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.">]>;
|
|
375
393
|
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.">]>;
|
|
376
394
|
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.">]>;
|
|
377
395
|
} & {
|
|
378
396
|
$not: StrapiFilterObjectSchema<{
|
|
397
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
398
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
379
399
|
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.">]>;
|
|
380
400
|
readonly $nei: 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.">]>;
|
|
381
401
|
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.">]>;
|
|
@@ -398,7 +418,7 @@ type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
|
|
|
398
418
|
declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
399
419
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
400
420
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
401
|
-
readonly $between: v.OptionalSchema<v.
|
|
421
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
402
422
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
403
423
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
404
424
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -411,7 +431,7 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
411
431
|
$not: StrapiFilterObjectSchema<{
|
|
412
432
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
413
433
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
414
|
-
readonly $between: v.OptionalSchema<v.
|
|
434
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
415
435
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
416
436
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
417
437
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -431,7 +451,7 @@ type NumberFilter = v.InferOutput<typeof NumberFilter>;
|
|
|
431
451
|
declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
432
452
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
433
453
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
434
|
-
readonly $between: v.OptionalSchema<v.
|
|
454
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
435
455
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
436
456
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
437
457
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -444,7 +464,7 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
444
464
|
$not: StrapiFilterObjectSchema<{
|
|
445
465
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
446
466
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
447
|
-
readonly $between: v.OptionalSchema<v.
|
|
467
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
448
468
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
449
469
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
450
470
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -52,7 +52,7 @@ type StrapiLogicalFilter<TFields extends object, TDepth extends StrapiFilterMaxD
|
|
|
52
52
|
$not?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>;
|
|
53
53
|
});
|
|
54
54
|
type StrapiMembershipInput<TValue> = TValue extends readonly (infer TItem)[] ? (TItem | undefined)[] : TValue;
|
|
55
|
-
type StrapiBetweenInput<TValue> = TValue extends readonly
|
|
55
|
+
type StrapiBetweenInput<TValue> = TValue extends readonly [infer TStart, infer TEnd] ? [TStart, TEnd] : TValue;
|
|
56
56
|
type StrapiLogicalFilterInputValue<TKey extends PropertyKey, TValue> = TKey extends "$in" | "$notIn" ? StrapiMembershipInput<TValue> : TKey extends "$between" ? StrapiBetweenInput<TValue> : TKey extends "$and" | "$or" ? TValue extends readonly (infer TItem)[] ? StrapiLogicalFilterInputField<TItem>[] : TValue : TKey extends "$not" ? StrapiLogicalFilterInputField<TValue> : StrapiLogicalFilterInputField<TValue>;
|
|
57
57
|
type StrapiLogicalFilterInputField<TField> = TField extends readonly unknown[] ? TField : TField extends object ? Simplify<{ [TKey in keyof TField]: StrapiLogicalFilterInputValue<TKey, TField[TKey]> }> : TField;
|
|
58
58
|
type StrapiLogicalFilterInputFields<TFields extends object> = { [TKey in keyof TFields]: StrapiLogicalFilterInputField<TFields[TKey]> };
|
|
@@ -133,10 +133,10 @@ declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends
|
|
|
133
133
|
$notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.TransformAction<v.InferOutput<TValue>[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>, undefined>;
|
|
134
134
|
};
|
|
135
135
|
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
136
|
-
$between: v.OptionalSchema<v.
|
|
136
|
+
$between: v.OptionalSchema<v.StrictTupleSchema<[TValue, TValue], undefined>, undefined>;
|
|
137
137
|
};
|
|
138
138
|
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
139
|
-
$between: v.OptionalSchema<v.
|
|
139
|
+
$between: v.OptionalSchema<v.StrictTupleSchema<[TValue, TValue], undefined>, undefined>;
|
|
140
140
|
$in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.TransformAction<v.InferOutput<TValue>[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>, undefined>;
|
|
141
141
|
$notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.TransformAction<v.InferOutput<TValue>[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>, undefined>;
|
|
142
142
|
};
|
|
@@ -197,7 +197,7 @@ type DateTimeFilterValue = v.InferOutput<typeof DateTimeFilterValue>;
|
|
|
197
197
|
declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
198
198
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
199
199
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
200
|
-
readonly $between: v.OptionalSchema<v.
|
|
200
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
201
201
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
202
202
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
203
203
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -210,7 +210,7 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
210
210
|
$not: StrapiFilterObjectSchema<{
|
|
211
211
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
212
212
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
213
|
-
readonly $between: v.OptionalSchema<v.
|
|
213
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
214
214
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
215
215
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
216
216
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -230,7 +230,7 @@ type DateFilter = v.InferOutput<typeof DateFilter>;
|
|
|
230
230
|
declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
231
231
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
232
232
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
233
|
-
readonly $between: v.OptionalSchema<v.
|
|
233
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
234
234
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
235
235
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
236
236
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -243,7 +243,7 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
243
243
|
$not: StrapiFilterObjectSchema<{
|
|
244
244
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
245
245
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
246
|
-
readonly $between: v.OptionalSchema<v.
|
|
246
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
247
247
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
248
248
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
249
249
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -263,7 +263,7 @@ type TimeFilter = v.InferOutput<typeof TimeFilter>;
|
|
|
263
263
|
declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
264
264
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
265
265
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
266
|
-
readonly $between: v.OptionalSchema<v.
|
|
266
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
267
267
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
268
268
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
269
269
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -276,7 +276,7 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
276
276
|
$not: StrapiFilterObjectSchema<{
|
|
277
277
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
278
278
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
279
|
-
readonly $between: v.OptionalSchema<v.
|
|
279
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
280
280
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
281
281
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.TransformAction<string[], string[]>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
|
|
282
282
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -298,10 +298,14 @@ type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
|
|
|
298
298
|
declare const IdFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
299
299
|
type IdFilterValue = v.InferOutput<typeof IdFilterValue>;
|
|
300
300
|
declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
301
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
302
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
301
303
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
302
304
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
303
305
|
} & {
|
|
304
306
|
$not: StrapiFilterObjectSchema<{
|
|
307
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
308
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
305
309
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
306
310
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
307
311
|
}>;
|
|
@@ -313,12 +317,16 @@ declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEn
|
|
|
313
317
|
}>;
|
|
314
318
|
type IdFilter = v.InferOutput<typeof IdFilter>;
|
|
315
319
|
declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
320
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
321
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
316
322
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
317
323
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
318
324
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
319
325
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
320
326
|
} & {
|
|
321
327
|
$not: StrapiFilterObjectSchema<{
|
|
328
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
329
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
322
330
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
323
331
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
324
332
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -332,12 +340,16 @@ declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapi
|
|
|
332
340
|
}>;
|
|
333
341
|
type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
|
|
334
342
|
declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
343
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
344
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
335
345
|
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: - _ .">]>;
|
|
336
346
|
readonly $nei: 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: - _ .">]>;
|
|
337
347
|
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: - _ .">]>;
|
|
338
348
|
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: - _ .">]>;
|
|
339
349
|
} & {
|
|
340
350
|
$not: StrapiFilterObjectSchema<{
|
|
351
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
352
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
341
353
|
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: - _ .">]>;
|
|
342
354
|
readonly $nei: 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: - _ .">]>;
|
|
343
355
|
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: - _ .">]>;
|
|
@@ -351,12 +363,16 @@ declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
351
363
|
}>;
|
|
352
364
|
type SlugFilter = v.InferOutput<typeof SlugFilter>;
|
|
353
365
|
declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
366
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
367
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
354
368
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
355
369
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
356
370
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
357
371
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
358
372
|
} & {
|
|
359
373
|
$not: StrapiFilterObjectSchema<{
|
|
374
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
375
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
360
376
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
361
377
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
362
378
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
@@ -370,12 +386,16 @@ declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilte
|
|
|
370
386
|
}>;
|
|
371
387
|
type EmailFilter = v.InferOutput<typeof EmailFilter>;
|
|
372
388
|
declare const UrlFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
389
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
390
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
373
391
|
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.">]>;
|
|
374
392
|
readonly $nei: 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.">]>;
|
|
375
393
|
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.">]>;
|
|
376
394
|
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.">]>;
|
|
377
395
|
} & {
|
|
378
396
|
$not: StrapiFilterObjectSchema<{
|
|
397
|
+
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
398
|
+
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.TransformAction<(string | number)[], (string | number)[]>, v.MinLengthAction<(string | number)[], 1, undefined>]>, undefined>;
|
|
379
399
|
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.">]>;
|
|
380
400
|
readonly $nei: 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.">]>;
|
|
381
401
|
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.">]>;
|
|
@@ -398,7 +418,7 @@ type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
|
|
|
398
418
|
declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
399
419
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
400
420
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
401
|
-
readonly $between: v.OptionalSchema<v.
|
|
421
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
402
422
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
403
423
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
404
424
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -411,7 +431,7 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
411
431
|
$not: StrapiFilterObjectSchema<{
|
|
412
432
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
413
433
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
414
|
-
readonly $between: v.OptionalSchema<v.
|
|
434
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
415
435
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
416
436
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
417
437
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -431,7 +451,7 @@ type NumberFilter = v.InferOutput<typeof NumberFilter>;
|
|
|
431
451
|
declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
432
452
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
433
453
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
434
|
-
readonly $between: v.OptionalSchema<v.
|
|
454
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
435
455
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
436
456
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
437
457
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -444,7 +464,7 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
444
464
|
$not: StrapiFilterObjectSchema<{
|
|
445
465
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
446
466
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
447
|
-
readonly $between: v.OptionalSchema<v.
|
|
467
|
+
readonly $between: v.OptionalSchema<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>, undefined>;
|
|
448
468
|
readonly $in: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
449
469
|
readonly $notIn: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.TransformAction<number[], number[]>, v.MinLengthAction<number[], 1, undefined>]>, undefined>;
|
|
450
470
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as StrapiLogicalFilter, f as IdFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-
|
|
1
|
+
import { at as StrapiLogicalFilter, f as IdFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-C1lno-pG.cjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -44,7 +44,7 @@ function createStrapiFieldOperatorSchema(entries, metadata) {
|
|
|
44
44
|
const isDefined = (value) => value !== void 0;
|
|
45
45
|
const createStrapiArrayMembershipValue = (value) => valibot.optional(valibot.pipe(valibot.array(value), valibot.transform((items) => items.filter(isDefined)), valibot.minLength(1)));
|
|
46
46
|
const createStrapiBetweenValue = (value) => {
|
|
47
|
-
return valibot.optional(valibot.
|
|
47
|
+
return valibot.optional(valibot.strictTuple([value, value]));
|
|
48
48
|
};
|
|
49
49
|
const createStrapiArrayMembershipOperatorEntries = (value) => ({
|
|
50
50
|
$in: createStrapiArrayMembershipValue(value),
|
|
@@ -42,7 +42,7 @@ function createStrapiFieldOperatorSchema(entries, metadata) {
|
|
|
42
42
|
const isDefined = (value) => value !== void 0;
|
|
43
43
|
const createStrapiArrayMembershipValue = (value) => v.optional(v.pipe(v.array(value), v.transform((items) => items.filter(isDefined)), v.minLength(1)));
|
|
44
44
|
const createStrapiBetweenValue = (value) => {
|
|
45
|
-
return v.optional(v.
|
|
45
|
+
return v.optional(v.strictTuple([value, value]));
|
|
46
46
|
};
|
|
47
47
|
const createStrapiArrayMembershipOperatorEntries = (value) => ({
|
|
48
48
|
$in: createStrapiArrayMembershipValue(value),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createStrapiFieldOperatorSchema, d as createStrapiEqualityOperatorEntries, n as createStrapiArrayMembershipOperatorEntries, t as StrapiNullOperatorEntries } from "./null-operators-
|
|
1
|
+
import { a as createStrapiFieldOperatorSchema, d as createStrapiEqualityOperatorEntries, n as createStrapiArrayMembershipOperatorEntries, t as StrapiNullOperatorEntries } from "./null-operators-DP33n2mH.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
//#region src/filters/generics/picklist.ts
|
|
4
4
|
const createPicklistFilter = (value) => createStrapiFieldOperatorSchema({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_null_operators = require("./null-operators-
|
|
2
|
+
const require_null_operators = require("./null-operators-DBp96-T6.cjs");
|
|
3
3
|
let valibot = require("valibot");
|
|
4
4
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
5
|
//#region src/filters/generics/picklist.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as FilterWithMetadata, S as BooleanFilter, Y as OptionalStrapiFilterEntries, at as StrapiLogicalFilter, f as IdFilter, n as StringFilter, nt as StrapiFilterObjectSchema, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-
|
|
1
|
+
import { R as FilterWithMetadata, S as BooleanFilter, Y as OptionalStrapiFilterEntries, at as StrapiLogicalFilter, f as IdFilter, n as StringFilter, nt as StrapiFilterObjectSchema, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-C1lno-pG.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/client/query.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as FilterWithMetadata, Y as OptionalStrapiFilterEntries, at as StrapiLogicalFilter, f as IdFilter, n as StringFilter, nt as StrapiFilterObjectSchema, ot as StrapiLogicalFilterBaseSchema, t as LongStringFilter, u as DocumentIdFilter, v as DateTimeFilter } from "./index-
|
|
1
|
+
import { R as FilterWithMetadata, Y as OptionalStrapiFilterEntries, at as StrapiLogicalFilter, f as IdFilter, n as StringFilter, nt as StrapiFilterObjectSchema, ot as StrapiLogicalFilterBaseSchema, t as LongStringFilter, u as DocumentIdFilter, v as DateTimeFilter } from "./index-C1lno-pG.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/up-role/query.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as BooleanFilter, at as StrapiLogicalFilter, f as IdFilter, m as SlugFilter, n as StringFilter, ot as StrapiLogicalFilterBaseSchema, t as LongStringFilter, u as DocumentIdFilter, v as DateTimeFilter } from "./index-
|
|
2
|
-
import { n as FilterStrapiClients } from "./query-
|
|
1
|
+
import { S as BooleanFilter, at as StrapiLogicalFilter, f as IdFilter, m as SlugFilter, n as StringFilter, ot as StrapiLogicalFilterBaseSchema, t as LongStringFilter, u as DocumentIdFilter, v as DateTimeFilter } from "./index-C1lno-pG.cjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-XnRMYLD2.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/content-pillar/query.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as SlugFilter, m as DateTimeFilter, r as IdFilter, t as DocumentIdFilter, y as createStrapiFilterSchema } from "./identifier-
|
|
2
|
-
import { n as StringFilter, t as LongStringFilter } from "./string-
|
|
3
|
-
import { t as BooleanFilter } from "./boolean-
|
|
1
|
+
import { a as SlugFilter, m as DateTimeFilter, r as IdFilter, t as DocumentIdFilter, y as createStrapiFilterSchema } from "./identifier-DB1uyBYb.mjs";
|
|
2
|
+
import { n as StringFilter, t as LongStringFilter } from "./string-CC8a21CV.mjs";
|
|
3
|
+
import { t as BooleanFilter } from "./boolean-RybEp4Qm.mjs";
|
|
4
4
|
import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
5
5
|
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
6
6
|
import { FilterStrapiClients } from "./entities/client/query.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as BooleanFilter, at as StrapiLogicalFilter, d as EmailFilter, f as IdFilter, n as StringFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-
|
|
2
|
-
import { n as FilterStrapiClients } from "./query-
|
|
3
|
-
import { t as FilterScopes } from "./fields-
|
|
4
|
-
import { n as FilterStrapiRoles } from "./query-
|
|
1
|
+
import { S as BooleanFilter, at as StrapiLogicalFilter, d as EmailFilter, f as IdFilter, n as StringFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-C1lno-pG.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-55OkccFS.mjs";
|
|
3
|
+
import { t as FilterScopes } from "./fields-ClKDIXBA.mjs";
|
|
4
|
+
import { n as FilterStrapiRoles } from "./query-COw6BUqd.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/entities/up-user/query.d.ts
|