@getcommunity/gc-validators 0.0.307 → 0.0.309
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-CSV21KAU.mjs → boolean-RybEp4Qm.mjs} +1 -1
- package/dist/{boolean-EmlOV5pY.cjs → boolean-XOzedrAG.cjs} +1 -1
- package/dist/entities/audit-log/query.cjs +3 -3
- package/dist/entities/audit-log/query.d.cts +5 -5
- package/dist/entities/audit-log/query.d.mts +5 -5
- 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 +5 -5
- package/dist/entities/blog-post/query.d.mts +5 -5
- 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 +10 -10
- package/dist/entities/client-project/query.d.mts +10 -10
- 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 +6 -6
- package/dist/entities/client-report/query.d.mts +6 -6
- 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 +9 -9
- package/dist/entities/team-member/query.d.mts +9 -9
- 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 +9 -9
- package/dist/entities/url-redirect/query.d.mts +9 -9
- 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-fH9eBxdN.d.mts → fields-BQ1yt66c.d.mts} +5 -5
- package/dist/{fields-C1Fyu_wu.d.cts → fields-DwO8_Cke.d.cts} +5 -5
- 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-BB-4Jyc2.mjs → identifier-DDTLU5oA.mjs} +1 -1
- package/dist/{identifier-DhAm4HtP.cjs → identifier-DKAoMdbv.cjs} +1 -1
- package/dist/{index-BDOm5cRp.d.mts → index-CL5c9Uif.d.mts} +1 -1
- package/dist/{index-Ci8V6Af3.d.cts → index-CQlNHWKN.d.cts} +45 -45
- package/dist/{index-Ci8V6Af3.d.mts → index-CQlNHWKN.d.mts} +45 -45
- package/dist/{index-mi-90G4X.d.cts → index-UqizyXs5.d.cts} +1 -1
- package/dist/{null-operators-CMOvhmbR.cjs → null-operators-DBp96-T6.cjs} +2 -7
- package/dist/{null-operators-BNtly_Pt.mjs → null-operators-DP33n2mH.mjs} +2 -7
- package/dist/{picklist-CSdruzC_.mjs → picklist-GevPCTtB.mjs} +1 -1
- package/dist/{picklist-C_NKS5CP.cjs → picklist-s9pJvW6F.cjs} +1 -1
- package/dist/{query-D2K7yi_x.d.mts → query-12ImGfYb.d.mts} +2 -2
- package/dist/{query-BO_d5Aww.mjs → query-4gV2o6S-.mjs} +3 -3
- package/dist/{query-DhcoO0rc.cjs → query-B42KHa7G.cjs} +3 -3
- package/dist/{query-Dtb6ERuT.d.mts → query-BMgXZG7h.d.mts} +1 -1
- package/dist/query-BQfvhdSG.d.mts +40 -0
- package/dist/{query-BSOGubBf.cjs → query-BfnWd6YI.cjs} +3 -3
- package/dist/{query-DZ7Mk0GS.cjs → query-BoGaVJ9w.cjs} +1 -1
- package/dist/{query-C8lt7lUX.d.cts → query-BtWlVfxL.d.cts} +2 -2
- package/dist/{query-Bb4I5DXo.d.cts → query-CC1inD_q.d.cts} +1 -1
- package/dist/{query-DYbjOGJ5.d.mts → query-CDS-fvsX.d.cts} +2 -2
- package/dist/{query-Cq2s3lso.d.mts → query-CJi1dzB8.d.cts} +5 -5
- package/dist/{query-C1Nbqkm1.cjs → query-CSTOAXhI.cjs} +3 -3
- package/dist/{query-CtY-XCCI.d.mts → query-CbEbS2Yo.d.cts} +4 -4
- package/dist/{query-CsSbv2Zt.d.cts → query-Cs_wV7D4.d.mts} +5 -5
- package/dist/query-D9KyCf6K.d.cts +40 -0
- package/dist/{query-Ch4_eKNX.mjs → query-DDQqFnQ6.mjs} +3 -3
- package/dist/{query-FKvteB-Z.cjs → query-DHT5rLWS.cjs} +3 -3
- package/dist/{query-s2g1kHvd.mjs → query-DKHDwdsP.mjs} +3 -3
- package/dist/{query-wz33GDTD.d.cts → query-DOOf27FG.d.mts} +4 -4
- package/dist/{query-CNpOr9R7.mjs → query-DRvYNP7G.mjs} +3 -3
- package/dist/{query-Dbs_B_ZS.d.cts → query-a7yz82T0.d.mts} +2 -2
- package/dist/{query-DrxU2MHd.mjs → query-aSSoaGLJ.mjs} +1 -1
- package/dist/{query-ADHOChyj.d.cts → query-d0aOT6s1.d.cts} +2 -2
- package/dist/{query-RJ9DnbNb.d.mts → query-mmEnVuN5.d.mts} +2 -2
- package/dist/{string-ClURgmIq.mjs → string-CC8a21CV.mjs} +1 -1
- package/dist/{string-BdAMj_SV.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
- package/dist/query-CavlLTyo.d.cts +0 -40
- package/dist/query-Dl8U5-by.d.mts +0 -40
|
@@ -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-CQlNHWKN.mjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -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 [infer TStart, infer TEnd] ? [
|
|
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]> };
|
|
@@ -129,16 +129,16 @@ declare const createStrapiFilterSchema: <const TFieldEntries extends StrapiFilte
|
|
|
129
129
|
//#endregion
|
|
130
130
|
//#region src/filters/primitives/membership-operators.d.ts
|
|
131
131
|
declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
132
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
133
|
-
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
132
|
+
$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>;
|
|
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.
|
|
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.
|
|
140
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
141
|
-
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
139
|
+
$between: v.OptionalSchema<v.StrictTupleSchema<[TValue, TValue], undefined>, undefined>;
|
|
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
|
+
$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
|
};
|
|
143
143
|
//#endregion
|
|
144
144
|
//#region src/filters/primitives/null-operators.d.ts
|
|
@@ -197,9 +197,9 @@ 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.
|
|
201
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
202
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
204
204
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
205
205
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -210,9 +210,9 @@ 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.
|
|
214
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
215
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
217
217
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
218
218
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -230,9 +230,9 @@ 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.
|
|
234
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
235
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
237
237
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
238
238
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -243,9 +243,9 @@ 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.
|
|
247
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
248
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
250
250
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
251
251
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -263,9 +263,9 @@ 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.
|
|
267
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
268
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
270
270
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
271
271
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -276,9 +276,9 @@ 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.
|
|
280
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
281
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
283
283
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
284
284
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -398,9 +398,9 @@ type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
|
|
|
398
398
|
declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
399
399
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
400
400
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
401
|
-
readonly $between: v.
|
|
402
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
403
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
401
|
+
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
|
+
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
|
+
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
404
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
405
405
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
406
406
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -411,9 +411,9 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
411
411
|
$not: StrapiFilterObjectSchema<{
|
|
412
412
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
413
413
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
414
|
-
readonly $between: v.
|
|
415
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
416
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
414
|
+
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
|
+
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
|
+
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
417
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
418
418
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
419
419
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -431,9 +431,9 @@ type NumberFilter = v.InferOutput<typeof NumberFilter>;
|
|
|
431
431
|
declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
432
432
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
433
433
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
434
|
-
readonly $between: v.
|
|
435
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
436
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
434
|
+
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
|
+
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
|
+
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
437
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
438
438
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
439
439
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -444,9 +444,9 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
444
444
|
$not: StrapiFilterObjectSchema<{
|
|
445
445
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
446
446
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
447
|
-
readonly $between: v.
|
|
448
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
449
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
447
|
+
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
|
+
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
|
+
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
450
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
451
451
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
452
452
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -466,16 +466,16 @@ type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
|
|
|
466
466
|
declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
467
467
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
468
468
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
469
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
470
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
469
|
+
readonly $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>;
|
|
470
|
+
readonly $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>;
|
|
471
471
|
readonly $eq: TValue;
|
|
472
472
|
readonly $ne: TValue;
|
|
473
473
|
} & {
|
|
474
474
|
$not: StrapiFilterObjectSchema<{
|
|
475
475
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
476
476
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
477
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
478
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
477
|
+
readonly $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>;
|
|
478
|
+
readonly $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>;
|
|
479
479
|
readonly $eq: TValue;
|
|
480
480
|
readonly $ne: TValue;
|
|
481
481
|
}>;
|
|
@@ -488,16 +488,16 @@ declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(valu
|
|
|
488
488
|
declare const createPicklistArrayFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
489
489
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
490
490
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
491
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
492
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
491
|
+
readonly $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>;
|
|
492
|
+
readonly $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>;
|
|
493
493
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
494
494
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
495
495
|
} & {
|
|
496
496
|
$not: StrapiFilterObjectSchema<{
|
|
497
497
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
498
498
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
499
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
500
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
499
|
+
readonly $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>;
|
|
500
|
+
readonly $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>;
|
|
501
501
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
502
502
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
503
503
|
}>;
|
|
@@ -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 [infer TStart, infer TEnd] ? [
|
|
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]> };
|
|
@@ -129,16 +129,16 @@ declare const createStrapiFilterSchema: <const TFieldEntries extends StrapiFilte
|
|
|
129
129
|
//#endregion
|
|
130
130
|
//#region src/filters/primitives/membership-operators.d.ts
|
|
131
131
|
declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
132
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
133
|
-
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
132
|
+
$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>;
|
|
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.
|
|
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.
|
|
140
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
141
|
-
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
139
|
+
$between: v.OptionalSchema<v.StrictTupleSchema<[TValue, TValue], undefined>, undefined>;
|
|
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
|
+
$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
|
};
|
|
143
143
|
//#endregion
|
|
144
144
|
//#region src/filters/primitives/null-operators.d.ts
|
|
@@ -197,9 +197,9 @@ 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.
|
|
201
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
202
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
204
204
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
205
205
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -210,9 +210,9 @@ 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.
|
|
214
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
215
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
217
217
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
218
218
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -230,9 +230,9 @@ 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.
|
|
234
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
235
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
237
237
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
238
238
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -243,9 +243,9 @@ 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.
|
|
247
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
248
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
250
250
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
251
251
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -263,9 +263,9 @@ 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.
|
|
267
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
268
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
270
270
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
271
271
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -276,9 +276,9 @@ 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.
|
|
280
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
281
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<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
|
+
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
|
+
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>]>;
|
|
283
283
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
284
284
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -398,9 +398,9 @@ type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
|
|
|
398
398
|
declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
399
399
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
400
400
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
401
|
-
readonly $between: v.
|
|
402
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
403
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
401
|
+
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
|
+
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
|
+
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
404
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
405
405
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
406
406
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -411,9 +411,9 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
411
411
|
$not: StrapiFilterObjectSchema<{
|
|
412
412
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
413
413
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
414
|
-
readonly $between: v.
|
|
415
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
416
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
414
|
+
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
|
+
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
|
+
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
417
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
418
418
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
419
419
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -431,9 +431,9 @@ type NumberFilter = v.InferOutput<typeof NumberFilter>;
|
|
|
431
431
|
declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
432
432
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
433
433
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
434
|
-
readonly $between: v.
|
|
435
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
436
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
434
|
+
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
|
+
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
|
+
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
437
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
438
438
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
439
439
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -444,9 +444,9 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
444
444
|
$not: StrapiFilterObjectSchema<{
|
|
445
445
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
446
446
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
447
|
-
readonly $between: v.
|
|
448
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
449
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
447
|
+
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
|
+
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
|
+
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
450
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
451
451
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
452
452
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -466,16 +466,16 @@ type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
|
|
|
466
466
|
declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
467
467
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
468
468
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
469
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
470
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
469
|
+
readonly $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>;
|
|
470
|
+
readonly $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>;
|
|
471
471
|
readonly $eq: TValue;
|
|
472
472
|
readonly $ne: TValue;
|
|
473
473
|
} & {
|
|
474
474
|
$not: StrapiFilterObjectSchema<{
|
|
475
475
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
476
476
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
477
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
478
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
477
|
+
readonly $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>;
|
|
478
|
+
readonly $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>;
|
|
479
479
|
readonly $eq: TValue;
|
|
480
480
|
readonly $ne: TValue;
|
|
481
481
|
}>;
|
|
@@ -488,16 +488,16 @@ declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(valu
|
|
|
488
488
|
declare const createPicklistArrayFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
489
489
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
490
490
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
491
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
492
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
491
|
+
readonly $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>;
|
|
492
|
+
readonly $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>;
|
|
493
493
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
494
494
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
495
495
|
} & {
|
|
496
496
|
$not: StrapiFilterObjectSchema<{
|
|
497
497
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
498
498
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
499
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
500
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<
|
|
499
|
+
readonly $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>;
|
|
500
|
+
readonly $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>;
|
|
501
501
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
502
502
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
503
503
|
}>;
|
|
@@ -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-CQlNHWKN.cjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|