@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,245 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/entities/product-highlight/constants.d.ts
|
|
4
|
-
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
5
|
-
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/entities/product-highlight/document.d.ts
|
|
8
|
-
declare const ProductHighlightDocument: v.ObjectSchema<{
|
|
9
|
-
readonly title: v.StringSchema<undefined>;
|
|
10
|
-
readonly title_line_1: v.StringSchema<undefined>;
|
|
11
|
-
readonly title_line_2: v.StringSchema<undefined>;
|
|
12
|
-
readonly introduction: v.StringSchema<undefined>;
|
|
13
|
-
readonly highlight: v.OptionalSchema<v.ObjectSchema<{
|
|
14
|
-
readonly fullscreen_type: v.PicklistSchema<readonly ["zoomable-image", "video", "html", "website"], undefined>;
|
|
15
|
-
readonly fullscreen_img: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
16
|
-
readonly name: v.StringSchema<undefined>;
|
|
17
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
-
readonly width: v.NumberSchema<undefined>;
|
|
20
|
-
readonly height: v.NumberSchema<undefined>;
|
|
21
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
22
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
23
|
-
readonly ext: v.StringSchema<undefined>;
|
|
24
|
-
readonly url: v.StringSchema<undefined>;
|
|
25
|
-
readonly hash: v.StringSchema<undefined>;
|
|
26
|
-
readonly mime: v.StringSchema<undefined>;
|
|
27
|
-
readonly name: v.StringSchema<undefined>;
|
|
28
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
-
readonly size: v.NumberSchema<undefined>;
|
|
30
|
-
readonly width: v.NumberSchema<undefined>;
|
|
31
|
-
readonly height: v.NumberSchema<undefined>;
|
|
32
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
33
|
-
}, undefined>, undefined>;
|
|
34
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
35
|
-
readonly ext: v.StringSchema<undefined>;
|
|
36
|
-
readonly url: v.StringSchema<undefined>;
|
|
37
|
-
readonly hash: v.StringSchema<undefined>;
|
|
38
|
-
readonly mime: v.StringSchema<undefined>;
|
|
39
|
-
readonly name: v.StringSchema<undefined>;
|
|
40
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
41
|
-
readonly size: v.NumberSchema<undefined>;
|
|
42
|
-
readonly width: v.NumberSchema<undefined>;
|
|
43
|
-
readonly height: v.NumberSchema<undefined>;
|
|
44
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
45
|
-
}, undefined>, undefined>;
|
|
46
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
47
|
-
readonly ext: v.StringSchema<undefined>;
|
|
48
|
-
readonly url: v.StringSchema<undefined>;
|
|
49
|
-
readonly hash: v.StringSchema<undefined>;
|
|
50
|
-
readonly mime: v.StringSchema<undefined>;
|
|
51
|
-
readonly name: v.StringSchema<undefined>;
|
|
52
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
53
|
-
readonly size: v.NumberSchema<undefined>;
|
|
54
|
-
readonly width: v.NumberSchema<undefined>;
|
|
55
|
-
readonly height: v.NumberSchema<undefined>;
|
|
56
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
57
|
-
}, undefined>, undefined>;
|
|
58
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
59
|
-
readonly ext: v.StringSchema<undefined>;
|
|
60
|
-
readonly url: v.StringSchema<undefined>;
|
|
61
|
-
readonly hash: v.StringSchema<undefined>;
|
|
62
|
-
readonly mime: v.StringSchema<undefined>;
|
|
63
|
-
readonly name: v.StringSchema<undefined>;
|
|
64
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
65
|
-
readonly size: v.NumberSchema<undefined>;
|
|
66
|
-
readonly width: v.NumberSchema<undefined>;
|
|
67
|
-
readonly height: v.NumberSchema<undefined>;
|
|
68
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
69
|
-
}, undefined>, undefined>;
|
|
70
|
-
}, undefined>, undefined>, undefined>;
|
|
71
|
-
readonly hash: v.StringSchema<undefined>;
|
|
72
|
-
readonly ext: v.StringSchema<undefined>;
|
|
73
|
-
readonly mime: v.StringSchema<undefined>;
|
|
74
|
-
readonly size: v.NumberSchema<undefined>;
|
|
75
|
-
readonly url: v.StringSchema<undefined>;
|
|
76
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
77
|
-
readonly provider: v.StringSchema<undefined>;
|
|
78
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
79
|
-
readonly id: v.NumberSchema<undefined>;
|
|
80
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
81
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
83
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
84
|
-
}, undefined>>, undefined>, undefined>;
|
|
85
|
-
readonly website_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
-
readonly html_content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
87
|
-
readonly video: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
88
|
-
readonly video_source: v.PicklistSchema<readonly ["youtube", "upload"], undefined>;
|
|
89
|
-
readonly video_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
90
|
-
readonly video_upload: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
91
|
-
readonly name: v.StringSchema<undefined>;
|
|
92
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
93
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
94
|
-
readonly width: v.NumberSchema<undefined>;
|
|
95
|
-
readonly height: v.NumberSchema<undefined>;
|
|
96
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
97
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
98
|
-
readonly ext: v.StringSchema<undefined>;
|
|
99
|
-
readonly url: v.StringSchema<undefined>;
|
|
100
|
-
readonly hash: v.StringSchema<undefined>;
|
|
101
|
-
readonly mime: v.StringSchema<undefined>;
|
|
102
|
-
readonly name: v.StringSchema<undefined>;
|
|
103
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
-
readonly size: v.NumberSchema<undefined>;
|
|
105
|
-
readonly width: v.NumberSchema<undefined>;
|
|
106
|
-
readonly height: v.NumberSchema<undefined>;
|
|
107
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
108
|
-
}, undefined>, undefined>;
|
|
109
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
110
|
-
readonly ext: v.StringSchema<undefined>;
|
|
111
|
-
readonly url: v.StringSchema<undefined>;
|
|
112
|
-
readonly hash: v.StringSchema<undefined>;
|
|
113
|
-
readonly mime: v.StringSchema<undefined>;
|
|
114
|
-
readonly name: v.StringSchema<undefined>;
|
|
115
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
116
|
-
readonly size: v.NumberSchema<undefined>;
|
|
117
|
-
readonly width: v.NumberSchema<undefined>;
|
|
118
|
-
readonly height: v.NumberSchema<undefined>;
|
|
119
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
120
|
-
}, undefined>, undefined>;
|
|
121
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
122
|
-
readonly ext: v.StringSchema<undefined>;
|
|
123
|
-
readonly url: v.StringSchema<undefined>;
|
|
124
|
-
readonly hash: v.StringSchema<undefined>;
|
|
125
|
-
readonly mime: v.StringSchema<undefined>;
|
|
126
|
-
readonly name: v.StringSchema<undefined>;
|
|
127
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
128
|
-
readonly size: v.NumberSchema<undefined>;
|
|
129
|
-
readonly width: v.NumberSchema<undefined>;
|
|
130
|
-
readonly height: v.NumberSchema<undefined>;
|
|
131
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
132
|
-
}, undefined>, undefined>;
|
|
133
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
134
|
-
readonly ext: v.StringSchema<undefined>;
|
|
135
|
-
readonly url: v.StringSchema<undefined>;
|
|
136
|
-
readonly hash: v.StringSchema<undefined>;
|
|
137
|
-
readonly mime: v.StringSchema<undefined>;
|
|
138
|
-
readonly name: v.StringSchema<undefined>;
|
|
139
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
140
|
-
readonly size: v.NumberSchema<undefined>;
|
|
141
|
-
readonly width: v.NumberSchema<undefined>;
|
|
142
|
-
readonly height: v.NumberSchema<undefined>;
|
|
143
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
144
|
-
}, undefined>, undefined>;
|
|
145
|
-
}, undefined>, undefined>, undefined>;
|
|
146
|
-
readonly hash: v.StringSchema<undefined>;
|
|
147
|
-
readonly ext: v.StringSchema<undefined>;
|
|
148
|
-
readonly mime: v.StringSchema<undefined>;
|
|
149
|
-
readonly size: v.NumberSchema<undefined>;
|
|
150
|
-
readonly url: v.StringSchema<undefined>;
|
|
151
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
152
|
-
readonly provider: v.StringSchema<undefined>;
|
|
153
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
154
|
-
readonly id: v.NumberSchema<undefined>;
|
|
155
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
156
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
157
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
158
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
159
|
-
}, undefined>>, undefined>, undefined>;
|
|
160
|
-
readonly id: v.NumberSchema<undefined>;
|
|
161
|
-
}, undefined>, undefined>, undefined>;
|
|
162
|
-
readonly id: v.NumberSchema<undefined>;
|
|
163
|
-
}, undefined>, undefined>;
|
|
164
|
-
readonly featured_image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
165
|
-
readonly name: v.StringSchema<undefined>;
|
|
166
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
167
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
168
|
-
readonly width: v.NumberSchema<undefined>;
|
|
169
|
-
readonly height: v.NumberSchema<undefined>;
|
|
170
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
171
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
172
|
-
readonly ext: v.StringSchema<undefined>;
|
|
173
|
-
readonly url: v.StringSchema<undefined>;
|
|
174
|
-
readonly hash: v.StringSchema<undefined>;
|
|
175
|
-
readonly mime: v.StringSchema<undefined>;
|
|
176
|
-
readonly name: v.StringSchema<undefined>;
|
|
177
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
-
readonly size: v.NumberSchema<undefined>;
|
|
179
|
-
readonly width: v.NumberSchema<undefined>;
|
|
180
|
-
readonly height: v.NumberSchema<undefined>;
|
|
181
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
182
|
-
}, undefined>, undefined>;
|
|
183
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
184
|
-
readonly ext: v.StringSchema<undefined>;
|
|
185
|
-
readonly url: v.StringSchema<undefined>;
|
|
186
|
-
readonly hash: v.StringSchema<undefined>;
|
|
187
|
-
readonly mime: v.StringSchema<undefined>;
|
|
188
|
-
readonly name: v.StringSchema<undefined>;
|
|
189
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
-
readonly size: v.NumberSchema<undefined>;
|
|
191
|
-
readonly width: v.NumberSchema<undefined>;
|
|
192
|
-
readonly height: v.NumberSchema<undefined>;
|
|
193
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
194
|
-
}, undefined>, undefined>;
|
|
195
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
196
|
-
readonly ext: v.StringSchema<undefined>;
|
|
197
|
-
readonly url: v.StringSchema<undefined>;
|
|
198
|
-
readonly hash: v.StringSchema<undefined>;
|
|
199
|
-
readonly mime: v.StringSchema<undefined>;
|
|
200
|
-
readonly name: v.StringSchema<undefined>;
|
|
201
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
202
|
-
readonly size: v.NumberSchema<undefined>;
|
|
203
|
-
readonly width: v.NumberSchema<undefined>;
|
|
204
|
-
readonly height: v.NumberSchema<undefined>;
|
|
205
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
206
|
-
}, undefined>, undefined>;
|
|
207
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
208
|
-
readonly ext: v.StringSchema<undefined>;
|
|
209
|
-
readonly url: v.StringSchema<undefined>;
|
|
210
|
-
readonly hash: v.StringSchema<undefined>;
|
|
211
|
-
readonly mime: v.StringSchema<undefined>;
|
|
212
|
-
readonly name: v.StringSchema<undefined>;
|
|
213
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
214
|
-
readonly size: v.NumberSchema<undefined>;
|
|
215
|
-
readonly width: v.NumberSchema<undefined>;
|
|
216
|
-
readonly height: v.NumberSchema<undefined>;
|
|
217
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
218
|
-
}, undefined>, undefined>;
|
|
219
|
-
}, undefined>, undefined>, undefined>;
|
|
220
|
-
readonly hash: v.StringSchema<undefined>;
|
|
221
|
-
readonly ext: v.StringSchema<undefined>;
|
|
222
|
-
readonly mime: v.StringSchema<undefined>;
|
|
223
|
-
readonly size: v.NumberSchema<undefined>;
|
|
224
|
-
readonly url: v.StringSchema<undefined>;
|
|
225
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
226
|
-
readonly provider: v.StringSchema<undefined>;
|
|
227
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
228
|
-
readonly id: v.NumberSchema<undefined>;
|
|
229
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
230
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
231
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
232
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
233
|
-
}, undefined>>, undefined>, undefined>;
|
|
234
|
-
readonly background_color: v.StringSchema<undefined>;
|
|
235
|
-
readonly order: v.NumberSchema<undefined>;
|
|
236
|
-
readonly text_invert: v.BooleanSchema<undefined>;
|
|
237
|
-
readonly id: v.NumberSchema<undefined>;
|
|
238
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
239
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
240
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
241
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
242
|
-
}, undefined>;
|
|
243
|
-
type ProductHighlightDocument = v.InferOutput<typeof ProductHighlightDocument>;
|
|
244
|
-
//#endregion
|
|
1
|
+
import { an as LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, in as ProductHighlightDocument, on as LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE } from "../../index-GUYqdxFh.mjs";
|
|
245
2
|
export { LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, ProductHighlightDocument };
|
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
|
|
3
|
-
import { BlockFullscreenContent } from "../../components/blocks/index.mjs";
|
|
4
|
-
import * as v from "valibot";
|
|
1
|
+
import { u as ProductHighlightDocument } from "../../document-DUHPXtbm.mjs";
|
|
5
2
|
//#region src/entities/product-highlight/constants.ts
|
|
6
3
|
const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
7
4
|
const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
8
5
|
//#endregion
|
|
9
|
-
//#region src/entities/product-highlight/document.ts
|
|
10
|
-
const ProductHighlightDocument = v.object({
|
|
11
|
-
...BaseDocument.entries,
|
|
12
|
-
title: v.string(),
|
|
13
|
-
title_line_1: v.string(),
|
|
14
|
-
title_line_2: v.string(),
|
|
15
|
-
introduction: v.string(),
|
|
16
|
-
highlight: v.optional(BlockFullscreenContent),
|
|
17
|
-
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
18
|
-
background_color: v.string(),
|
|
19
|
-
order: v.number(),
|
|
20
|
-
text_invert: v.boolean()
|
|
21
|
-
});
|
|
22
|
-
//#endregion
|
|
23
6
|
export { LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, ProductHighlightDocument };
|
|
@@ -4,7 +4,7 @@ const require_document = require("../../document-BAro2Mrj.cjs");
|
|
|
4
4
|
const require_media_upload = require("../../media-upload-B6aQYeRM.cjs");
|
|
5
5
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
6
6
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
7
|
-
const
|
|
7
|
+
const require_relationships = require("../../relationships-CWVJebkQ.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
10
|
//#region src/entities/resume/document.ts
|
|
@@ -115,7 +115,7 @@ const UpdateResumeInfoDocument = valibot.object({
|
|
|
115
115
|
captcha: require_validators.VStringMax(require_regex.LIMIT_LONG_STRING_MAX_LENGTH)
|
|
116
116
|
});
|
|
117
117
|
const UpdateResumeInfoDocumentRequest = valibot.object({
|
|
118
|
-
documentId:
|
|
118
|
+
documentId: require_relationships.SAssociateOneEntity,
|
|
119
119
|
data: UpdateResumeInfo
|
|
120
120
|
});
|
|
121
121
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
|
2
2
|
import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
|
|
3
3
|
import { H as ERROR_MESSAGE_COMMA_SEPPARATED_URLS, U as ERROR_MESSAGE_INVALID_URL, c as LIMIT_LONG_STRING_MAX_LENGTH, l as LIMIT_MAX_DESTINATION, q as ERROR_MESSAGE_URL_PREFIX } from "../../regex-BnKGcdS4.mjs";
|
|
4
4
|
import { d as VStringMinMax, l as VStringMax, m as VStringPhoneNullable, o as VStringEmail, p as VStringPhone } from "../../validators-P5E_3qzc.mjs";
|
|
5
|
-
import { a as SAssociateOneEntity } from "../../
|
|
5
|
+
import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/resume/document.ts
|
|
8
8
|
const ResumeDocument = v.object({
|
|
@@ -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-DaICHS9G.cjs");
|
|
7
7
|
let valibot = require("valibot");
|
|
8
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
9
|
//#region src/entities/tag/constants.ts
|
|
@@ -17,13 +17,6 @@ const TAG_SORT_KEYS = [
|
|
|
17
17
|
"updatedAt"
|
|
18
18
|
];
|
|
19
19
|
//#endregion
|
|
20
|
-
//#region src/entities/tag/document.ts
|
|
21
|
-
const TagDocument = valibot.object({
|
|
22
|
-
...require_document.BaseDocument.entries,
|
|
23
|
-
label: valibot.string(),
|
|
24
|
-
slug: valibot.string()
|
|
25
|
-
});
|
|
26
|
-
//#endregion
|
|
27
20
|
//#region src/entities/tag/fields.ts
|
|
28
21
|
const QuerySortTags = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(TAG_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(TAG_SORT_KEYS.length)));
|
|
29
22
|
//#endregion
|
|
@@ -37,7 +30,7 @@ const UpdateTagDocument = valibot.object({
|
|
|
37
30
|
slug: valibot.optional(require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_URL_SLUG, require_regex.ERROR_MESSAGE_REGEX_URL_SLUG))
|
|
38
31
|
});
|
|
39
32
|
const UpdateTagDocumentRequest = valibot.object({
|
|
40
|
-
documentId:
|
|
33
|
+
documentId: require_relationships.SAssociateOneEntity,
|
|
41
34
|
data: UpdateTagDocument
|
|
42
35
|
});
|
|
43
36
|
//#endregion
|
|
@@ -56,6 +49,6 @@ exports.LIMIT_TAGS_PAGINATION_MAX_SIZE = LIMIT_TAGS_PAGINATION_MAX_SIZE;
|
|
|
56
49
|
exports.QuerySortTags = QuerySortTags;
|
|
57
50
|
exports.QueryStrapiSearchTags = QueryStrapiSearchTags;
|
|
58
51
|
exports.TAG_SORT_KEYS = TAG_SORT_KEYS;
|
|
59
|
-
exports.TagDocument = TagDocument;
|
|
52
|
+
exports.TagDocument = require_document.TagDocument;
|
|
60
53
|
exports.UpdateTagDocument = UpdateTagDocument;
|
|
61
54
|
exports.UpdateTagDocumentRequest = UpdateTagDocumentRequest;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as TagDocument } from "../../document-CpsxYzbB.cjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/tag/constants.d.ts
|
|
@@ -5,20 +6,8 @@ declare const LIMIT_TAGS_PAGINATION_DEFAULT_SIZE = 100;
|
|
|
5
6
|
declare const LIMIT_TAGS_PAGINATION_MAX_SIZE = 1000;
|
|
6
7
|
declare const TAG_SORT_KEYS: readonly ["id", "label", "slug", "createdAt", "updatedAt"];
|
|
7
8
|
//#endregion
|
|
8
|
-
//#region src/entities/tag/document.d.ts
|
|
9
|
-
declare const TagDocument: v.ObjectSchema<{
|
|
10
|
-
readonly label: v.StringSchema<undefined>;
|
|
11
|
-
readonly slug: v.StringSchema<undefined>;
|
|
12
|
-
readonly id: v.NumberSchema<undefined>;
|
|
13
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
14
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
16
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
17
|
-
}, undefined>;
|
|
18
|
-
type TagDocument = v.InferOutput<typeof TagDocument>;
|
|
19
|
-
//#endregion
|
|
20
9
|
//#region src/entities/tag/fields.d.ts
|
|
21
|
-
declare const QuerySortTags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:
|
|
10
|
+
declare const QuerySortTags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
22
11
|
type QuerySortTags = v.InferOutput<typeof QuerySortTags>;
|
|
23
12
|
//#endregion
|
|
24
13
|
//#region src/entities/tag/mutation.d.ts
|
|
@@ -47,7 +36,7 @@ declare const QueryStrapiSearchTags: v.ObjectSchema<{
|
|
|
47
36
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
37
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
49
38
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:
|
|
39
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
51
40
|
}, undefined>;
|
|
52
41
|
type QueryStrapiSearchTags = v.InferOutput<typeof QueryStrapiSearchTags>;
|
|
53
42
|
//#endregion
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as TagDocument } from "../../document-CH1Od98-.mjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/tag/constants.d.ts
|
|
@@ -5,20 +6,8 @@ declare const LIMIT_TAGS_PAGINATION_DEFAULT_SIZE = 100;
|
|
|
5
6
|
declare const LIMIT_TAGS_PAGINATION_MAX_SIZE = 1000;
|
|
6
7
|
declare const TAG_SORT_KEYS: readonly ["id", "label", "slug", "createdAt", "updatedAt"];
|
|
7
8
|
//#endregion
|
|
8
|
-
//#region src/entities/tag/document.d.ts
|
|
9
|
-
declare const TagDocument: v.ObjectSchema<{
|
|
10
|
-
readonly label: v.StringSchema<undefined>;
|
|
11
|
-
readonly slug: v.StringSchema<undefined>;
|
|
12
|
-
readonly id: v.NumberSchema<undefined>;
|
|
13
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
14
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
16
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
17
|
-
}, undefined>;
|
|
18
|
-
type TagDocument = v.InferOutput<typeof TagDocument>;
|
|
19
|
-
//#endregion
|
|
20
9
|
//#region src/entities/tag/fields.d.ts
|
|
21
|
-
declare const QuerySortTags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:
|
|
10
|
+
declare const QuerySortTags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
22
11
|
type QuerySortTags = v.InferOutput<typeof QuerySortTags>;
|
|
23
12
|
//#endregion
|
|
24
13
|
//#region src/entities/tag/mutation.d.ts
|
|
@@ -47,7 +36,7 @@ declare const QueryStrapiSearchTags: v.ObjectSchema<{
|
|
|
47
36
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
37
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
49
38
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:
|
|
39
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
51
40
|
}, undefined>;
|
|
52
41
|
type QueryStrapiSearchTags = v.InferOutput<typeof QueryStrapiSearchTags>;
|
|
53
42
|
//#endregion
|
|
@@ -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 } from "../../
|
|
3
|
+
import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
|
|
4
|
+
import { t as TagDocument } from "../../document-c3GNPelp.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
//#region src/entities/tag/constants.ts
|
|
7
7
|
const LIMIT_TAGS_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -14,13 +14,6 @@ const TAG_SORT_KEYS = [
|
|
|
14
14
|
"updatedAt"
|
|
15
15
|
];
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region src/entities/tag/document.ts
|
|
18
|
-
const TagDocument = v.object({
|
|
19
|
-
...BaseDocument.entries,
|
|
20
|
-
label: v.string(),
|
|
21
|
-
slug: v.string()
|
|
22
|
-
});
|
|
23
|
-
//#endregion
|
|
24
17
|
//#region src/entities/tag/fields.ts
|
|
25
18
|
const QuerySortTags = v.optional(v.pipe(v.array(v.picklist(TAG_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(TAG_SORT_KEYS.length)));
|
|
26
19
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
3
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
4
|
-
const require_document = require("../../document-
|
|
4
|
+
const require_document = require("../../document-CrnqUGRk.cjs");
|
|
5
5
|
let valibot = require("valibot");
|
|
6
6
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
7
7
|
//#region src/entities/team-member/query.ts
|