@getcommunity/gc-validators 0.0.271-alpha.5 → 0.0.271-alpha.7
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 +19 -19
- package/dist/base/index.d.cts +3 -3
- package/dist/base/index.d.mts +4 -4
- package/dist/base/index.mjs +2 -2
- package/dist/components/blocks/index.cjs +16 -14
- package/dist/components/blocks/index.d.cts +2 -1322
- package/dist/components/blocks/index.d.mts +2 -1322
- package/dist/components/blocks/index.mjs +16 -14
- package/dist/components/brand/index.d.cts +1 -314
- package/dist/components/brand/index.d.mts +1 -314
- package/dist/components/forms/index.cjs +10 -8
- package/dist/components/forms/index.d.cts +6 -3
- package/dist/components/forms/index.d.mts +6 -3
- package/dist/components/forms/index.mjs +10 -8
- package/dist/components/shared/index.cjs +3 -1
- package/dist/components/shared/index.d.cts +1 -916
- package/dist/components/shared/index.d.mts +1 -916
- package/dist/components/shared/index.mjs +3 -1
- package/dist/components/slideshow/index.cjs +15 -13
- package/dist/components/slideshow/index.d.cts +7 -5
- package/dist/components/slideshow/index.d.mts +7 -5
- package/dist/components/slideshow/index.mjs +15 -13
- package/dist/components/utm/index.cjs +4 -2
- package/dist/components/utm/index.d.cts +1 -31
- package/dist/components/utm/index.d.mts +1 -31
- package/dist/components/utm/index.mjs +4 -2
- package/dist/document-BFPtEW5P.d.cts +17 -0
- package/dist/{document-Bpr9mbCs.d.mts → document-CH1Od98-.d.mts} +6 -6
- package/dist/document-Ccvtwgy_.cjs +26 -0
- package/dist/{document-Gx2Vrg_w.d.mts → document-CnKWB70Z.d.cts} +158 -104
- package/dist/{document-hEBlSep8.d.cts → document-CpsxYzbB.d.cts} +6 -6
- package/dist/document-CrnqUGRk.cjs +243 -0
- package/dist/document-Cx4Klv8A.mjs +128 -0
- package/dist/document-D060zybc.mjs +19 -0
- package/dist/document-DUHPXtbm.mjs +409 -0
- package/dist/document-DaICHS9G.cjs +17 -0
- package/dist/document-DamlTVm7.cjs +19 -0
- package/dist/document-DnA3Nwgh.mjs +12 -0
- package/dist/{document-BMxLOdrT.d.cts → document-Dr5-pbqu.d.mts} +158 -104
- package/dist/document-GovGVYRl.d.mts +17 -0
- package/dist/document-c3GNPelp.mjs +10 -0
- package/dist/document-zu6-DmQT.cjs +632 -0
- package/dist/entities/audit-log/index.cjs +2 -2
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +3 -3
- package/dist/entities/audit-log/index.mjs +1 -1
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +11 -65
- package/dist/entities/blog-post/index.d.cts +1 -1620
- package/dist/entities/blog-post/index.d.mts +1 -1620
- package/dist/entities/blog-post/index.mjs +1 -55
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +4 -11
- package/dist/entities/category/index.d.cts +3 -14
- package/dist/entities/category/index.d.mts +3 -14
- package/dist/entities/category/index.mjs +2 -9
- package/dist/entities/client/index.cjs +3 -3
- package/dist/entities/client/index.d.cts +1 -84
- package/dist/entities/client/index.d.mts +1 -84
- package/dist/entities/client/index.mjs +2 -2
- package/dist/entities/client-content-pillar/index.cjs +10 -20
- package/dist/entities/client-content-pillar/index.d.cts +1 -48
- package/dist/entities/client-content-pillar/index.d.mts +1 -48
- package/dist/entities/client-content-pillar/index.mjs +2 -12
- package/dist/entities/client-media-platform/index.cjs +10 -17
- package/dist/entities/client-media-platform/index.d.cts +1 -52
- package/dist/entities/client-media-platform/index.d.mts +1 -52
- package/dist/entities/client-media-platform/index.mjs +2 -9
- package/dist/entities/client-project/index.cjs +22 -129
- package/dist/entities/client-project/index.d.cts +1 -146
- package/dist/entities/client-project/index.d.mts +1 -146
- package/dist/entities/client-project/index.mjs +2 -109
- package/dist/entities/client-report/index.cjs +7 -18
- package/dist/entities/client-report/index.d.cts +1 -62
- package/dist/entities/client-report/index.d.mts +1 -62
- package/dist/entities/client-report/index.mjs +2 -13
- package/dist/entities/client-styleguide/index.cjs +7 -27
- package/dist/entities/client-styleguide/index.d.cts +1 -47
- package/dist/entities/client-styleguide/index.d.mts +1 -47
- package/dist/entities/client-styleguide/index.mjs +2 -22
- package/dist/entities/client-user/index.cjs +17 -53
- package/dist/entities/client-user/index.d.cts +1 -46
- package/dist/entities/client-user/index.d.mts +1 -46
- package/dist/entities/client-user/index.mjs +2 -38
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/content-pillar/index.cjs +5 -5
- package/dist/entities/content-pillar/index.d.cts +1 -49
- package/dist/entities/content-pillar/index.d.mts +1 -49
- package/dist/entities/content-pillar/index.mjs +2 -2
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.cjs +9 -19
- package/dist/entities/gcflytour/index.d.cts +1 -60
- package/dist/entities/gcflytour/index.d.mts +1 -60
- package/dist/entities/gcflytour/index.mjs +2 -12
- package/dist/entities/gcflytour-snap/index.cjs +7 -17
- package/dist/entities/gcflytour-snap/index.d.cts +1 -58
- package/dist/entities/gcflytour-snap/index.d.mts +1 -58
- package/dist/entities/gcflytour-snap/index.mjs +2 -12
- package/dist/entities/landing-page/index.d.mts +1 -1
- package/dist/entities/lead/index.cjs +2 -2
- package/dist/entities/lead/index.mjs +1 -1
- package/dist/entities/media-content-type/index.cjs +10 -23
- package/dist/entities/media-content-type/index.d.cts +3 -3
- package/dist/entities/media-content-type/index.d.mts +3 -3
- package/dist/entities/media-content-type/index.mjs +2 -15
- package/dist/entities/media-creative-format/index.cjs +7 -16
- package/dist/entities/media-creative-format/index.d.cts +3 -3
- package/dist/entities/media-creative-format/index.d.mts +3 -3
- package/dist/entities/media-creative-format/index.mjs +2 -11
- package/dist/entities/media-medium/index.cjs +7 -18
- package/dist/entities/media-medium/index.d.cts +3 -18
- package/dist/entities/media-medium/index.d.mts +3 -18
- package/dist/entities/media-medium/index.mjs +2 -13
- package/dist/entities/media-platform/index.cjs +13 -29
- package/dist/entities/media-platform/index.d.cts +1 -73
- package/dist/entities/media-platform/index.d.mts +1 -73
- package/dist/entities/media-platform/index.mjs +2 -18
- package/dist/entities/monday-workspace/index.cjs +7 -14
- package/dist/entities/monday-workspace/index.d.cts +1 -46
- package/dist/entities/monday-workspace/index.d.mts +1 -46
- package/dist/entities/monday-workspace/index.mjs +2 -9
- package/dist/entities/newsletter-signup/index.cjs +2 -2
- package/dist/entities/newsletter-signup/index.mjs +1 -1
- package/dist/entities/policy-page/index.d.mts +1 -1
- package/dist/entities/product/index.cjs +2 -21
- package/dist/entities/product/index.d.cts +1 -319
- package/dist/entities/product/index.d.mts +1 -319
- package/dist/entities/product/index.mjs +1 -18
- package/dist/entities/product-highlight/index.cjs +2 -21
- package/dist/entities/product-highlight/index.d.cts +1 -244
- package/dist/entities/product-highlight/index.d.mts +1 -244
- package/dist/entities/product-highlight/index.mjs +1 -18
- package/dist/entities/resume/index.cjs +2 -2
- package/dist/entities/resume/index.mjs +1 -1
- package/dist/entities/tag/index.cjs +4 -11
- package/dist/entities/tag/index.d.cts +3 -14
- package/dist/entities/tag/index.d.mts +3 -14
- package/dist/entities/tag/index.mjs +2 -9
- package/dist/entities/team-member/index.cjs +1 -1
- package/dist/entities/team-member/index.d.cts +1 -209
- package/dist/entities/team-member/index.d.mts +1 -209
- package/dist/entities/team-member/index.mjs +1 -1
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +4 -18
- package/dist/entities/trend/index.d.cts +1 -333
- package/dist/entities/trend/index.d.mts +1 -333
- package/dist/entities/trend/index.mjs +2 -16
- package/dist/entities/up-auth/index.d.cts +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-permission/index.cjs +2 -11
- package/dist/entities/up-permission/index.d.cts +1 -13
- package/dist/entities/up-permission/index.d.mts +1 -13
- package/dist/entities/up-permission/index.mjs +1 -8
- package/dist/entities/up-role/index.cjs +4 -27
- package/dist/entities/up-role/index.d.cts +1 -2
- package/dist/entities/up-role/index.d.mts +1 -2
- package/dist/entities/up-role/index.mjs +1 -22
- package/dist/entities/up-user/index.cjs +2 -13
- package/dist/entities/up-user/index.d.cts +1 -37
- package/dist/entities/up-user/index.d.mts +1 -37
- package/dist/entities/up-user/index.mjs +1 -12
- package/dist/entities/url-redirect/index.d.cts +2 -2
- package/dist/entities/url-redirect/index.d.mts +2 -2
- package/dist/entities/user-account/index.cjs +10 -18
- package/dist/entities/user-account/index.d.cts +2 -2
- package/dist/entities/user-account/index.d.mts +2 -2
- package/dist/entities/user-account/index.mjs +3 -11
- package/dist/entities/utm-link-builder/index.cjs +5 -5
- package/dist/entities/utm-link-builder/index.mjs +1 -1
- package/dist/entities/utm-tracking-link/index.cjs +7 -28
- package/dist/entities/utm-tracking-link/index.d.cts +1 -234
- package/dist/entities/utm-tracking-link/index.d.mts +1 -234
- package/dist/entities/utm-tracking-link/index.mjs +2 -23
- package/dist/index-22laZYwt.d.mts +34 -0
- package/dist/{index-Bht1Jd5l.d.mts → index-B-CQQO_E.d.mts} +59 -140
- package/dist/index-BCvKbd4C.d.cts +940 -0
- package/dist/index-BQ_nheAt.d.mts +1324 -0
- package/dist/index-Cb8BnFcL.d.cts +4731 -0
- package/dist/index-Cpbdnd9q.d.cts +317 -0
- package/dist/index-D0PCjo7e.d.mts +940 -0
- package/dist/index-DB45mxlG.d.mts +921 -0
- package/dist/index-Df7ixqwa.d.cts +1324 -0
- package/dist/index-GUYqdxFh.d.mts +4731 -0
- package/dist/index-NBz_zMvQ.d.cts +34 -0
- package/dist/index-Z_fJ28vW.d.mts +317 -0
- package/dist/index-_eItTyFr.d.cts +921 -0
- package/dist/{index-ZBDWYTfn.d.cts → index-j2pTtcNX.d.cts} +58 -139
- package/dist/media-upload-BEfESsVb.d.mts +140 -0
- package/dist/media-upload-D-nP8FR1.d.cts +140 -0
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
- package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
- package/dist/{query.schema-BOn5Kk_p.d.mts → query-Cyv28Ggi.d.cts} +1 -1
- package/dist/{query.schema-CItKlb0x.d.cts → query-HXwJctNd.d.mts} +1 -1
- package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
- package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
- package/dist/utilities/index.d.cts +2 -4
- package/dist/utilities/index.d.mts +2 -4
- package/package.json +1 -1
- package/dist/document-AkydjorI.d.cts +0 -12219
- package/dist/document-BAzLIprH.d.mts +0 -100
- package/dist/document-BK1ASowb.d.cts +0 -17
- package/dist/document-BNoXPGwF.d.mts +0 -27
- package/dist/document-B_pJW777.d.mts +0 -30
- package/dist/document-Bd2AyLs8.d.mts +0 -16
- package/dist/document-BezYxNmb.d.cts +0 -16
- package/dist/document-Bj7SRTOn.d.cts +0 -18
- package/dist/document-Bo869pZx.d.mts +0 -18
- package/dist/document-Bs8c1mok.d.cts +0 -15
- package/dist/document-C0c7azOe.d.mts +0 -434
- package/dist/document-CTTDXzOF.mjs +0 -13
- package/dist/document-CUl_Ys6-.mjs +0 -23
- package/dist/document-CWYzG60q.d.cts +0 -19
- package/dist/document-Ccszj8lR.cjs +0 -20
- package/dist/document-CjNHI7Eb.d.cts +0 -27
- package/dist/document-Cu_HUDC5.mjs +0 -51
- package/dist/document-D-KvyEb5.d.cts +0 -238
- package/dist/document-D2nLVGig.d.mts +0 -238
- package/dist/document-D5yDIDIx.d.mts +0 -15
- package/dist/document-D73dqRle.d.cts +0 -19
- package/dist/document-DA6YVZz-.d.cts +0 -100
- package/dist/document-DJ0YiVte.d.cts +0 -30
- package/dist/document-DMHIUE3J.d.mts +0 -17
- package/dist/document-DN3g0EFx.d.cts +0 -434
- package/dist/document-DYzRVV1C.d.mts +0 -16
- package/dist/document-D_ZMbzn6.d.cts +0 -18
- package/dist/document-DeoRGh7p.d.mts +0 -19
- package/dist/document-DsIPBTG8.cjs +0 -30
- package/dist/document-DsSaMVGb.cjs +0 -106
- package/dist/document-DsT_qkhs.d.mts +0 -12219
- package/dist/document-IIJpsOIO.d.cts +0 -16
- package/dist/document-WHS8GHY5.d.mts +0 -18
- package/dist/document-dqrWptdY.d.cts +0 -244
- package/dist/document-si7GYS5g.d.mts +0 -19
- package/dist/document-vq-7rcU5.d.mts +0 -244
- package/dist/fields-BQHSYj70.d.cts +0 -7
- package/dist/fields-qx-5saY5.d.mts +0 -7
- package/dist/index-BI8tN-QZ.d.mts +0 -99
- package/dist/index-DpYYzY_9.d.cts +0 -99
- package/dist/response-C-7nyNVD.d.mts +0 -57
- package/dist/response-c6SgLvi9.d.cts +0 -57
- /package/dist/{index-D4Mm4D2d.d.cts → index-COCNx5sv.d.cts} +0 -0
- /package/dist/{json-CqAaKeHA.d.mts → json-p1Yf7cEr.d.mts} +0 -0
|
@@ -1,50 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
//#region src/entities/content-pillar/constants.d.ts
|
|
5
|
-
declare const LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = 100;
|
|
6
|
-
declare const LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE = 1000;
|
|
7
|
-
declare const CONTENT_PILLAR_SORT_KEYS: readonly ["id", "title", "slug", "createdAt", "updatedAt"];
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/entities/content-pillar/fields.d.ts
|
|
10
|
-
declare const QuerySortContentPillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], 5, undefined>]>, undefined>;
|
|
11
|
-
type QuerySortContentPillars = v.InferOutput<typeof QuerySortContentPillars>;
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/entities/content-pillar/mutation.d.ts
|
|
14
|
-
declare const CreateContentPillarDocument: v.ObjectSchema<{
|
|
15
|
-
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
17
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
18
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
19
|
-
}, undefined>;
|
|
20
|
-
type CreateContentPillarDocument = v.InferOutput<typeof CreateContentPillarDocument>;
|
|
21
|
-
declare const UpdateContentPillarDocument: v.ObjectSchema<{
|
|
22
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
23
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
24
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
25
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
26
|
-
}, undefined>;
|
|
27
|
-
type UpdateContentPillarDocument = v.InferOutput<typeof UpdateContentPillarDocument>;
|
|
28
|
-
declare const UpdateContentPillarDocumentRequest: v.ObjectSchema<{
|
|
29
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
30
|
-
readonly data: v.ObjectSchema<{
|
|
31
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
32
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
33
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
34
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
35
|
-
}, undefined>;
|
|
36
|
-
}, undefined>;
|
|
37
|
-
type UpdateContentPillarDocumentRequest = v.InferOutput<typeof UpdateContentPillarDocumentRequest>;
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/entities/content-pillar/query.d.ts
|
|
40
|
-
declare const QueryStrapiSearchContentPillars: v.ObjectSchema<{
|
|
41
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
42
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
43
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
|
-
readonly clients: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
46
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], 5, undefined>]>, undefined>;
|
|
47
|
-
}, undefined>;
|
|
48
|
-
type QueryStrapiSearchContentPillars = v.InferOutput<typeof QueryStrapiSearchContentPillars>;
|
|
49
|
-
//#endregion
|
|
1
|
+
import { B as UpdateContentPillarDocumentRequest, G as LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, H as ContentPillarDocument, L as QueryStrapiSearchContentPillars, R as CreateContentPillarDocument, U as CONTENT_PILLAR_SORT_KEYS, V as QuerySortContentPillars, W as LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, z as UpdateContentPillarDocument } from "../../index-Cb8BnFcL.cjs";
|
|
50
2
|
export { CONTENT_PILLAR_SORT_KEYS, ContentPillarDocument, CreateContentPillarDocument, LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, QuerySortContentPillars, QueryStrapiSearchContentPillars, UpdateContentPillarDocument, UpdateContentPillarDocumentRequest };
|
|
@@ -1,50 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
//#region src/entities/content-pillar/constants.d.ts
|
|
5
|
-
declare const LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = 100;
|
|
6
|
-
declare const LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE = 1000;
|
|
7
|
-
declare const CONTENT_PILLAR_SORT_KEYS: readonly ["id", "title", "slug", "createdAt", "updatedAt"];
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/entities/content-pillar/fields.d.ts
|
|
10
|
-
declare const QuerySortContentPillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], 5, undefined>]>, undefined>;
|
|
11
|
-
type QuerySortContentPillars = v.InferOutput<typeof QuerySortContentPillars>;
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/entities/content-pillar/mutation.d.ts
|
|
14
|
-
declare const CreateContentPillarDocument: v.ObjectSchema<{
|
|
15
|
-
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
17
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
18
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
19
|
-
}, undefined>;
|
|
20
|
-
type CreateContentPillarDocument = v.InferOutput<typeof CreateContentPillarDocument>;
|
|
21
|
-
declare const UpdateContentPillarDocument: v.ObjectSchema<{
|
|
22
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
23
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
24
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
25
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
26
|
-
}, undefined>;
|
|
27
|
-
type UpdateContentPillarDocument = v.InferOutput<typeof UpdateContentPillarDocument>;
|
|
28
|
-
declare const UpdateContentPillarDocumentRequest: v.ObjectSchema<{
|
|
29
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
30
|
-
readonly data: v.ObjectSchema<{
|
|
31
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
32
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
33
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
34
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
35
|
-
}, undefined>;
|
|
36
|
-
}, undefined>;
|
|
37
|
-
type UpdateContentPillarDocumentRequest = v.InferOutput<typeof UpdateContentPillarDocumentRequest>;
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/entities/content-pillar/query.d.ts
|
|
40
|
-
declare const QueryStrapiSearchContentPillars: v.ObjectSchema<{
|
|
41
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
42
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
43
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
|
-
readonly clients: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
46
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], 5, undefined>]>, undefined>;
|
|
47
|
-
}, undefined>;
|
|
48
|
-
type QueryStrapiSearchContentPillars = v.InferOutput<typeof QueryStrapiSearchContentPillars>;
|
|
49
|
-
//#endregion
|
|
1
|
+
import { B as UpdateContentPillarDocumentRequest, G as LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, H as ContentPillarDocument, L as QueryStrapiSearchContentPillars, R as CreateContentPillarDocument, U as CONTENT_PILLAR_SORT_KEYS, V as QuerySortContentPillars, W as LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, z as UpdateContentPillarDocument } from "../../index-GUYqdxFh.mjs";
|
|
50
2
|
export { CONTENT_PILLAR_SORT_KEYS, ContentPillarDocument, CreateContentPillarDocument, LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, QuerySortContentPillars, QueryStrapiSearchContentPillars, UpdateContentPillarDocument, UpdateContentPillarDocumentRequest };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
|
|
2
2
|
import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
3
|
-
import { a as SAssociateOneEntity, i as SAssociateManyEntities } from "../../
|
|
4
|
-
import {
|
|
3
|
+
import { a as SAssociateOneEntity, i as SAssociateManyEntities } from "../../relationships-BosK0kyG.mjs";
|
|
4
|
+
import { n as ContentPillarDocument } from "../../document-DUHPXtbm.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
//#region src/entities/content-pillar/constants.ts
|
|
7
7
|
const LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
3
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
5
4
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
6
|
-
const
|
|
5
|
+
const require_relationships = require("../../relationships-CWVJebkQ.cjs");
|
|
6
|
+
const require_document = require("../../document-zu6-DmQT.cjs");
|
|
7
7
|
let valibot = require("valibot");
|
|
8
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
9
|
//#region src/entities/gcflytour/constants.ts
|
|
@@ -19,16 +19,6 @@ const GCFLYTOUR_SORT_KEYS = [
|
|
|
19
19
|
"updatedAt"
|
|
20
20
|
];
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region src/entities/gcflytour/document.ts
|
|
23
|
-
const GCFlyTourDocument = valibot.object({
|
|
24
|
-
...require_document.BaseDocument.entries,
|
|
25
|
-
title: valibot.string(),
|
|
26
|
-
slug: valibot.string(),
|
|
27
|
-
description: valibot.nullable(valibot.string()),
|
|
28
|
-
is_active: valibot.boolean(),
|
|
29
|
-
is_hidden: valibot.boolean()
|
|
30
|
-
});
|
|
31
|
-
//#endregion
|
|
32
22
|
//#region src/entities/gcflytour/fields.ts
|
|
33
23
|
const QuerySortGCFlyTours = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(GCFLYTOUR_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(GCFLYTOUR_SORT_KEYS.length)));
|
|
34
24
|
//#endregion
|
|
@@ -39,8 +29,8 @@ const CreateGCFlyTourDocument = valibot.object({
|
|
|
39
29
|
description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
|
|
40
30
|
is_active: valibot.boolean(),
|
|
41
31
|
is_hidden: valibot.boolean(),
|
|
42
|
-
clients: valibot.optional(
|
|
43
|
-
gcflytour_snaps: valibot.optional(
|
|
32
|
+
clients: valibot.optional(require_relationships.SAssociateManyEntities),
|
|
33
|
+
gcflytour_snaps: valibot.optional(require_relationships.SAssociateManyEntities)
|
|
44
34
|
});
|
|
45
35
|
const UpdateGCFlyTourDocument = valibot.object({
|
|
46
36
|
title: valibot.optional(require_validators.VStringMinMax(1, 255)),
|
|
@@ -48,11 +38,11 @@ const UpdateGCFlyTourDocument = valibot.object({
|
|
|
48
38
|
description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
|
|
49
39
|
is_active: valibot.optional(valibot.boolean()),
|
|
50
40
|
is_hidden: valibot.optional(valibot.boolean()),
|
|
51
|
-
clients: valibot.optional(
|
|
52
|
-
gcflytour_snaps: valibot.optional(
|
|
41
|
+
clients: valibot.optional(require_relationships.SAssociateManyEntities),
|
|
42
|
+
gcflytour_snaps: valibot.optional(require_relationships.SAssociateManyEntities)
|
|
53
43
|
});
|
|
54
44
|
const UpdateGCFlyTourDocumentRequest = valibot.object({
|
|
55
|
-
documentId:
|
|
45
|
+
documentId: require_relationships.SAssociateOneEntity,
|
|
56
46
|
data: UpdateGCFlyTourDocument
|
|
57
47
|
});
|
|
58
48
|
//#endregion
|
|
@@ -64,13 +54,13 @@ const QueryStrapiSearchGCFlyTours = valibot.object({
|
|
|
64
54
|
slug: valibot.optional(require_validators.VStringMax()),
|
|
65
55
|
is_active: valibot.optional(valibot.boolean()),
|
|
66
56
|
is_hidden: valibot.optional(valibot.boolean()),
|
|
67
|
-
clients: valibot.optional(
|
|
57
|
+
clients: valibot.optional(require_relationships.SQueryManyEntities),
|
|
68
58
|
sort: QuerySortGCFlyTours
|
|
69
59
|
});
|
|
70
60
|
//#endregion
|
|
71
61
|
exports.CreateGCFlyTourDocument = CreateGCFlyTourDocument;
|
|
72
62
|
exports.GCFLYTOUR_SORT_KEYS = GCFLYTOUR_SORT_KEYS;
|
|
73
|
-
exports.GCFlyTourDocument = GCFlyTourDocument;
|
|
63
|
+
exports.GCFlyTourDocument = require_document.GCFlyTourDocument;
|
|
74
64
|
exports.LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE = LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE;
|
|
75
65
|
exports.LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE = LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE;
|
|
76
66
|
exports.QuerySortGCFlyTours = QuerySortGCFlyTours;
|
|
@@ -1,61 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
//#region src/entities/gcflytour/constants.d.ts
|
|
5
|
-
declare const LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE = 100;
|
|
6
|
-
declare const LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE = 1000;
|
|
7
|
-
declare const GCFLYTOUR_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_hidden", "createdAt", "updatedAt"];
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/entities/gcflytour/fields.d.ts
|
|
10
|
-
declare const QuerySortGCFlyTours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], 7, undefined>]>, undefined>;
|
|
11
|
-
type QuerySortGCFlyTours = v.InferOutput<typeof QuerySortGCFlyTours>;
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/entities/gcflytour/mutation.d.ts
|
|
14
|
-
declare const CreateGCFlyTourDocument: v.ObjectSchema<{
|
|
15
|
-
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
17
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
18
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
19
|
-
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
20
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
21
|
-
readonly gcflytour_snaps: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
22
|
-
}, undefined>;
|
|
23
|
-
type CreateGCFlyTourDocument = v.InferOutput<typeof CreateGCFlyTourDocument>;
|
|
24
|
-
declare const UpdateGCFlyTourDocument: v.ObjectSchema<{
|
|
25
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
27
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
28
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
29
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
30
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
31
|
-
readonly gcflytour_snaps: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
32
|
-
}, undefined>;
|
|
33
|
-
type UpdateGCFlyTourDocument = v.InferOutput<typeof UpdateGCFlyTourDocument>;
|
|
34
|
-
declare const UpdateGCFlyTourDocumentRequest: v.ObjectSchema<{
|
|
35
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
36
|
-
readonly data: v.ObjectSchema<{
|
|
37
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
38
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
39
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
40
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
41
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
42
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
43
|
-
readonly gcflytour_snaps: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
44
|
-
}, undefined>;
|
|
45
|
-
}, undefined>;
|
|
46
|
-
type UpdateGCFlyTourDocumentRequest = v.InferOutput<typeof UpdateGCFlyTourDocumentRequest>;
|
|
47
|
-
//#endregion
|
|
48
|
-
//#region src/entities/gcflytour/query.d.ts
|
|
49
|
-
declare const QueryStrapiSearchGCFlyTours: v.ObjectSchema<{
|
|
50
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
51
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
52
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
53
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
54
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
55
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
56
|
-
readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
57
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], 7, undefined>]>, undefined>;
|
|
58
|
-
}, undefined>;
|
|
59
|
-
type QueryStrapiSearchGCFlyTours = v.InferOutput<typeof QueryStrapiSearchGCFlyTours>;
|
|
60
|
-
//#endregion
|
|
1
|
+
import { $ as GCFLYTOUR_SORT_KEYS, J as UpdateGCFlyTourDocument, K as QueryStrapiSearchGCFlyTours, X as QuerySortGCFlyTours, Y as UpdateGCFlyTourDocumentRequest, Z as GCFlyTourDocument, et as LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE, q as CreateGCFlyTourDocument, tt as LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE } from "../../index-Cb8BnFcL.cjs";
|
|
61
2
|
export { CreateGCFlyTourDocument, GCFLYTOUR_SORT_KEYS, GCFlyTourDocument, LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE, LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE, QuerySortGCFlyTours, QueryStrapiSearchGCFlyTours, UpdateGCFlyTourDocument, UpdateGCFlyTourDocumentRequest };
|
|
@@ -1,61 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
//#region src/entities/gcflytour/constants.d.ts
|
|
5
|
-
declare const LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE = 100;
|
|
6
|
-
declare const LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE = 1000;
|
|
7
|
-
declare const GCFLYTOUR_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_hidden", "createdAt", "updatedAt"];
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/entities/gcflytour/fields.d.ts
|
|
10
|
-
declare const QuerySortGCFlyTours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], 7, undefined>]>, undefined>;
|
|
11
|
-
type QuerySortGCFlyTours = v.InferOutput<typeof QuerySortGCFlyTours>;
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/entities/gcflytour/mutation.d.ts
|
|
14
|
-
declare const CreateGCFlyTourDocument: v.ObjectSchema<{
|
|
15
|
-
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
17
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
18
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
19
|
-
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
20
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
21
|
-
readonly gcflytour_snaps: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
22
|
-
}, undefined>;
|
|
23
|
-
type CreateGCFlyTourDocument = v.InferOutput<typeof CreateGCFlyTourDocument>;
|
|
24
|
-
declare const UpdateGCFlyTourDocument: v.ObjectSchema<{
|
|
25
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
27
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
28
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
29
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
30
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
31
|
-
readonly gcflytour_snaps: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
32
|
-
}, undefined>;
|
|
33
|
-
type UpdateGCFlyTourDocument = v.InferOutput<typeof UpdateGCFlyTourDocument>;
|
|
34
|
-
declare const UpdateGCFlyTourDocumentRequest: v.ObjectSchema<{
|
|
35
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
36
|
-
readonly data: v.ObjectSchema<{
|
|
37
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
38
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
39
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
40
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
41
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
42
|
-
readonly clients: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
43
|
-
readonly gcflytour_snaps: v.OptionalSchema<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.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
44
|
-
}, undefined>;
|
|
45
|
-
}, undefined>;
|
|
46
|
-
type UpdateGCFlyTourDocumentRequest = v.InferOutput<typeof UpdateGCFlyTourDocumentRequest>;
|
|
47
|
-
//#endregion
|
|
48
|
-
//#region src/entities/gcflytour/query.d.ts
|
|
49
|
-
declare const QueryStrapiSearchGCFlyTours: v.ObjectSchema<{
|
|
50
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
51
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
52
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
53
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
54
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
55
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
56
|
-
readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
57
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], 7, undefined>]>, undefined>;
|
|
58
|
-
}, undefined>;
|
|
59
|
-
type QueryStrapiSearchGCFlyTours = v.InferOutput<typeof QueryStrapiSearchGCFlyTours>;
|
|
60
|
-
//#endregion
|
|
1
|
+
import { $ as GCFLYTOUR_SORT_KEYS, J as UpdateGCFlyTourDocument, K as QueryStrapiSearchGCFlyTours, X as QuerySortGCFlyTours, Y as UpdateGCFlyTourDocumentRequest, Z as GCFlyTourDocument, et as LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE, q as CreateGCFlyTourDocument, tt as LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE } from "../../index-GUYqdxFh.mjs";
|
|
61
2
|
export { CreateGCFlyTourDocument, GCFLYTOUR_SORT_KEYS, GCFlyTourDocument, LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE, LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE, QuerySortGCFlyTours, QueryStrapiSearchGCFlyTours, UpdateGCFlyTourDocument, UpdateGCFlyTourDocumentRequest };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
2
1
|
import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
|
|
3
2
|
import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
4
|
-
import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../
|
|
3
|
+
import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../relationships-BosK0kyG.mjs";
|
|
4
|
+
import { f as GCFlyTourDocument } from "../../document-DUHPXtbm.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
//#region src/entities/gcflytour/constants.ts
|
|
7
7
|
const LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -16,16 +16,6 @@ const GCFLYTOUR_SORT_KEYS = [
|
|
|
16
16
|
"updatedAt"
|
|
17
17
|
];
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region src/entities/gcflytour/document.ts
|
|
20
|
-
const GCFlyTourDocument = v.object({
|
|
21
|
-
...BaseDocument.entries,
|
|
22
|
-
title: v.string(),
|
|
23
|
-
slug: v.string(),
|
|
24
|
-
description: v.nullable(v.string()),
|
|
25
|
-
is_active: v.boolean(),
|
|
26
|
-
is_hidden: v.boolean()
|
|
27
|
-
});
|
|
28
|
-
//#endregion
|
|
29
19
|
//#region src/entities/gcflytour/fields.ts
|
|
30
20
|
const QuerySortGCFlyTours = v.optional(v.pipe(v.array(v.picklist(GCFLYTOUR_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(GCFLYTOUR_SORT_KEYS.length)));
|
|
31
21
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
3
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
5
4
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
6
|
-
const
|
|
5
|
+
const require_relationships = require("../../relationships-CWVJebkQ.cjs");
|
|
6
|
+
const require_document = require("../../document-zu6-DmQT.cjs");
|
|
7
7
|
let valibot = require("valibot");
|
|
8
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
9
|
//#region src/entities/gcflytour-snap/constants.ts
|
|
@@ -19,16 +19,6 @@ const GCFLYTOUR_SNAP_SORT_KEYS = [
|
|
|
19
19
|
"updatedAt"
|
|
20
20
|
];
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region src/entities/gcflytour-snap/document.ts
|
|
23
|
-
const GCFlyTourSnapDocument = valibot.object({
|
|
24
|
-
...require_document.BaseDocument.entries,
|
|
25
|
-
title: valibot.string(),
|
|
26
|
-
slug: valibot.string(),
|
|
27
|
-
description: valibot.nullable(valibot.string()),
|
|
28
|
-
is_active: valibot.boolean(),
|
|
29
|
-
is_hidden: valibot.boolean()
|
|
30
|
-
});
|
|
31
|
-
//#endregion
|
|
32
22
|
//#region src/entities/gcflytour-snap/fields.ts
|
|
33
23
|
const QuerySortGCFlyTourSnaps = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(GCFLYTOUR_SNAP_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(GCFLYTOUR_SNAP_SORT_KEYS.length)));
|
|
34
24
|
//#endregion
|
|
@@ -39,7 +29,7 @@ const CreateGCFlyTourSnapDocument = valibot.object({
|
|
|
39
29
|
description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
|
|
40
30
|
is_active: valibot.boolean(),
|
|
41
31
|
is_hidden: valibot.boolean(),
|
|
42
|
-
gcflytour: valibot.optional(
|
|
32
|
+
gcflytour: valibot.optional(require_relationships.SAssociateOneEntity)
|
|
43
33
|
});
|
|
44
34
|
const UpdateGCFlyTourSnapDocument = valibot.object({
|
|
45
35
|
title: valibot.optional(require_validators.VStringMinMax(1, 255)),
|
|
@@ -47,10 +37,10 @@ const UpdateGCFlyTourSnapDocument = valibot.object({
|
|
|
47
37
|
description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
|
|
48
38
|
is_active: valibot.optional(valibot.boolean()),
|
|
49
39
|
is_hidden: valibot.optional(valibot.boolean()),
|
|
50
|
-
gcflytour: valibot.optional(
|
|
40
|
+
gcflytour: valibot.optional(require_relationships.SAssociateOneEntity)
|
|
51
41
|
});
|
|
52
42
|
const UpdateGCFlyTourSnapDocumentRequest = valibot.object({
|
|
53
|
-
documentId:
|
|
43
|
+
documentId: require_relationships.SAssociateOneEntity,
|
|
54
44
|
data: UpdateGCFlyTourSnapDocument
|
|
55
45
|
});
|
|
56
46
|
//#endregion
|
|
@@ -63,13 +53,13 @@ const QueryStrapiSearchGCFlyTourSnaps = valibot.object({
|
|
|
63
53
|
is_active: valibot.optional(valibot.boolean()),
|
|
64
54
|
is_hidden: valibot.optional(valibot.boolean()),
|
|
65
55
|
gcflytour: valibot.optional(require_validators.VStringMinMax(1, 255)),
|
|
66
|
-
gcflytours: valibot.optional(
|
|
56
|
+
gcflytours: valibot.optional(require_relationships.SQueryManyEntities),
|
|
67
57
|
sort: QuerySortGCFlyTourSnaps
|
|
68
58
|
});
|
|
69
59
|
//#endregion
|
|
70
60
|
exports.CreateGCFlyTourSnapDocument = CreateGCFlyTourSnapDocument;
|
|
71
61
|
exports.GCFLYTOUR_SNAP_SORT_KEYS = GCFLYTOUR_SNAP_SORT_KEYS;
|
|
72
|
-
exports.GCFlyTourSnapDocument = GCFlyTourSnapDocument;
|
|
62
|
+
exports.GCFlyTourSnapDocument = require_document.GCFlyTourSnapDocument;
|
|
73
63
|
exports.LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE = LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE;
|
|
74
64
|
exports.LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE = LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE;
|
|
75
65
|
exports.QuerySortGCFlyTourSnaps = QuerySortGCFlyTourSnaps;
|
|
@@ -1,59 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
//#region src/entities/gcflytour-snap/constants.d.ts
|
|
5
|
-
declare const LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE = 100;
|
|
6
|
-
declare const LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE = 1000;
|
|
7
|
-
declare const GCFLYTOUR_SNAP_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_hidden", "createdAt", "updatedAt"];
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/entities/gcflytour-snap/fields.d.ts
|
|
10
|
-
declare const QuerySortGCFlyTourSnaps: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], 7, undefined>]>, undefined>;
|
|
11
|
-
type QuerySortGCFlyTourSnaps = v.InferOutput<typeof QuerySortGCFlyTourSnaps>;
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/entities/gcflytour-snap/mutation.d.ts
|
|
14
|
-
declare const CreateGCFlyTourSnapDocument: v.ObjectSchema<{
|
|
15
|
-
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
17
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
18
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
19
|
-
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
20
|
-
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
-
}, undefined>;
|
|
22
|
-
type CreateGCFlyTourSnapDocument = v.InferOutput<typeof CreateGCFlyTourSnapDocument>;
|
|
23
|
-
declare const UpdateGCFlyTourSnapDocument: v.ObjectSchema<{
|
|
24
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
25
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
26
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
27
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
28
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
29
|
-
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
30
|
-
}, undefined>;
|
|
31
|
-
type UpdateGCFlyTourSnapDocument = v.InferOutput<typeof UpdateGCFlyTourSnapDocument>;
|
|
32
|
-
declare const UpdateGCFlyTourSnapDocumentRequest: v.ObjectSchema<{
|
|
33
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
34
|
-
readonly data: v.ObjectSchema<{
|
|
35
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
37
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
38
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
39
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
40
|
-
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
41
|
-
}, undefined>;
|
|
42
|
-
}, undefined>;
|
|
43
|
-
type UpdateGCFlyTourSnapDocumentRequest = v.InferOutput<typeof UpdateGCFlyTourSnapDocumentRequest>;
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region src/entities/gcflytour-snap/query.d.ts
|
|
46
|
-
declare const QueryStrapiSearchGCFlyTourSnaps: v.ObjectSchema<{
|
|
47
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
48
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
49
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
52
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
53
|
-
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
54
|
-
readonly gcflytours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
55
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], 7, undefined>]>, undefined>;
|
|
56
|
-
}, undefined>;
|
|
57
|
-
type QueryStrapiSearchGCFlyTourSnaps = v.InferOutput<typeof QueryStrapiSearchGCFlyTourSnaps>;
|
|
58
|
-
//#endregion
|
|
1
|
+
import { Q as GCFlyTourSnapDocument, _ as UpdateGCFlyTourSnapDocumentRequest, b as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, g as UpdateGCFlyTourSnapDocument, h as CreateGCFlyTourSnapDocument, m as QueryStrapiSearchGCFlyTourSnaps, v as QuerySortGCFlyTourSnaps, x as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, y as GCFLYTOUR_SNAP_SORT_KEYS } from "../../index-Cb8BnFcL.cjs";
|
|
59
2
|
export { CreateGCFlyTourSnapDocument, GCFLYTOUR_SNAP_SORT_KEYS, GCFlyTourSnapDocument, LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, QuerySortGCFlyTourSnaps, QueryStrapiSearchGCFlyTourSnaps, UpdateGCFlyTourSnapDocument, UpdateGCFlyTourSnapDocumentRequest };
|
|
@@ -1,59 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
//#region src/entities/gcflytour-snap/constants.d.ts
|
|
5
|
-
declare const LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE = 100;
|
|
6
|
-
declare const LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE = 1000;
|
|
7
|
-
declare const GCFLYTOUR_SNAP_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_hidden", "createdAt", "updatedAt"];
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/entities/gcflytour-snap/fields.d.ts
|
|
10
|
-
declare const QuerySortGCFlyTourSnaps: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], 7, undefined>]>, undefined>;
|
|
11
|
-
type QuerySortGCFlyTourSnaps = v.InferOutput<typeof QuerySortGCFlyTourSnaps>;
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/entities/gcflytour-snap/mutation.d.ts
|
|
14
|
-
declare const CreateGCFlyTourSnapDocument: v.ObjectSchema<{
|
|
15
|
-
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
17
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
18
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
19
|
-
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
20
|
-
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
-
}, undefined>;
|
|
22
|
-
type CreateGCFlyTourSnapDocument = v.InferOutput<typeof CreateGCFlyTourSnapDocument>;
|
|
23
|
-
declare const UpdateGCFlyTourSnapDocument: v.ObjectSchema<{
|
|
24
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
25
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
26
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
27
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
28
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
29
|
-
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
30
|
-
}, undefined>;
|
|
31
|
-
type UpdateGCFlyTourSnapDocument = v.InferOutput<typeof UpdateGCFlyTourSnapDocument>;
|
|
32
|
-
declare const UpdateGCFlyTourSnapDocumentRequest: v.ObjectSchema<{
|
|
33
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
34
|
-
readonly data: v.ObjectSchema<{
|
|
35
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
37
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
38
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
39
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
40
|
-
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
41
|
-
}, undefined>;
|
|
42
|
-
}, undefined>;
|
|
43
|
-
type UpdateGCFlyTourSnapDocumentRequest = v.InferOutput<typeof UpdateGCFlyTourSnapDocumentRequest>;
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region src/entities/gcflytour-snap/query.d.ts
|
|
46
|
-
declare const QueryStrapiSearchGCFlyTourSnaps: v.ObjectSchema<{
|
|
47
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
48
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
49
|
-
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
-
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
52
|
-
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
53
|
-
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
54
|
-
readonly gcflytours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
55
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_hidden:ASC" | "is_hidden:DESC")[], 7, undefined>]>, undefined>;
|
|
56
|
-
}, undefined>;
|
|
57
|
-
type QueryStrapiSearchGCFlyTourSnaps = v.InferOutput<typeof QueryStrapiSearchGCFlyTourSnaps>;
|
|
58
|
-
//#endregion
|
|
1
|
+
import { Q as GCFlyTourSnapDocument, _ as UpdateGCFlyTourSnapDocumentRequest, b as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, g as UpdateGCFlyTourSnapDocument, h as CreateGCFlyTourSnapDocument, m as QueryStrapiSearchGCFlyTourSnaps, v as QuerySortGCFlyTourSnaps, x as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, y as GCFLYTOUR_SNAP_SORT_KEYS } from "../../index-GUYqdxFh.mjs";
|
|
59
2
|
export { CreateGCFlyTourSnapDocument, GCFLYTOUR_SNAP_SORT_KEYS, GCFlyTourSnapDocument, LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, QuerySortGCFlyTourSnaps, QueryStrapiSearchGCFlyTourSnaps, UpdateGCFlyTourSnapDocument, UpdateGCFlyTourSnapDocumentRequest };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
2
1
|
import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
|
|
3
2
|
import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
4
|
-
import { a as SAssociateOneEntity, s as SQueryManyEntities } from "../../
|
|
3
|
+
import { a as SAssociateOneEntity, s as SQueryManyEntities } from "../../relationships-BosK0kyG.mjs";
|
|
4
|
+
import { p as GCFlyTourSnapDocument } from "../../document-DUHPXtbm.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
//#region src/entities/gcflytour-snap/constants.ts
|
|
7
7
|
const LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -16,16 +16,6 @@ const GCFLYTOUR_SNAP_SORT_KEYS = [
|
|
|
16
16
|
"updatedAt"
|
|
17
17
|
];
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region src/entities/gcflytour-snap/document.ts
|
|
20
|
-
const GCFlyTourSnapDocument = v.object({
|
|
21
|
-
...BaseDocument.entries,
|
|
22
|
-
title: v.string(),
|
|
23
|
-
slug: v.string(),
|
|
24
|
-
description: v.nullable(v.string()),
|
|
25
|
-
is_active: v.boolean(),
|
|
26
|
-
is_hidden: v.boolean()
|
|
27
|
-
});
|
|
28
|
-
//#endregion
|
|
29
19
|
//#region src/entities/gcflytour-snap/fields.ts
|
|
30
20
|
const QuerySortGCFlyTourSnaps = v.optional(v.pipe(v.array(v.picklist(GCFLYTOUR_SNAP_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(GCFLYTOUR_SNAP_SORT_KEYS.length)));
|
|
31
21
|
//#endregion
|