@getcommunity/gc-validators 0.0.303 → 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-DoVoZltY.cjs → boolean-EG0RLqEE.cjs} +1 -1
- package/dist/{boolean-BvzTfxwy.mjs → boolean-ibLe-JV8.mjs} +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-CN5MGX0I.d.cts → fields-Bonub9VW.d.cts} +5 -5
- package/dist/{fields-CPsbCZS-.d.mts → fields-CZfDLE1T.d.mts} +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-C1rjjFTl.mjs → identifier-CWNemTS-.mjs} +3 -7
- package/dist/{identifier-CydeNRjl.cjs → identifier-yFVuy2as.cjs} +3 -7
- package/dist/{index-Vd1m8sMA.d.mts → index-BIYZj2bM.d.mts} +18 -3
- package/dist/{index-CQolG83r.d.cts → index-BdTuWoCc.d.cts} +50 -66
- package/dist/{index-CQolG83r.d.mts → index-BdTuWoCc.d.mts} +50 -66
- package/dist/{index-CDB3qHay.d.cts → index-CDyqSb_A.d.cts} +18 -3
- package/dist/{null-operators-BUWeBpfM.cjs → null-operators-6pilwlE-.cjs} +10 -3
- package/dist/{null-operators-ChVQtMKo.mjs → null-operators-uyZHvf8J.mjs} +10 -3
- package/dist/{picklist-BAFeyJ7r.cjs → picklist-Bh2c6G4U.cjs} +1 -1
- package/dist/{picklist-CRMInABi.mjs → picklist-CdLAJ9DP.mjs} +1 -1
- package/dist/{query-CmFauYbo.d.mts → query-5bULonbM.d.cts} +2 -2
- package/dist/{query-GJSlHT8b.d.cts → query-B-GtZwM1.d.cts} +2 -2
- package/dist/{query-D2ZE1bJX.d.mts → query-B-JPeW2B.d.cts} +5 -5
- package/dist/{query-D_dTopVH.cjs → query-BH9QrubK.cjs} +1 -1
- package/dist/{query-BjzoFJ7Q.cjs → query-BSa2CYGj.cjs} +3 -3
- package/dist/{query-DFlmAbzw.cjs → query-BlcatPFp.cjs} +3 -3
- package/dist/{query--vUz-z7h.d.cts → query-Bza6tCld.d.mts} +2 -2
- package/dist/{query-D8n0nHx_.d.mts → query-CAuOU_4x.d.cts} +2 -2
- package/dist/{query-BWpgHBRt.d.cts → query-CLyk8l4H.d.mts} +2 -2
- package/dist/{query-ClD5wGJb.d.mts → query-CM7_sqCj.d.mts} +2 -2
- package/dist/query-CadheEFg.d.cts +40 -0
- package/dist/{query-C4B_4d0q.cjs → query-CjkRjA3O.cjs} +3 -3
- package/dist/query-Ckc23AK3.d.mts +40 -0
- package/dist/{query-B-13NKTD.mjs → query-Cl7INt8k.mjs} +1 -1
- package/dist/{query-DzMzNVPY.d.cts → query-D1OOJWBu.d.mts} +5 -5
- package/dist/{query-zC83byBH.mjs → query-DC3GVlfy.mjs} +3 -3
- package/dist/{query-B5s5-Jxp.mjs → query-DZtDjZpm.mjs} +3 -3
- package/dist/{query-CjftGBde.cjs → query-Dcf82iFb.cjs} +3 -3
- package/dist/{query-CB1DYvpK.mjs → query-Dw_8J1Rx.mjs} +3 -3
- package/dist/{query-D0h3FLfr.d.mts → query-DzX_gNah.d.mts} +4 -4
- package/dist/{query-ssJ09lVD.mjs → query-EQ5Q-AYN.mjs} +3 -3
- package/dist/{query-CGdWzuSF.d.cts → query-G67EmNXa.d.cts} +4 -4
- package/dist/{query-CMq5lfgl.d.mts → query-qMnVMkTK.d.cts} +26 -16
- package/dist/{query-TJCAaiBL.d.cts → query-vJs9pDx8.d.mts} +26 -16
- package/dist/{string-CabdwbFC.cjs → string-BA65CvhF.cjs} +5 -8
- package/dist/{string-DfcvXgd6.mjs → string-Bye3jz9s.mjs} +5 -8
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/query-D2gmCrpT.d.mts +0 -40
- package/dist/query-JvgKu7I3.d.cts +0 -40
|
@@ -51,7 +51,12 @@ type StrapiLogicalFilter<TFields extends object, TDepth extends StrapiFilterMaxD
|
|
|
51
51
|
$or?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>[];
|
|
52
52
|
$not?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>;
|
|
53
53
|
});
|
|
54
|
-
type
|
|
54
|
+
type StrapiMembershipInput<TValue> = TValue extends readonly (infer TItem)[] ? (TItem | undefined)[] : TValue;
|
|
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>;
|
|
57
|
+
type StrapiLogicalFilterInputField<TField> = TField extends readonly unknown[] ? TField : TField extends object ? Simplify<{ [TKey in keyof TField]: StrapiLogicalFilterInputValue<TKey, TField[TKey]> }> : TField;
|
|
58
|
+
type StrapiLogicalFilterInputFields<TFields extends object> = { [TKey in keyof TFields]: StrapiLogicalFilterInputField<TFields[TKey]> };
|
|
59
|
+
type StrapiLogicalFilterBaseSchema<TOutputFields extends object, TInputFields extends object = StrapiLogicalFilterInputFields<TOutputFields>, TDepth extends StrapiFilterMaxDepth = 3> = v.ObjectSchema<OptionalStrapiLogicalFilterEntries<TInputFields, TOutputFields, TDepth>, undefined>;
|
|
55
60
|
type StrapiLogicalFieldEntries<TInputFields extends object, TOutputFields extends object> = { [TKey in keyof TInputFields & keyof TOutputFields]-?: StrapiBaseSchema<TInputFields[TKey], TOutputFields[TKey]> };
|
|
56
61
|
type StrapiLogicalEntries<TInputFields extends object, TOutputFields extends object, TDepth extends StrapiFilterMaxDepth> = TDepth extends 0 ? StrapiForbiddenLogicalFilterEntries : {
|
|
57
62
|
$and: StrapiBaseSchema<StrapiLogicalFilter<TInputFields, PreviousStrapiFilterDepth<TDepth>>[], StrapiLogicalFilter<TOutputFields, PreviousStrapiFilterDepth<TDepth>>[]>;
|
|
@@ -124,16 +129,16 @@ declare const createStrapiFilterSchema: <const TFieldEntries extends StrapiFilte
|
|
|
124
129
|
//#endregion
|
|
125
130
|
//#region src/filters/primitives/membership-operators.d.ts
|
|
126
131
|
declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
127
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
128
|
-
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
132
|
+
$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>]>;
|
|
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>]>;
|
|
129
134
|
};
|
|
130
135
|
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
131
|
-
$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>]>]>;
|
|
132
137
|
};
|
|
133
138
|
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
134
|
-
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
135
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
136
|
-
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, 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>]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
137
142
|
};
|
|
138
143
|
//#endregion
|
|
139
144
|
//#region src/filters/primitives/null-operators.d.ts
|
|
@@ -192,9 +197,9 @@ type DateTimeFilterValue = v.InferOutput<typeof DateTimeFilterValue>;
|
|
|
192
197
|
declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
193
198
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
194
199
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
195
|
-
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>;
|
|
196
|
-
readonly $in: 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.MinLengthAction<string[], 1, undefined>]>;
|
|
197
|
-
readonly $notIn: 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.MinLengthAction<string[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
198
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>]>;
|
|
199
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>]>;
|
|
200
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>]>;
|
|
@@ -205,9 +210,9 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
205
210
|
$not: StrapiFilterObjectSchema<{
|
|
206
211
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
207
212
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
208
|
-
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>;
|
|
209
|
-
readonly $in: 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.MinLengthAction<string[], 1, undefined>]>;
|
|
210
|
-
readonly $notIn: 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.MinLengthAction<string[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
211
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>]>;
|
|
212
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>]>;
|
|
213
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>]>;
|
|
@@ -225,9 +230,9 @@ type DateFilter = v.InferOutput<typeof DateFilter>;
|
|
|
225
230
|
declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
226
231
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
227
232
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
228
|
-
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>;
|
|
229
|
-
readonly $in: 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.MinLengthAction<string[], 1, undefined>]>;
|
|
230
|
-
readonly $notIn: 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.MinLengthAction<string[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
231
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>]>;
|
|
232
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>]>;
|
|
233
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>]>;
|
|
@@ -238,9 +243,9 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
238
243
|
$not: StrapiFilterObjectSchema<{
|
|
239
244
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
240
245
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
241
|
-
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>;
|
|
242
|
-
readonly $in: 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.MinLengthAction<string[], 1, undefined>]>;
|
|
243
|
-
readonly $notIn: 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.MinLengthAction<string[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
244
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>]>;
|
|
245
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>]>;
|
|
246
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>]>;
|
|
@@ -258,9 +263,9 @@ type TimeFilter = v.InferOutput<typeof TimeFilter>;
|
|
|
258
263
|
declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
259
264
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
260
265
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
261
|
-
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>;
|
|
262
|
-
readonly $in: 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.MinLengthAction<string[], 1, undefined>]>;
|
|
263
|
-
readonly $notIn: 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.MinLengthAction<string[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
264
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>]>;
|
|
265
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>]>;
|
|
266
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>]>;
|
|
@@ -271,9 +276,9 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
271
276
|
$not: StrapiFilterObjectSchema<{
|
|
272
277
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
273
278
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
274
|
-
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>;
|
|
275
|
-
readonly $in: 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.MinLengthAction<string[], 1, undefined>]>;
|
|
276
|
-
readonly $notIn: 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.MinLengthAction<string[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
277
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>]>;
|
|
278
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>]>;
|
|
279
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>]>;
|
|
@@ -293,14 +298,10 @@ type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
|
|
|
293
298
|
declare const IdFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
294
299
|
type IdFilterValue = v.InferOutput<typeof IdFilterValue>;
|
|
295
300
|
declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
296
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
|
|
297
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
|
|
298
301
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
299
302
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
300
303
|
} & {
|
|
301
304
|
$not: StrapiFilterObjectSchema<{
|
|
302
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
|
|
303
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
|
|
304
305
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
305
306
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
306
307
|
}>;
|
|
@@ -312,16 +313,12 @@ declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEn
|
|
|
312
313
|
}>;
|
|
313
314
|
type IdFilter = v.InferOutput<typeof IdFilter>;
|
|
314
315
|
declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
315
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
316
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
317
316
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
318
317
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
319
318
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
320
319
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
321
320
|
} & {
|
|
322
321
|
$not: StrapiFilterObjectSchema<{
|
|
323
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
324
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
325
322
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
326
323
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
327
324
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -335,16 +332,12 @@ declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapi
|
|
|
335
332
|
}>;
|
|
336
333
|
type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
|
|
337
334
|
declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
338
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
339
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
340
335
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
341
336
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
342
337
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
343
338
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
344
339
|
} & {
|
|
345
340
|
$not: StrapiFilterObjectSchema<{
|
|
346
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
347
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
348
341
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
349
342
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
350
343
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
@@ -358,16 +351,12 @@ declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
358
351
|
}>;
|
|
359
352
|
type SlugFilter = v.InferOutput<typeof SlugFilter>;
|
|
360
353
|
declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
361
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
362
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
363
354
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
364
355
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
365
356
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
366
357
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
367
358
|
} & {
|
|
368
359
|
$not: StrapiFilterObjectSchema<{
|
|
369
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
370
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
371
360
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
372
361
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
373
362
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
@@ -381,16 +370,12 @@ declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilte
|
|
|
381
370
|
}>;
|
|
382
371
|
type EmailFilter = v.InferOutput<typeof EmailFilter>;
|
|
383
372
|
declare const UrlFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
384
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
385
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
386
373
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
387
374
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
388
375
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
389
376
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
390
377
|
} & {
|
|
391
378
|
$not: StrapiFilterObjectSchema<{
|
|
392
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
393
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
394
379
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
395
380
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
396
381
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
@@ -413,9 +398,9 @@ type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
|
|
|
413
398
|
declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
414
399
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
415
400
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
416
|
-
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>;
|
|
417
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
418
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
419
404
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
420
405
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
421
406
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -426,9 +411,9 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
426
411
|
$not: StrapiFilterObjectSchema<{
|
|
427
412
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
428
413
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
429
|
-
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>;
|
|
430
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
431
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
432
417
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
433
418
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
434
419
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -446,9 +431,9 @@ type NumberFilter = v.InferOutput<typeof NumberFilter>;
|
|
|
446
431
|
declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
447
432
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
448
433
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
449
|
-
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>;
|
|
450
|
-
readonly $in: 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.MinLengthAction<number[], 1, undefined>]>;
|
|
451
|
-
readonly $notIn: 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.MinLengthAction<number[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
452
437
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
453
438
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
454
439
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -459,9 +444,9 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
459
444
|
$not: StrapiFilterObjectSchema<{
|
|
460
445
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
461
446
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
462
|
-
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>;
|
|
463
|
-
readonly $in: 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.MinLengthAction<number[], 1, undefined>]>;
|
|
464
|
-
readonly $notIn: 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.MinLengthAction<number[], 1, 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]>]>;
|
|
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>]>;
|
|
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>]>;
|
|
465
450
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
466
451
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
467
452
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -481,16 +466,16 @@ type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
|
|
|
481
466
|
declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
482
467
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
483
468
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
484
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
485
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
469
|
+
readonly $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>]>;
|
|
470
|
+
readonly $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>]>;
|
|
486
471
|
readonly $eq: TValue;
|
|
487
472
|
readonly $ne: TValue;
|
|
488
473
|
} & {
|
|
489
474
|
$not: StrapiFilterObjectSchema<{
|
|
490
475
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
491
476
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
492
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
493
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
477
|
+
readonly $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>]>;
|
|
478
|
+
readonly $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>]>;
|
|
494
479
|
readonly $eq: TValue;
|
|
495
480
|
readonly $ne: TValue;
|
|
496
481
|
}>;
|
|
@@ -503,16 +488,16 @@ declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(valu
|
|
|
503
488
|
declare const createPicklistArrayFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
504
489
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
505
490
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
506
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
507
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
491
|
+
readonly $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>]>;
|
|
492
|
+
readonly $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>]>;
|
|
508
493
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
509
494
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
510
495
|
} & {
|
|
511
496
|
$not: StrapiFilterObjectSchema<{
|
|
512
497
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
513
498
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
514
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
515
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
499
|
+
readonly $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>]>;
|
|
500
|
+
readonly $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>]>;
|
|
516
501
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
517
502
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
518
503
|
}>;
|
|
@@ -561,7 +546,6 @@ declare const StringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
561
546
|
readonly kind: "comparison";
|
|
562
547
|
readonly input: "text";
|
|
563
548
|
};
|
|
564
|
-
readonly operators: readonly [];
|
|
565
549
|
}>;
|
|
566
550
|
type StringFilter = v.InferOutput<typeof StringFilter>;
|
|
567
551
|
declare const LongStringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
|
@@ -22,6 +22,16 @@ declare const BaseDocument: v.ObjectSchema<{
|
|
|
22
22
|
}, undefined>;
|
|
23
23
|
type BaseDocument = v.InferOutput<typeof BaseDocument>;
|
|
24
24
|
//#endregion
|
|
25
|
+
//#region src/base/filters.d.ts
|
|
26
|
+
type FilterStrapiBaseFields = {
|
|
27
|
+
id?: IdFilter;
|
|
28
|
+
documentId?: DocumentIdFilter;
|
|
29
|
+
createdAt?: DateTimeFilter;
|
|
30
|
+
updatedAt?: DateTimeFilter;
|
|
31
|
+
};
|
|
32
|
+
type FilterStrapiBase = StrapiLogicalFilter<FilterStrapiBaseFields>;
|
|
33
|
+
declare const FilterStrapiBase: StrapiLogicalFilterBaseSchema<FilterStrapiBaseFields>;
|
|
34
|
+
//#endregion
|
|
25
35
|
//#region src/base/fonts.d.ts
|
|
26
36
|
declare const FONT_HEADER_SIZE: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
27
37
|
declare const FontHeaderSize: v.PicklistSchema<readonly ["h1", "h2", "h3", "h4", "h5", "h6"], undefined>;
|
|
@@ -67,7 +77,12 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
|
67
77
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
68
78
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
69
79
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
70
|
-
readonly f: v.OptionalSchema<
|
|
80
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
81
|
+
id?: IdFilter;
|
|
82
|
+
documentId?: DocumentIdFilter;
|
|
83
|
+
createdAt?: DateTimeFilter;
|
|
84
|
+
updatedAt?: DateTimeFilter;
|
|
85
|
+
}>, undefined>;
|
|
71
86
|
}, undefined>;
|
|
72
87
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
73
88
|
//#endregion
|
|
@@ -261,4 +276,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
261
276
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
262
277
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
263
278
|
//#endregion
|
|
264
|
-
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d,
|
|
279
|
+
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d, FilterStrapiBase as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseDocument as ft, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WEBSAFE_FONT_SANS as it, StrapiListResponse as j, StrapiErrorResponse as k, StrapiBgColorOptions as l, WebSafeFontSans as lt, StrapiLinkType as m, BaseComponentId as mt, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponent as pt, STRAPI_LINK_REFERRER_POLICY as q, STRAPI_GAP_SIZES as r, WEBSAFE_FONT_MONO as rt, STRAPI_TEXT_COLOR_OPTIONS as s, WebSafeFontDisplay as st, STRAPI_BG_COLOR_OPTIONS as t, FontHeaderSize as tt, StrapiDirection as u, WebSafeFontSerif as ut, ValidStrapiCollectionEntity as v, SortString as w, QuerySortValues as x, ValidStrapiSingleEntity as y, AssociateManyEntities as z };
|
|
@@ -41,11 +41,18 @@ function createStrapiFieldOperatorSchema(entries, metadata) {
|
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/filters/primitives/membership-operators.ts
|
|
44
|
+
const isDefined = (value) => value !== void 0;
|
|
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]]));
|
|
44
51
|
const createStrapiArrayMembershipOperatorEntries = (value) => ({
|
|
45
|
-
$in:
|
|
46
|
-
$notIn:
|
|
52
|
+
$in: createStrapiArrayMembershipValue(value),
|
|
53
|
+
$notIn: createStrapiArrayMembershipValue(value)
|
|
47
54
|
});
|
|
48
|
-
const createStrapiBetweenOperatorEntries = (value) => ({ $between:
|
|
55
|
+
const createStrapiBetweenOperatorEntries = (value) => ({ $between: createStrapiBetweenValue(value) });
|
|
49
56
|
const createStrapiMembershipOperatorEntries = (value) => ({
|
|
50
57
|
...createStrapiArrayMembershipOperatorEntries(value),
|
|
51
58
|
...createStrapiBetweenOperatorEntries(value)
|
|
@@ -39,11 +39,18 @@ function createStrapiFieldOperatorSchema(entries, metadata) {
|
|
|
39
39
|
}
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/filters/primitives/membership-operators.ts
|
|
42
|
+
const isDefined = (value) => value !== void 0;
|
|
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]]));
|
|
42
49
|
const createStrapiArrayMembershipOperatorEntries = (value) => ({
|
|
43
|
-
$in:
|
|
44
|
-
$notIn:
|
|
50
|
+
$in: createStrapiArrayMembershipValue(value),
|
|
51
|
+
$notIn: createStrapiArrayMembershipValue(value)
|
|
45
52
|
});
|
|
46
|
-
const createStrapiBetweenOperatorEntries = (value) => ({ $between:
|
|
53
|
+
const createStrapiBetweenOperatorEntries = (value) => ({ $between: createStrapiBetweenValue(value) });
|
|
47
54
|
const createStrapiMembershipOperatorEntries = (value) => ({
|
|
48
55
|
...createStrapiArrayMembershipOperatorEntries(value),
|
|
49
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,20 +1,20 @@
|
|
|
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
|
|
5
5
|
declare const FilterClientClassification: 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.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
9
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, undefined>, v.TransformAction<("organic" | "paid" | undefined)[], ("organic" | "paid")[]>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, undefined>, v.TransformAction<("organic" | "paid" | undefined)[], ("organic" | "paid")[]>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
10
10
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
11
11
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MinLengthAction<("organic" | "paid")[], 1, 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.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
17
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, undefined>, v.TransformAction<("organic" | "paid" | undefined)[], ("organic" | "paid")[]>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, undefined>, v.TransformAction<("organic" | "paid" | undefined)[], ("organic" | "paid")[]>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
18
18
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
19
19
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MinLengthAction<("organic" | "paid")[], 1, undefined>]>;
|
|
20
20
|
}>;
|
|
@@ -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");
|