@getcommunity/gc-validators 0.0.287 → 0.0.288-alpha.1
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 +6 -7
- package/dist/base/index.d.cts +1 -1
- package/dist/base/index.d.mts +1 -1
- package/dist/base/index.mjs +2 -3
- package/dist/boolean-BwqaNE9c.cjs +23 -0
- package/dist/boolean-cJxcC8gC.mjs +10 -0
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/{document-Cv0UyYmb.d.cts → document-CPHhI3jF.d.cts} +118 -19
- package/dist/{document-Cxhs9JXi.d.mts → document-DHJf5HxE.d.mts} +118 -19
- package/dist/entities/audit-log/mutation.cjs +1 -1
- package/dist/entities/audit-log/mutation.mjs +1 -1
- package/dist/entities/audit-log/query.cjs +29 -18
- package/dist/entities/audit-log/query.d.cts +64 -16
- package/dist/entities/audit-log/query.d.mts +64 -16
- package/dist/entities/audit-log/query.mjs +28 -19
- package/dist/entities/blog-post/fields.cjs +1 -1
- package/dist/entities/blog-post/fields.mjs +1 -1
- package/dist/entities/blog-post/query.cjs +32 -7
- package/dist/entities/blog-post/query.d.cts +60 -5
- package/dist/entities/blog-post/query.d.mts +60 -5
- package/dist/entities/blog-post/query.mjs +29 -6
- package/dist/entities/category/mutation.cjs +1 -1
- package/dist/entities/category/mutation.mjs +1 -1
- package/dist/entities/category/query.cjs +13 -4
- package/dist/entities/category/query.d.cts +19 -3
- package/dist/entities/category/query.d.mts +19 -3
- package/dist/entities/category/query.mjs +13 -5
- package/dist/entities/client/document.d.cts +1 -1
- package/dist/entities/client/document.d.mts +1 -1
- package/dist/entities/client/fields.cjs +3 -1
- package/dist/entities/client/fields.d.cts +3 -1
- package/dist/entities/client/fields.d.mts +3 -1
- package/dist/entities/client/fields.mjs +3 -2
- package/dist/entities/client/mutation.cjs +1 -1
- package/dist/entities/client/mutation.mjs +1 -1
- package/dist/entities/client/query.cjs +27 -14
- package/dist/entities/client/query.d.cts +2 -23
- package/dist/entities/client/query.d.mts +2 -23
- package/dist/entities/client/query.mjs +27 -16
- package/dist/entities/client-content-pillar/document.d.cts +1 -1
- package/dist/entities/client-content-pillar/document.d.mts +1 -1
- package/dist/entities/client-content-pillar/mutation.cjs +1 -1
- package/dist/entities/client-content-pillar/mutation.mjs +1 -1
- package/dist/entities/client-content-pillar/query.cjs +3 -20
- package/dist/entities/client-content-pillar/query.d.cts +2 -16
- package/dist/entities/client-content-pillar/query.d.mts +2 -16
- package/dist/entities/client-content-pillar/query.mjs +2 -18
- package/dist/entities/client-media-platform/document.d.cts +1 -1
- package/dist/entities/client-media-platform/document.d.mts +1 -1
- package/dist/entities/client-media-platform/mutation.cjs +1 -1
- package/dist/entities/client-media-platform/mutation.mjs +1 -1
- package/dist/entities/client-media-platform/query.cjs +3 -22
- package/dist/entities/client-media-platform/query.d.cts +2 -17
- package/dist/entities/client-media-platform/query.d.mts +2 -17
- package/dist/entities/client-media-platform/query.mjs +2 -20
- package/dist/entities/client-project/document.d.cts +1 -1
- package/dist/entities/client-project/document.d.mts +1 -1
- package/dist/entities/client-project/mutation.cjs +2 -2
- package/dist/entities/client-project/mutation.mjs +2 -2
- package/dist/entities/client-project/query.cjs +36 -26
- package/dist/entities/client-project/query.d.cts +89 -19
- package/dist/entities/client-project/query.d.mts +89 -19
- package/dist/entities/client-project/query.mjs +34 -27
- package/dist/entities/client-report/document.d.cts +1 -1
- package/dist/entities/client-report/document.d.mts +1 -1
- package/dist/entities/client-report/mutation.cjs +1 -1
- package/dist/entities/client-report/mutation.mjs +1 -1
- package/dist/entities/client-report/query.cjs +23 -10
- package/dist/entities/client-report/query.d.cts +49 -8
- package/dist/entities/client-report/query.d.mts +49 -8
- package/dist/entities/client-report/query.mjs +22 -11
- package/dist/entities/client-styleguide/document.d.cts +1 -1
- package/dist/entities/client-styleguide/document.d.mts +1 -1
- package/dist/entities/client-styleguide/mutation.cjs +1 -1
- package/dist/entities/client-styleguide/mutation.mjs +1 -1
- package/dist/entities/client-styleguide/query.cjs +16 -7
- package/dist/entities/client-styleguide/query.d.cts +22 -5
- package/dist/entities/client-styleguide/query.d.mts +22 -5
- package/dist/entities/client-styleguide/query.mjs +16 -8
- package/dist/entities/client-user/document.d.cts +1 -1
- package/dist/entities/client-user/document.d.mts +1 -1
- package/dist/entities/client-user/fields.cjs +2 -0
- package/dist/entities/client-user/fields.d.cts +2 -2
- package/dist/entities/client-user/fields.d.mts +2 -2
- package/dist/entities/client-user/fields.mjs +2 -1
- package/dist/entities/client-user/mutation.cjs +1 -1
- package/dist/entities/client-user/mutation.d.cts +1 -1
- package/dist/entities/client-user/mutation.d.mts +1 -1
- package/dist/entities/client-user/mutation.mjs +1 -1
- package/dist/entities/client-user/query.cjs +3 -13
- package/dist/entities/client-user/query.d.cts +2 -11
- package/dist/entities/client-user/query.d.mts +2 -11
- package/dist/entities/client-user/query.mjs +2 -11
- package/dist/entities/content-pillar/document.d.cts +1 -1
- package/dist/entities/content-pillar/document.d.mts +1 -1
- package/dist/entities/content-pillar/mutation.cjs +1 -1
- package/dist/entities/content-pillar/mutation.mjs +1 -1
- package/dist/entities/content-pillar/query.cjs +3 -17
- package/dist/entities/content-pillar/query.d.cts +2 -14
- package/dist/entities/content-pillar/query.d.mts +2 -14
- package/dist/entities/content-pillar/query.mjs +2 -15
- package/dist/entities/formatter/constants.d.cts +1 -1
- package/dist/entities/formatter/constants.d.mts +1 -1
- package/dist/entities/formatter/fields.d.cts +4 -4
- package/dist/entities/formatter/fields.d.mts +4 -4
- package/dist/entities/gcflytour/document.d.cts +1 -1
- package/dist/entities/gcflytour/document.d.mts +1 -1
- package/dist/entities/gcflytour/mutation.cjs +1 -1
- package/dist/entities/gcflytour/mutation.mjs +1 -1
- package/dist/entities/gcflytour/query.cjs +3 -20
- package/dist/entities/gcflytour/query.d.cts +2 -16
- package/dist/entities/gcflytour/query.d.mts +2 -16
- package/dist/entities/gcflytour/query.mjs +2 -18
- package/dist/entities/gcflytour-snap/document.d.cts +1 -1
- package/dist/entities/gcflytour-snap/document.d.mts +1 -1
- package/dist/entities/gcflytour-snap/mutation.cjs +1 -1
- package/dist/entities/gcflytour-snap/mutation.mjs +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +3 -21
- package/dist/entities/gcflytour-snap/query.d.cts +2 -17
- package/dist/entities/gcflytour-snap/query.d.mts +2 -17
- package/dist/entities/gcflytour-snap/query.mjs +2 -19
- package/dist/entities/lead/mutation.cjs +1 -1
- package/dist/entities/lead/mutation.mjs +1 -1
- package/dist/entities/media-content-type/document.d.cts +1 -1
- package/dist/entities/media-content-type/document.d.mts +1 -1
- package/dist/entities/media-content-type/mutation.cjs +1 -1
- package/dist/entities/media-content-type/mutation.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +3 -22
- package/dist/entities/media-content-type/query.d.cts +2 -18
- package/dist/entities/media-content-type/query.d.mts +2 -18
- package/dist/entities/media-content-type/query.mjs +2 -20
- package/dist/entities/media-creative-format/document.d.cts +1 -1
- package/dist/entities/media-creative-format/document.d.mts +1 -1
- package/dist/entities/media-creative-format/mutation.cjs +1 -1
- package/dist/entities/media-creative-format/mutation.mjs +1 -1
- package/dist/entities/media-creative-format/query.cjs +3 -20
- package/dist/entities/media-creative-format/query.d.cts +2 -16
- package/dist/entities/media-creative-format/query.d.mts +2 -16
- package/dist/entities/media-creative-format/query.mjs +2 -18
- package/dist/entities/media-medium/document.d.cts +1 -1
- package/dist/entities/media-medium/document.d.mts +1 -1
- package/dist/entities/media-medium/mutation.cjs +1 -1
- package/dist/entities/media-medium/mutation.mjs +1 -1
- package/dist/entities/media-medium/query.cjs +3 -21
- package/dist/entities/media-medium/query.d.cts +2 -17
- package/dist/entities/media-medium/query.d.mts +2 -17
- package/dist/entities/media-medium/query.mjs +2 -19
- package/dist/entities/media-platform/document.d.cts +1 -1
- package/dist/entities/media-platform/document.d.mts +1 -1
- package/dist/entities/media-platform/mutation.cjs +1 -1
- package/dist/entities/media-platform/mutation.mjs +1 -1
- package/dist/entities/media-platform/query.cjs +3 -25
- package/dist/entities/media-platform/query.d.cts +2 -20
- package/dist/entities/media-platform/query.d.mts +2 -20
- package/dist/entities/media-platform/query.mjs +2 -23
- package/dist/entities/monday-workspace/document.d.cts +1 -1
- package/dist/entities/monday-workspace/document.d.mts +1 -1
- package/dist/entities/monday-workspace/mutation.cjs +1 -1
- package/dist/entities/monday-workspace/mutation.mjs +1 -1
- package/dist/entities/monday-workspace/query.cjs +15 -6
- package/dist/entities/monday-workspace/query.d.cts +22 -4
- package/dist/entities/monday-workspace/query.d.mts +22 -4
- package/dist/entities/monday-workspace/query.mjs +15 -7
- package/dist/entities/newsletter-signup/mutation.cjs +1 -1
- package/dist/entities/newsletter-signup/mutation.mjs +1 -1
- package/dist/entities/product-highlight/document.d.cts +1 -1
- package/dist/entities/product-highlight/document.d.mts +1 -1
- package/dist/entities/resume/mutation.cjs +1 -1
- package/dist/entities/resume/mutation.mjs +1 -1
- package/dist/entities/tag/mutation.cjs +1 -1
- package/dist/entities/tag/mutation.mjs +1 -1
- package/dist/entities/tag/query.cjs +13 -4
- package/dist/entities/tag/query.d.cts +19 -3
- package/dist/entities/tag/query.d.mts +19 -3
- package/dist/entities/tag/query.mjs +13 -5
- package/dist/entities/team-member/query.cjs +24 -9
- package/dist/entities/team-member/query.d.cts +66 -7
- package/dist/entities/team-member/query.d.mts +66 -7
- package/dist/entities/team-member/query.mjs +22 -10
- package/dist/entities/teamwork/query.cjs +0 -1
- package/dist/entities/teamwork/query.mjs +0 -1
- package/dist/entities/trend/mutation.cjs +1 -1
- package/dist/entities/trend/mutation.mjs +1 -1
- package/dist/entities/up-auth/mutation.d.cts +1 -103
- package/dist/entities/up-auth/mutation.d.mts +1 -103
- package/dist/entities/up-permission/document.d.cts +1 -1
- package/dist/entities/up-permission/document.d.mts +1 -1
- package/dist/entities/up-permission/fields.cjs +7 -0
- package/dist/entities/up-permission/fields.d.cts +2 -0
- package/dist/entities/up-permission/fields.d.mts +2 -0
- package/dist/entities/up-permission/fields.mjs +6 -0
- package/dist/entities/up-role/document.d.cts +1 -1
- package/dist/entities/up-role/document.d.mts +1 -1
- package/dist/entities/up-role/query.cjs +19 -0
- package/dist/entities/up-role/query.d.cts +2 -0
- package/dist/entities/up-role/query.d.mts +2 -0
- package/dist/entities/up-role/query.mjs +17 -0
- package/dist/entities/up-user/document.d.cts +1 -1
- package/dist/entities/up-user/document.d.mts +1 -1
- package/dist/entities/up-user/query.cjs +4 -20
- package/dist/entities/up-user/query.d.cts +2 -17
- package/dist/entities/up-user/query.d.mts +2 -17
- package/dist/entities/up-user/query.mjs +2 -17
- package/dist/entities/url-redirect/query.cjs +25 -3
- package/dist/entities/url-redirect/query.d.cts +64 -3
- package/dist/entities/url-redirect/query.d.mts +64 -3
- package/dist/entities/url-redirect/query.mjs +22 -3
- package/dist/entities/user-account/document.d.cts +1 -1
- package/dist/entities/user-account/document.d.mts +1 -1
- package/dist/entities/user-account/mutation.cjs +1 -1
- package/dist/entities/user-account/mutation.mjs +1 -1
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-link-builder/mutation.cjs +1 -1
- package/dist/entities/utm-link-builder/mutation.mjs +1 -1
- package/dist/entities/utm-tracking-link/document.d.cts +1 -1
- package/dist/entities/utm-tracking-link/document.d.mts +1 -1
- package/dist/entities/utm-tracking-link/mutation.cjs +1 -1
- package/dist/entities/utm-tracking-link/mutation.mjs +1 -1
- package/dist/entities/utm-tracking-link/query.cjs +32 -25
- package/dist/entities/utm-tracking-link/query.d.cts +53 -21
- package/dist/entities/utm-tracking-link/query.d.mts +53 -21
- package/dist/entities/utm-tracking-link/query.mjs +32 -26
- package/dist/fields-BN1MQEFa.d.mts +25 -0
- package/dist/{fields-BNrM_SmR.d.cts → fields-CPhXlK2H.d.cts} +3 -1
- package/dist/{fields-BNrM_SmR.d.mts → fields-CPhXlK2H.d.mts} +3 -1
- package/dist/fields-KhJJEwDn.d.cts +25 -0
- package/dist/filters/index.cjs +173 -0
- package/dist/filters/index.d.cts +110 -0
- package/dist/filters/index.d.mts +110 -0
- package/dist/filters/index.mjs +148 -0
- package/dist/{index-DHHJwRNf.d.mts → index-26DCj3kM.d.mts} +6 -6
- package/dist/index-CJnvK9aa.d.cts +395 -0
- package/dist/index-CJoIbrN-.d.mts +395 -0
- package/dist/index-CstRGKNl.d.cts +10 -0
- package/dist/index-CstRGKNl.d.mts +10 -0
- package/dist/{index-zDQP0gcQ.d.cts → index-RcVef_Z2.d.cts} +6 -6
- package/dist/logical-operators-Bku8NPDs.cjs +24 -0
- package/dist/logical-operators-C0-wSK0P.mjs +17 -0
- package/dist/null-operators-CyK5Nxn3.cjs +96 -0
- package/dist/null-operators-DvwH8j8n.mjs +47 -0
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/picklist-DMZjp2EE.cjs +29 -0
- package/dist/picklist-DayZlSoN.mjs +16 -0
- package/dist/query-7_zddNOX.d.mts +68 -0
- package/dist/query-9XKj-s81.d.mts +75 -0
- package/dist/query-CI3ZWJqL2.cjs +74 -0
- package/dist/query-CI5JQhH_.d.cts +73 -0
- package/dist/query-CY7W3BZ5.mjs +49 -0
- package/dist/query-CeillfBr.d.cts +35 -0
- package/dist/query-CgWG7dSl.mjs +43 -0
- package/dist/query-CtCcNIyW.d.cts +75 -0
- package/dist/query-CyYPluP3.d.mts +73 -0
- package/dist/query-D1mBqALL.cjs +68 -0
- package/dist/query-DD39dkbH.d.cts +174 -0
- package/dist/query-DVcH4-JK.cjs +171 -0
- package/dist/query-DZdytwSD.d.cts +61 -0
- package/dist/query-Do-3hcZD.d.mts +35 -0
- package/dist/{query-iF2acn2f.cjs → query-DqwF7V2G.cjs} +1 -1
- package/dist/{query-Bflh6Vd8.mjs → query-DuuwYQWE.mjs} +1 -1
- package/dist/query-Q18zizCQ.mjs +110 -0
- package/dist/query-Wt8Cx9OF.mjs +54 -0
- package/dist/query-emzTCCDq.d.mts +174 -0
- package/dist/query-qb1G3OKt.cjs +85 -0
- package/dist/query-vsyN6YiK.d.mts +61 -0
- package/dist/query-y7Fuj2mF.d.cts +68 -0
- package/dist/{relationships-yGO2L8BR.cjs → relationships-B7XakNhb.cjs} +34 -4
- package/dist/{relationships-fCFeEt1G.mjs → relationships-DYr9eF1a.mjs} +8 -2
- package/dist/string-DnXY8Tir.cjs +227 -0
- package/dist/string-cbk3BUGq.mjs +106 -0
- package/dist/utilities/index.d.cts +2 -3
- package/dist/utilities/index.d.mts +2 -3
- package/dist/validators/index.cjs +2 -2
- package/dist/validators/index.mjs +2 -2
- package/package.json +20 -6
- package/dist/strapi-B79JabkQ.cjs +0 -34
- package/dist/strapi-BgfOZjWn.mjs +0 -9
|
@@ -1,26 +1,74 @@
|
|
|
1
|
+
import { t as StrapiStrictFilterObjectSchema } from "../../index-CstRGKNl.cjs";
|
|
2
|
+
import { d as DocumentIdFilter, f as EmailFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-CJnvK9aa.cjs";
|
|
1
3
|
import * as v from "valibot";
|
|
2
4
|
|
|
3
5
|
//#region src/entities/audit-log/query.d.ts
|
|
6
|
+
declare const FilterAuditLogMethod: StrapiStrictFilterObjectSchema<{
|
|
7
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
8
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
9
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
10
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
11
|
+
readonly $eq: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
12
|
+
readonly $ne: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
13
|
+
} & {
|
|
14
|
+
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
15
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
16
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
17
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
18
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
19
|
+
readonly $eq: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
20
|
+
readonly $ne: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
21
|
+
}>;
|
|
22
|
+
}>;
|
|
23
|
+
type FilterAuditLogMethod = v.InferOutput<typeof FilterAuditLogMethod>;
|
|
24
|
+
declare const FilterStrapiAuditLogs: v.GenericSchema<{
|
|
25
|
+
id?: IdFilter;
|
|
26
|
+
documentId?: DocumentIdFilter;
|
|
27
|
+
createdAt?: DateTimeFilter;
|
|
28
|
+
updatedAt?: DateTimeFilter;
|
|
29
|
+
method?: FilterAuditLogMethod;
|
|
30
|
+
url?: LongStringFilter;
|
|
31
|
+
path?: StringFilter;
|
|
32
|
+
request_id?: StringFilter;
|
|
33
|
+
ipaddress?: StringFilter;
|
|
34
|
+
user_agent?: StringFilter;
|
|
35
|
+
route_path?: StringFilter;
|
|
36
|
+
route_handler?: StringFilter;
|
|
37
|
+
actor_type?: StringFilter;
|
|
38
|
+
actor_id?: StringFilter;
|
|
39
|
+
actor_email?: EmailFilter;
|
|
40
|
+
entity_action?: StringFilter;
|
|
41
|
+
entity_content_type?: StringFilter;
|
|
42
|
+
entity_id?: StringFilter;
|
|
43
|
+
entity_label?: StringFilter;
|
|
44
|
+
}>;
|
|
45
|
+
type FilterStrapiAuditLogs = v.InferOutput<typeof FilterStrapiAuditLogs>;
|
|
4
46
|
declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
5
47
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
48
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly method: v.OptionalSchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>;
|
|
8
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
-
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
-
readonly request_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
11
|
-
readonly ipaddress: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
12
|
-
readonly user_agent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
13
|
-
readonly route_path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
|
-
readonly route_handler: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
|
-
readonly actor_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
16
|
-
readonly actor_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
-
readonly actor_email: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
18
|
-
readonly entity_action: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
|
-
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
|
-
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
-
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
22
49
|
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>;
|
|
50
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
51
|
+
id?: IdFilter;
|
|
52
|
+
documentId?: DocumentIdFilter;
|
|
53
|
+
createdAt?: DateTimeFilter;
|
|
54
|
+
updatedAt?: DateTimeFilter;
|
|
55
|
+
method?: FilterAuditLogMethod;
|
|
56
|
+
url?: LongStringFilter;
|
|
57
|
+
path?: StringFilter;
|
|
58
|
+
request_id?: StringFilter;
|
|
59
|
+
ipaddress?: StringFilter;
|
|
60
|
+
user_agent?: StringFilter;
|
|
61
|
+
route_path?: StringFilter;
|
|
62
|
+
route_handler?: StringFilter;
|
|
63
|
+
actor_type?: StringFilter;
|
|
64
|
+
actor_id?: StringFilter;
|
|
65
|
+
actor_email?: EmailFilter;
|
|
66
|
+
entity_action?: StringFilter;
|
|
67
|
+
entity_content_type?: StringFilter;
|
|
68
|
+
entity_id?: StringFilter;
|
|
69
|
+
entity_label?: StringFilter;
|
|
70
|
+
}>, undefined>;
|
|
23
71
|
}, undefined>;
|
|
24
72
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
25
73
|
//#endregion
|
|
26
|
-
export { QueryStrapiSearchAuditLogs };
|
|
74
|
+
export { FilterAuditLogMethod, FilterStrapiAuditLogs, QueryStrapiSearchAuditLogs };
|
|
@@ -1,26 +1,74 @@
|
|
|
1
|
+
import { t as StrapiStrictFilterObjectSchema } from "../../index-CstRGKNl.mjs";
|
|
2
|
+
import { d as DocumentIdFilter, f as EmailFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-CJoIbrN-.mjs";
|
|
1
3
|
import * as v from "valibot";
|
|
2
4
|
|
|
3
5
|
//#region src/entities/audit-log/query.d.ts
|
|
6
|
+
declare const FilterAuditLogMethod: StrapiStrictFilterObjectSchema<{
|
|
7
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
8
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
9
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
10
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
11
|
+
readonly $eq: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
12
|
+
readonly $ne: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
13
|
+
} & {
|
|
14
|
+
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
15
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
16
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
17
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
18
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
19
|
+
readonly $eq: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
20
|
+
readonly $ne: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
21
|
+
}>;
|
|
22
|
+
}>;
|
|
23
|
+
type FilterAuditLogMethod = v.InferOutput<typeof FilterAuditLogMethod>;
|
|
24
|
+
declare const FilterStrapiAuditLogs: v.GenericSchema<{
|
|
25
|
+
id?: IdFilter;
|
|
26
|
+
documentId?: DocumentIdFilter;
|
|
27
|
+
createdAt?: DateTimeFilter;
|
|
28
|
+
updatedAt?: DateTimeFilter;
|
|
29
|
+
method?: FilterAuditLogMethod;
|
|
30
|
+
url?: LongStringFilter;
|
|
31
|
+
path?: StringFilter;
|
|
32
|
+
request_id?: StringFilter;
|
|
33
|
+
ipaddress?: StringFilter;
|
|
34
|
+
user_agent?: StringFilter;
|
|
35
|
+
route_path?: StringFilter;
|
|
36
|
+
route_handler?: StringFilter;
|
|
37
|
+
actor_type?: StringFilter;
|
|
38
|
+
actor_id?: StringFilter;
|
|
39
|
+
actor_email?: EmailFilter;
|
|
40
|
+
entity_action?: StringFilter;
|
|
41
|
+
entity_content_type?: StringFilter;
|
|
42
|
+
entity_id?: StringFilter;
|
|
43
|
+
entity_label?: StringFilter;
|
|
44
|
+
}>;
|
|
45
|
+
type FilterStrapiAuditLogs = v.InferOutput<typeof FilterStrapiAuditLogs>;
|
|
4
46
|
declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
5
47
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
48
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly method: v.OptionalSchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>;
|
|
8
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
-
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
-
readonly request_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
11
|
-
readonly ipaddress: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
12
|
-
readonly user_agent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
13
|
-
readonly route_path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
|
-
readonly route_handler: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
|
-
readonly actor_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
16
|
-
readonly actor_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
-
readonly actor_email: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
18
|
-
readonly entity_action: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
|
-
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
|
-
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
-
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
22
49
|
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>;
|
|
50
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
51
|
+
id?: IdFilter;
|
|
52
|
+
documentId?: DocumentIdFilter;
|
|
53
|
+
createdAt?: DateTimeFilter;
|
|
54
|
+
updatedAt?: DateTimeFilter;
|
|
55
|
+
method?: FilterAuditLogMethod;
|
|
56
|
+
url?: LongStringFilter;
|
|
57
|
+
path?: StringFilter;
|
|
58
|
+
request_id?: StringFilter;
|
|
59
|
+
ipaddress?: StringFilter;
|
|
60
|
+
user_agent?: StringFilter;
|
|
61
|
+
route_path?: StringFilter;
|
|
62
|
+
route_handler?: StringFilter;
|
|
63
|
+
actor_type?: StringFilter;
|
|
64
|
+
actor_id?: StringFilter;
|
|
65
|
+
actor_email?: EmailFilter;
|
|
66
|
+
entity_action?: StringFilter;
|
|
67
|
+
entity_content_type?: StringFilter;
|
|
68
|
+
entity_id?: StringFilter;
|
|
69
|
+
entity_label?: StringFilter;
|
|
70
|
+
}>, undefined>;
|
|
23
71
|
}, undefined>;
|
|
24
72
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
25
73
|
//#endregion
|
|
26
|
-
export { QueryStrapiSearchAuditLogs };
|
|
74
|
+
export { FilterAuditLogMethod, FilterStrapiAuditLogs, QueryStrapiSearchAuditLogs };
|
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
2
2
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
3
|
-
import { t as
|
|
4
|
-
import { i as
|
|
3
|
+
import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
|
|
4
|
+
import { _ as DateTimeFilter, a as EmailFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "../../string-cbk3BUGq.mjs";
|
|
5
|
+
import { n as createPicklistFilter } from "../../picklist-DayZlSoN.mjs";
|
|
5
6
|
import { AuditLogMethod } from "./fields.mjs";
|
|
6
7
|
import * as v from "valibot";
|
|
7
8
|
//#region src/entities/audit-log/query.ts
|
|
9
|
+
const FilterAuditLogMethod = createPicklistFilter(AuditLogMethod);
|
|
10
|
+
const FilterStrapiAuditLogs = createStrapiFilterSchema({
|
|
11
|
+
id: IdFilter,
|
|
12
|
+
documentId: DocumentIdFilter,
|
|
13
|
+
createdAt: DateTimeFilter,
|
|
14
|
+
updatedAt: DateTimeFilter,
|
|
15
|
+
method: FilterAuditLogMethod,
|
|
16
|
+
url: LongStringFilter,
|
|
17
|
+
path: LongStringFilter,
|
|
18
|
+
request_id: StringFilter,
|
|
19
|
+
ipaddress: StringFilter,
|
|
20
|
+
user_agent: StringFilter,
|
|
21
|
+
route_path: StringFilter,
|
|
22
|
+
route_handler: StringFilter,
|
|
23
|
+
actor_type: StringFilter,
|
|
24
|
+
actor_id: StringFilter,
|
|
25
|
+
actor_email: EmailFilter,
|
|
26
|
+
entity_action: StringFilter,
|
|
27
|
+
entity_content_type: StringFilter,
|
|
28
|
+
entity_id: StringFilter,
|
|
29
|
+
entity_label: StringFilter
|
|
30
|
+
});
|
|
8
31
|
const QueryStrapiSearchAuditLogs = v.object({
|
|
9
32
|
page: VPage(),
|
|
10
33
|
size: VSize(),
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
path: v.optional(v.string()),
|
|
14
|
-
request_id: v.optional(VStringMax()),
|
|
15
|
-
ipaddress: v.optional(VStringMax(64)),
|
|
16
|
-
user_agent: v.optional(VStringMax()),
|
|
17
|
-
route_path: v.optional(VStringMax()),
|
|
18
|
-
route_handler: v.optional(VStringMax()),
|
|
19
|
-
actor_type: v.optional(VStringMax()),
|
|
20
|
-
actor_id: v.optional(VStringMax()),
|
|
21
|
-
actor_email: v.optional(VStringEmail()),
|
|
22
|
-
entity_action: v.optional(VStringMax()),
|
|
23
|
-
entity_content_type: v.optional(VStringMax()),
|
|
24
|
-
entity_id: v.optional(VStringMax()),
|
|
25
|
-
entity_label: v.optional(VStringMax()),
|
|
26
|
-
sort: v.optional(QuerySortValues)
|
|
34
|
+
sort: v.optional(QuerySortValues),
|
|
35
|
+
f: v.optional(FilterStrapiAuditLogs)
|
|
27
36
|
});
|
|
28
37
|
//#endregion
|
|
29
|
-
export { QueryStrapiSearchAuditLogs };
|
|
38
|
+
export { FilterAuditLogMethod, FilterStrapiAuditLogs, QueryStrapiSearchAuditLogs };
|
|
@@ -3,8 +3,8 @@ const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
|
3
3
|
const require_components_shared_index = require("../../components/shared/index.cjs");
|
|
4
4
|
const require_components_blocks_index = require("../../components/blocks/index.cjs");
|
|
5
5
|
const require_components_forms_index = require("../../components/forms/index.cjs");
|
|
6
|
-
const require_components_slideshow_index = require("../../components/slideshow/index.cjs");
|
|
7
6
|
const require_entities_blog_post_constants = require("./constants.cjs");
|
|
7
|
+
const require_components_slideshow_index = require("../../components/slideshow/index.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
10
|
//#region src/entities/blog-post/fields.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentSharedRichTextBlock } from "../../components/shared/index.mjs";
|
|
2
2
|
import { ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockVideo } from "../../components/blocks/index.mjs";
|
|
3
3
|
import { ComponentFormSelect } from "../../components/forms/index.mjs";
|
|
4
|
-
import { ComponentSlideshow } from "../../components/slideshow/index.mjs";
|
|
5
4
|
import { BLOG_POST_LAYOUT } from "./constants.mjs";
|
|
5
|
+
import { ComponentSlideshow } from "../../components/slideshow/index.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/blog-post/fields.ts
|
|
8
8
|
const BlogPostLayout = v.picklist(BLOG_POST_LAYOUT);
|
|
@@ -3,24 +3,49 @@ const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
|
3
3
|
const require_pagination = require("../../pagination-DhAgQr7d.cjs");
|
|
4
4
|
const require_sort = require("../../sort-CYllFl6q.cjs");
|
|
5
5
|
const require_string = require("../../string-AHrZ--r_.cjs");
|
|
6
|
-
const
|
|
6
|
+
const require_relationships = require("../../relationships-B7XakNhb.cjs");
|
|
7
|
+
const require_logical_operators = require("../../logical-operators-Bku8NPDs.cjs");
|
|
8
|
+
const require_string$1 = require("../../string-DnXY8Tir.cjs");
|
|
9
|
+
const require_boolean = require("../../boolean-BwqaNE9c.cjs");
|
|
10
|
+
const require_picklist = require("../../picklist-DMZjp2EE.cjs");
|
|
11
|
+
const require_entities_category_query = require("../category/query.cjs");
|
|
12
|
+
const require_entities_tag_query = require("../tag/query.cjs");
|
|
13
|
+
const require_entities_team_member_query = require("../team-member/query.cjs");
|
|
7
14
|
let valibot = require("valibot");
|
|
8
15
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
16
|
//#region src/entities/blog-post/query.ts
|
|
17
|
+
const FilterBlogPostsStatus = require_picklist.createPicklistFilter(require_relationships.ContentStatus);
|
|
18
|
+
const FilterStrapiBlogPosts = require_logical_operators.createStrapiFilterSchema({
|
|
19
|
+
id: require_string$1.IdFilter,
|
|
20
|
+
documentId: require_string$1.DocumentIdFilter,
|
|
21
|
+
publishedAt: require_string$1.DateTimeFilter,
|
|
22
|
+
createdAt: require_string$1.DateTimeFilter,
|
|
23
|
+
updatedAt: require_string$1.DateTimeFilter,
|
|
24
|
+
title: require_string$1.StringFilter,
|
|
25
|
+
slug: require_string$1.SlugFilter,
|
|
26
|
+
excerpt: require_string$1.LongStringFilter,
|
|
27
|
+
published: require_string$1.DateTimeFilter,
|
|
28
|
+
is_live: require_boolean.BooleanFilter,
|
|
29
|
+
is_featured: require_boolean.BooleanFilter,
|
|
30
|
+
is_public: require_boolean.BooleanFilter,
|
|
31
|
+
category: valibot.optional(require_entities_category_query.FilterStrapiCategories),
|
|
32
|
+
tags: valibot.optional(require_entities_tag_query.FilterStrapiTags),
|
|
33
|
+
authors: valibot.optional(require_entities_team_member_query.FilterStrapiTeamMembers)
|
|
34
|
+
});
|
|
10
35
|
const QueryStrapiSearchBlogPosts = valibot.object({
|
|
11
36
|
page: require_pagination.VPage(),
|
|
12
37
|
size: require_pagination.VSize(),
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
status: valibot.optional(require_strapi.ContentStatus),
|
|
17
|
-
sort: valibot.optional(require_sort.QuerySortValues)
|
|
38
|
+
sort: valibot.optional(require_sort.QuerySortValues),
|
|
39
|
+
status: valibot.optional(require_relationships.ContentStatus),
|
|
40
|
+
f: valibot.optional(FilterStrapiBlogPosts)
|
|
18
41
|
});
|
|
19
42
|
const QueryStrapiSearchBlogPostsBySlug = valibot.object({
|
|
20
43
|
slug: require_string.VStringShort(),
|
|
21
|
-
status: valibot.optional(
|
|
44
|
+
status: valibot.optional(require_relationships.ContentStatus, "published"),
|
|
22
45
|
sort: valibot.optional(require_sort.QuerySortValues)
|
|
23
46
|
});
|
|
24
47
|
//#endregion
|
|
48
|
+
exports.FilterBlogPostsStatus = FilterBlogPostsStatus;
|
|
49
|
+
exports.FilterStrapiBlogPosts = FilterStrapiBlogPosts;
|
|
25
50
|
exports.QueryStrapiSearchBlogPosts = QueryStrapiSearchBlogPosts;
|
|
26
51
|
exports.QueryStrapiSearchBlogPostsBySlug = QueryStrapiSearchBlogPostsBySlug;
|
|
@@ -1,14 +1,69 @@
|
|
|
1
|
+
import { t as StrapiStrictFilterObjectSchema } from "../../index-CstRGKNl.cjs";
|
|
2
|
+
import { C as BooleanFilter, d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-CJnvK9aa.cjs";
|
|
3
|
+
import { FilterStrapiCategories } from "../category/query.cjs";
|
|
4
|
+
import { FilterStrapiTags } from "../tag/query.cjs";
|
|
5
|
+
import { FilterStrapiTeamMembers } from "../team-member/query.cjs";
|
|
1
6
|
import * as v from "valibot";
|
|
2
7
|
|
|
3
8
|
//#region src/entities/blog-post/query.d.ts
|
|
9
|
+
declare const FilterBlogPostsStatus: StrapiStrictFilterObjectSchema<{
|
|
10
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
11
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
12
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
13
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
14
|
+
readonly $eq: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
15
|
+
readonly $ne: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
16
|
+
} & {
|
|
17
|
+
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
18
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
19
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
20
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
21
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
22
|
+
readonly $eq: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
23
|
+
readonly $ne: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
24
|
+
}>;
|
|
25
|
+
}>;
|
|
26
|
+
type FilterBlogPostsStatus = v.InferOutput<typeof FilterBlogPostsStatus>;
|
|
27
|
+
declare const FilterStrapiBlogPosts: v.GenericSchema<{
|
|
28
|
+
id?: IdFilter;
|
|
29
|
+
documentId?: DocumentIdFilter;
|
|
30
|
+
publishedAt?: DateTimeFilter;
|
|
31
|
+
createdAt?: DateTimeFilter;
|
|
32
|
+
updatedAt?: DateTimeFilter;
|
|
33
|
+
title?: StringFilter;
|
|
34
|
+
slug?: SlugFilter;
|
|
35
|
+
excerpt?: StringFilter;
|
|
36
|
+
published?: DateTimeFilter;
|
|
37
|
+
is_live?: BooleanFilter;
|
|
38
|
+
is_featured?: BooleanFilter;
|
|
39
|
+
is_public?: BooleanFilter;
|
|
40
|
+
category?: FilterStrapiCategories;
|
|
41
|
+
tags?: FilterStrapiTags;
|
|
42
|
+
authors?: FilterStrapiTeamMembers;
|
|
43
|
+
}>;
|
|
44
|
+
type FilterStrapiBlogPosts = v.InferOutput<typeof FilterStrapiBlogPosts>;
|
|
4
45
|
declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
5
46
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
8
|
-
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
9
|
-
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
10
|
-
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
11
48
|
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>;
|
|
49
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
50
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
51
|
+
id?: IdFilter;
|
|
52
|
+
documentId?: DocumentIdFilter;
|
|
53
|
+
publishedAt?: DateTimeFilter;
|
|
54
|
+
createdAt?: DateTimeFilter;
|
|
55
|
+
updatedAt?: DateTimeFilter;
|
|
56
|
+
title?: StringFilter;
|
|
57
|
+
slug?: SlugFilter;
|
|
58
|
+
excerpt?: StringFilter;
|
|
59
|
+
published?: DateTimeFilter;
|
|
60
|
+
is_live?: BooleanFilter;
|
|
61
|
+
is_featured?: BooleanFilter;
|
|
62
|
+
is_public?: BooleanFilter;
|
|
63
|
+
category?: FilterStrapiCategories;
|
|
64
|
+
tags?: FilterStrapiTags;
|
|
65
|
+
authors?: FilterStrapiTeamMembers;
|
|
66
|
+
}>, undefined>;
|
|
12
67
|
}, undefined>;
|
|
13
68
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
14
69
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
@@ -18,4 +73,4 @@ declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
|
18
73
|
}, undefined>;
|
|
19
74
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
20
75
|
//#endregion
|
|
21
|
-
export { QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
76
|
+
export { FilterBlogPostsStatus, FilterStrapiBlogPosts, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
@@ -1,14 +1,69 @@
|
|
|
1
|
+
import { t as StrapiStrictFilterObjectSchema } from "../../index-CstRGKNl.mjs";
|
|
2
|
+
import { C as BooleanFilter, d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-CJoIbrN-.mjs";
|
|
3
|
+
import { FilterStrapiCategories } from "../category/query.mjs";
|
|
4
|
+
import { FilterStrapiTags } from "../tag/query.mjs";
|
|
5
|
+
import { FilterStrapiTeamMembers } from "../team-member/query.mjs";
|
|
1
6
|
import * as v from "valibot";
|
|
2
7
|
|
|
3
8
|
//#region src/entities/blog-post/query.d.ts
|
|
9
|
+
declare const FilterBlogPostsStatus: StrapiStrictFilterObjectSchema<{
|
|
10
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
11
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
12
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
13
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
14
|
+
readonly $eq: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
15
|
+
readonly $ne: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
16
|
+
} & {
|
|
17
|
+
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
18
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
19
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
20
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
21
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
22
|
+
readonly $eq: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
23
|
+
readonly $ne: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
24
|
+
}>;
|
|
25
|
+
}>;
|
|
26
|
+
type FilterBlogPostsStatus = v.InferOutput<typeof FilterBlogPostsStatus>;
|
|
27
|
+
declare const FilterStrapiBlogPosts: v.GenericSchema<{
|
|
28
|
+
id?: IdFilter;
|
|
29
|
+
documentId?: DocumentIdFilter;
|
|
30
|
+
publishedAt?: DateTimeFilter;
|
|
31
|
+
createdAt?: DateTimeFilter;
|
|
32
|
+
updatedAt?: DateTimeFilter;
|
|
33
|
+
title?: StringFilter;
|
|
34
|
+
slug?: SlugFilter;
|
|
35
|
+
excerpt?: StringFilter;
|
|
36
|
+
published?: DateTimeFilter;
|
|
37
|
+
is_live?: BooleanFilter;
|
|
38
|
+
is_featured?: BooleanFilter;
|
|
39
|
+
is_public?: BooleanFilter;
|
|
40
|
+
category?: FilterStrapiCategories;
|
|
41
|
+
tags?: FilterStrapiTags;
|
|
42
|
+
authors?: FilterStrapiTeamMembers;
|
|
43
|
+
}>;
|
|
44
|
+
type FilterStrapiBlogPosts = v.InferOutput<typeof FilterStrapiBlogPosts>;
|
|
4
45
|
declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
5
46
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
8
|
-
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
9
|
-
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
10
|
-
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
11
48
|
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>;
|
|
49
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
50
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
51
|
+
id?: IdFilter;
|
|
52
|
+
documentId?: DocumentIdFilter;
|
|
53
|
+
publishedAt?: DateTimeFilter;
|
|
54
|
+
createdAt?: DateTimeFilter;
|
|
55
|
+
updatedAt?: DateTimeFilter;
|
|
56
|
+
title?: StringFilter;
|
|
57
|
+
slug?: SlugFilter;
|
|
58
|
+
excerpt?: StringFilter;
|
|
59
|
+
published?: DateTimeFilter;
|
|
60
|
+
is_live?: BooleanFilter;
|
|
61
|
+
is_featured?: BooleanFilter;
|
|
62
|
+
is_public?: BooleanFilter;
|
|
63
|
+
category?: FilterStrapiCategories;
|
|
64
|
+
tags?: FilterStrapiTags;
|
|
65
|
+
authors?: FilterStrapiTeamMembers;
|
|
66
|
+
}>, undefined>;
|
|
12
67
|
}, undefined>;
|
|
13
68
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
14
69
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
@@ -18,4 +73,4 @@ declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
|
18
73
|
}, undefined>;
|
|
19
74
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
20
75
|
//#endregion
|
|
21
|
-
export { QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
76
|
+
export { FilterBlogPostsStatus, FilterStrapiBlogPosts, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
@@ -1,17 +1,40 @@
|
|
|
1
1
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
2
2
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
3
3
|
import { s as VStringShort } from "../../string-v2gu3xz0.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { d as ContentStatus } from "../../relationships-DYr9eF1a.mjs";
|
|
5
|
+
import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
|
|
6
|
+
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "../../string-cbk3BUGq.mjs";
|
|
7
|
+
import { t as BooleanFilter } from "../../boolean-cJxcC8gC.mjs";
|
|
8
|
+
import { n as createPicklistFilter } from "../../picklist-DayZlSoN.mjs";
|
|
9
|
+
import { FilterStrapiCategories } from "../category/query.mjs";
|
|
10
|
+
import { FilterStrapiTags } from "../tag/query.mjs";
|
|
11
|
+
import { FilterStrapiTeamMembers } from "../team-member/query.mjs";
|
|
5
12
|
import * as v from "valibot";
|
|
6
13
|
//#region src/entities/blog-post/query.ts
|
|
14
|
+
const FilterBlogPostsStatus = createPicklistFilter(ContentStatus);
|
|
15
|
+
const FilterStrapiBlogPosts = createStrapiFilterSchema({
|
|
16
|
+
id: IdFilter,
|
|
17
|
+
documentId: DocumentIdFilter,
|
|
18
|
+
publishedAt: DateTimeFilter,
|
|
19
|
+
createdAt: DateTimeFilter,
|
|
20
|
+
updatedAt: DateTimeFilter,
|
|
21
|
+
title: StringFilter,
|
|
22
|
+
slug: SlugFilter,
|
|
23
|
+
excerpt: LongStringFilter,
|
|
24
|
+
published: DateTimeFilter,
|
|
25
|
+
is_live: BooleanFilter,
|
|
26
|
+
is_featured: BooleanFilter,
|
|
27
|
+
is_public: BooleanFilter,
|
|
28
|
+
category: v.optional(FilterStrapiCategories),
|
|
29
|
+
tags: v.optional(FilterStrapiTags),
|
|
30
|
+
authors: v.optional(FilterStrapiTeamMembers)
|
|
31
|
+
});
|
|
7
32
|
const QueryStrapiSearchBlogPosts = v.object({
|
|
8
33
|
page: VPage(),
|
|
9
34
|
size: VSize(),
|
|
10
|
-
|
|
11
|
-
category: v.optional(VStringShort(0)),
|
|
12
|
-
tags: v.optional(v.array(VStringShort())),
|
|
35
|
+
sort: v.optional(QuerySortValues),
|
|
13
36
|
status: v.optional(ContentStatus),
|
|
14
|
-
|
|
37
|
+
f: v.optional(FilterStrapiBlogPosts)
|
|
15
38
|
});
|
|
16
39
|
const QueryStrapiSearchBlogPostsBySlug = v.object({
|
|
17
40
|
slug: VStringShort(),
|
|
@@ -19,4 +42,4 @@ const QueryStrapiSearchBlogPostsBySlug = v.object({
|
|
|
19
42
|
sort: v.optional(QuerySortValues)
|
|
20
43
|
});
|
|
21
44
|
//#endregion
|
|
22
|
-
export { QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
45
|
+
export { FilterBlogPostsStatus, FilterStrapiBlogPosts, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
3
|
const require_string = require("../../string-AHrZ--r_.cjs");
|
|
4
|
-
const require_relationships = require("../../relationships-
|
|
4
|
+
const require_relationships = require("../../relationships-B7XakNhb.cjs");
|
|
5
5
|
const require_slug = require("../../slug-BcLLMLTX.cjs");
|
|
6
6
|
let valibot = require("valibot");
|
|
7
7
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as VStringMinMax } from "../../string-v2gu3xz0.mjs";
|
|
2
|
-
import { o as AssociateOneEntity } from "../../relationships-
|
|
2
|
+
import { o as AssociateOneEntity } from "../../relationships-DYr9eF1a.mjs";
|
|
3
3
|
import { t as VStringSlug } from "../../slug-By9EotXj.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
//#region src/entities/category/mutation.ts
|
|
@@ -2,16 +2,25 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
3
|
const require_pagination = require("../../pagination-DhAgQr7d.cjs");
|
|
4
4
|
const require_sort = require("../../sort-CYllFl6q.cjs");
|
|
5
|
-
const
|
|
5
|
+
const require_logical_operators = require("../../logical-operators-Bku8NPDs.cjs");
|
|
6
|
+
const require_string = require("../../string-DnXY8Tir.cjs");
|
|
6
7
|
let valibot = require("valibot");
|
|
7
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
9
|
//#region src/entities/category/query.ts
|
|
10
|
+
const FilterStrapiCategories = require_logical_operators.createStrapiFilterSchema({
|
|
11
|
+
id: require_string.IdFilter,
|
|
12
|
+
documentId: require_string.DocumentIdFilter,
|
|
13
|
+
createdAt: require_string.DateTimeFilter,
|
|
14
|
+
updatedAt: require_string.DateTimeFilter,
|
|
15
|
+
label: require_string.StringFilter,
|
|
16
|
+
slug: require_string.SlugFilter
|
|
17
|
+
});
|
|
9
18
|
const QueryStrapiSearchCategories = valibot.object({
|
|
10
19
|
page: require_pagination.VPage(),
|
|
11
20
|
size: require_pagination.VSize(),
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
sort: valibot.optional(require_sort.QuerySortValues)
|
|
21
|
+
sort: valibot.optional(require_sort.QuerySortValues),
|
|
22
|
+
f: valibot.optional(FilterStrapiCategories)
|
|
15
23
|
});
|
|
16
24
|
//#endregion
|
|
25
|
+
exports.FilterStrapiCategories = FilterStrapiCategories;
|
|
17
26
|
exports.QueryStrapiSearchCategories = QueryStrapiSearchCategories;
|
|
@@ -1,13 +1,29 @@
|
|
|
1
|
+
import { d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-CJnvK9aa.cjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/category/query.d.ts
|
|
5
|
+
declare const FilterStrapiCategories: v.GenericSchema<{
|
|
6
|
+
id?: IdFilter;
|
|
7
|
+
documentId?: DocumentIdFilter;
|
|
8
|
+
createdAt?: DateTimeFilter;
|
|
9
|
+
updatedAt?: DateTimeFilter;
|
|
10
|
+
label?: StringFilter;
|
|
11
|
+
slug?: SlugFilter;
|
|
12
|
+
}>;
|
|
13
|
+
type FilterStrapiCategories = v.InferOutput<typeof FilterStrapiCategories>;
|
|
4
14
|
declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
5
15
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
16
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
17
|
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>;
|
|
18
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
19
|
+
id?: IdFilter;
|
|
20
|
+
documentId?: DocumentIdFilter;
|
|
21
|
+
createdAt?: DateTimeFilter;
|
|
22
|
+
updatedAt?: DateTimeFilter;
|
|
23
|
+
label?: StringFilter;
|
|
24
|
+
slug?: SlugFilter;
|
|
25
|
+
}>, undefined>;
|
|
10
26
|
}, undefined>;
|
|
11
27
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
12
28
|
//#endregion
|
|
13
|
-
export { QueryStrapiSearchCategories };
|
|
29
|
+
export { FilterStrapiCategories, QueryStrapiSearchCategories };
|