@getcommunity/gc-validators 0.0.302 → 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/document.cjs +1 -1
- package/dist/entities/client/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/client-content-pillar/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/client-email/document.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/document.cjs +1 -1
- package/dist/entities/client-media-platform/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/client-project/document.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/document.cjs +1 -1
- package/dist/entities/client-report/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/client-styleguide/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/client-user/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/content-pillar/document.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/document.cjs +1 -1
- package/dist/entities/gcflytour/document.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/document.cjs +1 -1
- package/dist/entities/gcflytour-snap/document.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/document.cjs +1 -1
- package/dist/entities/media-content-type/document.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/document.cjs +1 -1
- package/dist/entities/media-creative-format/document.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/document.cjs +1 -1
- package/dist/entities/media-medium/document.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/document.cjs +1 -1
- package/dist/entities/media-platform/document.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/document.cjs +1 -1
- package/dist/entities/monday-workspace/document.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/product-highlight/document.cjs +1 -1
- package/dist/entities/product-highlight/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/up-permission/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/up-role/document.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/document.cjs +1 -1
- package/dist/entities/up-user/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/user-account/document.mjs +1 -1
- 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/document.cjs +1 -1
- package/dist/entities/utm-tracking-link/document.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-C6dnxNRf.d.mts → fields-BopXL_4G.d.mts} +5 -5
- package/dist/{fields-5xDdL4s5.d.cts → fields-DBfXSScv.d.cts} +5 -5
- package/dist/filters/index.cjs +5 -5
- package/dist/filters/index.d.cts +2 -2
- package/dist/filters/index.d.mts +2 -2
- 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-CQNWVScB.d.mts → index-Cvf-XWEd.d.mts} +18 -3
- package/dist/{index-oaI_nIzV.d.cts → index-Dy_nHvKG.d.cts} +18 -3
- package/dist/{index-DbCg1Vgf.d.cts → index-zawGhwWD.d.cts} +57 -57
- package/dist/{index-DbCg1Vgf.d.mts → index-zawGhwWD.d.mts} +57 -57
- 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-BQXhcg2i.d.cts → query-B-cY5wgd.d.mts} +2 -2
- package/dist/{query-D9LqPGhB.d.mts → query-B0MI41Dk.d.mts} +4 -4
- package/dist/{query-BfXZwJGz.d.cts → query-B3lan3up.d.mts} +26 -16
- package/dist/{query-DlnIENmM.d.mts → 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-PSE7Mbhr.d.mts → query-BdQQccuK.d.cts} +2 -2
- package/dist/{query-D_dTopVH.cjs → query-Bg-foYrU.cjs} +1 -1
- package/dist/{query-CAe5hSDw.d.cts → query-Bj9wx1Wg.d.mts} +5 -5
- package/dist/{query-B9tfYc8P.d.mts → 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-BSoSVgpX.d.cts → query-Cf3uNQEv.d.mts} +2 -2
- package/dist/{query-DFlmAbzw.cjs → query-CkP_axse.cjs} +3 -3
- package/dist/{query-DzbgGrY_.d.mts → query-CnG3OxNR.d.cts} +2 -2
- package/dist/{query-CNhx8ajb.d.mts → query-CrmWhjBw.d.cts} +5 -5
- package/dist/{query-BjzoFJ7Q.cjs → query-DDJZ_-yh.cjs} +3 -3
- package/dist/{query-DuJSUW6L.d.cts → query-DwFp2FRq.d.cts} +4 -4
- package/dist/{query-C3V0zbtG.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-Dg1THb-M.d.mts +0 -40
- package/dist/query-URgE7B7v.d.cts +0 -40
- package/dist/{document-wwyNKJjZ.mjs → document-0ZHuVdfl.mjs} +1 -1
- package/dist/{document-eG2aS9gt.cjs → document-y3W3rg2J.cjs} +1 -1
|
@@ -34,14 +34,35 @@ type StrapiFilterLogicalOutput<TEntries extends StrapiFilterEntries, TDepth exte
|
|
|
34
34
|
type StrapiFilterInput<TEntries extends StrapiFilterEntries, TDepth extends StrapiFilterMaxDepth = 3> = Simplify<Partial<StrapiFilterFieldsInput<TEntries>>> & Partial<StrapiFilterLogicalInput<TEntries, TDepth>>;
|
|
35
35
|
type StrapiFilterOutput<TEntries extends StrapiFilterEntries, TDepth extends StrapiFilterMaxDepth = 3> = Simplify<Partial<StrapiFilterFieldsOutput<TEntries>>> & Partial<StrapiFilterLogicalOutput<TEntries, TDepth>>;
|
|
36
36
|
type OptionalStrapiFilterEntries<TEntries extends StrapiFilterEntries> = { [TKey in keyof TEntries]: v.OptionalSchema<TEntries[TKey], undefined> };
|
|
37
|
-
type
|
|
38
|
-
|
|
37
|
+
type StrapiForbiddenLogicalFilterEntries = {
|
|
38
|
+
$and: StrapiBaseSchema<never, never>;
|
|
39
|
+
$or: StrapiBaseSchema<never, never>;
|
|
40
|
+
$not: StrapiBaseSchema<never, never>;
|
|
41
|
+
};
|
|
42
|
+
type StrapiLogicalFilterEntries<TEntries extends StrapiFilterEntries, TDepth extends StrapiFilterMaxDepth> = TDepth extends 0 ? StrapiForbiddenLogicalFilterEntries : {
|
|
43
|
+
$and: StrapiBaseSchema<StrapiFilterInput<TEntries, PreviousStrapiFilterDepth<TDepth>>[], StrapiFilterOutput<TEntries, PreviousStrapiFilterDepth<TDepth>>[]>;
|
|
44
|
+
$or: StrapiBaseSchema<StrapiFilterInput<TEntries, PreviousStrapiFilterDepth<TDepth>>[], StrapiFilterOutput<TEntries, PreviousStrapiFilterDepth<TDepth>>[]>;
|
|
45
|
+
$not: StrapiBaseSchema<StrapiFilterInput<TEntries, PreviousStrapiFilterDepth<TDepth>>, StrapiFilterOutput<TEntries, PreviousStrapiFilterDepth<TDepth>>>;
|
|
46
|
+
};
|
|
47
|
+
type StrapiFilterSchemaEntries<TEntries extends StrapiFilterEntries, TDepth extends StrapiFilterMaxDepth> = TEntries & StrapiLogicalFilterEntries<TEntries, TDepth>;
|
|
48
|
+
type StrapiFilterSchema<TEntries extends StrapiFilterEntries, TDepth extends StrapiFilterMaxDepth = 3> = StrapiFilterObjectSchema<StrapiFilterSchemaEntries<TEntries, TDepth>>;
|
|
39
49
|
type StrapiLogicalFilter<TFields extends object, TDepth extends StrapiFilterMaxDepth = 3> = TFields & (TDepth extends 0 ? Record<never, never> : {
|
|
40
50
|
$and?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>[];
|
|
41
51
|
$or?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>[];
|
|
42
52
|
$not?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>;
|
|
43
53
|
});
|
|
44
|
-
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>;
|
|
59
|
+
type StrapiLogicalFieldEntries<TInputFields extends object, TOutputFields extends object> = { [TKey in keyof TInputFields & keyof TOutputFields]-?: StrapiBaseSchema<TInputFields[TKey], TOutputFields[TKey]> };
|
|
60
|
+
type StrapiLogicalEntries<TInputFields extends object, TOutputFields extends object, TDepth extends StrapiFilterMaxDepth> = TDepth extends 0 ? StrapiForbiddenLogicalFilterEntries : {
|
|
61
|
+
$and: StrapiBaseSchema<StrapiLogicalFilter<TInputFields, PreviousStrapiFilterDepth<TDepth>>[], StrapiLogicalFilter<TOutputFields, PreviousStrapiFilterDepth<TDepth>>[]>;
|
|
62
|
+
$or: StrapiBaseSchema<StrapiLogicalFilter<TInputFields, PreviousStrapiFilterDepth<TDepth>>[], StrapiLogicalFilter<TOutputFields, PreviousStrapiFilterDepth<TDepth>>[]>;
|
|
63
|
+
$not: StrapiBaseSchema<StrapiLogicalFilter<TInputFields, PreviousStrapiFilterDepth<TDepth>>, StrapiLogicalFilter<TOutputFields, PreviousStrapiFilterDepth<TDepth>>>;
|
|
64
|
+
};
|
|
65
|
+
type OptionalStrapiLogicalFilterEntries<TInputFields extends object, TOutputFields extends object, TDepth extends StrapiFilterMaxDepth> = OptionalStrapiFilterEntries<StrapiLogicalFieldEntries<TInputFields, TOutputFields> & StrapiLogicalEntries<TInputFields, TOutputFields, TDepth>>;
|
|
45
66
|
//#endregion
|
|
46
67
|
//#region src/filters/primitives/comparison-operators.d.ts
|
|
47
68
|
declare const createStrapiEqualityOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
@@ -107,16 +128,16 @@ declare const createStrapiFilterSchema: <const TFieldEntries extends StrapiFilte
|
|
|
107
128
|
//#endregion
|
|
108
129
|
//#region src/filters/primitives/membership-operators.d.ts
|
|
109
130
|
declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
110
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
111
|
-
$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>]>;
|
|
112
133
|
};
|
|
113
134
|
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
114
135
|
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
115
136
|
};
|
|
116
137
|
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
117
138
|
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
118
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
119
|
-
$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>]>;
|
|
120
141
|
};
|
|
121
142
|
//#endregion
|
|
122
143
|
//#region src/filters/primitives/null-operators.d.ts
|
|
@@ -176,8 +197,8 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
176
197
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
177
198
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
178
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>;
|
|
179
|
-
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>]>;
|
|
180
|
-
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>]>;
|
|
181
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>]>;
|
|
182
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>]>;
|
|
183
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>]>;
|
|
@@ -189,8 +210,8 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
189
210
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
190
211
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
191
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>;
|
|
192
|
-
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>]>;
|
|
193
|
-
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>]>;
|
|
194
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>]>;
|
|
195
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>]>;
|
|
196
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>]>;
|
|
@@ -209,8 +230,8 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
209
230
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
210
231
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
211
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>;
|
|
212
|
-
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>]>;
|
|
213
|
-
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>]>;
|
|
214
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>]>;
|
|
215
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>]>;
|
|
216
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>]>;
|
|
@@ -222,8 +243,8 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
222
243
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
223
244
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
224
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>;
|
|
225
|
-
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>]>;
|
|
226
|
-
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>]>;
|
|
227
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>]>;
|
|
228
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>]>;
|
|
229
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>]>;
|
|
@@ -242,8 +263,8 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
242
263
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
243
264
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
244
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>;
|
|
245
|
-
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>]>;
|
|
246
|
-
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>]>;
|
|
247
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>]>;
|
|
248
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>]>;
|
|
249
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>]>;
|
|
@@ -255,8 +276,8 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
255
276
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
256
277
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
257
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>;
|
|
258
|
-
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>]>;
|
|
259
|
-
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>]>;
|
|
260
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>]>;
|
|
261
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>]>;
|
|
262
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>]>;
|
|
@@ -276,14 +297,10 @@ type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
|
|
|
276
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>]>;
|
|
277
298
|
type IdFilterValue = v.InferOutput<typeof IdFilterValue>;
|
|
278
299
|
declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
279
|
-
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>]>;
|
|
280
|
-
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>]>;
|
|
281
300
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
282
301
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
283
302
|
} & {
|
|
284
303
|
$not: StrapiFilterObjectSchema<{
|
|
285
|
-
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>]>;
|
|
286
|
-
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>]>;
|
|
287
304
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
288
305
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
289
306
|
}>;
|
|
@@ -295,16 +312,12 @@ declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEn
|
|
|
295
312
|
}>;
|
|
296
313
|
type IdFilter = v.InferOutput<typeof IdFilter>;
|
|
297
314
|
declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
298
|
-
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>]>;
|
|
299
|
-
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>]>;
|
|
300
315
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
301
316
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
302
317
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
303
318
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
304
319
|
} & {
|
|
305
320
|
$not: StrapiFilterObjectSchema<{
|
|
306
|
-
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>]>;
|
|
307
|
-
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>]>;
|
|
308
321
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
309
322
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
310
323
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -318,16 +331,12 @@ declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapi
|
|
|
318
331
|
}>;
|
|
319
332
|
type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
|
|
320
333
|
declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
321
|
-
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>]>;
|
|
322
|
-
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>]>;
|
|
323
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: - _ .">]>;
|
|
324
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: - _ .">]>;
|
|
325
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: - _ .">]>;
|
|
326
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: - _ .">]>;
|
|
327
338
|
} & {
|
|
328
339
|
$not: StrapiFilterObjectSchema<{
|
|
329
|
-
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>]>;
|
|
330
|
-
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>]>;
|
|
331
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: - _ .">]>;
|
|
332
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: - _ .">]>;
|
|
333
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: - _ .">]>;
|
|
@@ -341,16 +350,12 @@ declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
341
350
|
}>;
|
|
342
351
|
type SlugFilter = v.InferOutput<typeof SlugFilter>;
|
|
343
352
|
declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
344
|
-
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>]>;
|
|
345
|
-
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>]>;
|
|
346
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>]>;
|
|
347
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>]>;
|
|
348
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>]>;
|
|
349
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>]>;
|
|
350
357
|
} & {
|
|
351
358
|
$not: StrapiFilterObjectSchema<{
|
|
352
|
-
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>]>;
|
|
353
|
-
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>]>;
|
|
354
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>]>;
|
|
355
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>]>;
|
|
356
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>]>;
|
|
@@ -364,16 +369,12 @@ declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilte
|
|
|
364
369
|
}>;
|
|
365
370
|
type EmailFilter = v.InferOutput<typeof EmailFilter>;
|
|
366
371
|
declare const UrlFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
367
|
-
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>]>;
|
|
368
|
-
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>]>;
|
|
369
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.">]>;
|
|
370
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.">]>;
|
|
371
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.">]>;
|
|
372
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.">]>;
|
|
373
376
|
} & {
|
|
374
377
|
$not: StrapiFilterObjectSchema<{
|
|
375
|
-
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>]>;
|
|
376
|
-
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>]>;
|
|
377
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.">]>;
|
|
378
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.">]>;
|
|
379
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.">]>;
|
|
@@ -397,8 +398,8 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
397
398
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
398
399
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
399
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>;
|
|
400
|
-
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>]>;
|
|
401
|
-
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>]>;
|
|
402
403
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
403
404
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
404
405
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -410,8 +411,8 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
410
411
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
411
412
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
412
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>;
|
|
413
|
-
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>]>;
|
|
414
|
-
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>]>;
|
|
415
416
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
416
417
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
417
418
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -430,8 +431,8 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
430
431
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
431
432
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
432
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>;
|
|
433
|
-
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>]>;
|
|
434
|
-
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>]>;
|
|
435
436
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
436
437
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
437
438
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -443,8 +444,8 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
443
444
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
444
445
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
445
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>;
|
|
446
|
-
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>]>;
|
|
447
|
-
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>]>;
|
|
448
449
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
449
450
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
450
451
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -464,16 +465,16 @@ type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
|
|
|
464
465
|
declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
465
466
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
466
467
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
467
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
468
|
-
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>]>;
|
|
469
470
|
readonly $eq: TValue;
|
|
470
471
|
readonly $ne: TValue;
|
|
471
472
|
} & {
|
|
472
473
|
$not: StrapiFilterObjectSchema<{
|
|
473
474
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
474
475
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
475
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
476
|
-
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>]>;
|
|
477
478
|
readonly $eq: TValue;
|
|
478
479
|
readonly $ne: TValue;
|
|
479
480
|
}>;
|
|
@@ -486,16 +487,16 @@ declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(valu
|
|
|
486
487
|
declare const createPicklistArrayFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
487
488
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
488
489
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
489
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
490
|
-
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>]>;
|
|
491
492
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
492
493
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
493
494
|
} & {
|
|
494
495
|
$not: StrapiFilterObjectSchema<{
|
|
495
496
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
496
497
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
497
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
498
|
-
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>]>;
|
|
499
500
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
500
501
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
501
502
|
}>;
|
|
@@ -544,7 +545,6 @@ declare const StringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
544
545
|
readonly kind: "comparison";
|
|
545
546
|
readonly input: "text";
|
|
546
547
|
};
|
|
547
|
-
readonly operators: readonly [];
|
|
548
548
|
}>;
|
|
549
549
|
type StringFilter = v.InferOutput<typeof StringFilter>;
|
|
550
550
|
declare const LongStringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
@@ -587,4 +587,4 @@ declare const LongStringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapi
|
|
|
587
587
|
}>;
|
|
588
588
|
type LongStringFilter = v.InferOutput<typeof LongStringFilter>;
|
|
589
589
|
//#endregion
|
|
590
|
-
export { StrapiFilterMaxDepth as $, createStrapiMembershipOperatorEntries as A, StrapiFilterInputType as B, BooleanFilterValue as C, StrapiNullOperatorEntries as D, createStrapiStrictFilterObject as E, createStrapiFieldOperatorSchema as F, createStrapiCaseInsensitiveEqualityOperatorEntries as G, StrapiFilterOperatorKind as H, createStrapiOperatorSchema as I, createStrapiOrderedComparisonOperatorEntries as J, createStrapiComparisonOperatorEntries as K, FilterSchemaMetadata as L, DEFAULT_STRAPI_FILTER_MAX_DEPTH as M, createStrapiFilterSchema as N, createStrapiArrayMembershipOperatorEntries as O, createStrapiLogicalFilterEntries as P, StrapiFilterInput as Q, FilterWithMetadata as R, BooleanFilter as S, createStrapiFilterObject as T, createFilterWithMetadata as U, StrapiFilterOperator as V, getFilterMetadata as W, StrapiBaseSchema as X, OptionalStrapiFilterEntries as Y, StrapiFilterEntries as Z, DateFilterValue as _, IntegerFilter as a, StrapiLogicalFilter as at, TimeFilter as b, NumberFilter as c,
|
|
590
|
+
export { StrapiFilterMaxDepth as $, createStrapiMembershipOperatorEntries as A, StrapiFilterInputType as B, BooleanFilterValue as C, StrapiNullOperatorEntries as D, createStrapiStrictFilterObject as E, createStrapiFieldOperatorSchema as F, createStrapiCaseInsensitiveEqualityOperatorEntries as G, StrapiFilterOperatorKind as H, createStrapiOperatorSchema as I, createStrapiOrderedComparisonOperatorEntries as J, createStrapiComparisonOperatorEntries as K, FilterSchemaMetadata as L, DEFAULT_STRAPI_FILTER_MAX_DEPTH as M, createStrapiFilterSchema as N, createStrapiArrayMembershipOperatorEntries as O, createStrapiLogicalFilterEntries as P, StrapiFilterInput as Q, FilterWithMetadata as R, BooleanFilter as S, createStrapiFilterObject as T, createFilterWithMetadata as U, StrapiFilterOperator as V, getFilterMetadata as W, StrapiBaseSchema as X, OptionalStrapiFilterEntries as Y, StrapiFilterEntries as Z, DateFilterValue as _, IntegerFilter as a, StrapiLogicalFilter as at, TimeFilter as b, NumberFilter as c, StrapiStrictFilterObjectOutput as ct, EmailFilter as d, StrapiFilterObjectInput as et, IdFilter as f, DateFilter as g, UrlFilter as h, createPicklistFilter as i, StrapiFilterSchema as it, CreateStrapiFilterSchemaOptions as j, createStrapiBetweenOperatorEntries as k, NumberFilterValue as l, StrapiStrictFilterObjectSchema as lt, SlugFilter as m, StringFilter as n, StrapiFilterObjectSchema as nt, IntegerFilterValue as o, StrapiLogicalFilterBaseSchema as ot, IdFilterValue as p, createStrapiEqualityOperatorEntries as q, createPicklistArrayFilter as r, StrapiFilterOutput as rt, NUMBER_STRING_PATTERN as s, StrapiStrictFilterObjectInput as st, LongStringFilter as t, StrapiFilterObjectOutput as tt, DocumentIdFilter as u, DateTimeFilter as v, createStrapiStringMatchingOperatorEntries as w, TimeFilterValue as x, DateTimeFilterValue as y, STRAPI_FILTER_OPERATORS as z };
|