@getcommunity/gc-validators 0.0.304 → 0.0.305
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-5XkQ7YsD.cjs → boolean-EG0RLqEE.cjs} +1 -1
- package/dist/{boolean-Bdx5xT5m.mjs → boolean-ibLe-JV8.mjs} +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 +5 -5
- package/dist/entities/team-member/query.d.mts +5 -5
- 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-DBfXSScv.d.cts → fields-Bonub9VW.d.cts} +1 -1
- package/dist/{fields-BopXL_4G.d.mts → fields-CZfDLE1T.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-BG15K1O7.mjs → identifier-CWNemTS-.mjs} +1 -1
- package/dist/{identifier-Bwt-6zIn.cjs → identifier-yFVuy2as.cjs} +1 -1
- package/dist/{index-Cvf-XWEd.d.mts → index-BIYZj2bM.d.mts} +1 -1
- package/dist/{index-zawGhwWD.d.cts → index-BdTuWoCc.d.cts} +14 -13
- package/dist/{index-zawGhwWD.d.mts → index-BdTuWoCc.d.mts} +14 -13
- package/dist/{index-Dy_nHvKG.d.cts → index-CDyqSb_A.d.cts} +1 -1
- package/dist/{null-operators-Ct_0HDzu.cjs → null-operators-6pilwlE-.cjs} +6 -1
- package/dist/{null-operators-BRtL5f_K.mjs → null-operators-uyZHvf8J.mjs} +6 -1
- package/dist/{picklist-BpaO3lAy.cjs → picklist-Bh2c6G4U.cjs} +1 -1
- package/dist/{picklist-BWL1xOyh.mjs → picklist-CdLAJ9DP.mjs} +1 -1
- package/dist/{query-Cf3uNQEv.d.mts → query-5bULonbM.d.cts} +2 -2
- package/dist/{query-C89kWtN3.d.cts → query-B-GtZwM1.d.cts} +2 -2
- package/dist/{query-Bj9wx1Wg.d.mts → query-B-JPeW2B.d.cts} +1 -1
- package/dist/{query-Bg-foYrU.cjs → query-BH9QrubK.cjs} +1 -1
- package/dist/{query-DDJZ_-yh.cjs → query-BSa2CYGj.cjs} +3 -3
- package/dist/{query-CkP_axse.cjs → query-BlcatPFp.cjs} +3 -3
- package/dist/{query-BdQQccuK.d.cts → query-Bza6tCld.d.mts} +2 -2
- package/dist/{query-DzWmcNH2.d.mts → query-CAuOU_4x.d.cts} +2 -2
- package/dist/{query-CnG3OxNR.d.cts → query-CLyk8l4H.d.mts} +2 -2
- package/dist/{query-B-cY5wgd.d.mts → query-CM7_sqCj.d.mts} +2 -2
- package/dist/{query-Flja9BnV.d.cts → query-CadheEFg.d.cts} +5 -5
- package/dist/{query-_kOVv94h.cjs → query-CjkRjA3O.cjs} +3 -3
- package/dist/{query-BBhkcsNq.d.mts → query-Ckc23AK3.d.mts} +5 -5
- package/dist/{query-BHENe1Mr.mjs → query-Cl7INt8k.mjs} +1 -1
- package/dist/{query-CrmWhjBw.d.cts → query-D1OOJWBu.d.mts} +1 -1
- package/dist/{query-CK2IU3hx.mjs → query-DC3GVlfy.mjs} +3 -3
- package/dist/{query-CN4rCmYe.mjs → query-DZtDjZpm.mjs} +3 -3
- package/dist/{query-fQJn0cqh.cjs → query-Dcf82iFb.cjs} +3 -3
- package/dist/{query-C9H7HRSG.mjs → query-Dw_8J1Rx.mjs} +3 -3
- package/dist/{query-DwFp2FRq.d.cts → query-DzX_gNah.d.mts} +4 -4
- package/dist/{query-vtav3She.mjs → query-EQ5Q-AYN.mjs} +3 -3
- package/dist/{query-B0MI41Dk.d.mts → query-G67EmNXa.d.cts} +4 -4
- package/dist/{query-BB3iuWIu.d.cts → query-qMnVMkTK.d.cts} +1 -1
- package/dist/{query-B3lan3up.d.mts → query-vJs9pDx8.d.mts} +1 -1
- package/dist/{string-C4ZSm5bE.cjs → string-BA65CvhF.cjs} +1 -1
- package/dist/{string-1hl2BsdT.mjs → string-Bye3jz9s.mjs} +1 -1
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createStrapiFieldOperatorSchema, d as createStrapiEqualityOperatorEntries, f as createStrapiOrderedComparisonOperatorEntries, i as createStrapiMembershipOperatorEntries, l as createStrapiCaseInsensitiveEqualityOperatorEntries, s as createStrapiFilterObject, t as StrapiNullOperatorEntries } from "./null-operators-
|
|
1
|
+
import { a as createStrapiFieldOperatorSchema, d as createStrapiEqualityOperatorEntries, f as createStrapiOrderedComparisonOperatorEntries, i as createStrapiMembershipOperatorEntries, l as createStrapiCaseInsensitiveEqualityOperatorEntries, s as createStrapiFilterObject, t as StrapiNullOperatorEntries } from "./null-operators-uyZHvf8J.mjs";
|
|
2
2
|
import { o as AssociateOneEntity } from "./relationships-CrME6xzN.mjs";
|
|
3
3
|
import { t as VStringEmail } from "./email-FSLftR8P.mjs";
|
|
4
4
|
import { t as VStringSlug } from "./slug-By9EotXj.mjs";
|
|
@@ -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-6pilwlE-.cjs");
|
|
3
3
|
const require_relationships = require("./relationships-BiOl8YTc.cjs");
|
|
4
4
|
const require_email = require("./email-dsbWKuhH.cjs");
|
|
5
5
|
const require_slug = require("./slug-BcLLMLTX.cjs");
|
|
@@ -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-BdTuWoCc.mjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -52,7 +52,8 @@ 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
|
|
55
|
+
type StrapiBetweenInput<TValue> = TValue extends readonly [infer TStart, infer TEnd] ? [] | [TStart | undefined] | [TStart | undefined, TEnd | undefined] : TValue;
|
|
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>;
|
|
56
57
|
type StrapiLogicalFilterInputField<TField> = TField extends readonly unknown[] ? TField : TField extends object ? Simplify<{ [TKey in keyof TField]: StrapiLogicalFilterInputValue<TKey, TField[TKey]> }> : TField;
|
|
57
58
|
type StrapiLogicalFilterInputFields<TFields extends object> = { [TKey in keyof TFields]: StrapiLogicalFilterInputField<TFields[TKey]> };
|
|
58
59
|
type StrapiLogicalFilterBaseSchema<TOutputFields extends object, TInputFields extends object = StrapiLogicalFilterInputFields<TOutputFields>, TDepth extends StrapiFilterMaxDepth = 3> = v.ObjectSchema<OptionalStrapiLogicalFilterEntries<TInputFields, TOutputFields, TDepth>, undefined>;
|
|
@@ -132,10 +133,10 @@ declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends
|
|
|
132
133
|
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
133
134
|
};
|
|
134
135
|
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
135
|
-
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
136
|
+
$between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<TValue, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<TValue, undefined>, v.OptionalSchema<TValue, undefined>], undefined>], undefined>, v.CheckAction<[] | [v.InferOutput<TValue> | undefined] | [v.InferOutput<TValue> | undefined, v.InferOutput<TValue> | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [v.InferOutput<TValue> | undefined] | [v.InferOutput<TValue> | undefined, v.InferOutput<TValue> | undefined], [v.InferOutput<TValue>, v.InferOutput<TValue>]>]>;
|
|
136
137
|
};
|
|
137
138
|
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
138
|
-
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
139
|
+
$between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<TValue, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<TValue, undefined>, v.OptionalSchema<TValue, undefined>], undefined>], undefined>, v.CheckAction<[] | [v.InferOutput<TValue> | undefined] | [v.InferOutput<TValue> | undefined, v.InferOutput<TValue> | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [v.InferOutput<TValue> | undefined] | [v.InferOutput<TValue> | undefined, v.InferOutput<TValue> | undefined], [v.InferOutput<TValue>, v.InferOutput<TValue>]>]>;
|
|
139
140
|
$in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
140
141
|
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
141
142
|
};
|
|
@@ -196,7 +197,7 @@ type DateTimeFilterValue = v.InferOutput<typeof DateTimeFilterValue>;
|
|
|
196
197
|
declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
197
198
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
198
199
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
199
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
200
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
200
201
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
201
202
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
202
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>]>;
|
|
@@ -209,7 +210,7 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
209
210
|
$not: StrapiFilterObjectSchema<{
|
|
210
211
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
211
212
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
212
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
213
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
213
214
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
214
215
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
215
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>]>;
|
|
@@ -229,7 +230,7 @@ type DateFilter = v.InferOutput<typeof DateFilter>;
|
|
|
229
230
|
declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
230
231
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
231
232
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
232
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
233
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
233
234
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
234
235
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
235
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>]>;
|
|
@@ -242,7 +243,7 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
242
243
|
$not: StrapiFilterObjectSchema<{
|
|
243
244
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
244
245
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
245
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
246
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
246
247
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
247
248
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
248
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>]>;
|
|
@@ -262,7 +263,7 @@ type TimeFilter = v.InferOutput<typeof TimeFilter>;
|
|
|
262
263
|
declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
263
264
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
264
265
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
265
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
266
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
266
267
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
267
268
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
268
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>]>;
|
|
@@ -275,7 +276,7 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
275
276
|
$not: StrapiFilterObjectSchema<{
|
|
276
277
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
277
278
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
278
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
279
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
279
280
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
280
281
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
281
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>]>;
|
|
@@ -397,7 +398,7 @@ type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
|
|
|
397
398
|
declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
398
399
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
399
400
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
400
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
|
|
401
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [number | undefined] | [number | undefined, number | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [number | undefined] | [number | undefined, number | undefined], [number, number]>]>;
|
|
401
402
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
402
403
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
403
404
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -410,7 +411,7 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
410
411
|
$not: StrapiFilterObjectSchema<{
|
|
411
412
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
412
413
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
413
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
|
|
414
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [number | undefined] | [number | undefined, number | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [number | undefined] | [number | undefined, number | undefined], [number, number]>]>;
|
|
414
415
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
415
416
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
416
417
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -430,7 +431,7 @@ type NumberFilter = v.InferOutput<typeof NumberFilter>;
|
|
|
430
431
|
declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
431
432
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
432
433
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
433
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
|
|
434
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [number | undefined] | [number | undefined, number | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [number | undefined] | [number | undefined, number | undefined], [number, number]>]>;
|
|
434
435
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
435
436
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
436
437
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -443,7 +444,7 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
443
444
|
$not: StrapiFilterObjectSchema<{
|
|
444
445
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
445
446
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
446
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
|
|
447
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [number | undefined] | [number | undefined, number | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [number | undefined] | [number | undefined, number | undefined], [number, number]>]>;
|
|
447
448
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
448
449
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
449
450
|
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,8 @@ 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
|
|
55
|
+
type StrapiBetweenInput<TValue> = TValue extends readonly [infer TStart, infer TEnd] ? [] | [TStart | undefined] | [TStart | undefined, TEnd | undefined] : TValue;
|
|
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>;
|
|
56
57
|
type StrapiLogicalFilterInputField<TField> = TField extends readonly unknown[] ? TField : TField extends object ? Simplify<{ [TKey in keyof TField]: StrapiLogicalFilterInputValue<TKey, TField[TKey]> }> : TField;
|
|
57
58
|
type StrapiLogicalFilterInputFields<TFields extends object> = { [TKey in keyof TFields]: StrapiLogicalFilterInputField<TFields[TKey]> };
|
|
58
59
|
type StrapiLogicalFilterBaseSchema<TOutputFields extends object, TInputFields extends object = StrapiLogicalFilterInputFields<TOutputFields>, TDepth extends StrapiFilterMaxDepth = 3> = v.ObjectSchema<OptionalStrapiLogicalFilterEntries<TInputFields, TOutputFields, TDepth>, undefined>;
|
|
@@ -132,10 +133,10 @@ declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends
|
|
|
132
133
|
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
133
134
|
};
|
|
134
135
|
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
135
|
-
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
136
|
+
$between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<TValue, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<TValue, undefined>, v.OptionalSchema<TValue, undefined>], undefined>], undefined>, v.CheckAction<[] | [v.InferOutput<TValue> | undefined] | [v.InferOutput<TValue> | undefined, v.InferOutput<TValue> | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [v.InferOutput<TValue> | undefined] | [v.InferOutput<TValue> | undefined, v.InferOutput<TValue> | undefined], [v.InferOutput<TValue>, v.InferOutput<TValue>]>]>;
|
|
136
137
|
};
|
|
137
138
|
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
138
|
-
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
139
|
+
$between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<TValue, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<TValue, undefined>, v.OptionalSchema<TValue, undefined>], undefined>], undefined>, v.CheckAction<[] | [v.InferOutput<TValue> | undefined] | [v.InferOutput<TValue> | undefined, v.InferOutput<TValue> | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [v.InferOutput<TValue> | undefined] | [v.InferOutput<TValue> | undefined, v.InferOutput<TValue> | undefined], [v.InferOutput<TValue>, v.InferOutput<TValue>]>]>;
|
|
139
140
|
$in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
140
141
|
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
141
142
|
};
|
|
@@ -196,7 +197,7 @@ type DateTimeFilterValue = v.InferOutput<typeof DateTimeFilterValue>;
|
|
|
196
197
|
declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
197
198
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
198
199
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
199
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
200
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
200
201
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
201
202
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
202
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>]>;
|
|
@@ -209,7 +210,7 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
209
210
|
$not: StrapiFilterObjectSchema<{
|
|
210
211
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
211
212
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
212
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
213
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
213
214
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
214
215
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
215
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>]>;
|
|
@@ -229,7 +230,7 @@ type DateFilter = v.InferOutput<typeof DateFilter>;
|
|
|
229
230
|
declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
230
231
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
231
232
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
232
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
233
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
233
234
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
234
235
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
235
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>]>;
|
|
@@ -242,7 +243,7 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
242
243
|
$not: StrapiFilterObjectSchema<{
|
|
243
244
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
244
245
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
245
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
246
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
246
247
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
247
248
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
248
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>]>;
|
|
@@ -262,7 +263,7 @@ type TimeFilter = v.InferOutput<typeof TimeFilter>;
|
|
|
262
263
|
declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
263
264
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
264
265
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
265
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
266
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
266
267
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
267
268
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
268
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>]>;
|
|
@@ -275,7 +276,7 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
275
276
|
$not: StrapiFilterObjectSchema<{
|
|
276
277
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
277
278
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
278
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
279
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [string | undefined] | [string | undefined, string | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [string | undefined] | [string | undefined, string | undefined], [string, string]>]>;
|
|
279
280
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
280
281
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
281
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>]>;
|
|
@@ -397,7 +398,7 @@ type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
|
|
|
397
398
|
declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
398
399
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
399
400
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
400
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
|
|
401
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [number | undefined] | [number | undefined, number | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [number | undefined] | [number | undefined, number | undefined], [number, number]>]>;
|
|
401
402
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
402
403
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
403
404
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -410,7 +411,7 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
410
411
|
$not: StrapiFilterObjectSchema<{
|
|
411
412
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
412
413
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
413
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
|
|
414
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [number | undefined] | [number | undefined, number | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [number | undefined] | [number | undefined, number | undefined], [number, number]>]>;
|
|
414
415
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
415
416
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
416
417
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -430,7 +431,7 @@ type NumberFilter = v.InferOutput<typeof NumberFilter>;
|
|
|
430
431
|
declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
431
432
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
432
433
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
433
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
|
|
434
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [number | undefined] | [number | undefined, number | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [number | undefined] | [number | undefined, number | undefined], [number, number]>]>;
|
|
434
435
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
435
436
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
436
437
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -443,7 +444,7 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
443
444
|
$not: StrapiFilterObjectSchema<{
|
|
444
445
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
445
446
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
446
|
-
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
|
|
447
|
+
readonly $between: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictTupleSchema<[], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>], undefined>, v.StrictTupleSchema<[v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>], undefined>], undefined>, v.CheckAction<[] | [number | undefined] | [number | undefined, number | undefined], "Please provide both filter range values.">, v.TransformAction<[] | [number | undefined] | [number | undefined, number | undefined], [number, number]>]>;
|
|
447
448
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
448
449
|
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
449
450
|
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-BdTuWoCc.cjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -43,11 +43,16 @@ function createStrapiFieldOperatorSchema(entries, metadata) {
|
|
|
43
43
|
//#region src/filters/primitives/membership-operators.ts
|
|
44
44
|
const isDefined = (value) => value !== void 0;
|
|
45
45
|
const createStrapiArrayMembershipValue = (value) => valibot.pipe(valibot.array(valibot.optional(value)), valibot.transform((items) => items.filter(isDefined)), valibot.minLength(1));
|
|
46
|
+
const createStrapiBetweenValue = (value) => valibot.pipe(valibot.union([
|
|
47
|
+
valibot.strictTuple([]),
|
|
48
|
+
valibot.strictTuple([valibot.optional(value)]),
|
|
49
|
+
valibot.strictTuple([valibot.optional(value), valibot.optional(value)])
|
|
50
|
+
]), valibot.check((items) => items.length === 2 && items.every(isDefined), "Please provide both filter range values."), valibot.transform((items) => [items[0], items[1]]));
|
|
46
51
|
const createStrapiArrayMembershipOperatorEntries = (value) => ({
|
|
47
52
|
$in: createStrapiArrayMembershipValue(value),
|
|
48
53
|
$notIn: createStrapiArrayMembershipValue(value)
|
|
49
54
|
});
|
|
50
|
-
const createStrapiBetweenOperatorEntries = (value) => ({ $between:
|
|
55
|
+
const createStrapiBetweenOperatorEntries = (value) => ({ $between: createStrapiBetweenValue(value) });
|
|
51
56
|
const createStrapiMembershipOperatorEntries = (value) => ({
|
|
52
57
|
...createStrapiArrayMembershipOperatorEntries(value),
|
|
53
58
|
...createStrapiBetweenOperatorEntries(value)
|
|
@@ -41,11 +41,16 @@ function createStrapiFieldOperatorSchema(entries, metadata) {
|
|
|
41
41
|
//#region src/filters/primitives/membership-operators.ts
|
|
42
42
|
const isDefined = (value) => value !== void 0;
|
|
43
43
|
const createStrapiArrayMembershipValue = (value) => v.pipe(v.array(v.optional(value)), v.transform((items) => items.filter(isDefined)), v.minLength(1));
|
|
44
|
+
const createStrapiBetweenValue = (value) => v.pipe(v.union([
|
|
45
|
+
v.strictTuple([]),
|
|
46
|
+
v.strictTuple([v.optional(value)]),
|
|
47
|
+
v.strictTuple([v.optional(value), v.optional(value)])
|
|
48
|
+
]), v.check((items) => items.length === 2 && items.every(isDefined), "Please provide both filter range values."), v.transform((items) => [items[0], items[1]]));
|
|
44
49
|
const createStrapiArrayMembershipOperatorEntries = (value) => ({
|
|
45
50
|
$in: createStrapiArrayMembershipValue(value),
|
|
46
51
|
$notIn: createStrapiArrayMembershipValue(value)
|
|
47
52
|
});
|
|
48
|
-
const createStrapiBetweenOperatorEntries = (value) => ({ $between:
|
|
53
|
+
const createStrapiBetweenOperatorEntries = (value) => ({ $between: createStrapiBetweenValue(value) });
|
|
49
54
|
const createStrapiMembershipOperatorEntries = (value) => ({
|
|
50
55
|
...createStrapiArrayMembershipOperatorEntries(value),
|
|
51
56
|
...createStrapiBetweenOperatorEntries(value)
|
|
@@ -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-6pilwlE-.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 { 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-uyZHvf8J.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
|
-
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-BdTuWoCc.cjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-B-JPeW2B.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/media-creative-format/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-BdTuWoCc.cjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-B-JPeW2B.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/content-pillar/query.d.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-BdTuWoCc.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/client/query.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_identifier = require("./identifier-
|
|
2
|
+
const require_identifier = require("./identifier-yFVuy2as.cjs");
|
|
3
3
|
const require_relationships = require("./relationships-BiOl8YTc.cjs");
|
|
4
4
|
const require_string = require("./string-AHrZ--r_.cjs");
|
|
5
5
|
const require_email = require("./email-dsbWKuhH.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_identifier = require("./identifier-
|
|
3
|
-
const require_string = require("./string-
|
|
4
|
-
const require_boolean = require("./boolean-
|
|
2
|
+
const require_identifier = require("./identifier-yFVuy2as.cjs");
|
|
3
|
+
const require_string = require("./string-BA65CvhF.cjs");
|
|
4
|
+
const require_boolean = require("./boolean-EG0RLqEE.cjs");
|
|
5
5
|
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
6
6
|
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
7
7
|
const require_entities_client_query = require("./entities/client/query.cjs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_identifier = require("./identifier-
|
|
3
|
-
const require_string = require("./string-
|
|
4
|
-
const require_boolean = require("./boolean-
|
|
2
|
+
const require_identifier = require("./identifier-yFVuy2as.cjs");
|
|
3
|
+
const require_string = require("./string-BA65CvhF.cjs");
|
|
4
|
+
const require_boolean = require("./boolean-EG0RLqEE.cjs");
|
|
5
5
|
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
6
6
|
const require_sort = require("./sort-CYllFl6q.cjs");
|
|
7
7
|
const require_entities_client_query = require("./entities/client/query.cjs");
|
|
@@ -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-BdTuWoCc.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-D1OOJWBu.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/media-creative-format/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-BdTuWoCc.cjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-B-JPeW2B.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/gcflytour/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-BdTuWoCc.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-D1OOJWBu.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/gcflytour/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-BdTuWoCc.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-D1OOJWBu.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/content-pillar/query.d.ts
|
|
@@ -1,20 +1,20 @@
|
|
|
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-BdTuWoCc.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/up-role/query.d.ts
|
|
5
5
|
declare const FilterRoleType: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
6
6
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
7
7
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
8
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, undefined>, v.TransformAction<("client" | "
|
|
9
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, undefined>, v.TransformAction<("client" | "
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, undefined>, v.TransformAction<("client" | "manager" | "employee" | "authenticated" | "public" | undefined)[], ("client" | "manager" | "employee" | "authenticated" | "public")[]>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, undefined>, v.TransformAction<("client" | "manager" | "employee" | "authenticated" | "public" | undefined)[], ("client" | "manager" | "employee" | "authenticated" | "public")[]>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
10
10
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
11
11
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
12
12
|
} & {
|
|
13
13
|
$not: StrapiFilterObjectSchema<{
|
|
14
14
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
15
15
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
16
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, undefined>, v.TransformAction<("client" | "
|
|
17
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, undefined>, v.TransformAction<("client" | "
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, undefined>, v.TransformAction<("client" | "manager" | "employee" | "authenticated" | "public" | undefined)[], ("client" | "manager" | "employee" | "authenticated" | "public")[]>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, undefined>, v.TransformAction<("client" | "manager" | "employee" | "authenticated" | "public" | undefined)[], ("client" | "manager" | "employee" | "authenticated" | "public")[]>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
18
18
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
19
19
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
20
20
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_identifier = require("./identifier-
|
|
3
|
-
const require_string = require("./string-
|
|
4
|
-
const require_boolean = require("./boolean-
|
|
2
|
+
const require_identifier = require("./identifier-yFVuy2as.cjs");
|
|
3
|
+
const require_string = require("./string-BA65CvhF.cjs");
|
|
4
|
+
const require_boolean = require("./boolean-EG0RLqEE.cjs");
|
|
5
5
|
const require_string$1 = require("./string-AHrZ--r_.cjs");
|
|
6
6
|
const require_pagination = require("./pagination-DhAgQr7d.cjs");
|
|
7
7
|
const require_sort = require("./sort-CYllFl6q.cjs");
|