@getcommunity/gc-validators 0.0.288-alpha.4 → 0.0.288-alpha.5
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/entities/blog-post/fields.cjs +1 -1
- package/dist/entities/blog-post/fields.mjs +1 -1
- package/dist/entities/blog-post/query.cjs +1 -1
- package/dist/entities/blog-post/query.d.cts +1 -1
- package/dist/entities/blog-post/query.d.mts +1 -1
- package/dist/entities/blog-post/query.mjs +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/gcflytour/query.cjs +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.mjs +1 -1
- package/dist/entities/up-role/query.d.cts +1 -1
- package/dist/entities/up-role/query.d.mts +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/utm-tracking-link/query.d.cts +1 -1
- package/dist/entities/utm-tracking-link/query.d.mts +1 -1
- package/dist/{query-DzgCwtIj.d.mts → query-0MyyHYA2.d.mts} +4 -4
- package/dist/{query-k67TaoJs.mjs → query-BFgNXzID.mjs} +12 -12
- package/dist/{query-DHuJnqmE.d.mts → query-BSphap4l.d.mts} +1 -1
- package/dist/{query-Ck2SJ88F.d.cts → query-C0STzKW-.d.cts} +4 -4
- package/dist/{query-BPwlZCZP.d.cts → query-CCAKLxKT.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/{query-B-6-qAuN.cjs → query-v1y5ioJw.cjs} +11 -11
|
@@ -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_entities_blog_post_constants = require("./constants.cjs");
|
|
7
6
|
const require_components_slideshow_index = require("../../components/slideshow/index.cjs");
|
|
7
|
+
const require_entities_blog_post_constants = require("./constants.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 { BLOG_POST_LAYOUT } from "./constants.mjs";
|
|
5
4
|
import { ComponentSlideshow } from "../../components/slideshow/index.mjs";
|
|
5
|
+
import { BLOG_POST_LAYOUT } from "./constants.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);
|
|
@@ -40,7 +40,7 @@ const QueryStrapiSearchBlogPosts = valibot.object({
|
|
|
40
40
|
status: valibot.optional(require_relationships.ContentStatus),
|
|
41
41
|
search: valibot.optional(require_string$1.VStringMax()),
|
|
42
42
|
category: valibot.optional(require_string$1.VStringMax()),
|
|
43
|
-
tags: valibot.optional(valibot.pipe(valibot.array(require_string$1.VStringMax())
|
|
43
|
+
tags: valibot.optional(valibot.pipe(valibot.array(require_string$1.VStringMax()))),
|
|
44
44
|
f: valibot.optional(FilterStrapiBlogPosts)
|
|
45
45
|
});
|
|
46
46
|
const QueryStrapiSearchBlogPostsBySlug = valibot.object({
|
|
@@ -49,7 +49,7 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
49
49
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
50
50
|
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
51
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined
|
|
52
|
+
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
53
53
|
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBlogPosts>, undefined>;
|
|
54
54
|
}, undefined>;
|
|
55
55
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
@@ -49,7 +49,7 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
49
49
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
50
50
|
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
51
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
-
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined
|
|
52
|
+
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
53
53
|
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBlogPosts>, undefined>;
|
|
54
54
|
}, undefined>;
|
|
55
55
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
@@ -37,7 +37,7 @@ const QueryStrapiSearchBlogPosts = v.object({
|
|
|
37
37
|
status: v.optional(ContentStatus),
|
|
38
38
|
search: v.optional(VStringMax()),
|
|
39
39
|
category: v.optional(VStringMax()),
|
|
40
|
-
tags: v.optional(v.pipe(v.array(VStringMax())
|
|
40
|
+
tags: v.optional(v.pipe(v.array(VStringMax()))),
|
|
41
41
|
f: v.optional(FilterStrapiBlogPosts)
|
|
42
42
|
});
|
|
43
43
|
const QueryStrapiSearchBlogPostsBySlug = v.object({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QueryStrapiSearchClientUsers, t as FilterStrapiClientUsers } from "../../query-
|
|
1
|
+
import { n as QueryStrapiSearchClientUsers, t as FilterStrapiClientUsers } from "../../query-CCAKLxKT.cjs";
|
|
2
2
|
export { FilterStrapiClientUsers, QueryStrapiSearchClientUsers };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QueryStrapiSearchClientUsers, t as FilterStrapiClientUsers } from "../../query-
|
|
1
|
+
import { n as QueryStrapiSearchClientUsers, t as FilterStrapiClientUsers } from "../../query-BSphap4l.mjs";
|
|
2
2
|
export { FilterStrapiClientUsers, QueryStrapiSearchClientUsers };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_query = require("../../query-
|
|
2
|
+
const require_query = require("../../query-v1y5ioJw.cjs");
|
|
3
3
|
exports.FilterStrapiGCFlyTours = require_query.FilterStrapiGCFlyTours;
|
|
4
4
|
exports.QueryStrapiSearchGCFlyTours = require_query.QueryStrapiSearchGCFlyTours;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as QueryStrapiSearchGCFlyTours, r as FilterStrapiGCFlyTours } from "../../query-BFgNXzID.mjs";
|
|
2
2
|
export { FilterStrapiGCFlyTours, QueryStrapiSearchGCFlyTours };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_query = require("../../query-
|
|
2
|
+
const require_query = require("../../query-v1y5ioJw.cjs");
|
|
3
3
|
exports.FilterStrapiGCFlyTourSnaps = require_query.FilterStrapiGCFlyTourSnaps;
|
|
4
4
|
exports.QueryStrapiSearchGCFlyTourSnaps = require_query.QueryStrapiSearchGCFlyTourSnaps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as QueryStrapiSearchGCFlyTourSnaps, t as FilterStrapiGCFlyTourSnaps } from "../../query-BFgNXzID.mjs";
|
|
2
2
|
export { FilterStrapiGCFlyTourSnaps, QueryStrapiSearchGCFlyTourSnaps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FilterStrapiRoles, t as FilterRoleType } from "../../query-
|
|
1
|
+
import { n as FilterStrapiRoles, t as FilterRoleType } from "../../query-C0STzKW-.cjs";
|
|
2
2
|
export { FilterRoleType, FilterStrapiRoles };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FilterStrapiRoles, t as FilterRoleType } from "../../query-
|
|
1
|
+
import { n as FilterStrapiRoles, t as FilterRoleType } from "../../query-0MyyHYA2.mjs";
|
|
2
2
|
export { FilterRoleType, FilterStrapiRoles };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QueryStrapiSearchUsersByIdentifier, i as QueryStrapiSearchUsers, r as FilterStrapiUsers } from "../../query-
|
|
1
|
+
import { a as QueryStrapiSearchUsersByIdentifier, i as QueryStrapiSearchUsers, r as FilterStrapiUsers } from "../../query-CCAKLxKT.cjs";
|
|
2
2
|
export { FilterStrapiUsers, QueryStrapiSearchUsers, QueryStrapiSearchUsersByIdentifier };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QueryStrapiSearchUsersByIdentifier, i as QueryStrapiSearchUsers, r as FilterStrapiUsers } from "../../query-
|
|
1
|
+
import { a as QueryStrapiSearchUsersByIdentifier, i as QueryStrapiSearchUsers, r as FilterStrapiUsers } from "../../query-BSphap4l.mjs";
|
|
2
2
|
export { FilterStrapiUsers, QueryStrapiSearchUsers, QueryStrapiSearchUsersByIdentifier };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as BooleanFilter, T as StrapiLogicalFilter, d as DocumentIdFilter, n as LongStringFilter, p as IdFilter, y as DateTimeFilter } from "../../index-BgZbDm41.cjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "../../query-DIQPfsSq.cjs";
|
|
3
|
-
import { r as FilterStrapiUsers } from "../../query-
|
|
3
|
+
import { r as FilterStrapiUsers } from "../../query-CCAKLxKT.cjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
|
|
6
6
|
//#region src/entities/utm-tracking-link/query.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as BooleanFilter, T as StrapiLogicalFilter, d as DocumentIdFilter, n as LongStringFilter, p as IdFilter, y as DateTimeFilter } from "../../index-BgZbDm41.mjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "../../query-DQvrkaL2.mjs";
|
|
3
|
-
import { r as FilterStrapiUsers } from "../../query-
|
|
3
|
+
import { r as FilterStrapiUsers } from "../../query-BSphap4l.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
|
|
6
6
|
//#region src/entities/utm-tracking-link/query.d.ts
|
|
@@ -5,16 +5,16 @@ import * as v from "valibot";
|
|
|
5
5
|
declare const FilterRoleType: StrapiStrictFilterObjectSchema<{
|
|
6
6
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
7
7
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
8
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "
|
|
9
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
10
10
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
11
11
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
12
12
|
} & {
|
|
13
13
|
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
14
14
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
15
15
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
16
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "
|
|
17
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
18
18
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
19
19
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
20
20
|
}>;
|
|
@@ -6,8 +6,8 @@ import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
|
6
6
|
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
7
7
|
import { FilterStrapiClients } from "./entities/client/query.mjs";
|
|
8
8
|
import * as v from "valibot";
|
|
9
|
-
//#region src/entities/gcflytour
|
|
10
|
-
const
|
|
9
|
+
//#region src/entities/gcflytour/query.ts
|
|
10
|
+
const FilterStrapiGCFlyTours = createStrapiFilterSchema({
|
|
11
11
|
id: IdFilter,
|
|
12
12
|
documentId: DocumentIdFilter,
|
|
13
13
|
createdAt: DateTimeFilter,
|
|
@@ -17,17 +17,18 @@ const FilterStrapiGCFlyTourSnaps = createStrapiFilterSchema({
|
|
|
17
17
|
slug: SlugFilter,
|
|
18
18
|
is_active: BooleanFilter,
|
|
19
19
|
is_hidden: BooleanFilter,
|
|
20
|
-
|
|
20
|
+
gcflytour_snaps: v.optional(v.lazy(() => FilterStrapiGCFlyTourSnaps)),
|
|
21
|
+
clients: v.optional(v.lazy(() => FilterStrapiClients))
|
|
21
22
|
});
|
|
22
|
-
const
|
|
23
|
+
const QueryStrapiSearchGCFlyTours = v.object({
|
|
23
24
|
page: VPage(),
|
|
24
25
|
size: VSize(),
|
|
25
26
|
sort: v.optional(QuerySortValues),
|
|
26
|
-
f: v.optional(
|
|
27
|
+
f: v.optional(FilterStrapiGCFlyTours)
|
|
27
28
|
});
|
|
28
29
|
//#endregion
|
|
29
|
-
//#region src/entities/gcflytour/query.ts
|
|
30
|
-
const
|
|
30
|
+
//#region src/entities/gcflytour-snap/query.ts
|
|
31
|
+
const FilterStrapiGCFlyTourSnaps = createStrapiFilterSchema({
|
|
31
32
|
id: IdFilter,
|
|
32
33
|
documentId: DocumentIdFilter,
|
|
33
34
|
createdAt: DateTimeFilter,
|
|
@@ -37,14 +38,13 @@ const FilterStrapiGCFlyTours = createStrapiFilterSchema({
|
|
|
37
38
|
slug: SlugFilter,
|
|
38
39
|
is_active: BooleanFilter,
|
|
39
40
|
is_hidden: BooleanFilter,
|
|
40
|
-
|
|
41
|
-
clients: v.optional(v.lazy(() => FilterStrapiClients))
|
|
41
|
+
gcflytour: v.optional(v.lazy(() => FilterStrapiGCFlyTours))
|
|
42
42
|
});
|
|
43
|
-
const
|
|
43
|
+
const QueryStrapiSearchGCFlyTourSnaps = v.object({
|
|
44
44
|
page: VPage(),
|
|
45
45
|
size: VSize(),
|
|
46
46
|
sort: v.optional(QuerySortValues),
|
|
47
|
-
f: v.optional(
|
|
47
|
+
f: v.optional(FilterStrapiGCFlyTourSnaps)
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
|
-
export {
|
|
50
|
+
export { QueryStrapiSearchGCFlyTours as i, QueryStrapiSearchGCFlyTourSnaps as n, FilterStrapiGCFlyTours as r, FilterStrapiGCFlyTourSnaps as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as BooleanFilter, T as StrapiLogicalFilter, d as DocumentIdFilter, f as EmailFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-BgZbDm41.mjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "./query-DQvrkaL2.mjs";
|
|
3
3
|
import { t as FilterScopes } from "./fields-BoIWv7BD.mjs";
|
|
4
|
-
import { n as FilterStrapiRoles } from "./query-
|
|
4
|
+
import { n as FilterStrapiRoles } from "./query-0MyyHYA2.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/entities/up-user/query.d.ts
|
|
@@ -5,16 +5,16 @@ import * as v from "valibot";
|
|
|
5
5
|
declare const FilterRoleType: StrapiStrictFilterObjectSchema<{
|
|
6
6
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
7
7
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
8
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "
|
|
9
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
10
10
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
11
11
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
12
12
|
} & {
|
|
13
13
|
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
14
14
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
15
15
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
16
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "
|
|
17
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("manager" | "client" | "authenticated" | "public" | "employee")[], 1, undefined>]>;
|
|
18
18
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
19
19
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
20
20
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as BooleanFilter, T as StrapiLogicalFilter, d as DocumentIdFilter, f as EmailFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "./index-BgZbDm41.cjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "./query-DIQPfsSq.cjs";
|
|
3
3
|
import { t as FilterScopes } from "./fields-DaAvm6kj.cjs";
|
|
4
|
-
import { n as FilterStrapiRoles } from "./query-
|
|
4
|
+
import { n as FilterStrapiRoles } from "./query-C0STzKW-.cjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/entities/up-user/query.d.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getcommunity/gc-validators",
|
|
3
3
|
"description": "Schema Validator for GetCommunity web-stack types",
|
|
4
|
-
"version": "0.0.288-alpha.
|
|
4
|
+
"version": "0.0.288-alpha.5",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|
|
@@ -8,8 +8,8 @@ const require_sort = require("./sort-CYllFl6q.cjs");
|
|
|
8
8
|
const require_entities_client_query = require("./entities/client/query.cjs");
|
|
9
9
|
let valibot = require("valibot");
|
|
10
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
11
|
-
//#region src/entities/gcflytour
|
|
12
|
-
const
|
|
11
|
+
//#region src/entities/gcflytour/query.ts
|
|
12
|
+
const FilterStrapiGCFlyTours = require_logical_operators.createStrapiFilterSchema({
|
|
13
13
|
id: require_identifier.IdFilter,
|
|
14
14
|
documentId: require_identifier.DocumentIdFilter,
|
|
15
15
|
createdAt: require_identifier.DateTimeFilter,
|
|
@@ -19,17 +19,18 @@ const FilterStrapiGCFlyTourSnaps = require_logical_operators.createStrapiFilterS
|
|
|
19
19
|
slug: require_identifier.SlugFilter,
|
|
20
20
|
is_active: require_boolean.BooleanFilter,
|
|
21
21
|
is_hidden: require_boolean.BooleanFilter,
|
|
22
|
-
|
|
22
|
+
gcflytour_snaps: valibot.optional(valibot.lazy(() => FilterStrapiGCFlyTourSnaps)),
|
|
23
|
+
clients: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients))
|
|
23
24
|
});
|
|
24
|
-
const
|
|
25
|
+
const QueryStrapiSearchGCFlyTours = valibot.object({
|
|
25
26
|
page: require_pagination.VPage(),
|
|
26
27
|
size: require_pagination.VSize(),
|
|
27
28
|
sort: valibot.optional(require_sort.QuerySortValues),
|
|
28
|
-
f: valibot.optional(
|
|
29
|
+
f: valibot.optional(FilterStrapiGCFlyTours)
|
|
29
30
|
});
|
|
30
31
|
//#endregion
|
|
31
|
-
//#region src/entities/gcflytour/query.ts
|
|
32
|
-
const
|
|
32
|
+
//#region src/entities/gcflytour-snap/query.ts
|
|
33
|
+
const FilterStrapiGCFlyTourSnaps = require_logical_operators.createStrapiFilterSchema({
|
|
33
34
|
id: require_identifier.IdFilter,
|
|
34
35
|
documentId: require_identifier.DocumentIdFilter,
|
|
35
36
|
createdAt: require_identifier.DateTimeFilter,
|
|
@@ -39,14 +40,13 @@ const FilterStrapiGCFlyTours = require_logical_operators.createStrapiFilterSchem
|
|
|
39
40
|
slug: require_identifier.SlugFilter,
|
|
40
41
|
is_active: require_boolean.BooleanFilter,
|
|
41
42
|
is_hidden: require_boolean.BooleanFilter,
|
|
42
|
-
|
|
43
|
-
clients: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients))
|
|
43
|
+
gcflytour: valibot.optional(valibot.lazy(() => FilterStrapiGCFlyTours))
|
|
44
44
|
});
|
|
45
|
-
const
|
|
45
|
+
const QueryStrapiSearchGCFlyTourSnaps = valibot.object({
|
|
46
46
|
page: require_pagination.VPage(),
|
|
47
47
|
size: require_pagination.VSize(),
|
|
48
48
|
sort: valibot.optional(require_sort.QuerySortValues),
|
|
49
|
-
f: valibot.optional(
|
|
49
|
+
f: valibot.optional(FilterStrapiGCFlyTourSnaps)
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
Object.defineProperty(exports, "FilterStrapiGCFlyTourSnaps", {
|