@getcommunity/gc-validators 0.0.303 → 0.0.304
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/index.cjs +1 -1
- package/dist/base/index.d.cts +2 -2
- package/dist/base/index.d.mts +2 -2
- package/dist/base/index.mjs +1 -1
- package/dist/{boolean-DoVoZltY.cjs → boolean-5XkQ7YsD.cjs} +1 -1
- package/dist/{boolean-BvzTfxwy.mjs → boolean-Bdx5xT5m.mjs} +1 -1
- package/dist/entities/audit-log/query.cjs +3 -3
- package/dist/entities/audit-log/query.d.cts +5 -5
- package/dist/entities/audit-log/query.d.mts +5 -5
- package/dist/entities/audit-log/query.mjs +3 -3
- package/dist/entities/blog-post/query.cjs +4 -4
- package/dist/entities/blog-post/query.d.cts +5 -5
- package/dist/entities/blog-post/query.d.mts +5 -5
- package/dist/entities/blog-post/query.mjs +4 -4
- package/dist/entities/category/query.cjs +2 -2
- package/dist/entities/category/query.d.cts +1 -1
- package/dist/entities/category/query.d.mts +1 -1
- package/dist/entities/category/query.mjs +2 -2
- package/dist/entities/client/query.cjs +4 -4
- package/dist/entities/client/query.d.cts +1 -1
- package/dist/entities/client/query.d.mts +1 -1
- package/dist/entities/client/query.mjs +4 -4
- package/dist/entities/client-content-pillar/query.cjs +1 -1
- package/dist/entities/client-content-pillar/query.d.cts +1 -1
- package/dist/entities/client-content-pillar/query.d.mts +1 -1
- package/dist/entities/client-content-pillar/query.mjs +1 -1
- package/dist/entities/client-email/query.cjs +2 -2
- package/dist/entities/client-email/query.d.cts +2 -2
- package/dist/entities/client-email/query.d.mts +2 -2
- package/dist/entities/client-email/query.mjs +2 -2
- package/dist/entities/client-media-platform/query.cjs +1 -1
- package/dist/entities/client-media-platform/query.d.cts +1 -1
- package/dist/entities/client-media-platform/query.d.mts +1 -1
- package/dist/entities/client-media-platform/query.mjs +1 -1
- package/dist/entities/client-project/query.cjs +4 -4
- package/dist/entities/client-project/query.d.cts +10 -10
- package/dist/entities/client-project/query.d.mts +10 -10
- package/dist/entities/client-project/query.mjs +4 -4
- package/dist/entities/client-report/query.cjs +4 -4
- package/dist/entities/client-report/query.d.cts +6 -6
- package/dist/entities/client-report/query.d.mts +6 -6
- package/dist/entities/client-report/query.mjs +4 -4
- package/dist/entities/client-styleguide/query.cjs +3 -3
- package/dist/entities/client-styleguide/query.d.cts +2 -2
- package/dist/entities/client-styleguide/query.d.mts +2 -2
- package/dist/entities/client-styleguide/query.mjs +3 -3
- package/dist/entities/client-user/query.cjs +1 -1
- package/dist/entities/client-user/query.d.cts +1 -1
- package/dist/entities/client-user/query.d.mts +1 -1
- package/dist/entities/client-user/query.mjs +1 -1
- package/dist/entities/content-pillar/query.cjs +1 -1
- package/dist/entities/content-pillar/query.d.cts +1 -1
- package/dist/entities/content-pillar/query.d.mts +1 -1
- package/dist/entities/content-pillar/query.mjs +1 -1
- package/dist/entities/gcflytour/query.cjs +1 -1
- package/dist/entities/gcflytour/query.d.cts +1 -1
- package/dist/entities/gcflytour/query.d.mts +1 -1
- package/dist/entities/gcflytour/query.mjs +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +1 -1
- package/dist/entities/gcflytour-snap/query.d.cts +1 -1
- package/dist/entities/gcflytour-snap/query.d.mts +1 -1
- package/dist/entities/gcflytour-snap/query.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +1 -1
- package/dist/entities/media-content-type/query.d.cts +1 -1
- package/dist/entities/media-content-type/query.d.mts +1 -1
- package/dist/entities/media-content-type/query.mjs +1 -1
- package/dist/entities/media-creative-format/query.cjs +1 -1
- package/dist/entities/media-creative-format/query.d.cts +1 -1
- package/dist/entities/media-creative-format/query.d.mts +1 -1
- package/dist/entities/media-creative-format/query.mjs +1 -1
- package/dist/entities/media-medium/query.cjs +1 -1
- package/dist/entities/media-medium/query.d.cts +1 -1
- package/dist/entities/media-medium/query.d.mts +1 -1
- package/dist/entities/media-medium/query.mjs +1 -1
- package/dist/entities/media-platform/query.cjs +1 -1
- package/dist/entities/media-platform/query.d.cts +1 -1
- package/dist/entities/media-platform/query.d.mts +1 -1
- package/dist/entities/media-platform/query.mjs +1 -1
- package/dist/entities/monday-workspace/query.cjs +2 -2
- package/dist/entities/monday-workspace/query.d.cts +2 -2
- package/dist/entities/monday-workspace/query.d.mts +2 -2
- package/dist/entities/monday-workspace/query.mjs +2 -2
- package/dist/entities/tag/query.cjs +2 -2
- package/dist/entities/tag/query.d.cts +1 -1
- package/dist/entities/tag/query.d.mts +1 -1
- package/dist/entities/tag/query.mjs +2 -2
- package/dist/entities/team-member/query.cjs +4 -4
- package/dist/entities/team-member/query.d.cts +9 -9
- package/dist/entities/team-member/query.d.mts +9 -9
- package/dist/entities/team-member/query.mjs +4 -4
- package/dist/entities/up-permission/fields.cjs +1 -1
- package/dist/entities/up-permission/fields.d.cts +1 -1
- package/dist/entities/up-permission/fields.d.mts +1 -1
- package/dist/entities/up-permission/fields.mjs +1 -1
- package/dist/entities/up-role/query.cjs +3 -3
- package/dist/entities/up-role/query.d.cts +1 -1
- package/dist/entities/up-role/query.d.mts +1 -1
- package/dist/entities/up-role/query.mjs +3 -3
- package/dist/entities/up-user/query.cjs +1 -1
- package/dist/entities/up-user/query.d.cts +1 -1
- package/dist/entities/up-user/query.d.mts +1 -1
- package/dist/entities/up-user/query.mjs +1 -1
- package/dist/entities/url-redirect/query.cjs +4 -4
- package/dist/entities/url-redirect/query.d.cts +9 -9
- package/dist/entities/url-redirect/query.d.mts +9 -9
- package/dist/entities/url-redirect/query.mjs +4 -4
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.d.cts +1 -1
- package/dist/entities/user-account/query.d.mts +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-tracking-link/query.cjs +4 -4
- package/dist/entities/utm-tracking-link/query.d.cts +3 -3
- package/dist/entities/utm-tracking-link/query.d.mts +3 -3
- package/dist/entities/utm-tracking-link/query.mjs +4 -4
- package/dist/{fields-CPsbCZS-.d.mts → fields-BopXL_4G.d.mts} +5 -5
- package/dist/{fields-CN5MGX0I.d.cts → fields-DBfXSScv.d.cts} +5 -5
- package/dist/filters/index.cjs +5 -5
- package/dist/filters/index.d.cts +1 -1
- package/dist/filters/index.d.mts +1 -1
- package/dist/filters/index.mjs +5 -5
- package/dist/{identifier-C1rjjFTl.mjs → identifier-BG15K1O7.mjs} +3 -7
- package/dist/{identifier-CydeNRjl.cjs → identifier-Bwt-6zIn.cjs} +3 -7
- package/dist/{index-Vd1m8sMA.d.mts → index-Cvf-XWEd.d.mts} +18 -3
- package/dist/{index-CDB3qHay.d.cts → index-Dy_nHvKG.d.cts} +18 -3
- package/dist/{index-CQolG83r.d.cts → index-zawGhwWD.d.cts} +37 -54
- package/dist/{index-CQolG83r.d.mts → index-zawGhwWD.d.mts} +37 -54
- package/dist/{null-operators-ChVQtMKo.mjs → null-operators-BRtL5f_K.mjs} +4 -2
- package/dist/{null-operators-BUWeBpfM.cjs → null-operators-Ct_0HDzu.cjs} +4 -2
- package/dist/{picklist-CRMInABi.mjs → picklist-BWL1xOyh.mjs} +1 -1
- package/dist/{picklist-BAFeyJ7r.cjs → picklist-BpaO3lAy.cjs} +1 -1
- package/dist/{query-ClD5wGJb.d.mts → query-B-cY5wgd.d.mts} +2 -2
- package/dist/{query-D0h3FLfr.d.mts → query-B0MI41Dk.d.mts} +4 -4
- package/dist/{query-CMq5lfgl.d.mts → query-B3lan3up.d.mts} +26 -16
- package/dist/{query-TJCAaiBL.d.cts → query-BB3iuWIu.d.cts} +26 -16
- package/dist/query-BBhkcsNq.d.mts +40 -0
- package/dist/{query-B-13NKTD.mjs → query-BHENe1Mr.mjs} +1 -1
- package/dist/{query-CmFauYbo.d.mts → query-BdQQccuK.d.cts} +2 -2
- package/dist/{query-D_dTopVH.cjs → query-Bg-foYrU.cjs} +1 -1
- package/dist/{query-D2ZE1bJX.d.mts → query-Bj9wx1Wg.d.mts} +5 -5
- package/dist/{query-GJSlHT8b.d.cts → query-C89kWtN3.d.cts} +2 -2
- package/dist/{query-CB1DYvpK.mjs → query-C9H7HRSG.mjs} +3 -3
- package/dist/{query-zC83byBH.mjs → query-CK2IU3hx.mjs} +3 -3
- package/dist/{query-B5s5-Jxp.mjs → query-CN4rCmYe.mjs} +3 -3
- package/dist/{query--vUz-z7h.d.cts → query-Cf3uNQEv.d.mts} +2 -2
- package/dist/{query-DFlmAbzw.cjs → query-CkP_axse.cjs} +3 -3
- package/dist/{query-D8n0nHx_.d.mts → query-CnG3OxNR.d.cts} +2 -2
- package/dist/{query-DzMzNVPY.d.cts → query-CrmWhjBw.d.cts} +5 -5
- package/dist/{query-BjzoFJ7Q.cjs → query-DDJZ_-yh.cjs} +3 -3
- package/dist/{query-CGdWzuSF.d.cts → query-DwFp2FRq.d.cts} +4 -4
- package/dist/{query-BWpgHBRt.d.cts → query-DzWmcNH2.d.mts} +2 -2
- package/dist/query-Flja9BnV.d.cts +40 -0
- package/dist/{query-C4B_4d0q.cjs → query-_kOVv94h.cjs} +3 -3
- package/dist/{query-CjftGBde.cjs → query-fQJn0cqh.cjs} +3 -3
- package/dist/{query-ssJ09lVD.mjs → query-vtav3She.mjs} +3 -3
- package/dist/{string-DfcvXgd6.mjs → string-1hl2BsdT.mjs} +5 -8
- package/dist/{string-CabdwbFC.cjs → string-C4ZSm5bE.cjs} +5 -8
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/query-D2gmCrpT.d.mts +0 -40
- package/dist/query-JvgKu7I3.d.cts +0 -40
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-D6vf50IK.cjs");
|
|
2
|
-
const require_null_operators = require("./null-operators-
|
|
2
|
+
const require_null_operators = require("./null-operators-Ct_0HDzu.cjs");
|
|
3
3
|
const require_relationships = require("./relationships-BiOl8YTc.cjs");
|
|
4
4
|
const require_email = require("./email-dsbWKuhH.cjs");
|
|
5
5
|
const require_slug = require("./slug-BcLLMLTX.cjs");
|
|
@@ -103,17 +103,13 @@ const IntegerFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region src/filters/generics/identifier.ts
|
|
105
105
|
const IdFilterValue = valibot.pipe(valibot.union([valibot.number(), valibot.pipe(valibot.string(), valibot.trim(), valibot.regex(NUMBER_STRING_PATTERN))]));
|
|
106
|
-
const IdFilter = require_null_operators.createStrapiFieldOperatorSchema({
|
|
107
|
-
...require_null_operators.createStrapiEqualityOperatorEntries(IdFilterValue),
|
|
108
|
-
...require_null_operators.createStrapiArrayMembershipOperatorEntries(IdFilterValue)
|
|
109
|
-
}, { value: {
|
|
106
|
+
const IdFilter = require_null_operators.createStrapiFieldOperatorSchema({ ...require_null_operators.createStrapiEqualityOperatorEntries(IdFilterValue) }, { value: {
|
|
110
107
|
kind: "comparison",
|
|
111
108
|
input: "integer-range"
|
|
112
109
|
} });
|
|
113
110
|
const createExactIdentifierFilter = (value, metadata) => require_null_operators.createStrapiFieldOperatorSchema({
|
|
114
111
|
...require_null_operators.createStrapiEqualityOperatorEntries(value),
|
|
115
|
-
...require_null_operators.createStrapiCaseInsensitiveEqualityOperatorEntries(value)
|
|
116
|
-
...require_null_operators.createStrapiArrayMembershipOperatorEntries(value)
|
|
112
|
+
...require_null_operators.createStrapiCaseInsensitiveEqualityOperatorEntries(value)
|
|
117
113
|
}, metadata);
|
|
118
114
|
const DocumentIdFilter = createExactIdentifierFilter(require_relationships.AssociateOneEntity, { value: {
|
|
119
115
|
kind: "comparison",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as StrapiLogicalFilter, f as IdFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-zawGhwWD.mjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -22,6 +22,16 @@ declare const BaseDocument: v.ObjectSchema<{
|
|
|
22
22
|
}, undefined>;
|
|
23
23
|
type BaseDocument = v.InferOutput<typeof BaseDocument>;
|
|
24
24
|
//#endregion
|
|
25
|
+
//#region src/base/filters.d.ts
|
|
26
|
+
type FilterStrapiBaseFields = {
|
|
27
|
+
id?: IdFilter;
|
|
28
|
+
documentId?: DocumentIdFilter;
|
|
29
|
+
createdAt?: DateTimeFilter;
|
|
30
|
+
updatedAt?: DateTimeFilter;
|
|
31
|
+
};
|
|
32
|
+
type FilterStrapiBase = StrapiLogicalFilter<FilterStrapiBaseFields>;
|
|
33
|
+
declare const FilterStrapiBase: StrapiLogicalFilterBaseSchema<FilterStrapiBaseFields>;
|
|
34
|
+
//#endregion
|
|
25
35
|
//#region src/base/fonts.d.ts
|
|
26
36
|
declare const FONT_HEADER_SIZE: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
27
37
|
declare const FontHeaderSize: v.PicklistSchema<readonly ["h1", "h2", "h3", "h4", "h5", "h6"], undefined>;
|
|
@@ -67,7 +77,12 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
|
67
77
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
68
78
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
69
79
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
70
|
-
readonly f: v.OptionalSchema<
|
|
80
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
81
|
+
id?: IdFilter;
|
|
82
|
+
documentId?: DocumentIdFilter;
|
|
83
|
+
createdAt?: DateTimeFilter;
|
|
84
|
+
updatedAt?: DateTimeFilter;
|
|
85
|
+
}>, undefined>;
|
|
71
86
|
}, undefined>;
|
|
72
87
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
73
88
|
//#endregion
|
|
@@ -261,4 +276,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
261
276
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
262
277
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
263
278
|
//#endregion
|
|
264
|
-
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d,
|
|
279
|
+
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d, FilterStrapiBase as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseDocument as ft, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WEBSAFE_FONT_SANS as it, StrapiListResponse as j, StrapiErrorResponse as k, StrapiBgColorOptions as l, WebSafeFontSans as lt, StrapiLinkType as m, BaseComponentId as mt, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponent as pt, STRAPI_LINK_REFERRER_POLICY as q, STRAPI_GAP_SIZES as r, WEBSAFE_FONT_MONO as rt, STRAPI_TEXT_COLOR_OPTIONS as s, WebSafeFontDisplay as st, STRAPI_BG_COLOR_OPTIONS as t, FontHeaderSize as tt, StrapiDirection as u, WebSafeFontSerif as ut, ValidStrapiCollectionEntity as v, SortString as w, QuerySortValues as x, ValidStrapiSingleEntity as y, AssociateManyEntities as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as StrapiLogicalFilter, f as IdFilter, ot as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-zawGhwWD.cjs";
|
|
2
2
|
import { t as JsonData } from "./json-Ygk2txLN.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
@@ -22,6 +22,16 @@ declare const BaseDocument: v.ObjectSchema<{
|
|
|
22
22
|
}, undefined>;
|
|
23
23
|
type BaseDocument = v.InferOutput<typeof BaseDocument>;
|
|
24
24
|
//#endregion
|
|
25
|
+
//#region src/base/filters.d.ts
|
|
26
|
+
type FilterStrapiBaseFields = {
|
|
27
|
+
id?: IdFilter;
|
|
28
|
+
documentId?: DocumentIdFilter;
|
|
29
|
+
createdAt?: DateTimeFilter;
|
|
30
|
+
updatedAt?: DateTimeFilter;
|
|
31
|
+
};
|
|
32
|
+
type FilterStrapiBase = StrapiLogicalFilter<FilterStrapiBaseFields>;
|
|
33
|
+
declare const FilterStrapiBase: StrapiLogicalFilterBaseSchema<FilterStrapiBaseFields>;
|
|
34
|
+
//#endregion
|
|
25
35
|
//#region src/base/fonts.d.ts
|
|
26
36
|
declare const FONT_HEADER_SIZE: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
27
37
|
declare const FontHeaderSize: v.PicklistSchema<readonly ["h1", "h2", "h3", "h4", "h5", "h6"], undefined>;
|
|
@@ -67,7 +77,12 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
|
67
77
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
68
78
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
69
79
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
70
|
-
readonly f: v.OptionalSchema<
|
|
80
|
+
readonly f: v.OptionalSchema<StrapiLogicalFilterBaseSchema<{
|
|
81
|
+
id?: IdFilter;
|
|
82
|
+
documentId?: DocumentIdFilter;
|
|
83
|
+
createdAt?: DateTimeFilter;
|
|
84
|
+
updatedAt?: DateTimeFilter;
|
|
85
|
+
}>, undefined>;
|
|
71
86
|
}, undefined>;
|
|
72
87
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
73
88
|
//#endregion
|
|
@@ -261,4 +276,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
261
276
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
262
277
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
263
278
|
//#endregion
|
|
264
|
-
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d,
|
|
279
|
+
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d, FilterStrapiBase as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseDocument as ft, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WEBSAFE_FONT_SANS as it, StrapiListResponse as j, StrapiErrorResponse as k, StrapiBgColorOptions as l, WebSafeFontSans as lt, StrapiLinkType as m, BaseComponentId as mt, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponent as pt, STRAPI_LINK_REFERRER_POLICY as q, STRAPI_GAP_SIZES as r, WEBSAFE_FONT_MONO as rt, STRAPI_TEXT_COLOR_OPTIONS as s, WebSafeFontDisplay as st, STRAPI_BG_COLOR_OPTIONS as t, FontHeaderSize as tt, StrapiDirection as u, WebSafeFontSerif as ut, ValidStrapiCollectionEntity as v, SortString as w, QuerySortValues as x, ValidStrapiSingleEntity as y, AssociateManyEntities as z };
|
|
@@ -51,7 +51,11 @@ type StrapiLogicalFilter<TFields extends object, TDepth extends StrapiFilterMaxD
|
|
|
51
51
|
$or?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>[];
|
|
52
52
|
$not?: StrapiLogicalFilter<TFields, PreviousStrapiFilterDepth<TDepth>>;
|
|
53
53
|
});
|
|
54
|
-
type
|
|
54
|
+
type StrapiMembershipInput<TValue> = TValue extends readonly (infer TItem)[] ? (TItem | undefined)[] : TValue;
|
|
55
|
+
type StrapiLogicalFilterInputValue<TKey extends PropertyKey, TValue> = TKey extends "$in" | "$notIn" ? StrapiMembershipInput<TValue> : TKey extends "$and" | "$or" ? TValue extends readonly (infer TItem)[] ? StrapiLogicalFilterInputField<TItem>[] : TValue : TKey extends "$not" ? StrapiLogicalFilterInputField<TValue> : StrapiLogicalFilterInputField<TValue>;
|
|
56
|
+
type StrapiLogicalFilterInputField<TField> = TField extends readonly unknown[] ? TField : TField extends object ? Simplify<{ [TKey in keyof TField]: StrapiLogicalFilterInputValue<TKey, TField[TKey]> }> : TField;
|
|
57
|
+
type StrapiLogicalFilterInputFields<TFields extends object> = { [TKey in keyof TFields]: StrapiLogicalFilterInputField<TFields[TKey]> };
|
|
58
|
+
type StrapiLogicalFilterBaseSchema<TOutputFields extends object, TInputFields extends object = StrapiLogicalFilterInputFields<TOutputFields>, TDepth extends StrapiFilterMaxDepth = 3> = v.ObjectSchema<OptionalStrapiLogicalFilterEntries<TInputFields, TOutputFields, TDepth>, undefined>;
|
|
55
59
|
type StrapiLogicalFieldEntries<TInputFields extends object, TOutputFields extends object> = { [TKey in keyof TInputFields & keyof TOutputFields]-?: StrapiBaseSchema<TInputFields[TKey], TOutputFields[TKey]> };
|
|
56
60
|
type StrapiLogicalEntries<TInputFields extends object, TOutputFields extends object, TDepth extends StrapiFilterMaxDepth> = TDepth extends 0 ? StrapiForbiddenLogicalFilterEntries : {
|
|
57
61
|
$and: StrapiBaseSchema<StrapiLogicalFilter<TInputFields, PreviousStrapiFilterDepth<TDepth>>[], StrapiLogicalFilter<TOutputFields, PreviousStrapiFilterDepth<TDepth>>[]>;
|
|
@@ -124,16 +128,16 @@ declare const createStrapiFilterSchema: <const TFieldEntries extends StrapiFilte
|
|
|
124
128
|
//#endregion
|
|
125
129
|
//#region src/filters/primitives/membership-operators.d.ts
|
|
126
130
|
declare const createStrapiArrayMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
127
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
128
|
-
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
131
|
+
$in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
132
|
+
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
129
133
|
};
|
|
130
134
|
declare const createStrapiBetweenOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
131
135
|
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
132
136
|
};
|
|
133
137
|
declare const createStrapiMembershipOperatorEntries: <const TValue extends StrapiBaseSchema>(value: TValue) => {
|
|
134
138
|
$between: v.StrictTupleSchema<[TValue, TValue], undefined>;
|
|
135
|
-
$in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
136
|
-
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
139
|
+
$in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
140
|
+
$notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
137
141
|
};
|
|
138
142
|
//#endregion
|
|
139
143
|
//#region src/filters/primitives/null-operators.d.ts
|
|
@@ -193,8 +197,8 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
193
197
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
194
198
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
195
199
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
196
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
197
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
200
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
201
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
198
202
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
199
203
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
200
204
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -206,8 +210,8 @@ declare const DateFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
206
210
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
207
211
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
208
212
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
209
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
210
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
213
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
214
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
211
215
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
212
216
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
213
217
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -226,8 +230,8 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
226
230
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
227
231
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
228
232
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
229
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
230
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
233
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
234
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
231
235
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
232
236
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
233
237
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -239,8 +243,8 @@ declare const TimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
239
243
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
240
244
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
241
245
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
242
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
243
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
246
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
247
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
244
248
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
245
249
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
246
250
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -259,8 +263,8 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
259
263
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
260
264
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
261
265
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
262
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
263
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
266
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
267
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
264
268
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
265
269
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
266
270
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -272,8 +276,8 @@ declare const DateTimeFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFi
|
|
|
272
276
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
273
277
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
274
278
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
|
|
275
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
276
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
279
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
280
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, undefined>, v.TransformAction<(string | undefined)[], string[]>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
277
281
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
278
282
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
279
283
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
|
|
@@ -293,14 +297,10 @@ type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
|
|
|
293
297
|
declare const IdFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
294
298
|
type IdFilterValue = v.InferOutput<typeof IdFilterValue>;
|
|
295
299
|
declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
296
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
|
|
297
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
|
|
298
300
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
299
301
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
300
302
|
} & {
|
|
301
303
|
$not: StrapiFilterObjectSchema<{
|
|
302
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
|
|
303
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
|
|
304
304
|
readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
305
305
|
readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
|
|
306
306
|
}>;
|
|
@@ -312,16 +312,12 @@ declare const IdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEn
|
|
|
312
312
|
}>;
|
|
313
313
|
type IdFilter = v.InferOutput<typeof IdFilter>;
|
|
314
314
|
declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
315
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
316
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
317
315
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
318
316
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
319
317
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
320
318
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
321
319
|
} & {
|
|
322
320
|
$not: StrapiFilterObjectSchema<{
|
|
323
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
324
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
325
321
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
326
322
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
327
323
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -335,16 +331,12 @@ declare const DocumentIdFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapi
|
|
|
335
331
|
}>;
|
|
336
332
|
type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
|
|
337
333
|
declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
338
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
339
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
340
334
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
341
335
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
342
336
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
343
337
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
344
338
|
} & {
|
|
345
339
|
$not: StrapiFilterObjectSchema<{
|
|
346
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
347
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
348
340
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
349
341
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
350
342
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
@@ -358,16 +350,12 @@ declare const SlugFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilter
|
|
|
358
350
|
}>;
|
|
359
351
|
type SlugFilter = v.InferOutput<typeof SlugFilter>;
|
|
360
352
|
declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
361
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
362
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
363
353
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
364
354
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
365
355
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
366
356
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
367
357
|
} & {
|
|
368
358
|
$not: StrapiFilterObjectSchema<{
|
|
369
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
370
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
371
359
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
372
360
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
373
361
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
@@ -381,16 +369,12 @@ declare const EmailFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilte
|
|
|
381
369
|
}>;
|
|
382
370
|
type EmailFilter = v.InferOutput<typeof EmailFilter>;
|
|
383
371
|
declare const UrlFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
384
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
385
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
386
372
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
387
373
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
388
374
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
389
375
|
readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
390
376
|
} & {
|
|
391
377
|
$not: StrapiFilterObjectSchema<{
|
|
392
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
393
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
394
378
|
readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
395
379
|
readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
396
380
|
readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
@@ -414,8 +398,8 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
414
398
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
415
399
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
416
400
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
|
|
417
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
418
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
401
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
402
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
419
403
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
420
404
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
421
405
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -427,8 +411,8 @@ declare const NumberFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
427
411
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
428
412
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
429
413
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
|
|
430
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
431
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
414
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
415
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
432
416
|
readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
433
417
|
readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
434
418
|
readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
|
|
@@ -447,8 +431,8 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
447
431
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
448
432
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
449
433
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
|
|
450
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
451
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
434
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
435
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
452
436
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
453
437
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
454
438
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -460,8 +444,8 @@ declare const IntegerFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFil
|
|
|
460
444
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
461
445
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
462
446
|
readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
|
|
463
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
464
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
447
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
448
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, undefined>, v.TransformAction<(number | undefined)[], number[]>, v.MinLengthAction<number[], 1, undefined>]>;
|
|
465
449
|
readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
466
450
|
readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
467
451
|
readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
|
|
@@ -481,16 +465,16 @@ type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
|
|
|
481
465
|
declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
482
466
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
483
467
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
484
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
485
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
468
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
469
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
486
470
|
readonly $eq: TValue;
|
|
487
471
|
readonly $ne: TValue;
|
|
488
472
|
} & {
|
|
489
473
|
$not: StrapiFilterObjectSchema<{
|
|
490
474
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
491
475
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
492
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
493
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
476
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
477
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
494
478
|
readonly $eq: TValue;
|
|
495
479
|
readonly $ne: TValue;
|
|
496
480
|
}>;
|
|
@@ -503,16 +487,16 @@ declare const createPicklistFilter: <const TValue extends StrapiBaseSchema>(valu
|
|
|
503
487
|
declare const createPicklistArrayFilter: <const TValue extends StrapiBaseSchema>(value: TValue) => FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|
|
504
488
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
505
489
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
506
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
507
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
490
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
491
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
508
492
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
509
493
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
510
494
|
} & {
|
|
511
495
|
$not: StrapiFilterObjectSchema<{
|
|
512
496
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
513
497
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
514
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
515
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
498
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
499
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<TValue, undefined>, undefined>, v.TransformAction<(v.InferOutput<TValue> | undefined)[], v.InferOutput<TValue>[]>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
516
500
|
readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
517
501
|
readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
|
|
518
502
|
}>;
|
|
@@ -561,7 +545,6 @@ declare const StringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilt
|
|
|
561
545
|
readonly kind: "comparison";
|
|
562
546
|
readonly input: "text";
|
|
563
547
|
};
|
|
564
|
-
readonly operators: readonly [];
|
|
565
548
|
}>;
|
|
566
549
|
type StringFilter = v.InferOutput<typeof StringFilter>;
|
|
567
550
|
declare const LongStringFilter: FilterWithMetadata<v.ObjectSchema<OptionalStrapiFilterEntries<{
|