@getcommunity/gc-validators 0.0.303 → 0.0.304
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-5XkQ7YsD.cjs} +1 -1
- package/dist/{boolean-BvzTfxwy.mjs → boolean-Bdx5xT5m.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-CPsbCZS-.d.mts → fields-BopXL_4G.d.mts} +5 -5
- package/dist/{fields-CN5MGX0I.d.cts → fields-DBfXSScv.d.cts} +5 -5
- package/dist/filters/index.cjs +5 -5
- package/dist/filters/index.d.cts +1 -1
- package/dist/filters/index.d.mts +1 -1
- package/dist/filters/index.mjs +5 -5
- package/dist/{identifier-C1rjjFTl.mjs → identifier-BG15K1O7.mjs} +3 -7
- package/dist/{identifier-CydeNRjl.cjs → identifier-Bwt-6zIn.cjs} +3 -7
- package/dist/{index-Vd1m8sMA.d.mts → index-Cvf-XWEd.d.mts} +18 -3
- package/dist/{index-CDB3qHay.d.cts → index-Dy_nHvKG.d.cts} +18 -3
- package/dist/{index-CQolG83r.d.cts → index-zawGhwWD.d.cts} +37 -54
- package/dist/{index-CQolG83r.d.mts → index-zawGhwWD.d.mts} +37 -54
- package/dist/{null-operators-ChVQtMKo.mjs → null-operators-BRtL5f_K.mjs} +4 -2
- package/dist/{null-operators-BUWeBpfM.cjs → null-operators-Ct_0HDzu.cjs} +4 -2
- package/dist/{picklist-CRMInABi.mjs → picklist-BWL1xOyh.mjs} +1 -1
- package/dist/{picklist-BAFeyJ7r.cjs → picklist-BpaO3lAy.cjs} +1 -1
- package/dist/{query-ClD5wGJb.d.mts → query-B-cY5wgd.d.mts} +2 -2
- package/dist/{query-D0h3FLfr.d.mts → query-B0MI41Dk.d.mts} +4 -4
- package/dist/{query-CMq5lfgl.d.mts → query-B3lan3up.d.mts} +26 -16
- package/dist/{query-TJCAaiBL.d.cts → query-BB3iuWIu.d.cts} +26 -16
- package/dist/query-BBhkcsNq.d.mts +40 -0
- package/dist/{query-B-13NKTD.mjs → query-BHENe1Mr.mjs} +1 -1
- package/dist/{query-CmFauYbo.d.mts → query-BdQQccuK.d.cts} +2 -2
- package/dist/{query-D_dTopVH.cjs → query-Bg-foYrU.cjs} +1 -1
- package/dist/{query-D2ZE1bJX.d.mts → query-Bj9wx1Wg.d.mts} +5 -5
- package/dist/{query-GJSlHT8b.d.cts → query-C89kWtN3.d.cts} +2 -2
- package/dist/{query-CB1DYvpK.mjs → query-C9H7HRSG.mjs} +3 -3
- package/dist/{query-zC83byBH.mjs → query-CK2IU3hx.mjs} +3 -3
- package/dist/{query-B5s5-Jxp.mjs → query-CN4rCmYe.mjs} +3 -3
- package/dist/{query--vUz-z7h.d.cts → query-Cf3uNQEv.d.mts} +2 -2
- package/dist/{query-DFlmAbzw.cjs → query-CkP_axse.cjs} +3 -3
- package/dist/{query-D8n0nHx_.d.mts → query-CnG3OxNR.d.cts} +2 -2
- package/dist/{query-DzMzNVPY.d.cts → query-CrmWhjBw.d.cts} +5 -5
- package/dist/{query-BjzoFJ7Q.cjs → query-DDJZ_-yh.cjs} +3 -3
- package/dist/{query-CGdWzuSF.d.cts → query-DwFp2FRq.d.cts} +4 -4
- package/dist/{query-BWpgHBRt.d.cts → query-DzWmcNH2.d.mts} +2 -2
- package/dist/query-Flja9BnV.d.cts +40 -0
- package/dist/{query-C4B_4d0q.cjs → query-_kOVv94h.cjs} +3 -3
- package/dist/{query-CjftGBde.cjs → query-fQJn0cqh.cjs} +3 -3
- package/dist/{query-ssJ09lVD.mjs → query-vtav3She.mjs} +3 -3
- package/dist/{string-DfcvXgd6.mjs → string-1hl2BsdT.mjs} +5 -8
- package/dist/{string-CabdwbFC.cjs → string-C4ZSm5bE.cjs} +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,11 @@ 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 StrapiLogicalFilterInputValue<TKey extends PropertyKey, TValue> = TKey extends "$in" | "$notIn" ? StrapiMembershipInput<TValue> : TKey extends "$and" | "$or" ? TValue extends readonly (infer TItem)[] ? StrapiLogicalFilterInputField<TItem>[] : TValue : TKey extends "$not" ? StrapiLogicalFilterInputField<TValue> : StrapiLogicalFilterInputField<TValue>;
|
|
56
|
+
type StrapiLogicalFilterInputField<TField> = TField extends readonly unknown[] ? TField : TField extends object ? Simplify<{ [TKey in keyof TField]: StrapiLogicalFilterInputValue<TKey, TField[TKey]> }> : TField;
|
|
57
|
+
type StrapiLogicalFilterInputFields<TFields extends object> = { [TKey in keyof TFields]: StrapiLogicalFilterInputField<TFields[TKey]> };
|
|
58
|
+
type StrapiLogicalFilterBaseSchema<TOutputFields extends object, TInputFields extends object = StrapiLogicalFilterInputFields<TOutputFields>, TDepth extends StrapiFilterMaxDepth = 3> = v.ObjectSchema<OptionalStrapiLogicalFilterEntries<TInputFields, TOutputFields, TDepth>, undefined>;
|
|
55
59
|
type StrapiLogicalFieldEntries<TInputFields extends object, TOutputFields extends object> = { [TKey in keyof TInputFields & keyof TOutputFields]-?: StrapiBaseSchema<TInputFields[TKey], TOutputFields[TKey]> };
|
|
56
60
|
type StrapiLogicalEntries<TInputFields extends object, TOutputFields extends object, TDepth extends StrapiFilterMaxDepth> = TDepth extends 0 ? StrapiForbiddenLogicalFilterEntries : {
|
|
57
61
|
$and: StrapiBaseSchema<StrapiLogicalFilter<TInputFields, PreviousStrapiFilterDepth<TDepth>>[], StrapiLogicalFilter<TOutputFields, PreviousStrapiFilterDepth<TDepth>>[]>;
|
|
@@ -124,16 +128,16 @@ declare const createStrapiFilterSchema: <const TFieldEntries extends StrapiFilte
|
|
|
124
128
|
//#endregion
|
|
125
129
|
//#region src/filters/primitives/membership-operators.d.ts
|
|
126
130
|
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>]>;
|
|
131
|
+
$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>]>;
|
|
132
|
+
$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
133
|
};
|
|
130
134
|
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
131
135
|
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
132
136
|
};
|
|
133
137
|
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
134
138
|
$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
|
+
$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
|
+
$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
141
|
};
|
|
138
142
|
//#endregion
|
|
139
143
|
//#region src/filters/primitives/null-operators.d.ts
|
|
@@ -193,8 +197,8 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
193
197
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
194
198
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
195
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>;
|
|
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 $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
|
+
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
202
|
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
203
|
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
204
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -206,8 +210,8 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
206
210
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
207
211
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
208
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>;
|
|
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 $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
|
+
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
215
|
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
216
|
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
217
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -226,8 +230,8 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
226
230
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
227
231
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
228
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>;
|
|
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 $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
|
+
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
235
|
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
236
|
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
237
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -239,8 +243,8 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
239
243
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
240
244
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
241
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>;
|
|
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 $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
|
+
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
248
|
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
249
|
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
250
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -259,8 +263,8 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
259
263
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
260
264
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
261
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>;
|
|
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 $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
|
+
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
268
|
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
269
|
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
270
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -272,8 +276,8 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
272
276
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
273
277
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
274
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>;
|
|
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 $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
|
+
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
281
|
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
282
|
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
283
|
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 +297,10 @@ type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
|
|
|
293
297
|
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
298
|
type IdFilterValue = v.InferOutput<typeof IdFilterValue>;
|
|
295
299
|
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
300
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
299
301
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
300
302
|
} & {
|
|
301
303
|
$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
304
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
305
305
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
306
306
|
}>;
|
|
@@ -312,16 +312,12 @@ declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEn
|
|
|
312
312
|
}>;
|
|
313
313
|
type IdFilter = v.InferOutput<typeof IdFilter>;
|
|
314
314
|
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
315
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
318
316
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
319
317
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
320
318
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
321
319
|
} & {
|
|
322
320
|
$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
321
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
326
322
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
327
323
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -335,16 +331,12 @@ declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapi
|
|
|
335
331
|
}>;
|
|
336
332
|
type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
|
|
337
333
|
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
334
|
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
335
|
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
336
|
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
337
|
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
338
|
} & {
|
|
345
339
|
$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
340
|
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
341
|
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
342
|
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 +350,12 @@ declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
358
350
|
}>;
|
|
359
351
|
type SlugFilter = v.InferOutput<typeof SlugFilter>;
|
|
360
352
|
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
353
|
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
354
|
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
355
|
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
356
|
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
357
|
} & {
|
|
368
358
|
$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
359
|
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
360
|
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
361
|
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 +369,12 @@ declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilte
|
|
|
381
369
|
}>;
|
|
382
370
|
type EmailFilter = v.InferOutput<typeof EmailFilter>;
|
|
383
371
|
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
372
|
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
373
|
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
374
|
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
375
|
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
376
|
} & {
|
|
391
377
|
$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
378
|
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
379
|
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
380
|
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.">]>;
|
|
@@ -414,8 +398,8 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
414
398
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
415
399
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
416
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>;
|
|
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 $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
|
+
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
403
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
420
404
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
421
405
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -427,8 +411,8 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
427
411
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
428
412
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
429
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>;
|
|
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 $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
|
+
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
416
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
433
417
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
434
418
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -447,8 +431,8 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
447
431
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
448
432
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
449
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>;
|
|
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 $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
|
+
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
436
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
453
437
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
454
438
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -460,8 +444,8 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
460
444
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
461
445
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
462
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>;
|
|
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 $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
|
+
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
449
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
466
450
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
467
451
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -481,16 +465,16 @@ type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
|
|
|
481
465
|
declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
482
466
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
483
467
|
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>]>;
|
|
468
|
+
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>]>;
|
|
469
|
+
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
470
|
readonly $eq: TValue;
|
|
487
471
|
readonly $ne: TValue;
|
|
488
472
|
} & {
|
|
489
473
|
$not: StrapiFilterObjectSchema<{
|
|
490
474
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
491
475
|
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>]>;
|
|
476
|
+
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>]>;
|
|
477
|
+
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
478
|
readonly $eq: TValue;
|
|
495
479
|
readonly $ne: TValue;
|
|
496
480
|
}>;
|
|
@@ -503,16 +487,16 @@ declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(valu
|
|
|
503
487
|
declare const createPicklistArrayFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
504
488
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
505
489
|
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>]>;
|
|
490
|
+
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>]>;
|
|
491
|
+
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
492
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
509
493
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
510
494
|
} & {
|
|
511
495
|
$not: StrapiFilterObjectSchema<{
|
|
512
496
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
513
497
|
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>]>;
|
|
498
|
+
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>]>;
|
|
499
|
+
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
500
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
517
501
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
518
502
|
}>;
|
|
@@ -561,7 +545,6 @@ declare const StringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
561
545
|
readonly kind: "comparison";
|
|
562
546
|
readonly input: "text";
|
|
563
547
|
};
|
|
564
|
-
readonly operators: readonly [];
|
|
565
548
|
}>;
|
|
566
549
|
type StringFilter = v.InferOutput<typeof StringFilter>;
|
|
567
550
|
declare const LongStringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
@@ -39,9 +39,11 @@ 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));
|
|
42
44
|
const createStrapiArrayMembershipOperatorEntries = (value) => ({
|
|
43
|
-
$in:
|
|
44
|
-
$notIn:
|
|
45
|
+
$in: createStrapiArrayMembershipValue(value),
|
|
46
|
+
$notIn: createStrapiArrayMembershipValue(value)
|
|
45
47
|
});
|
|
46
48
|
const createStrapiBetweenOperatorEntries = (value) => ({ $between: v.strictTuple([value, value]) });
|
|
47
49
|
const createStrapiMembershipOperatorEntries = (value) => ({
|
|
@@ -41,9 +41,11 @@ 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));
|
|
44
46
|
const createStrapiArrayMembershipOperatorEntries = (value) => ({
|
|
45
|
-
$in:
|
|
46
|
-
$notIn:
|
|
47
|
+
$in: createStrapiArrayMembershipValue(value),
|
|
48
|
+
$notIn: createStrapiArrayMembershipValue(value)
|
|
47
49
|
});
|
|
48
50
|
const createStrapiBetweenOperatorEntries = (value) => ({ $between: valibot.strictTuple([value, value]) });
|
|
49
51
|
const createStrapiMembershipOperatorEntries = (value) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as createStrapiFieldOperatorSchema, d as createStrapiEqualityOperatorEntries, n as createStrapiArrayMembershipOperatorEntries, t as StrapiNullOperatorEntries } from "./null-operators-
|
|
1
|
+
import { a as createStrapiFieldOperatorSchema, d as createStrapiEqualityOperatorEntries, n as createStrapiArrayMembershipOperatorEntries, t as StrapiNullOperatorEntries } from "./null-operators-BRtL5f_K.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
//#region src/filters/generics/picklist.ts
|
|
4
4
|
const createPicklistFilter = (value) => createStrapiFieldOperatorSchema({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_null_operators = require("./null-operators-
|
|
2
|
+
const require_null_operators = require("./null-operators-Ct_0HDzu.cjs");
|
|
3
3
|
let valibot = require("valibot");
|
|
4
4
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
5
|
//#region src/filters/generics/picklist.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-zawGhwWD.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-Bj9wx1Wg.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/content-pillar/query.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as BooleanFilter, at as StrapiLogicalFilter, d as EmailFilter, f as IdFilter, n as StringFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-
|
|
2
|
-
import { n as FilterStrapiClients } from "./query-
|
|
3
|
-
import { t as FilterScopes } from "./fields-
|
|
4
|
-
import { n as FilterStrapiRoles } from "./query-
|
|
1
|
+
import { S as BooleanFilter, at as StrapiLogicalFilter, d as EmailFilter, f as IdFilter, n as StringFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-zawGhwWD.mjs";
|
|
2
|
+
import { n as FilterStrapiClients } from "./query-Bj9wx1Wg.mjs";
|
|
3
|
+
import { t as FilterScopes } from "./fields-BopXL_4G.mjs";
|
|
4
|
+
import { n as FilterStrapiRoles } from "./query-BBhkcsNq.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/entities/up-user/query.d.ts
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as IdFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-zawGhwWD.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
|
-
//#region src/base/filters.d.ts
|
|
5
|
-
type FilterStrapiBaseFields = {
|
|
6
|
-
id?: IdFilter;
|
|
7
|
-
documentId?: DocumentIdFilter;
|
|
8
|
-
createdAt?: DateTimeFilter;
|
|
9
|
-
updatedAt?: DateTimeFilter;
|
|
10
|
-
};
|
|
11
|
-
type FilterStrapiBase = StrapiLogicalFilter<FilterStrapiBaseFields>;
|
|
12
|
-
declare const FilterStrapiBase: v.GenericSchema<FilterStrapiBase>;
|
|
13
|
-
//#endregion
|
|
14
4
|
//#region src/base/query.d.ts
|
|
15
5
|
declare const QueryStrapiById: v.ObjectSchema<{
|
|
16
6
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -24,7 +14,12 @@ declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
|
24
14
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
25
15
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
26
16
|
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>;
|
|
27
|
-
readonly f: v.OptionalSchema<
|
|
17
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
18
|
+
id?: IdFilter;
|
|
19
|
+
documentId?: DocumentIdFilter;
|
|
20
|
+
createdAt?: DateTimeFilter;
|
|
21
|
+
updatedAt?: DateTimeFilter;
|
|
22
|
+
}>, undefined>;
|
|
28
23
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
29
24
|
}, undefined>;
|
|
30
25
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
@@ -32,7 +27,12 @@ declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
|
32
27
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
33
28
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
34
29
|
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>;
|
|
35
|
-
readonly f: v.OptionalSchema<
|
|
30
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
31
|
+
id?: IdFilter;
|
|
32
|
+
documentId?: DocumentIdFilter;
|
|
33
|
+
createdAt?: DateTimeFilter;
|
|
34
|
+
updatedAt?: DateTimeFilter;
|
|
35
|
+
}>, undefined>;
|
|
36
36
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
37
37
|
}, undefined>;
|
|
38
38
|
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
@@ -40,7 +40,12 @@ declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
|
40
40
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
41
41
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
42
42
|
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>;
|
|
43
|
-
readonly f: v.OptionalSchema<
|
|
43
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
44
|
+
id?: IdFilter;
|
|
45
|
+
documentId?: DocumentIdFilter;
|
|
46
|
+
createdAt?: DateTimeFilter;
|
|
47
|
+
updatedAt?: DateTimeFilter;
|
|
48
|
+
}>, undefined>;
|
|
44
49
|
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
45
50
|
}, undefined>;
|
|
46
51
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
@@ -48,9 +53,14 @@ declare const QueryStrapiByName: v.ObjectSchema<{
|
|
|
48
53
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
49
54
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
50
55
|
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>;
|
|
51
|
-
readonly f: v.OptionalSchema<
|
|
56
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
57
|
+
id?: IdFilter;
|
|
58
|
+
documentId?: DocumentIdFilter;
|
|
59
|
+
createdAt?: DateTimeFilter;
|
|
60
|
+
updatedAt?: DateTimeFilter;
|
|
61
|
+
}>, undefined>;
|
|
52
62
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
53
63
|
}, undefined>;
|
|
54
64
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
55
65
|
//#endregion
|
|
56
|
-
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r,
|
|
66
|
+
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as IdFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-zawGhwWD.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
|
-
//#region src/base/filters.d.ts
|
|
5
|
-
type FilterStrapiBaseFields = {
|
|
6
|
-
id?: IdFilter;
|
|
7
|
-
documentId?: DocumentIdFilter;
|
|
8
|
-
createdAt?: DateTimeFilter;
|
|
9
|
-
updatedAt?: DateTimeFilter;
|
|
10
|
-
};
|
|
11
|
-
type FilterStrapiBase = StrapiLogicalFilter<FilterStrapiBaseFields>;
|
|
12
|
-
declare const FilterStrapiBase: v.GenericSchema<FilterStrapiBase>;
|
|
13
|
-
//#endregion
|
|
14
4
|
//#region src/base/query.d.ts
|
|
15
5
|
declare const QueryStrapiById: v.ObjectSchema<{
|
|
16
6
|
readonly id: v.NumberSchema<undefined>;
|
|
@@ -24,7 +14,12 @@ declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
|
24
14
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
25
15
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
26
16
|
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>;
|
|
27
|
-
readonly f: v.OptionalSchema<
|
|
17
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
18
|
+
id?: IdFilter;
|
|
19
|
+
documentId?: DocumentIdFilter;
|
|
20
|
+
createdAt?: DateTimeFilter;
|
|
21
|
+
updatedAt?: DateTimeFilter;
|
|
22
|
+
}>, undefined>;
|
|
28
23
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
29
24
|
}, undefined>;
|
|
30
25
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
@@ -32,7 +27,12 @@ declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
|
32
27
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
33
28
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
34
29
|
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>;
|
|
35
|
-
readonly f: v.OptionalSchema<
|
|
30
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
31
|
+
id?: IdFilter;
|
|
32
|
+
documentId?: DocumentIdFilter;
|
|
33
|
+
createdAt?: DateTimeFilter;
|
|
34
|
+
updatedAt?: DateTimeFilter;
|
|
35
|
+
}>, undefined>;
|
|
36
36
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
37
37
|
}, undefined>;
|
|
38
38
|
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
@@ -40,7 +40,12 @@ declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
|
40
40
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
41
41
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
42
42
|
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>;
|
|
43
|
-
readonly f: v.OptionalSchema<
|
|
43
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
44
|
+
id?: IdFilter;
|
|
45
|
+
documentId?: DocumentIdFilter;
|
|
46
|
+
createdAt?: DateTimeFilter;
|
|
47
|
+
updatedAt?: DateTimeFilter;
|
|
48
|
+
}>, undefined>;
|
|
44
49
|
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
45
50
|
}, undefined>;
|
|
46
51
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
@@ -48,9 +53,14 @@ declare const QueryStrapiByName: v.ObjectSchema<{
|
|
|
48
53
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
49
54
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
50
55
|
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>;
|
|
51
|
-
readonly f: v.OptionalSchema<
|
|
56
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
57
|
+
id?: IdFilter;
|
|
58
|
+
documentId?: DocumentIdFilter;
|
|
59
|
+
createdAt?: DateTimeFilter;
|
|
60
|
+
updatedAt?: DateTimeFilter;
|
|
61
|
+
}>, undefined>;
|
|
52
62
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
53
63
|
}, undefined>;
|
|
54
64
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
55
65
|
//#endregion
|
|
56
|
-
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r,
|
|
66
|
+
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
|