@getcommunity/gc-validators 0.0.295 → 0.0.296
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-CA_mX99H.mjs → boolean-DDWUN-57.mjs} +1 -1
- package/dist/{boolean-BadU8QJ7.cjs → boolean-Dsl1C-Ra.cjs} +1 -1
- package/dist/entities/audit-log/query.cjs +3 -3
- package/dist/entities/audit-log/query.d.cts +5 -20
- package/dist/entities/audit-log/query.d.mts +5 -20
- 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 -20
- package/dist/entities/blog-post/query.d.mts +5 -20
- 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 -40
- package/dist/entities/client-project/query.d.mts +10 -40
- 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 -21
- package/dist/entities/client-report/query.d.mts +6 -21
- 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 -39
- package/dist/entities/team-member/query.d.mts +9 -39
- 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 -39
- package/dist/entities/url-redirect/query.d.mts +9 -39
- 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-D9pcnFWZ.d.mts → fields-BBw63Cmg.d.mts} +5 -20
- package/dist/{fields-Chzf2LXQ.d.cts → fields-Du3Eagfb.d.cts} +5 -20
- package/dist/filters/index.cjs +8 -5
- package/dist/filters/index.d.cts +2 -2
- package/dist/filters/index.d.mts +2 -2
- package/dist/filters/index.mjs +6 -6
- package/dist/{identifier-Dy532ddR.cjs → identifier-CH94KWK3.cjs} +4 -4
- package/dist/{identifier-Cj5_NcEx.mjs → identifier-CNGKsmHv.mjs} +4 -4
- package/dist/{index-VTu2S9GZ.d.cts → index-B1-7A6uQ.d.cts} +1 -1
- package/dist/{index-D1T8M4t3.d.mts → index-BM8o4E73.d.mts} +1 -1
- package/dist/{index-MevWX87O.d.cts → index-BZmieKqA.d.cts} +109 -387
- package/dist/{index-MevWX87O.d.mts → index-BZmieKqA.d.mts} +109 -387
- package/dist/{null-operators-Di2tW3dI.mjs → null-operators-Cr7Gk-nO.mjs} +8 -6
- package/dist/{null-operators-CTPiNKlc.cjs → null-operators-D0ijm3Xq.cjs} +25 -5
- package/dist/{picklist-CxE13krA.cjs → picklist-BMOTqyK3.cjs} +1 -1
- package/dist/{picklist-CKrOioY-.mjs → picklist-Clrg9KLL.mjs} +1 -1
- package/dist/{query-PGARJYST.mjs → query-B-D__SOs.mjs} +3 -3
- package/dist/{query-DE58iR9R.cjs → query-B3yOaqyg.cjs} +3 -3
- package/dist/{query-Ie0NnR8N.d.mts → query-BB298STC.d.mts} +2 -2
- package/dist/{query-r9DRWJeC.d.cts → query-BFkBXgIM.d.cts} +2 -2
- package/dist/{query-5jb1_gFO.cjs → query-BZL6aIiE.cjs} +3 -3
- package/dist/{query-bKI8MTHp.mjs → query-Bvhj0ReL.mjs} +3 -3
- package/dist/{query-BSU751G0.mjs → query-ByXMjawz.mjs} +1 -1
- package/dist/{query-Bcw18ipw.d.cts → query-C4XYgjzi.d.cts} +4 -4
- package/dist/{query-Bw5kLAGA.d.cts → query-C5k8KRWh.d.cts} +5 -20
- package/dist/{query-D34XPwAY.mjs → query-CTJsqppi.mjs} +3 -3
- package/dist/{query-BnoJno03.d.cts → query-ClxQG08F.d.cts} +2 -2
- package/dist/{query-CIji3RCy.d.mts → query-Cm3Xjyi2.d.cts} +2 -2
- package/dist/{query-BmWGiYuZ.d.mts → query-CmudsfTI.d.mts} +2 -2
- package/dist/{query-BF2KzZxy.d.mts → query-DKS5vS0I.d.mts} +5 -20
- package/dist/{query-BHIPZHzj.d.mts → query-DMeaReZo.d.cts} +5 -20
- package/dist/{query-EAe4n1Js.d.cts → query-DduBmBoK.d.mts} +2 -2
- package/dist/{query-DzaM8r2P.d.cts → query-Df08JRZf.d.mts} +5 -20
- package/dist/{query-Cev5zXVf.d.mts → query-DikJxoGy.d.mts} +4 -4
- package/dist/{query-c2PAMeF4.cjs → query-DzSnRZm5.cjs} +3 -3
- package/dist/{query-8q9CmDYp.cjs → query-MD2TsFrh.cjs} +1 -1
- package/dist/{query-Bd5pGrGN.d.cts → query-TYabAd_r.d.cts} +1 -1
- package/dist/{query-CkVAE7F4.cjs → query-gQpUWCYh.cjs} +3 -3
- package/dist/{query-CcAAKT5-.mjs → query-geW_XhDq.mjs} +3 -3
- package/dist/{query-B2tXBOnU.d.mts → query-j-KLfRRw.d.mts} +1 -1
- package/dist/{string-CbMlEOfD.cjs → string-CIc74QYv.cjs} +1 -1
- package/dist/{string-Cg95IUzI.mjs → string-CoI3xSs-.mjs} +1 -1
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
|
@@ -1,38 +1,15 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
|
|
3
|
-
//#region src/filters/primitives/comparison-operators.d.ts
|
|
4
|
-
declare const createStrapiEqualityOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
|
|
5
|
-
$eq: TValue;
|
|
6
|
-
$ne: TValue;
|
|
7
|
-
};
|
|
8
|
-
declare const createStrapiCaseInsensitiveEqualityOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
|
|
9
|
-
$eqi: TValue;
|
|
10
|
-
$nei: TValue;
|
|
11
|
-
};
|
|
12
|
-
declare const createStrapiOrderedComparisonOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
|
|
13
|
-
$gt: TValue;
|
|
14
|
-
$gte: TValue;
|
|
15
|
-
$lt: TValue;
|
|
16
|
-
$lte: TValue;
|
|
17
|
-
};
|
|
18
|
-
declare const createStrapiComparisonOperatorEntries: <const TValue extends v.GenericSchema>(value: TValue) => {
|
|
19
|
-
$gt: TValue;
|
|
20
|
-
$gte: TValue;
|
|
21
|
-
$lt: TValue;
|
|
22
|
-
$lte: TValue;
|
|
23
|
-
$eqi: TValue;
|
|
24
|
-
$nei: TValue;
|
|
25
|
-
$eq: TValue;
|
|
26
|
-
$ne: TValue;
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
3
|
//#region src/filters/primitives/types.d.ts
|
|
30
4
|
type Simplify<T> = { [TKey in keyof T]: T[TKey] } & {};
|
|
31
5
|
type StrapiBaseSchema<TInput = unknown, TOutput = TInput, TIssue extends v.BaseIssue<unknown> = v.BaseIssue<unknown>> = v.BaseSchema<TInput, TOutput, TIssue>;
|
|
32
6
|
type StrapiFilterEntries = Record<string, StrapiBaseSchema>;
|
|
33
|
-
type
|
|
34
|
-
type
|
|
35
|
-
type
|
|
7
|
+
type StrapiFilterObjectInput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferInput<TEntries[TKey]> }>>;
|
|
8
|
+
type StrapiFilterObjectOutput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferOutput<TEntries[TKey]> }>>;
|
|
9
|
+
type StrapiFilterObjectSchema<TEntries extends StrapiFilterEntries> = v.ObjectSchema<OptionalStrapiFilterEntries<TEntries>, undefined>;
|
|
10
|
+
type StrapiStrictFilterObjectInput<TEntries extends StrapiFilterEntries> = StrapiFilterObjectInput<TEntries>;
|
|
11
|
+
type StrapiStrictFilterObjectOutput<TEntries extends StrapiFilterEntries> = StrapiFilterObjectOutput<TEntries>;
|
|
12
|
+
type StrapiStrictFilterObjectSchema<TEntries extends StrapiFilterEntries> = StrapiFilterObjectSchema<TEntries>;
|
|
36
13
|
type StrapiFilterFieldsInput<TEntries extends StrapiFilterEntries> = { [TKey in keyof TEntries]: v.InferInput<TEntries[TKey]> };
|
|
37
14
|
type StrapiFilterFieldsOutput<TEntries extends StrapiFilterEntries> = { [TKey in keyof TEntries]: v.InferOutput<TEntries[TKey]> };
|
|
38
15
|
type StrapiFilterLogicalInput<TEntries extends StrapiFilterEntries> = {
|
|
@@ -47,19 +24,46 @@ type StrapiFilterLogicalOutput<TEntries extends StrapiFilterEntries> = {
|
|
|
47
24
|
};
|
|
48
25
|
type StrapiFilterInput<TEntries extends StrapiFilterEntries> = Simplify<Partial<StrapiFilterFieldsInput<TEntries>>> & Partial<StrapiFilterLogicalInput<TEntries>>;
|
|
49
26
|
type StrapiFilterOutput<TEntries extends StrapiFilterEntries> = Simplify<Partial<StrapiFilterFieldsOutput<TEntries>>> & Partial<StrapiFilterLogicalOutput<TEntries>>;
|
|
50
|
-
type StrapiFilterSchema<TEntries extends StrapiFilterEntries> = StrapiBaseSchema<StrapiFilterInput<TEntries>, StrapiFilterOutput<TEntries>>;
|
|
51
27
|
type OptionalStrapiFilterEntries<TEntries extends StrapiFilterEntries> = { [TKey in keyof TEntries]: v.OptionalSchema<TEntries[TKey], undefined> };
|
|
28
|
+
type StrapiObjectSchema<TInput extends object, TOutput extends object = TInput, TIssue extends v.BaseIssue<unknown> = v.BaseIssue<unknown>> = v.ObjectSchema<v.ObjectEntries, undefined> & v.BaseSchema<TInput, TOutput, TIssue>;
|
|
29
|
+
type StrapiFilterSchema<TEntries extends StrapiFilterEntries> = StrapiObjectSchema<StrapiFilterInput<TEntries>, StrapiFilterOutput<TEntries>>;
|
|
52
30
|
type StrapiLogicalFilter<TFields extends object> = TFields & {
|
|
53
31
|
$and?: StrapiLogicalFilter<TFields>[];
|
|
54
32
|
$not?: StrapiLogicalFilter<TFields>;
|
|
55
33
|
$or?: StrapiLogicalFilter<TFields>[];
|
|
56
34
|
};
|
|
57
|
-
type StrapiLogicalFilterBaseSchema<TInputFields extends object, TOutputFields extends object = TInputFields, TIssue extends v.BaseIssue<unknown> = v.BaseIssue<unknown>> =
|
|
35
|
+
type StrapiLogicalFilterBaseSchema<TInputFields extends object, TOutputFields extends object = TInputFields, TIssue extends v.BaseIssue<unknown> = v.BaseIssue<unknown>> = StrapiObjectSchema<StrapiLogicalFilter<TInputFields>, StrapiLogicalFilter<TOutputFields>, TIssue>;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/filters/primitives/comparison-operators.d.ts
|
|
38
|
+
declare const createStrapiEqualityOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
39
|
+
$eq: TValue;
|
|
40
|
+
$ne: TValue;
|
|
41
|
+
};
|
|
42
|
+
declare const createStrapiCaseInsensitiveEqualityOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
43
|
+
$eqi: TValue;
|
|
44
|
+
$nei: TValue;
|
|
45
|
+
};
|
|
46
|
+
declare const createStrapiOrderedComparisonOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
47
|
+
$gt: TValue;
|
|
48
|
+
$gte: TValue;
|
|
49
|
+
$lt: TValue;
|
|
50
|
+
$lte: TValue;
|
|
51
|
+
};
|
|
52
|
+
declare const createStrapiComparisonOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
53
|
+
$gt: TValue;
|
|
54
|
+
$gte: TValue;
|
|
55
|
+
$lt: TValue;
|
|
56
|
+
$lte: TValue;
|
|
57
|
+
$eqi: TValue;
|
|
58
|
+
$nei: TValue;
|
|
59
|
+
$eq: TValue;
|
|
60
|
+
$ne: TValue;
|
|
61
|
+
};
|
|
58
62
|
//#endregion
|
|
59
63
|
//#region src/filters/primitives/field-operators.d.ts
|
|
60
|
-
declare const createStrapiOperatorSchema: <const TEntries extends StrapiFilterEntries>(entries: TEntries) =>
|
|
61
|
-
declare const createStrapiFieldOperatorSchema: <const TEntries extends StrapiFilterEntries>(entries: TEntries) =>
|
|
62
|
-
readonly $not:
|
|
64
|
+
declare const createStrapiOperatorSchema: <const TEntries extends StrapiFilterEntries>(entries: TEntries) => StrapiFilterObjectSchema<TEntries>;
|
|
65
|
+
declare const createStrapiFieldOperatorSchema: <const TEntries extends StrapiFilterEntries>(entries: TEntries) => StrapiFilterObjectSchema<TEntries & {
|
|
66
|
+
readonly $not: StrapiFilterObjectSchema<TEntries>;
|
|
63
67
|
}>;
|
|
64
68
|
//#endregion
|
|
65
69
|
//#region src/filters/primitives/filter-metadata.d.ts
|
|
@@ -73,10 +77,15 @@ type FilterSchemaMetadata = {
|
|
|
73
77
|
} & Record<string, unknown>;
|
|
74
78
|
type StrapiFilterOperator = "$eq" | "$ne" | "$eqi" | "$nei" | "$contains" | "$containsi" | "$notContains" | "$notContainsi" | "$startsWith" | "$startsWithi" | "$endsWith" | "$endsWithi" | "$gt" | "$gte" | "$lt" | "$lte" | "$in" | "$notIn" | "$between" | "$null" | "$notNull" | "$not" | "$and" | "$or";
|
|
75
79
|
declare const STRAPI_FILTER_OPERATORS: Record<StrapiFilterOperator, string>;
|
|
76
|
-
declare const
|
|
80
|
+
declare const STRAPI_FILTER_METADATA: unique symbol;
|
|
81
|
+
type FilterWithMetadata<TSchema extends StrapiBaseSchema, TMetadata extends FilterSchemaMetadata> = TSchema & {
|
|
82
|
+
readonly [STRAPI_FILTER_METADATA]: TMetadata;
|
|
83
|
+
};
|
|
84
|
+
declare const createFilterWithMetadata: <const TSchema extends StrapiBaseSchema, const TMetadata extends FilterSchemaMetadata>(schema: TSchema, metadata: TMetadata) => FilterWithMetadata<TSchema, TMetadata>;
|
|
85
|
+
declare const getFilterMetadata: (schema: unknown) => FilterSchemaMetadata | undefined;
|
|
77
86
|
//#endregion
|
|
78
87
|
//#region src/filters/primitives/logical-operators.d.ts
|
|
79
|
-
declare const createStrapiLogicalFilterEntries: <const TFilter extends
|
|
88
|
+
declare const createStrapiLogicalFilterEntries: <const TFilter extends StrapiBaseSchema>(filter: TFilter) => {
|
|
80
89
|
$and: v.SchemaWithPipe<readonly [v.ArraySchema<TFilter, undefined>, v.MinLengthAction<v.InferOutput<TFilter>[], 1, undefined>]>;
|
|
81
90
|
$not: TFilter;
|
|
82
91
|
$or: v.SchemaWithPipe<readonly [v.ArraySchema<TFilter, undefined>, v.MinLengthAction<v.InferOutput<TFilter>[], 1, undefined>]>;
|
|
@@ -84,14 +93,14 @@ declare const createStrapiLogicalFilterEntries: <const TFilter extends v.Generic
|
|
|
84
93
|
declare const createStrapiFilterSchema: <const TFieldEntries extends StrapiFilterEntries>(fieldEntries: TFieldEntries) => StrapiFilterSchema<TFieldEntries>;
|
|
85
94
|
//#endregion
|
|
86
95
|
//#region src/filters/primitives/membership-operators.d.ts
|
|
87
|
-
declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends
|
|
96
|
+
declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
88
97
|
$in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
89
98
|
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
90
99
|
};
|
|
91
|
-
declare const createStrapiBetweenOperatorEntries: <const TValue extends
|
|
100
|
+
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
92
101
|
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
93
102
|
};
|
|
94
|
-
declare const createStrapiMembershipOperatorEntries: <const TValue extends
|
|
103
|
+
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
95
104
|
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
96
105
|
$in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
97
106
|
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
@@ -104,10 +113,11 @@ declare const StrapiNullOperatorEntries: {
|
|
|
104
113
|
};
|
|
105
114
|
//#endregion
|
|
106
115
|
//#region src/filters/primitives/strict-filter-object.d.ts
|
|
116
|
+
declare const createStrapiFilterObject: <const TEntries extends StrapiFilterEntries>(entries: TEntries) => StrapiFilterObjectSchema<TEntries>;
|
|
107
117
|
declare const createStrapiStrictFilterObject: <const TEntries extends StrapiFilterEntries>(entries: TEntries) => StrapiStrictFilterObjectSchema<TEntries>;
|
|
108
118
|
//#endregion
|
|
109
119
|
//#region src/filters/primitives/string-matching-operators.d.ts
|
|
110
|
-
declare const createStrapiStringMatchingOperatorEntries: <const TValue extends
|
|
120
|
+
declare const createStrapiStringMatchingOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
111
121
|
$contains: TValue;
|
|
112
122
|
$containsi: TValue;
|
|
113
123
|
$endsWith: TValue;
|
|
@@ -121,35 +131,24 @@ declare const createStrapiStringMatchingOperatorEntries: <const TValue extends v
|
|
|
121
131
|
//#region src/filters/generics/boolean.d.ts
|
|
122
132
|
declare const BooleanFilterValue: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
|
|
123
133
|
type BooleanFilterValue = v.InferOutput<typeof BooleanFilterValue>;
|
|
124
|
-
declare const BooleanFilter:
|
|
134
|
+
declare const BooleanFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
125
135
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
126
136
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
127
137
|
readonly $eq: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
|
|
128
138
|
readonly $ne: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
|
|
129
139
|
} & {
|
|
130
|
-
readonly $not:
|
|
140
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
131
141
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
132
142
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
133
143
|
readonly $eq: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
|
|
134
144
|
readonly $ne: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
|
|
135
145
|
}>;
|
|
136
|
-
}>,
|
|
137
|
-
readonly $notNull?: true | undefined;
|
|
138
|
-
readonly $null?: true | undefined;
|
|
139
|
-
readonly $eq?: boolean | undefined;
|
|
140
|
-
readonly $ne?: boolean | undefined;
|
|
141
|
-
readonly $not?: {
|
|
142
|
-
readonly $notNull?: true | undefined;
|
|
143
|
-
readonly $null?: true | undefined;
|
|
144
|
-
readonly $eq?: boolean | undefined;
|
|
145
|
-
readonly $ne?: boolean | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
}, {
|
|
146
|
+
}>, {
|
|
148
147
|
readonly value: {
|
|
149
148
|
readonly kind: "comparison";
|
|
150
149
|
readonly input: "checkbox";
|
|
151
150
|
};
|
|
152
|
-
}
|
|
151
|
+
}>;
|
|
153
152
|
type BooleanFilter = v.InferOutput<typeof BooleanFilter>;
|
|
154
153
|
//#endregion
|
|
155
154
|
//#region src/filters/generics/date-time.d.ts
|
|
@@ -159,7 +158,7 @@ declare const TimeFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.Schem
|
|
|
159
158
|
type TimeFilterValue = v.InferOutput<typeof TimeFilterValue>;
|
|
160
159
|
declare const DateTimeFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
161
160
|
type DateTimeFilterValue = v.InferOutput<typeof DateTimeFilterValue>;
|
|
162
|
-
declare const DateFilter:
|
|
161
|
+
declare const DateFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
163
162
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
164
163
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
165
164
|
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>;
|
|
@@ -172,7 +171,7 @@ declare const DateFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSch
|
|
|
172
171
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
173
172
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
174
173
|
} & {
|
|
175
|
-
readonly $not:
|
|
174
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
176
175
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
177
176
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
178
177
|
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>;
|
|
@@ -185,39 +184,14 @@ declare const DateFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSch
|
|
|
185
184
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
186
185
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
187
186
|
}>;
|
|
188
|
-
}>,
|
|
189
|
-
readonly $notNull?: true | undefined;
|
|
190
|
-
readonly $null?: true | undefined;
|
|
191
|
-
readonly $between?: [string, string] | undefined;
|
|
192
|
-
readonly $in?: string[] | undefined;
|
|
193
|
-
readonly $notIn?: string[] | undefined;
|
|
194
|
-
readonly $gt?: string | undefined;
|
|
195
|
-
readonly $gte?: string | undefined;
|
|
196
|
-
readonly $lt?: string | undefined;
|
|
197
|
-
readonly $lte?: string | undefined;
|
|
198
|
-
readonly $eq?: string | undefined;
|
|
199
|
-
readonly $ne?: string | undefined;
|
|
200
|
-
readonly $not?: {
|
|
201
|
-
readonly $notNull?: true | undefined;
|
|
202
|
-
readonly $null?: true | undefined;
|
|
203
|
-
readonly $between?: [string, string] | undefined;
|
|
204
|
-
readonly $in?: string[] | undefined;
|
|
205
|
-
readonly $notIn?: string[] | undefined;
|
|
206
|
-
readonly $gt?: string | undefined;
|
|
207
|
-
readonly $gte?: string | undefined;
|
|
208
|
-
readonly $lt?: string | undefined;
|
|
209
|
-
readonly $lte?: string | undefined;
|
|
210
|
-
readonly $eq?: string | undefined;
|
|
211
|
-
readonly $ne?: string | undefined;
|
|
212
|
-
} | undefined;
|
|
213
|
-
}, {
|
|
187
|
+
}>, {
|
|
214
188
|
readonly value: {
|
|
215
189
|
readonly kind: "comparison";
|
|
216
190
|
readonly input: "date-range";
|
|
217
191
|
};
|
|
218
|
-
}
|
|
192
|
+
}>;
|
|
219
193
|
type DateFilter = v.InferOutput<typeof DateFilter>;
|
|
220
|
-
declare const TimeFilter:
|
|
194
|
+
declare const TimeFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
221
195
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
222
196
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
223
197
|
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>;
|
|
@@ -230,7 +204,7 @@ declare const TimeFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSch
|
|
|
230
204
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
231
205
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
232
206
|
} & {
|
|
233
|
-
readonly $not:
|
|
207
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
234
208
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
235
209
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
236
210
|
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>;
|
|
@@ -243,39 +217,14 @@ declare const TimeFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSch
|
|
|
243
217
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
244
218
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
245
219
|
}>;
|
|
246
|
-
}>,
|
|
247
|
-
readonly $notNull?: true | undefined;
|
|
248
|
-
readonly $null?: true | undefined;
|
|
249
|
-
readonly $between?: [string, string] | undefined;
|
|
250
|
-
readonly $in?: string[] | undefined;
|
|
251
|
-
readonly $notIn?: string[] | undefined;
|
|
252
|
-
readonly $gt?: string | undefined;
|
|
253
|
-
readonly $gte?: string | undefined;
|
|
254
|
-
readonly $lt?: string | undefined;
|
|
255
|
-
readonly $lte?: string | undefined;
|
|
256
|
-
readonly $eq?: string | undefined;
|
|
257
|
-
readonly $ne?: string | undefined;
|
|
258
|
-
readonly $not?: {
|
|
259
|
-
readonly $notNull?: true | undefined;
|
|
260
|
-
readonly $null?: true | undefined;
|
|
261
|
-
readonly $between?: [string, string] | undefined;
|
|
262
|
-
readonly $in?: string[] | undefined;
|
|
263
|
-
readonly $notIn?: string[] | undefined;
|
|
264
|
-
readonly $gt?: string | undefined;
|
|
265
|
-
readonly $gte?: string | undefined;
|
|
266
|
-
readonly $lt?: string | undefined;
|
|
267
|
-
readonly $lte?: string | undefined;
|
|
268
|
-
readonly $eq?: string | undefined;
|
|
269
|
-
readonly $ne?: string | undefined;
|
|
270
|
-
} | undefined;
|
|
271
|
-
}, {
|
|
220
|
+
}>, {
|
|
272
221
|
readonly value: {
|
|
273
222
|
readonly kind: "comparison";
|
|
274
223
|
readonly input: "time-range";
|
|
275
224
|
};
|
|
276
|
-
}
|
|
225
|
+
}>;
|
|
277
226
|
type TimeFilter = v.InferOutput<typeof TimeFilter>;
|
|
278
|
-
declare const DateTimeFilter:
|
|
227
|
+
declare const DateTimeFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
279
228
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
280
229
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
281
230
|
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>;
|
|
@@ -288,7 +237,7 @@ declare const DateTimeFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjec
|
|
|
288
237
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
289
238
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
290
239
|
} & {
|
|
291
|
-
readonly $not:
|
|
240
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
292
241
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
293
242
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
294
243
|
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>;
|
|
@@ -301,49 +250,24 @@ declare const DateTimeFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjec
|
|
|
301
250
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
302
251
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
303
252
|
}>;
|
|
304
|
-
}>,
|
|
305
|
-
readonly $notNull?: true | undefined;
|
|
306
|
-
readonly $null?: true | undefined;
|
|
307
|
-
readonly $between?: [string, string] | undefined;
|
|
308
|
-
readonly $in?: string[] | undefined;
|
|
309
|
-
readonly $notIn?: string[] | undefined;
|
|
310
|
-
readonly $gt?: string | undefined;
|
|
311
|
-
readonly $gte?: string | undefined;
|
|
312
|
-
readonly $lt?: string | undefined;
|
|
313
|
-
readonly $lte?: string | undefined;
|
|
314
|
-
readonly $eq?: string | undefined;
|
|
315
|
-
readonly $ne?: string | undefined;
|
|
316
|
-
readonly $not?: {
|
|
317
|
-
readonly $notNull?: true | undefined;
|
|
318
|
-
readonly $null?: true | undefined;
|
|
319
|
-
readonly $between?: [string, string] | undefined;
|
|
320
|
-
readonly $in?: string[] | undefined;
|
|
321
|
-
readonly $notIn?: string[] | undefined;
|
|
322
|
-
readonly $gt?: string | undefined;
|
|
323
|
-
readonly $gte?: string | undefined;
|
|
324
|
-
readonly $lt?: string | undefined;
|
|
325
|
-
readonly $lte?: string | undefined;
|
|
326
|
-
readonly $eq?: string | undefined;
|
|
327
|
-
readonly $ne?: string | undefined;
|
|
328
|
-
} | undefined;
|
|
329
|
-
}, {
|
|
253
|
+
}>, {
|
|
330
254
|
readonly value: {
|
|
331
255
|
readonly kind: "comparison";
|
|
332
256
|
readonly input: "datetime-range";
|
|
333
257
|
};
|
|
334
|
-
}
|
|
258
|
+
}>;
|
|
335
259
|
type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
|
|
336
260
|
//#endregion
|
|
337
261
|
//#region src/filters/generics/identifier.d.ts
|
|
338
262
|
declare const IdFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
339
263
|
type IdFilterValue = v.InferOutput<typeof IdFilterValue>;
|
|
340
|
-
declare const IdFilter:
|
|
264
|
+
declare const IdFilter: StrapiFilterObjectSchema<{
|
|
341
265
|
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>]>;
|
|
342
266
|
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>]>;
|
|
343
267
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
344
268
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
345
269
|
} & {
|
|
346
|
-
readonly $not:
|
|
270
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
347
271
|
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>]>;
|
|
348
272
|
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>]>;
|
|
349
273
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
@@ -351,7 +275,7 @@ declare const IdFilter: StrapiStrictFilterObjectSchema<{
|
|
|
351
275
|
}>;
|
|
352
276
|
}>;
|
|
353
277
|
type IdFilter = v.InferOutput<typeof IdFilter>;
|
|
354
|
-
declare const DocumentIdFilter:
|
|
278
|
+
declare const DocumentIdFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
355
279
|
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>]>;
|
|
356
280
|
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>]>;
|
|
357
281
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -359,7 +283,7 @@ declare const DocumentIdFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObj
|
|
|
359
283
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
360
284
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
361
285
|
} & {
|
|
362
|
-
readonly $not:
|
|
286
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
363
287
|
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>]>;
|
|
364
288
|
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>]>;
|
|
365
289
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -367,29 +291,14 @@ declare const DocumentIdFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObj
|
|
|
367
291
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
368
292
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
369
293
|
}>;
|
|
370
|
-
}>,
|
|
371
|
-
readonly $in?: string[] | undefined;
|
|
372
|
-
readonly $notIn?: string[] | undefined;
|
|
373
|
-
readonly $eqi?: string | undefined;
|
|
374
|
-
readonly $nei?: string | undefined;
|
|
375
|
-
readonly $eq?: string | undefined;
|
|
376
|
-
readonly $ne?: string | undefined;
|
|
377
|
-
readonly $not?: {
|
|
378
|
-
readonly $in?: string[] | undefined;
|
|
379
|
-
readonly $notIn?: string[] | undefined;
|
|
380
|
-
readonly $eqi?: string | undefined;
|
|
381
|
-
readonly $nei?: string | undefined;
|
|
382
|
-
readonly $eq?: string | undefined;
|
|
383
|
-
readonly $ne?: string | undefined;
|
|
384
|
-
} | undefined;
|
|
385
|
-
}, {
|
|
294
|
+
}>, {
|
|
386
295
|
readonly value: {
|
|
387
296
|
readonly kind: "comparison";
|
|
388
297
|
readonly input: "text";
|
|
389
298
|
};
|
|
390
|
-
}
|
|
299
|
+
}>;
|
|
391
300
|
type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
|
|
392
|
-
declare const SlugFilter:
|
|
301
|
+
declare const SlugFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
393
302
|
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>]>;
|
|
394
303
|
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>]>;
|
|
395
304
|
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: - _ .">]>;
|
|
@@ -397,7 +306,7 @@ declare const SlugFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSch
|
|
|
397
306
|
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: - _ .">]>;
|
|
398
307
|
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: - _ .">]>;
|
|
399
308
|
} & {
|
|
400
|
-
readonly $not:
|
|
309
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
401
310
|
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>]>;
|
|
402
311
|
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>]>;
|
|
403
312
|
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: - _ .">]>;
|
|
@@ -405,29 +314,14 @@ declare const SlugFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSch
|
|
|
405
314
|
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: - _ .">]>;
|
|
406
315
|
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: - _ .">]>;
|
|
407
316
|
}>;
|
|
408
|
-
}>,
|
|
409
|
-
readonly $in?: string[] | undefined;
|
|
410
|
-
readonly $notIn?: string[] | undefined;
|
|
411
|
-
readonly $eqi?: string | undefined;
|
|
412
|
-
readonly $nei?: string | undefined;
|
|
413
|
-
readonly $eq?: string | undefined;
|
|
414
|
-
readonly $ne?: string | undefined;
|
|
415
|
-
readonly $not?: {
|
|
416
|
-
readonly $in?: string[] | undefined;
|
|
417
|
-
readonly $notIn?: string[] | undefined;
|
|
418
|
-
readonly $eqi?: string | undefined;
|
|
419
|
-
readonly $nei?: string | undefined;
|
|
420
|
-
readonly $eq?: string | undefined;
|
|
421
|
-
readonly $ne?: string | undefined;
|
|
422
|
-
} | undefined;
|
|
423
|
-
}, {
|
|
317
|
+
}>, {
|
|
424
318
|
readonly value: {
|
|
425
319
|
readonly kind: "comparison";
|
|
426
320
|
readonly input: "text";
|
|
427
321
|
};
|
|
428
|
-
}
|
|
322
|
+
}>;
|
|
429
323
|
type SlugFilter = v.InferOutput<typeof SlugFilter>;
|
|
430
|
-
declare const EmailFilter:
|
|
324
|
+
declare const EmailFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
431
325
|
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>]>;
|
|
432
326
|
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>]>;
|
|
433
327
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
@@ -435,7 +329,7 @@ declare const EmailFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSc
|
|
|
435
329
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
436
330
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
437
331
|
} & {
|
|
438
|
-
readonly $not:
|
|
332
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
439
333
|
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>]>;
|
|
440
334
|
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>]>;
|
|
441
335
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
@@ -443,29 +337,14 @@ declare const EmailFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSc
|
|
|
443
337
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
444
338
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
445
339
|
}>;
|
|
446
|
-
}>,
|
|
447
|
-
readonly $in?: string[] | undefined;
|
|
448
|
-
readonly $notIn?: string[] | undefined;
|
|
449
|
-
readonly $eqi?: string | undefined;
|
|
450
|
-
readonly $nei?: string | undefined;
|
|
451
|
-
readonly $eq?: string | undefined;
|
|
452
|
-
readonly $ne?: string | undefined;
|
|
453
|
-
readonly $not?: {
|
|
454
|
-
readonly $in?: string[] | undefined;
|
|
455
|
-
readonly $notIn?: string[] | undefined;
|
|
456
|
-
readonly $eqi?: string | undefined;
|
|
457
|
-
readonly $nei?: string | undefined;
|
|
458
|
-
readonly $eq?: string | undefined;
|
|
459
|
-
readonly $ne?: string | undefined;
|
|
460
|
-
} | undefined;
|
|
461
|
-
}, {
|
|
340
|
+
}>, {
|
|
462
341
|
readonly value: {
|
|
463
342
|
readonly kind: "comparison";
|
|
464
343
|
readonly input: "email";
|
|
465
344
|
};
|
|
466
|
-
}
|
|
345
|
+
}>;
|
|
467
346
|
type EmailFilter = v.InferOutput<typeof EmailFilter>;
|
|
468
|
-
declare const UrlFilter:
|
|
347
|
+
declare const UrlFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
469
348
|
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>]>;
|
|
470
349
|
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>]>;
|
|
471
350
|
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.">]>;
|
|
@@ -473,7 +352,7 @@ declare const UrlFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSche
|
|
|
473
352
|
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.">]>;
|
|
474
353
|
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.">]>;
|
|
475
354
|
} & {
|
|
476
|
-
readonly $not:
|
|
355
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
477
356
|
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>]>;
|
|
478
357
|
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>]>;
|
|
479
358
|
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.">]>;
|
|
@@ -481,27 +360,12 @@ declare const UrlFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectSche
|
|
|
481
360
|
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.">]>;
|
|
482
361
|
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.">]>;
|
|
483
362
|
}>;
|
|
484
|
-
}>,
|
|
485
|
-
readonly $in?: string[] | undefined;
|
|
486
|
-
readonly $notIn?: string[] | undefined;
|
|
487
|
-
readonly $eqi?: string | undefined;
|
|
488
|
-
readonly $nei?: string | undefined;
|
|
489
|
-
readonly $eq?: string | undefined;
|
|
490
|
-
readonly $ne?: string | undefined;
|
|
491
|
-
readonly $not?: {
|
|
492
|
-
readonly $in?: string[] | undefined;
|
|
493
|
-
readonly $notIn?: string[] | undefined;
|
|
494
|
-
readonly $eqi?: string | undefined;
|
|
495
|
-
readonly $nei?: string | undefined;
|
|
496
|
-
readonly $eq?: string | undefined;
|
|
497
|
-
readonly $ne?: string | undefined;
|
|
498
|
-
} | undefined;
|
|
499
|
-
}, {
|
|
363
|
+
}>, {
|
|
500
364
|
readonly value: {
|
|
501
365
|
readonly kind: "comparison";
|
|
502
366
|
readonly input: "url";
|
|
503
367
|
};
|
|
504
|
-
}
|
|
368
|
+
}>;
|
|
505
369
|
type UrlFilter = v.InferOutput<typeof UrlFilter>;
|
|
506
370
|
//#endregion
|
|
507
371
|
//#region src/filters/generics/number.d.ts
|
|
@@ -510,7 +374,7 @@ declare const NumberFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.Num
|
|
|
510
374
|
type NumberFilterValue = v.InferOutput<typeof NumberFilterValue>;
|
|
511
375
|
declare const IntegerFilterValue: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
512
376
|
type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
|
|
513
|
-
declare const NumberFilter:
|
|
377
|
+
declare const NumberFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
514
378
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
515
379
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
516
380
|
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>;
|
|
@@ -523,7 +387,7 @@ declare const NumberFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectS
|
|
|
523
387
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
524
388
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
525
389
|
} & {
|
|
526
|
-
readonly $not:
|
|
390
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
527
391
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
528
392
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
529
393
|
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>;
|
|
@@ -536,39 +400,14 @@ declare const NumberFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectS
|
|
|
536
400
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
537
401
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
538
402
|
}>;
|
|
539
|
-
}>,
|
|
540
|
-
readonly $notNull?: true | undefined;
|
|
541
|
-
readonly $null?: true | undefined;
|
|
542
|
-
readonly $between?: [number, number] | undefined;
|
|
543
|
-
readonly $in?: number[] | undefined;
|
|
544
|
-
readonly $notIn?: number[] | undefined;
|
|
545
|
-
readonly $gt?: number | undefined;
|
|
546
|
-
readonly $gte?: number | undefined;
|
|
547
|
-
readonly $lt?: number | undefined;
|
|
548
|
-
readonly $lte?: number | undefined;
|
|
549
|
-
readonly $eq?: number | undefined;
|
|
550
|
-
readonly $ne?: number | undefined;
|
|
551
|
-
readonly $not?: {
|
|
552
|
-
readonly $notNull?: true | undefined;
|
|
553
|
-
readonly $null?: true | undefined;
|
|
554
|
-
readonly $between?: [number, number] | undefined;
|
|
555
|
-
readonly $in?: number[] | undefined;
|
|
556
|
-
readonly $notIn?: number[] | undefined;
|
|
557
|
-
readonly $gt?: number | undefined;
|
|
558
|
-
readonly $gte?: number | undefined;
|
|
559
|
-
readonly $lt?: number | undefined;
|
|
560
|
-
readonly $lte?: number | undefined;
|
|
561
|
-
readonly $eq?: number | undefined;
|
|
562
|
-
readonly $ne?: number | undefined;
|
|
563
|
-
} | undefined;
|
|
564
|
-
}, {
|
|
403
|
+
}>, {
|
|
565
404
|
readonly value: {
|
|
566
405
|
readonly kind: "comparison";
|
|
567
406
|
readonly input: "number-range";
|
|
568
407
|
};
|
|
569
|
-
}
|
|
408
|
+
}>;
|
|
570
409
|
type NumberFilter = v.InferOutput<typeof NumberFilter>;
|
|
571
|
-
declare const IntegerFilter:
|
|
410
|
+
declare const IntegerFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
572
411
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
573
412
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
574
413
|
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>;
|
|
@@ -581,7 +420,7 @@ declare const IntegerFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObject
|
|
|
581
420
|
readonly $eq: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
582
421
|
readonly $ne: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
583
422
|
} & {
|
|
584
|
-
readonly $not:
|
|
423
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
585
424
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
586
425
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
587
426
|
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>;
|
|
@@ -594,41 +433,16 @@ declare const IntegerFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObject
|
|
|
594
433
|
readonly $eq: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
595
434
|
readonly $ne: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
596
435
|
}>;
|
|
597
|
-
}>,
|
|
598
|
-
readonly $notNull?: true | undefined;
|
|
599
|
-
readonly $null?: true | undefined;
|
|
600
|
-
readonly $between?: [number, number] | undefined;
|
|
601
|
-
readonly $in?: number[] | undefined;
|
|
602
|
-
readonly $notIn?: number[] | undefined;
|
|
603
|
-
readonly $gt?: number | undefined;
|
|
604
|
-
readonly $gte?: number | undefined;
|
|
605
|
-
readonly $lt?: number | undefined;
|
|
606
|
-
readonly $lte?: number | undefined;
|
|
607
|
-
readonly $eq?: number | undefined;
|
|
608
|
-
readonly $ne?: number | undefined;
|
|
609
|
-
readonly $not?: {
|
|
610
|
-
readonly $notNull?: true | undefined;
|
|
611
|
-
readonly $null?: true | undefined;
|
|
612
|
-
readonly $between?: [number, number] | undefined;
|
|
613
|
-
readonly $in?: number[] | undefined;
|
|
614
|
-
readonly $notIn?: number[] | undefined;
|
|
615
|
-
readonly $gt?: number | undefined;
|
|
616
|
-
readonly $gte?: number | undefined;
|
|
617
|
-
readonly $lt?: number | undefined;
|
|
618
|
-
readonly $lte?: number | undefined;
|
|
619
|
-
readonly $eq?: number | undefined;
|
|
620
|
-
readonly $ne?: number | undefined;
|
|
621
|
-
} | undefined;
|
|
622
|
-
}, {
|
|
436
|
+
}>, {
|
|
623
437
|
readonly value: {
|
|
624
438
|
readonly kind: "comparison";
|
|
625
439
|
readonly input: "integer-range";
|
|
626
440
|
};
|
|
627
|
-
}
|
|
441
|
+
}>;
|
|
628
442
|
type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
|
|
629
443
|
//#endregion
|
|
630
444
|
//#region src/filters/generics/picklist.d.ts
|
|
631
|
-
declare const createPicklistFilter: <const TValue extends
|
|
445
|
+
declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
632
446
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
633
447
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
634
448
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
@@ -636,7 +450,7 @@ declare const createPicklistFilter: <const TValue extends v.GenericSchema>(value
|
|
|
636
450
|
readonly $eq: TValue;
|
|
637
451
|
readonly $ne: TValue;
|
|
638
452
|
} & {
|
|
639
|
-
readonly $not:
|
|
453
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
640
454
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
641
455
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
642
456
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
@@ -644,28 +458,13 @@ declare const createPicklistFilter: <const TValue extends v.GenericSchema>(value
|
|
|
644
458
|
readonly $eq: TValue;
|
|
645
459
|
readonly $ne: TValue;
|
|
646
460
|
}>;
|
|
647
|
-
}>,
|
|
648
|
-
readonly $notNull?: true | undefined;
|
|
649
|
-
readonly $null?: true | undefined;
|
|
650
|
-
readonly $in?: v.InferOutput<TValue>[] | undefined;
|
|
651
|
-
readonly $notIn?: v.InferOutput<TValue>[] | undefined;
|
|
652
|
-
readonly $eq?: v.InferOutput<TValue> | undefined;
|
|
653
|
-
readonly $ne?: v.InferOutput<TValue> | undefined;
|
|
654
|
-
readonly $not?: {
|
|
655
|
-
readonly $notNull?: true | undefined;
|
|
656
|
-
readonly $null?: true | undefined;
|
|
657
|
-
readonly $in?: v.InferOutput<TValue>[] | undefined;
|
|
658
|
-
readonly $notIn?: v.InferOutput<TValue>[] | undefined;
|
|
659
|
-
readonly $eq?: v.InferOutput<TValue> | undefined;
|
|
660
|
-
readonly $ne?: v.InferOutput<TValue> | undefined;
|
|
661
|
-
} | undefined;
|
|
662
|
-
}, {
|
|
461
|
+
}>, {
|
|
663
462
|
readonly value: {
|
|
664
463
|
readonly kind: "comparison";
|
|
665
464
|
readonly input: "select";
|
|
666
465
|
};
|
|
667
|
-
}
|
|
668
|
-
declare const createPicklistArrayFilter: <const TValue extends
|
|
466
|
+
}>;
|
|
467
|
+
declare const createPicklistArrayFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
669
468
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
670
469
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
671
470
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
@@ -673,7 +472,7 @@ declare const createPicklistArrayFilter: <const TValue extends v.GenericSchema>(
|
|
|
673
472
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
674
473
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
675
474
|
} & {
|
|
676
|
-
readonly $not:
|
|
475
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
677
476
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
678
477
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
679
478
|
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
@@ -681,30 +480,15 @@ declare const createPicklistArrayFilter: <const TValue extends v.GenericSchema>(
|
|
|
681
480
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
682
481
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
683
482
|
}>;
|
|
684
|
-
}>,
|
|
685
|
-
readonly $notNull?: true | undefined;
|
|
686
|
-
readonly $null?: true | undefined;
|
|
687
|
-
readonly $in?: v.InferOutput<TValue>[] | undefined;
|
|
688
|
-
readonly $notIn?: v.InferOutput<TValue>[] | undefined;
|
|
689
|
-
readonly $eq?: v.InferOutput<TValue>[] | undefined;
|
|
690
|
-
readonly $ne?: v.InferOutput<TValue>[] | undefined;
|
|
691
|
-
readonly $not?: {
|
|
692
|
-
readonly $notNull?: true | undefined;
|
|
693
|
-
readonly $null?: true | undefined;
|
|
694
|
-
readonly $in?: v.InferOutput<TValue>[] | undefined;
|
|
695
|
-
readonly $notIn?: v.InferOutput<TValue>[] | undefined;
|
|
696
|
-
readonly $eq?: v.InferOutput<TValue>[] | undefined;
|
|
697
|
-
readonly $ne?: v.InferOutput<TValue>[] | undefined;
|
|
698
|
-
} | undefined;
|
|
699
|
-
}, {
|
|
483
|
+
}>, {
|
|
700
484
|
readonly value: {
|
|
701
485
|
readonly kind: "comparison";
|
|
702
486
|
readonly input: "select";
|
|
703
487
|
};
|
|
704
|
-
}
|
|
488
|
+
}>;
|
|
705
489
|
//#endregion
|
|
706
490
|
//#region src/filters/generics/string.d.ts
|
|
707
|
-
declare const StringFilter:
|
|
491
|
+
declare const StringFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
708
492
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
709
493
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
710
494
|
readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -720,7 +504,7 @@ declare const StringFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectS
|
|
|
720
504
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
721
505
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
722
506
|
} & {
|
|
723
|
-
readonly $not:
|
|
507
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
724
508
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
725
509
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
726
510
|
readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -736,46 +520,15 @@ declare const StringFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObjectS
|
|
|
736
520
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
737
521
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
738
522
|
}>;
|
|
739
|
-
}>,
|
|
740
|
-
readonly $notNull?: true | undefined;
|
|
741
|
-
readonly $null?: true | undefined;
|
|
742
|
-
readonly $contains?: string | undefined;
|
|
743
|
-
readonly $containsi?: string | undefined;
|
|
744
|
-
readonly $endsWith?: string | undefined;
|
|
745
|
-
readonly $endsWithi?: string | undefined;
|
|
746
|
-
readonly $notContains?: string | undefined;
|
|
747
|
-
readonly $notContainsi?: string | undefined;
|
|
748
|
-
readonly $startsWith?: string | undefined;
|
|
749
|
-
readonly $startsWithi?: string | undefined;
|
|
750
|
-
readonly $eqi?: string | undefined;
|
|
751
|
-
readonly $nei?: string | undefined;
|
|
752
|
-
readonly $eq?: string | undefined;
|
|
753
|
-
readonly $ne?: string | undefined;
|
|
754
|
-
readonly $not?: {
|
|
755
|
-
readonly $notNull?: true | undefined;
|
|
756
|
-
readonly $null?: true | undefined;
|
|
757
|
-
readonly $contains?: string | undefined;
|
|
758
|
-
readonly $containsi?: string | undefined;
|
|
759
|
-
readonly $endsWith?: string | undefined;
|
|
760
|
-
readonly $endsWithi?: string | undefined;
|
|
761
|
-
readonly $notContains?: string | undefined;
|
|
762
|
-
readonly $notContainsi?: string | undefined;
|
|
763
|
-
readonly $startsWith?: string | undefined;
|
|
764
|
-
readonly $startsWithi?: string | undefined;
|
|
765
|
-
readonly $eqi?: string | undefined;
|
|
766
|
-
readonly $nei?: string | undefined;
|
|
767
|
-
readonly $eq?: string | undefined;
|
|
768
|
-
readonly $ne?: string | undefined;
|
|
769
|
-
} | undefined;
|
|
770
|
-
}, {
|
|
523
|
+
}>, {
|
|
771
524
|
readonly value: {
|
|
772
525
|
readonly kind: "comparison";
|
|
773
526
|
readonly input: "text";
|
|
774
527
|
};
|
|
775
528
|
readonly operators: readonly [];
|
|
776
|
-
}
|
|
529
|
+
}>;
|
|
777
530
|
type StringFilter = v.InferOutput<typeof StringFilter>;
|
|
778
|
-
declare const LongStringFilter:
|
|
531
|
+
declare const LongStringFilter: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
779
532
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
780
533
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
781
534
|
readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -791,7 +544,7 @@ declare const LongStringFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObj
|
|
|
791
544
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
792
545
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
793
546
|
} & {
|
|
794
|
-
readonly $not:
|
|
547
|
+
readonly $not: StrapiFilterObjectSchema<{
|
|
795
548
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
796
549
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
797
550
|
readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -807,43 +560,12 @@ declare const LongStringFilter: v.SchemaWithPipe<readonly [StrapiStrictFilterObj
|
|
|
807
560
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
808
561
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
809
562
|
}>;
|
|
810
|
-
}>,
|
|
811
|
-
readonly $notNull?: true | undefined;
|
|
812
|
-
readonly $null?: true | undefined;
|
|
813
|
-
readonly $contains?: string | undefined;
|
|
814
|
-
readonly $containsi?: string | undefined;
|
|
815
|
-
readonly $endsWith?: string | undefined;
|
|
816
|
-
readonly $endsWithi?: string | undefined;
|
|
817
|
-
readonly $notContains?: string | undefined;
|
|
818
|
-
readonly $notContainsi?: string | undefined;
|
|
819
|
-
readonly $startsWith?: string | undefined;
|
|
820
|
-
readonly $startsWithi?: string | undefined;
|
|
821
|
-
readonly $eqi?: string | undefined;
|
|
822
|
-
readonly $nei?: string | undefined;
|
|
823
|
-
readonly $eq?: string | undefined;
|
|
824
|
-
readonly $ne?: string | undefined;
|
|
825
|
-
readonly $not?: {
|
|
826
|
-
readonly $notNull?: true | undefined;
|
|
827
|
-
readonly $null?: true | undefined;
|
|
828
|
-
readonly $contains?: string | undefined;
|
|
829
|
-
readonly $containsi?: string | undefined;
|
|
830
|
-
readonly $endsWith?: string | undefined;
|
|
831
|
-
readonly $endsWithi?: string | undefined;
|
|
832
|
-
readonly $notContains?: string | undefined;
|
|
833
|
-
readonly $notContainsi?: string | undefined;
|
|
834
|
-
readonly $startsWith?: string | undefined;
|
|
835
|
-
readonly $startsWithi?: string | undefined;
|
|
836
|
-
readonly $eqi?: string | undefined;
|
|
837
|
-
readonly $nei?: string | undefined;
|
|
838
|
-
readonly $eq?: string | undefined;
|
|
839
|
-
readonly $ne?: string | undefined;
|
|
840
|
-
} | undefined;
|
|
841
|
-
}, {
|
|
563
|
+
}>, {
|
|
842
564
|
readonly value: {
|
|
843
565
|
readonly kind: "comparison";
|
|
844
566
|
readonly input: "textarea";
|
|
845
567
|
};
|
|
846
|
-
}
|
|
568
|
+
}>;
|
|
847
569
|
type LongStringFilter = v.InferOutput<typeof LongStringFilter>;
|
|
848
570
|
//#endregion
|
|
849
|
-
export {
|
|
571
|
+
export { StrapiFilterObjectOutput as $, createStrapiMembershipOperatorEntries as A, createFilterWithMetadata as B, BooleanFilterValue as C, StrapiNullOperatorEntries as D, createStrapiStrictFilterObject as E, STRAPI_FILTER_METADATA as F, createStrapiComparisonOperatorEntries as G, createStrapiFieldOperatorSchema as H, STRAPI_FILTER_OPERATORS as I, OptionalStrapiFilterEntries as J, createStrapiEqualityOperatorEntries as K, StrapiFilterInputType as L, createStrapiLogicalFilterEntries as M, FilterSchemaMetadata as N, createStrapiArrayMembershipOperatorEntries as O, FilterWithMetadata as P, StrapiFilterObjectInput as Q, StrapiFilterOperator as R, BooleanFilter as S, createStrapiFilterObject as T, createStrapiOperatorSchema as U, getFilterMetadata as V, createStrapiCaseInsensitiveEqualityOperatorEntries as W, StrapiFilterEntries as X, StrapiBaseSchema as Y, StrapiFilterInput as Z, DateFilterValue as _, IntegerFilter as a, StrapiObjectSchema as at, TimeFilter as b, NumberFilter as c, StrapiStrictFilterObjectSchema as ct, EmailFilter as d, StrapiFilterObjectSchema as et, IdFilter as f, DateFilter as g, UrlFilter as h, createPicklistFilter as i, StrapiLogicalFilterBaseSchema as it, createStrapiFilterSchema as j, createStrapiBetweenOperatorEntries as k, NumberFilterValue as l, SlugFilter as m, StringFilter as n, StrapiFilterSchema as nt, IntegerFilterValue as o, StrapiStrictFilterObjectInput as ot, IdFilterValue as p, createStrapiOrderedComparisonOperatorEntries as q, createPicklistArrayFilter as r, StrapiLogicalFilter as rt, NUMBER_STRING_PATTERN as s, StrapiStrictFilterObjectOutput as st, LongStringFilter as t, StrapiFilterOutput as tt, DocumentIdFilter as u, DateTimeFilter as v, createStrapiStringMatchingOperatorEntries as w, TimeFilterValue as x, DateTimeFilterValue as y, StrapiFilterOperatorKind as z };
|