@getcommunity/gc-validators 0.0.271-alpha.1 → 0.0.271-alpha.11
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/abac-BeKQtxIF.cjs +648 -0
- package/dist/abac-DPd9oLKR.mjs +643 -0
- package/dist/base/index.cjs +19 -19
- package/dist/base/index.d.cts +2 -3
- package/dist/base/index.d.mts +3 -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 +7 -5
- package/dist/components/utm/index.d.cts +2 -32
- package/dist/components/utm/index.d.mts +2 -32
- package/dist/components/utm/index.mjs +7 -5
- package/dist/{document-BMxLOdrT.d.cts → document-BVhB_t1g.d.mts} +158 -104
- package/dist/document-CTozOkYP.mjs +457 -0
- package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
- package/dist/document-Ccvtwgy_.cjs +26 -0
- package/dist/document-CrnqUGRk.cjs +243 -0
- package/dist/document-Cx4Klv8A.mjs +128 -0
- package/dist/document-D060zybc.mjs +19 -0
- package/dist/document-DaICHS9G.cjs +17 -0
- package/dist/{document-Gx2Vrg_w.d.mts → document-DtDSYDbn.d.cts} +158 -104
- package/dist/document-c3GNPelp.mjs +10 -0
- package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
- package/dist/document-rndDoVSo.cjs +728 -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 +1 -1
- package/dist/entities/blog-post/index.d.cts +1 -916
- package/dist/entities/blog-post/index.d.mts +1 -916
- package/dist/entities/blog-post/index.mjs +1 -1
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +4 -13
- package/dist/entities/category/index.d.cts +1 -258
- package/dist/entities/category/index.d.mts +1 -258
- package/dist/entities/category/index.mjs +2 -11
- 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 +2 -47
- package/dist/entities/client-user/index.d.mts +2 -47
- package/dist/entities/client-user/index.mjs +5 -41
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +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.cjs +1 -1
- package/dist/entities/landing-page/index.d.cts +3 -2
- package/dist/entities/landing-page/index.d.mts +4 -3
- package/dist/entities/landing-page/index.mjs +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.cts +1 -0
- package/dist/entities/policy-page/index.d.mts +2 -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 +1 -12
- package/dist/entities/tag/index.d.mts +1 -12
- 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 +9 -63
- 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 -53
- 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 +9 -8
- package/dist/entities/utm-link-builder/index.d.cts +2 -3
- package/dist/entities/utm-link-builder/index.d.mts +2 -3
- package/dist/entities/utm-link-builder/index.mjs +6 -4
- package/dist/entities/utm-meta/index.d.cts +7 -7
- package/dist/entities/utm-meta/index.d.mts +7 -7
- 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--PSda81w.d.cts +4744 -0
- package/dist/index-B3VtiObV.d.mts +317 -0
- package/dist/index-BbwsFaWE.d.cts +921 -0
- package/dist/{index-DYPjS1qh.d.mts → index-Brw4Hq18.d.cts} +3 -3
- package/dist/index-C2eyUQu3.d.mts +4744 -0
- package/dist/index-CGetOe65.d.mts +940 -0
- package/dist/{index-Bht1Jd5l.d.mts → index-CJ2_Z1gW.d.mts} +97 -140
- package/dist/index-CQP_vcmO.d.cts +317 -0
- package/dist/index-CRoWUxGV.d.cts +1324 -0
- package/dist/index-C_UxUxQs.d.cts +940 -0
- package/dist/index-D11tQdCv.d.cts +34 -0
- package/dist/{index-BLE_fX1Q.d.cts → index-D6rOxDlM.d.mts} +3 -3
- package/dist/index-DJ-0EDJN.d.mts +921 -0
- package/dist/index-DLICmJ_-.d.mts +34 -0
- package/dist/{index-ZBDWYTfn.d.cts → index-efk0FfOP.d.cts} +96 -139
- package/dist/index-oCLNrzIj.d.mts +1324 -0
- package/dist/media-upload-D-nP8FR1.d.cts +140 -0
- package/dist/media-upload-DKeA1eD-.d.mts +140 -0
- package/dist/permissions/index.cjs +3 -663
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/permissions/index.mjs +3 -661
- package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
- package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
- package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
- package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
- package/dist/utilities/index.cjs +20 -0
- package/dist/utilities/index.d.cts +7 -2
- package/dist/utilities/index.d.mts +7 -2
- package/dist/utilities/index.mjs +19 -1
- package/package.json +1 -1
- package/dist/document-BAzLIprH.d.mts +0 -100
- package/dist/document-BFukanLe.mjs +0 -54
- 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-D4fJt3zX.d.cts +0 -12223
- 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-DdRo9TdG.d.mts +0 -12223
- 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-IIJpsOIO.d.cts +0 -16
- package/dist/document-WHS8GHY5.d.mts +0 -18
- package/dist/document-dqrWptdY.d.cts +0 -244
- package/dist/document-rbMXLGxt.cjs +0 -103
- 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/query.schema-BOn5Kk_p.d.mts +0 -41
- package/dist/query.schema-CItKlb0x.d.cts +0 -41
- package/dist/response-C-7nyNVD.d.mts +0 -57
- package/dist/response-c6SgLvi9.d.cts +0 -57
- /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
- /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
- /package/dist/{json-CqAaKeHA.d.mts → json-CiA5ZRzc.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 { $t as LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, Qt as LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, Zt as ProductHighlightDocument } from "../../index-C2eyUQu3.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 { i as ProductHighlightDocument } from "../../document-CTozOkYP.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-i-h3Orv7.cjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/tag/constants.d.ts
|
|
@@ -5,18 +6,6 @@ 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
10
|
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:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
22
11
|
type QuerySortTags = v.InferOutput<typeof QuerySortTags>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as TagDocument } from "../../document-CbE38CzE.mjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/tag/constants.d.ts
|
|
@@ -5,18 +6,6 @@ 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
10
|
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:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
22
11
|
type QuerySortTags = v.InferOutput<typeof QuerySortTags>;
|
|
@@ -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
|
|
@@ -1,210 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/entities/team-member/constants.d.ts
|
|
4
|
-
declare const LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE = 10;
|
|
5
|
-
declare const LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE = 20;
|
|
6
|
-
declare const TEAM_MEMBER_SORT_KEYS: readonly ["id", "name", "order", "tier", "group", "is_employed", "createdAt", "updatedAt"];
|
|
7
|
-
declare const TEAM_MEMBER_TIER: readonly ["owner", "manager", "employee"];
|
|
8
|
-
declare const TEAM_MEMBER_GROUP: readonly ["account", "media", "creative"];
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region src/entities/team-member/document.d.ts
|
|
11
|
-
declare const TeamMemberDocument: v.ObjectSchema<{
|
|
12
|
-
readonly name: v.StringSchema<undefined>;
|
|
13
|
-
readonly slug: v.StringSchema<undefined>;
|
|
14
|
-
readonly order: v.NumberSchema<undefined>;
|
|
15
|
-
readonly job_title: v.StringSchema<undefined>;
|
|
16
|
-
readonly tier: v.PicklistSchema<readonly ["owner", "manager", "employee"], undefined>;
|
|
17
|
-
readonly group: v.PicklistSchema<readonly ["account", "media", "creative"], undefined>;
|
|
18
|
-
readonly is_employed: v.BooleanSchema<undefined>;
|
|
19
|
-
readonly contact_links: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
20
|
-
readonly link_type: v.NullableSchema<v.PicklistSchema<readonly ["email", "phone", "social", "link"], undefined>, undefined>;
|
|
21
|
-
readonly label: v.StringSchema<undefined>;
|
|
22
|
-
readonly destination: v.StringSchema<undefined>;
|
|
23
|
-
readonly icon: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
24
|
-
readonly show_icon: v.BooleanSchema<undefined>;
|
|
25
|
-
readonly icon_position: v.PicklistSchema<readonly ["before", "after", "above", "below"], undefined>;
|
|
26
|
-
readonly full_width: v.BooleanSchema<undefined>;
|
|
27
|
-
readonly id: v.NumberSchema<undefined>;
|
|
28
|
-
}, undefined>, undefined>, undefined>;
|
|
29
|
-
readonly biography: v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
30
|
-
readonly type: v.StringSchema<undefined>;
|
|
31
|
-
readonly children: v.ArraySchema<v.ObjectSchema<{
|
|
32
|
-
readonly type: v.StringSchema<undefined>;
|
|
33
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
34
|
-
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
35
|
-
readonly bold: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
36
|
-
readonly italic: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
37
|
-
readonly underline: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
38
|
-
}, undefined>, undefined>;
|
|
39
|
-
}, undefined>, undefined>, undefined>;
|
|
40
|
-
readonly featured_image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
41
|
-
readonly name: v.StringSchema<undefined>;
|
|
42
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
43
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
44
|
-
readonly width: v.NumberSchema<undefined>;
|
|
45
|
-
readonly height: v.NumberSchema<undefined>;
|
|
46
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
47
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
48
|
-
readonly ext: v.StringSchema<undefined>;
|
|
49
|
-
readonly url: v.StringSchema<undefined>;
|
|
50
|
-
readonly hash: v.StringSchema<undefined>;
|
|
51
|
-
readonly mime: v.StringSchema<undefined>;
|
|
52
|
-
readonly name: v.StringSchema<undefined>;
|
|
53
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
54
|
-
readonly size: v.NumberSchema<undefined>;
|
|
55
|
-
readonly width: v.NumberSchema<undefined>;
|
|
56
|
-
readonly height: v.NumberSchema<undefined>;
|
|
57
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
58
|
-
}, undefined>, undefined>;
|
|
59
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
60
|
-
readonly ext: v.StringSchema<undefined>;
|
|
61
|
-
readonly url: v.StringSchema<undefined>;
|
|
62
|
-
readonly hash: v.StringSchema<undefined>;
|
|
63
|
-
readonly mime: v.StringSchema<undefined>;
|
|
64
|
-
readonly name: v.StringSchema<undefined>;
|
|
65
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
-
readonly size: v.NumberSchema<undefined>;
|
|
67
|
-
readonly width: v.NumberSchema<undefined>;
|
|
68
|
-
readonly height: v.NumberSchema<undefined>;
|
|
69
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
70
|
-
}, undefined>, undefined>;
|
|
71
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
72
|
-
readonly ext: v.StringSchema<undefined>;
|
|
73
|
-
readonly url: v.StringSchema<undefined>;
|
|
74
|
-
readonly hash: v.StringSchema<undefined>;
|
|
75
|
-
readonly mime: v.StringSchema<undefined>;
|
|
76
|
-
readonly name: v.StringSchema<undefined>;
|
|
77
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
78
|
-
readonly size: v.NumberSchema<undefined>;
|
|
79
|
-
readonly width: v.NumberSchema<undefined>;
|
|
80
|
-
readonly height: v.NumberSchema<undefined>;
|
|
81
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
82
|
-
}, undefined>, undefined>;
|
|
83
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
84
|
-
readonly ext: v.StringSchema<undefined>;
|
|
85
|
-
readonly url: v.StringSchema<undefined>;
|
|
86
|
-
readonly hash: v.StringSchema<undefined>;
|
|
87
|
-
readonly mime: v.StringSchema<undefined>;
|
|
88
|
-
readonly name: v.StringSchema<undefined>;
|
|
89
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
90
|
-
readonly size: v.NumberSchema<undefined>;
|
|
91
|
-
readonly width: v.NumberSchema<undefined>;
|
|
92
|
-
readonly height: v.NumberSchema<undefined>;
|
|
93
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
94
|
-
}, undefined>, undefined>;
|
|
95
|
-
}, undefined>, undefined>, undefined>;
|
|
96
|
-
readonly hash: v.StringSchema<undefined>;
|
|
97
|
-
readonly ext: v.StringSchema<undefined>;
|
|
98
|
-
readonly mime: v.StringSchema<undefined>;
|
|
99
|
-
readonly size: v.NumberSchema<undefined>;
|
|
100
|
-
readonly url: v.StringSchema<undefined>;
|
|
101
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
102
|
-
readonly provider: v.StringSchema<undefined>;
|
|
103
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
104
|
-
readonly id: v.NumberSchema<undefined>;
|
|
105
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
106
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
107
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
108
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
109
|
-
}, undefined>>, undefined>, undefined>;
|
|
110
|
-
readonly featured_video: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
111
|
-
readonly name: v.StringSchema<undefined>;
|
|
112
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
113
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
114
|
-
readonly width: v.NumberSchema<undefined>;
|
|
115
|
-
readonly height: v.NumberSchema<undefined>;
|
|
116
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
117
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
118
|
-
readonly ext: v.StringSchema<undefined>;
|
|
119
|
-
readonly url: v.StringSchema<undefined>;
|
|
120
|
-
readonly hash: v.StringSchema<undefined>;
|
|
121
|
-
readonly mime: v.StringSchema<undefined>;
|
|
122
|
-
readonly name: v.StringSchema<undefined>;
|
|
123
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
124
|
-
readonly size: v.NumberSchema<undefined>;
|
|
125
|
-
readonly width: v.NumberSchema<undefined>;
|
|
126
|
-
readonly height: v.NumberSchema<undefined>;
|
|
127
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
128
|
-
}, undefined>, undefined>;
|
|
129
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
130
|
-
readonly ext: v.StringSchema<undefined>;
|
|
131
|
-
readonly url: v.StringSchema<undefined>;
|
|
132
|
-
readonly hash: v.StringSchema<undefined>;
|
|
133
|
-
readonly mime: v.StringSchema<undefined>;
|
|
134
|
-
readonly name: v.StringSchema<undefined>;
|
|
135
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
136
|
-
readonly size: v.NumberSchema<undefined>;
|
|
137
|
-
readonly width: v.NumberSchema<undefined>;
|
|
138
|
-
readonly height: v.NumberSchema<undefined>;
|
|
139
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
140
|
-
}, undefined>, undefined>;
|
|
141
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
142
|
-
readonly ext: v.StringSchema<undefined>;
|
|
143
|
-
readonly url: v.StringSchema<undefined>;
|
|
144
|
-
readonly hash: v.StringSchema<undefined>;
|
|
145
|
-
readonly mime: v.StringSchema<undefined>;
|
|
146
|
-
readonly name: v.StringSchema<undefined>;
|
|
147
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
148
|
-
readonly size: v.NumberSchema<undefined>;
|
|
149
|
-
readonly width: v.NumberSchema<undefined>;
|
|
150
|
-
readonly height: v.NumberSchema<undefined>;
|
|
151
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
152
|
-
}, undefined>, undefined>;
|
|
153
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
154
|
-
readonly ext: v.StringSchema<undefined>;
|
|
155
|
-
readonly url: v.StringSchema<undefined>;
|
|
156
|
-
readonly hash: v.StringSchema<undefined>;
|
|
157
|
-
readonly mime: v.StringSchema<undefined>;
|
|
158
|
-
readonly name: v.StringSchema<undefined>;
|
|
159
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
160
|
-
readonly size: v.NumberSchema<undefined>;
|
|
161
|
-
readonly width: v.NumberSchema<undefined>;
|
|
162
|
-
readonly height: v.NumberSchema<undefined>;
|
|
163
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
164
|
-
}, undefined>, undefined>;
|
|
165
|
-
}, undefined>, undefined>, undefined>;
|
|
166
|
-
readonly hash: v.StringSchema<undefined>;
|
|
167
|
-
readonly ext: v.StringSchema<undefined>;
|
|
168
|
-
readonly mime: v.StringSchema<undefined>;
|
|
169
|
-
readonly size: v.NumberSchema<undefined>;
|
|
170
|
-
readonly url: v.StringSchema<undefined>;
|
|
171
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
172
|
-
readonly provider: v.StringSchema<undefined>;
|
|
173
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
174
|
-
readonly id: v.NumberSchema<undefined>;
|
|
175
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
176
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
178
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
179
|
-
}, undefined>>, undefined>, undefined>;
|
|
180
|
-
readonly id: v.NumberSchema<undefined>;
|
|
181
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
182
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
183
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
184
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
185
|
-
}, undefined>;
|
|
186
|
-
type TeamMemberDocument = v.InferOutput<typeof TeamMemberDocument>;
|
|
187
|
-
//#endregion
|
|
188
|
-
//#region src/entities/team-member/fields.d.ts
|
|
189
|
-
declare const QuerySortTeamMembers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "name:ASC" | "order:ASC" | "tier:ASC" | "group:ASC" | "is_employed:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "name:DESC" | "order:DESC" | "tier:DESC" | "group:DESC" | "is_employed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "name:ASC" | "order:ASC" | "tier:ASC" | "group:ASC" | "is_employed:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "name:DESC" | "order:DESC" | "tier:DESC" | "group:DESC" | "is_employed:DESC")[], 8, undefined>]>, undefined>;
|
|
190
|
-
type QuerySortTeamMembers = v.InferOutput<typeof QuerySortTeamMembers>;
|
|
191
|
-
declare const TeamMemberTier: v.PicklistSchema<readonly ["owner", "manager", "employee"], undefined>;
|
|
192
|
-
type TeamMemberTier = v.InferOutput<typeof TeamMemberTier>;
|
|
193
|
-
declare const TeamMemberGroup: v.PicklistSchema<readonly ["account", "media", "creative"], undefined>;
|
|
194
|
-
type TeamMemberGroup = v.InferOutput<typeof TeamMemberGroup>;
|
|
195
|
-
//#endregion
|
|
196
|
-
//#region src/entities/team-member/query.d.ts
|
|
197
|
-
declare const QueryStrapiSearchTeamMembers: v.ObjectSchema<{
|
|
198
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
199
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
200
|
-
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
201
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
202
|
-
readonly order: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
203
|
-
readonly tier: v.OptionalSchema<v.PicklistSchema<readonly ["owner", "manager", "employee"], undefined>, undefined>;
|
|
204
|
-
readonly group: v.OptionalSchema<v.PicklistSchema<readonly ["account", "media", "creative"], undefined>, undefined>;
|
|
205
|
-
readonly is_employed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
206
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "name:ASC" | "order:ASC" | "tier:ASC" | "group:ASC" | "is_employed:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "name:DESC" | "order:DESC" | "tier:DESC" | "group:DESC" | "is_employed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "name:ASC" | "order:ASC" | "tier:ASC" | "group:ASC" | "is_employed:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "name:DESC" | "order:DESC" | "tier:DESC" | "group:DESC" | "is_employed:DESC")[], 8, undefined>]>, undefined>;
|
|
207
|
-
}, undefined>;
|
|
208
|
-
type QueryStrapiSearchTeamMembers = v.InferOutput<typeof QueryStrapiSearchTeamMembers>;
|
|
209
|
-
//#endregion
|
|
1
|
+
import { _ as TEAM_MEMBER_TIER, d as TeamMemberGroup, f as TeamMemberTier, g as TEAM_MEMBER_SORT_KEYS, h as TEAM_MEMBER_GROUP, l as QueryStrapiSearchTeamMembers, m as LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE, p as LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE, s as TeamMemberDocument, u as QuerySortTeamMembers } from "../../index-C_UxUxQs.cjs";
|
|
210
2
|
export { LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE, QuerySortTeamMembers, QueryStrapiSearchTeamMembers, TEAM_MEMBER_GROUP, TEAM_MEMBER_SORT_KEYS, TEAM_MEMBER_TIER, TeamMemberDocument, TeamMemberGroup, TeamMemberTier };
|