@getcommunity/gc-validators 0.0.271-alpha.4 → 0.0.271-alpha.6
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.d.mts +4 -4
- package/dist/components/shared/index.d.mts +1 -1
- package/dist/components/utm/index.cjs +3 -3
- package/dist/components/utm/index.d.cts +5 -5
- package/dist/components/utm/index.d.mts +5 -5
- package/dist/components/utm/index.mjs +3 -3
- package/dist/document-382ehFRd.mjs +13 -0
- package/dist/document-8oGgjvHp.cjs +21 -0
- package/dist/{document-Coz4Rm8I.cjs → document-B-BesdbN.cjs} +4 -1
- package/dist/document-B0Wfxtx_.cjs +31 -0
- package/dist/document-B3W1HKLY.cjs +42 -0
- package/dist/document-B6m32jys.cjs +26 -0
- package/dist/document-BM56JclD.mjs +19 -0
- package/dist/document-BRxLaO7o.mjs +14 -0
- package/dist/document-B_cRo5-b.mjs +10 -0
- package/dist/document-B_wA1eag.cjs +26 -0
- package/dist/{document-BVPXeweR.cjs → document-Bbc9ayLX.cjs} +7 -4
- package/dist/document-BqLA3Y8O.cjs +17 -0
- package/dist/{document-CIAPAAjK.d.mts → document-BqfLH_0k.d.mts} +243 -279
- package/dist/document-Bt9GvI0D.mjs +10 -0
- package/dist/document-Bu5YWCAU.cjs +82 -0
- package/dist/document-BvIcrPT7.cjs +171 -0
- package/dist/document-BxOiI95X.mjs +19 -0
- package/dist/document-C3OB0I_l.mjs +14 -0
- package/dist/document-CFlCafnR.mjs +23 -0
- package/dist/{document-AkydjorI.d.cts → document-CLNQhWUt.d.cts} +238 -274
- package/dist/document-CUGxDcNv.mjs +10 -0
- package/dist/document-CXQi4qL-.mjs +39 -0
- package/dist/{document-C21JZnEl.mjs → document-CaSvsqH_.mjs} +6 -3
- package/dist/document-CfUkGKW8.mjs +9 -0
- package/dist/document-Cp8Pptp9.mjs +23 -0
- package/dist/document-Cww9JKGT.mjs +11 -0
- package/dist/document-D067FSuD.cjs +17 -0
- package/dist/document-D1jsgU3z.cjs +24 -0
- package/dist/document-D2sLfhsG.mjs +12 -0
- package/dist/document-DAt2jaAd.cjs +26 -0
- package/dist/document-DHP4LdYq.cjs +21 -0
- package/dist/document-DM_UVNTr.cjs +35 -0
- package/dist/document-DOF-cc0D.mjs +13 -0
- package/dist/document-DeOzRkxJ.mjs +24 -0
- package/dist/document-DnVLqNHr.cjs +18 -0
- package/dist/document-Dv3TYeB2.cjs +30 -0
- package/dist/document-DwpVkKFH.cjs +16 -0
- package/dist/document-DwsiJVoA.mjs +22 -0
- package/dist/document-DwuQKbb9.cjs +20 -0
- package/dist/document-HWHxKIhw.mjs +17 -0
- package/dist/document-U0OA-83z.cjs +19 -0
- package/dist/document-a6GT3Sh4.mjs +19 -0
- package/dist/document-ahAv6kkH.cjs +17 -0
- package/dist/document-bbO2HaC_.mjs +110 -0
- package/dist/{document-DiOskbh3.mjs → document-cysZuK08.mjs} +4 -1
- package/dist/document-llX1moYE.mjs +10 -0
- package/dist/document-mxwQ5HxZ.cjs +17 -0
- package/dist/document-oPQeqMah.cjs +20 -0
- package/dist/document-oUROy-QQ.cjs +21 -0
- package/dist/document-wBWa6c70.mjs +14 -0
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +3 -3
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +14 -1
- package/dist/entities/blog-post/index.d.cts +3022 -224
- package/dist/entities/blog-post/index.d.mts +3023 -225
- package/dist/entities/blog-post/index.mjs +14 -2
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +10 -11
- package/dist/entities/category/index.d.cts +764 -48
- package/dist/entities/category/index.d.mts +765 -49
- package/dist/entities/category/index.mjs +9 -11
- package/dist/entities/client/index.cjs +27 -1
- package/dist/entities/client/index.d.cts +1331 -4
- package/dist/entities/client/index.d.mts +1331 -4
- package/dist/entities/client/index.mjs +27 -2
- package/dist/entities/client-content-pillar/index.cjs +2 -12
- package/dist/entities/client-content-pillar/index.d.cts +2 -2
- package/dist/entities/client-content-pillar/index.d.mts +3 -3
- package/dist/entities/client-content-pillar/index.mjs +1 -11
- package/dist/entities/client-media-platform/index.cjs +12 -9
- package/dist/entities/client-media-platform/index.d.cts +485 -3
- package/dist/entities/client-media-platform/index.d.mts +486 -4
- package/dist/entities/client-media-platform/index.mjs +11 -9
- package/dist/entities/client-project/index.cjs +26 -125
- package/dist/entities/client-project/index.d.cts +332 -3
- package/dist/entities/client-project/index.d.mts +333 -4
- package/dist/entities/client-project/index.mjs +9 -109
- package/dist/entities/client-report/index.cjs +10 -13
- package/dist/entities/client-report/index.d.cts +251 -3
- package/dist/entities/client-report/index.d.mts +252 -4
- package/dist/entities/client-report/index.mjs +9 -13
- package/dist/entities/client-styleguide/index.cjs +10 -22
- package/dist/entities/client-styleguide/index.d.cts +666 -3
- package/dist/entities/client-styleguide/index.d.mts +667 -4
- package/dist/entities/client-styleguide/index.mjs +9 -22
- package/dist/entities/client-user/index.cjs +19 -46
- package/dist/entities/client-user/index.d.cts +246 -2
- package/dist/entities/client-user/index.d.mts +246 -2
- package/dist/entities/client-user/index.mjs +10 -38
- 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 +8 -1
- package/dist/entities/content-pillar/index.d.cts +289 -4
- package/dist/entities/content-pillar/index.d.mts +289 -4
- package/dist/entities/content-pillar/index.mjs +8 -2
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/formatter/index.d.cts +5 -5
- package/dist/entities/formatter/index.d.mts +5 -5
- package/dist/entities/gcflytour/index.cjs +12 -12
- package/dist/entities/gcflytour/index.d.cts +263 -4
- package/dist/entities/gcflytour/index.d.mts +263 -4
- package/dist/entities/gcflytour/index.mjs +11 -12
- package/dist/entities/gcflytour-snap/index.cjs +10 -12
- package/dist/entities/gcflytour-snap/index.d.cts +31 -4
- package/dist/entities/gcflytour-snap/index.d.mts +31 -4
- package/dist/entities/gcflytour-snap/index.mjs +9 -12
- package/dist/entities/landing-page/index.d.mts +1 -1
- package/dist/entities/media-content-type/index.cjs +12 -15
- package/dist/entities/media-content-type/index.d.cts +280 -4
- package/dist/entities/media-content-type/index.d.mts +280 -4
- package/dist/entities/media-content-type/index.mjs +11 -15
- package/dist/entities/media-creative-format/index.cjs +10 -11
- package/dist/entities/media-creative-format/index.d.cts +42 -4
- package/dist/entities/media-creative-format/index.d.mts +42 -4
- package/dist/entities/media-creative-format/index.mjs +9 -11
- package/dist/entities/media-medium/index.cjs +10 -13
- package/dist/entities/media-medium/index.d.cts +257 -3
- package/dist/entities/media-medium/index.d.mts +257 -3
- package/dist/entities/media-medium/index.mjs +9 -13
- package/dist/entities/media-platform/index.cjs +14 -18
- package/dist/entities/media-platform/index.d.cts +291 -4
- package/dist/entities/media-platform/index.d.mts +291 -4
- package/dist/entities/media-platform/index.mjs +13 -18
- package/dist/entities/monday-workspace/index.cjs +10 -9
- package/dist/entities/monday-workspace/index.d.cts +248 -4
- package/dist/entities/monday-workspace/index.d.mts +248 -4
- package/dist/entities/monday-workspace/index.mjs +9 -9
- package/dist/entities/policy-page/index.d.mts +1 -1
- package/dist/entities/product/index.cjs +2 -21
- package/dist/entities/product/index.d.mts +1 -1
- package/dist/entities/product/index.mjs +1 -18
- package/dist/entities/product-highlight/index.cjs +12 -16
- package/dist/entities/product-highlight/index.d.cts +795 -1
- package/dist/entities/product-highlight/index.d.mts +795 -1
- package/dist/entities/product-highlight/index.mjs +11 -16
- package/dist/entities/tag/index.cjs +2 -9
- package/dist/entities/tag/index.mjs +1 -8
- package/dist/entities/team-member/index.cjs +23 -13
- package/dist/entities/team-member/index.d.cts +1461 -3
- package/dist/entities/team-member/index.d.mts +1461 -3
- package/dist/entities/team-member/index.mjs +10 -1
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +2 -16
- package/dist/entities/trend/index.mjs +1 -15
- 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 +8 -6
- package/dist/entities/up-permission/index.d.cts +22 -1
- package/dist/entities/up-permission/index.d.mts +22 -1
- package/dist/entities/up-permission/index.mjs +7 -6
- package/dist/entities/up-role/index.cjs +12 -22
- package/dist/entities/up-role/index.d.cts +37 -2
- package/dist/entities/up-role/index.d.mts +38 -3
- package/dist/entities/up-role/index.mjs +9 -20
- package/dist/entities/up-user/index.cjs +16 -13
- package/dist/entities/up-user/index.d.cts +72 -4
- package/dist/entities/up-user/index.d.mts +72 -4
- package/dist/entities/up-user/index.mjs +15 -13
- 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 +9 -10
- package/dist/entities/user-account/index.d.cts +16 -2
- package/dist/entities/user-account/index.d.mts +17 -3
- package/dist/entities/user-account/index.mjs +8 -10
- 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 +12 -23
- package/dist/entities/utm-tracking-link/index.d.cts +4 -3
- package/dist/entities/utm-tracking-link/index.d.mts +4 -3
- package/dist/entities/utm-tracking-link/index.mjs +11 -23
- package/dist/{index-D4Mm4D2d.d.cts → index-D6AuLdB6.d.mts} +3 -3
- package/dist/{index-Bwlq5D5d.d.mts → index-Dcwyodut.d.cts} +3 -3
- package/dist/{index-DpYYzY_9.d.cts → index-DfGGyf7_.d.cts} +18 -3
- package/dist/{index-r0hGcq70.d.mts → index-Dj9J1FKD.d.mts} +19 -4
- package/dist/{index-BL9VfVD4.d.mts → index-DxyNYBOY.d.mts} +1 -1
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/relations-CG_9IVCD.d.cts +274 -0
- package/dist/relations-DxgFak1L.d.mts +274 -0
- package/dist/utilities/index.d.cts +3 -3
- package/dist/utilities/index.d.mts +4 -4
- package/package.json +1 -1
- package/dist/document-CWYzG60q.d.cts +0 -19
- package/dist/document-CsGd8QmZ.d.mts +0 -19
- package/dist/document-D-KvyEb5.d.cts +0 -238
- package/dist/document-DmZ3XRi8.d.mts +0 -238
- /package/dist/{document-TK2UUOF9.d.mts → document-7JBq8iiP.d.mts} +0 -0
- /package/dist/{document-BK1ASowb.d.cts → document-BInCC6Wk.d.cts} +0 -0
- /package/dist/{document-D7nCeVSn.d.mts → document-BPdwRVjm.d.cts} +0 -0
- /package/dist/{document-6ONY7xJm.d.mts → document-BQ6ulTO1.d.mts} +0 -0
- /package/dist/{document-Db-z1nIm.d.mts → document-BdMrLGBL.d.cts} +0 -0
- /package/dist/{document-CQ9bUL-1.d.mts → document-BpFw7FI0.d.mts} +0 -0
- /package/dist/{document-Bj7SRTOn.d.cts → document-BumbQ1Eb.d.cts} +0 -0
- /package/dist/{document-DAnzPqTm.d.mts → document-C4ofAcKx.d.mts} +0 -0
- /package/dist/{document-DCtr8pVh.d.mts → document-CCcofYd9.d.mts} +0 -0
- /package/dist/{document-COaupB1r.mjs → document-CW3ycXvJ.mjs} +0 -0
- /package/dist/{document-DCIBlMpe.d.mts → document-Clr6FjtO.d.cts} +0 -0
- /package/dist/{document-CjNHI7Eb.d.cts → document-Ct4bnsKU.d.mts} +0 -0
- /package/dist/{document-Bh0a7Y8h.d.mts → document-CxeeO4Pl.d.mts} +0 -0
- /package/dist/{document-DJ0YiVte.d.cts → document-DIcd27AR.d.mts} +0 -0
- /package/dist/{document-D_ZMbzn6.d.cts → document-DK6Xmvao.d.cts} +0 -0
- /package/dist/{document-dqrWptdY.d.cts → document-DL4Wayv7.d.mts} +0 -0
- /package/dist/{document-W-NILXQV.d.mts → document-DX2Vidl1.d.cts} +0 -0
- /package/dist/{document-hEBlSep8.d.cts → document-DY8Wgy1A.d.mts} +0 -0
- /package/dist/{document-B0j6d1nH.d.mts → document-Db1-gtyJ.d.mts} +0 -0
- /package/dist/{document-2o5WNt6V.cjs → document-DtBkeafK.cjs} +0 -0
- /package/dist/{document-DSUxqMD4.d.mts → document-YDFyLZlN.d.mts} +0 -0
- /package/dist/{document-DgQnMgCD.d.mts → document-bJOLxFq1.d.mts} +0 -0
- /package/dist/{document-IIJpsOIO.d.cts → document-xVdETwbX.d.cts} +0 -0
- /package/dist/{document-gwpNlSBm.d.mts → document-yW376Wot.d.mts} +0 -0
- /package/dist/{fields-BQHSYj70.d.cts → fields-BuP0NSFS.d.mts} +0 -0
- /package/dist/{fields-DUuJ_1V0.d.mts → fields-ByZAYnAi.d.cts} +0 -0
- /package/dist/{json-CiA5ZRzc.d.mts → json-BbJGr6x_.d.mts} +0 -0
- /package/dist/{query.schema-oOG7BmVm.d.mts → query.schema-DKllKSKC.d.mts} +0 -0
- /package/dist/{response-I41vWpVZ.d.mts → response-BZKHnpHe.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ContentPillarDocument } from "../../document-
|
|
1
|
+
import { t as ContentPillarDocument } from "../../document-Ct4bnsKU.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/content-pillar/constants.d.ts
|
|
@@ -7,7 +7,7 @@ declare const LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE = 1000;
|
|
|
7
7
|
declare const CONTENT_PILLAR_SORT_KEYS: readonly ["id", "title", "slug", "createdAt", "updatedAt"];
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/entities/content-pillar/fields.d.ts
|
|
10
|
-
declare const QuerySortContentPillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
10
|
+
declare const QuerySortContentPillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], 5, undefined>]>, undefined>;
|
|
11
11
|
type QuerySortContentPillars = v.InferOutput<typeof QuerySortContentPillars>;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/entities/content-pillar/mutation.d.ts
|
|
@@ -43,8 +43,293 @@ declare const QueryStrapiSearchContentPillars: v.ObjectSchema<{
|
|
|
43
43
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
44
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
45
|
readonly clients: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
46
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
46
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:ASC" | "slug:DESC")[], 5, undefined>]>, undefined>;
|
|
47
47
|
}, undefined>;
|
|
48
48
|
type QueryStrapiSearchContentPillars = v.InferOutput<typeof QueryStrapiSearchContentPillars>;
|
|
49
49
|
//#endregion
|
|
50
|
-
|
|
50
|
+
//#region src/entities/content-pillar/relations.d.ts
|
|
51
|
+
declare const ContentPillarDocumentWithRelations: v.ObjectSchema<{
|
|
52
|
+
readonly clients: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
53
|
+
readonly is_active: v.BooleanSchema<undefined>;
|
|
54
|
+
readonly client: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
55
|
+
readonly title: v.StringSchema<undefined>;
|
|
56
|
+
readonly is_featured: v.BooleanSchema<undefined>;
|
|
57
|
+
readonly logos: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
58
|
+
readonly light: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
59
|
+
readonly name: v.StringSchema<undefined>;
|
|
60
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
61
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
62
|
+
readonly width: v.NumberSchema<undefined>;
|
|
63
|
+
readonly height: v.NumberSchema<undefined>;
|
|
64
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
65
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
66
|
+
readonly ext: v.StringSchema<undefined>;
|
|
67
|
+
readonly url: v.StringSchema<undefined>;
|
|
68
|
+
readonly hash: v.StringSchema<undefined>;
|
|
69
|
+
readonly mime: v.StringSchema<undefined>;
|
|
70
|
+
readonly name: v.StringSchema<undefined>;
|
|
71
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
72
|
+
readonly size: v.NumberSchema<undefined>;
|
|
73
|
+
readonly width: v.NumberSchema<undefined>;
|
|
74
|
+
readonly height: v.NumberSchema<undefined>;
|
|
75
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
76
|
+
}, undefined>, undefined>;
|
|
77
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
78
|
+
readonly ext: v.StringSchema<undefined>;
|
|
79
|
+
readonly url: v.StringSchema<undefined>;
|
|
80
|
+
readonly hash: v.StringSchema<undefined>;
|
|
81
|
+
readonly mime: v.StringSchema<undefined>;
|
|
82
|
+
readonly name: v.StringSchema<undefined>;
|
|
83
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
84
|
+
readonly size: v.NumberSchema<undefined>;
|
|
85
|
+
readonly width: v.NumberSchema<undefined>;
|
|
86
|
+
readonly height: v.NumberSchema<undefined>;
|
|
87
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
88
|
+
}, undefined>, undefined>;
|
|
89
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
90
|
+
readonly ext: v.StringSchema<undefined>;
|
|
91
|
+
readonly url: v.StringSchema<undefined>;
|
|
92
|
+
readonly hash: v.StringSchema<undefined>;
|
|
93
|
+
readonly mime: v.StringSchema<undefined>;
|
|
94
|
+
readonly name: v.StringSchema<undefined>;
|
|
95
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
96
|
+
readonly size: v.NumberSchema<undefined>;
|
|
97
|
+
readonly width: v.NumberSchema<undefined>;
|
|
98
|
+
readonly height: v.NumberSchema<undefined>;
|
|
99
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
100
|
+
}, undefined>, undefined>;
|
|
101
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
102
|
+
readonly ext: v.StringSchema<undefined>;
|
|
103
|
+
readonly url: v.StringSchema<undefined>;
|
|
104
|
+
readonly hash: v.StringSchema<undefined>;
|
|
105
|
+
readonly mime: v.StringSchema<undefined>;
|
|
106
|
+
readonly name: v.StringSchema<undefined>;
|
|
107
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
108
|
+
readonly size: v.NumberSchema<undefined>;
|
|
109
|
+
readonly width: v.NumberSchema<undefined>;
|
|
110
|
+
readonly height: v.NumberSchema<undefined>;
|
|
111
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
112
|
+
}, undefined>, undefined>;
|
|
113
|
+
}, undefined>, undefined>, undefined>;
|
|
114
|
+
readonly hash: v.StringSchema<undefined>;
|
|
115
|
+
readonly ext: v.StringSchema<undefined>;
|
|
116
|
+
readonly mime: v.StringSchema<undefined>;
|
|
117
|
+
readonly size: v.NumberSchema<undefined>;
|
|
118
|
+
readonly url: v.StringSchema<undefined>;
|
|
119
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
120
|
+
readonly provider: v.StringSchema<undefined>;
|
|
121
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
122
|
+
readonly id: v.NumberSchema<undefined>;
|
|
123
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
124
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
125
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
126
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
127
|
+
}, undefined>>, undefined>, undefined>;
|
|
128
|
+
readonly dark: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
129
|
+
readonly name: v.StringSchema<undefined>;
|
|
130
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
131
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
+
readonly width: v.NumberSchema<undefined>;
|
|
133
|
+
readonly height: v.NumberSchema<undefined>;
|
|
134
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
135
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
136
|
+
readonly ext: v.StringSchema<undefined>;
|
|
137
|
+
readonly url: v.StringSchema<undefined>;
|
|
138
|
+
readonly hash: v.StringSchema<undefined>;
|
|
139
|
+
readonly mime: v.StringSchema<undefined>;
|
|
140
|
+
readonly name: v.StringSchema<undefined>;
|
|
141
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
142
|
+
readonly size: v.NumberSchema<undefined>;
|
|
143
|
+
readonly width: v.NumberSchema<undefined>;
|
|
144
|
+
readonly height: v.NumberSchema<undefined>;
|
|
145
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
146
|
+
}, undefined>, undefined>;
|
|
147
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
148
|
+
readonly ext: v.StringSchema<undefined>;
|
|
149
|
+
readonly url: v.StringSchema<undefined>;
|
|
150
|
+
readonly hash: v.StringSchema<undefined>;
|
|
151
|
+
readonly mime: v.StringSchema<undefined>;
|
|
152
|
+
readonly name: v.StringSchema<undefined>;
|
|
153
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
154
|
+
readonly size: v.NumberSchema<undefined>;
|
|
155
|
+
readonly width: v.NumberSchema<undefined>;
|
|
156
|
+
readonly height: v.NumberSchema<undefined>;
|
|
157
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
158
|
+
}, undefined>, undefined>;
|
|
159
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
160
|
+
readonly ext: v.StringSchema<undefined>;
|
|
161
|
+
readonly url: v.StringSchema<undefined>;
|
|
162
|
+
readonly hash: v.StringSchema<undefined>;
|
|
163
|
+
readonly mime: v.StringSchema<undefined>;
|
|
164
|
+
readonly name: v.StringSchema<undefined>;
|
|
165
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
166
|
+
readonly size: v.NumberSchema<undefined>;
|
|
167
|
+
readonly width: v.NumberSchema<undefined>;
|
|
168
|
+
readonly height: v.NumberSchema<undefined>;
|
|
169
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
170
|
+
}, undefined>, undefined>;
|
|
171
|
+
readonly thumbnail: 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
|
+
}, undefined>, undefined>, undefined>;
|
|
184
|
+
readonly hash: v.StringSchema<undefined>;
|
|
185
|
+
readonly ext: v.StringSchema<undefined>;
|
|
186
|
+
readonly mime: v.StringSchema<undefined>;
|
|
187
|
+
readonly size: v.NumberSchema<undefined>;
|
|
188
|
+
readonly url: v.StringSchema<undefined>;
|
|
189
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
+
readonly provider: v.StringSchema<undefined>;
|
|
191
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
192
|
+
readonly id: v.NumberSchema<undefined>;
|
|
193
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
194
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
195
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
196
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
197
|
+
}, undefined>>, undefined>, undefined>;
|
|
198
|
+
readonly color: v.ObjectSchema<{
|
|
199
|
+
readonly name: v.StringSchema<undefined>;
|
|
200
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
201
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
202
|
+
readonly width: v.NumberSchema<undefined>;
|
|
203
|
+
readonly height: v.NumberSchema<undefined>;
|
|
204
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
205
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
206
|
+
readonly ext: v.StringSchema<undefined>;
|
|
207
|
+
readonly url: v.StringSchema<undefined>;
|
|
208
|
+
readonly hash: v.StringSchema<undefined>;
|
|
209
|
+
readonly mime: v.StringSchema<undefined>;
|
|
210
|
+
readonly name: v.StringSchema<undefined>;
|
|
211
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
212
|
+
readonly size: v.NumberSchema<undefined>;
|
|
213
|
+
readonly width: v.NumberSchema<undefined>;
|
|
214
|
+
readonly height: v.NumberSchema<undefined>;
|
|
215
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
216
|
+
}, undefined>, undefined>;
|
|
217
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
218
|
+
readonly ext: v.StringSchema<undefined>;
|
|
219
|
+
readonly url: v.StringSchema<undefined>;
|
|
220
|
+
readonly hash: v.StringSchema<undefined>;
|
|
221
|
+
readonly mime: v.StringSchema<undefined>;
|
|
222
|
+
readonly name: v.StringSchema<undefined>;
|
|
223
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
224
|
+
readonly size: v.NumberSchema<undefined>;
|
|
225
|
+
readonly width: v.NumberSchema<undefined>;
|
|
226
|
+
readonly height: v.NumberSchema<undefined>;
|
|
227
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
228
|
+
}, undefined>, undefined>;
|
|
229
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
230
|
+
readonly ext: v.StringSchema<undefined>;
|
|
231
|
+
readonly url: v.StringSchema<undefined>;
|
|
232
|
+
readonly hash: v.StringSchema<undefined>;
|
|
233
|
+
readonly mime: v.StringSchema<undefined>;
|
|
234
|
+
readonly name: v.StringSchema<undefined>;
|
|
235
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
236
|
+
readonly size: v.NumberSchema<undefined>;
|
|
237
|
+
readonly width: v.NumberSchema<undefined>;
|
|
238
|
+
readonly height: v.NumberSchema<undefined>;
|
|
239
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
240
|
+
}, undefined>, undefined>;
|
|
241
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
242
|
+
readonly ext: v.StringSchema<undefined>;
|
|
243
|
+
readonly url: v.StringSchema<undefined>;
|
|
244
|
+
readonly hash: v.StringSchema<undefined>;
|
|
245
|
+
readonly mime: v.StringSchema<undefined>;
|
|
246
|
+
readonly name: v.StringSchema<undefined>;
|
|
247
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
248
|
+
readonly size: v.NumberSchema<undefined>;
|
|
249
|
+
readonly width: v.NumberSchema<undefined>;
|
|
250
|
+
readonly height: v.NumberSchema<undefined>;
|
|
251
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
252
|
+
}, undefined>, undefined>;
|
|
253
|
+
}, undefined>, undefined>, undefined>;
|
|
254
|
+
readonly hash: v.StringSchema<undefined>;
|
|
255
|
+
readonly ext: v.StringSchema<undefined>;
|
|
256
|
+
readonly mime: v.StringSchema<undefined>;
|
|
257
|
+
readonly size: v.NumberSchema<undefined>;
|
|
258
|
+
readonly url: v.StringSchema<undefined>;
|
|
259
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
260
|
+
readonly provider: v.StringSchema<undefined>;
|
|
261
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
262
|
+
readonly id: v.NumberSchema<undefined>;
|
|
263
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
264
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
265
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
266
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
267
|
+
}, undefined>;
|
|
268
|
+
readonly id: v.NumberSchema<undefined>;
|
|
269
|
+
}, undefined>, undefined>, undefined>;
|
|
270
|
+
readonly teamwork_id: v.StringSchema<undefined>;
|
|
271
|
+
readonly teamwork_name: v.StringSchema<undefined>;
|
|
272
|
+
readonly gainapp_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
273
|
+
readonly utm_sheet_id: v.StringSchema<undefined>;
|
|
274
|
+
readonly allow_create_utm_link: v.BooleanSchema<undefined>;
|
|
275
|
+
readonly is_organic_social: v.BooleanSchema<undefined>;
|
|
276
|
+
readonly is_paid_media: v.BooleanSchema<undefined>;
|
|
277
|
+
readonly is_active: v.BooleanSchema<undefined>;
|
|
278
|
+
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
279
|
+
readonly classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
|
|
280
|
+
readonly id: v.NumberSchema<undefined>;
|
|
281
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
282
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
283
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
284
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
285
|
+
}, undefined>>, undefined>, undefined>;
|
|
286
|
+
readonly content_pillar: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
287
|
+
readonly title: v.StringSchema<undefined>;
|
|
288
|
+
readonly slug: v.StringSchema<undefined>;
|
|
289
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
290
|
+
readonly information: v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
291
|
+
readonly type: v.StringSchema<undefined>;
|
|
292
|
+
readonly children: v.ArraySchema<v.ObjectSchema<{
|
|
293
|
+
readonly type: v.StringSchema<undefined>;
|
|
294
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
295
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
296
|
+
readonly bold: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
297
|
+
readonly italic: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
298
|
+
readonly underline: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
299
|
+
}, undefined>, undefined>;
|
|
300
|
+
}, undefined>, undefined>, undefined>;
|
|
301
|
+
readonly id: v.NumberSchema<undefined>;
|
|
302
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
303
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
304
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
305
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
306
|
+
}, undefined>>, undefined>, undefined>;
|
|
307
|
+
readonly id: v.NumberSchema<undefined>;
|
|
308
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
309
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
310
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
311
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
312
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
313
|
+
readonly title: v.StringSchema<undefined>;
|
|
314
|
+
readonly slug: v.StringSchema<undefined>;
|
|
315
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
316
|
+
readonly information: v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
317
|
+
readonly type: v.StringSchema<undefined>;
|
|
318
|
+
readonly children: v.ArraySchema<v.ObjectSchema<{
|
|
319
|
+
readonly type: v.StringSchema<undefined>;
|
|
320
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
321
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
322
|
+
readonly bold: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
323
|
+
readonly italic: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
324
|
+
readonly underline: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
325
|
+
}, undefined>, undefined>;
|
|
326
|
+
}, undefined>, undefined>, undefined>;
|
|
327
|
+
readonly id: v.NumberSchema<undefined>;
|
|
328
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
329
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
330
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
331
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
332
|
+
}, undefined>;
|
|
333
|
+
type ContentPillarDocumentWithRelations = v.InferOutput<typeof ContentPillarDocumentWithRelations>;
|
|
334
|
+
//#endregion
|
|
335
|
+
export { CONTENT_PILLAR_SORT_KEYS, ContentPillarDocument, ContentPillarDocumentWithRelations, CreateContentPillarDocument, LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, QuerySortContentPillars, QueryStrapiSearchContentPillars, UpdateContentPillarDocument, UpdateContentPillarDocumentRequest };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
|
|
2
2
|
import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
3
3
|
import { a as SAssociateOneEntity, i as SAssociateManyEntities } from "../../relations-C04F46xL.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { n as ContentPillarDocument, t as ClientContentPillarDocument } from "../../document-DwsiJVoA.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
//#region src/entities/content-pillar/constants.ts
|
|
7
7
|
const LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -45,4 +45,10 @@ const QueryStrapiSearchContentPillars = v.object({
|
|
|
45
45
|
sort: QuerySortContentPillars
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
|
-
|
|
48
|
+
//#region src/entities/content-pillar/relations.ts
|
|
49
|
+
const ContentPillarDocumentWithRelations = v.object({
|
|
50
|
+
...ContentPillarDocument.entries,
|
|
51
|
+
clients: v.optional(v.nullable(v.array(v.lazy(() => ClientContentPillarDocument))))
|
|
52
|
+
});
|
|
53
|
+
//#endregion
|
|
54
|
+
export { CONTENT_PILLAR_SORT_KEYS, ContentPillarDocument, ContentPillarDocumentWithRelations, CreateContentPillarDocument, LIMIT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, QuerySortContentPillars, QueryStrapiSearchContentPillars, UpdateContentPillarDocument, UpdateContentPillarDocumentRequest };
|
|
@@ -12,7 +12,7 @@ declare const FORMATTER_MODE_OPTIONS: readonly [{
|
|
|
12
12
|
readonly label: "JSON Formatter";
|
|
13
13
|
readonly value: "json";
|
|
14
14
|
}];
|
|
15
|
-
declare const FORMATTER_MODE_VALUES: ("html" | "
|
|
15
|
+
declare const FORMATTER_MODE_VALUES: ("html" | "json" | "xml")[];
|
|
16
16
|
declare const INDENT_LEVEL_OPTIONS: readonly [{
|
|
17
17
|
readonly label: "2 Spaces Indent";
|
|
18
18
|
readonly value: "TWO_SPACES";
|
|
@@ -38,7 +38,7 @@ declare const INDENT_LEVEL_VALUES: ("TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES
|
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/entities/formatter/formatter.d.ts
|
|
40
40
|
type FormatterMode = (typeof FORMATTER_MODE_VALUES)[number];
|
|
41
|
-
declare const SFormatterMode: v.PicklistSchema<("html" | "
|
|
41
|
+
declare const SFormatterMode: v.PicklistSchema<("html" | "json" | "xml")[], undefined>;
|
|
42
42
|
type IndentLevel = (typeof INDENT_LEVEL_VALUES)[number];
|
|
43
43
|
declare const SIndentLevel: v.OptionalSchema<v.PicklistSchema<("TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES" | "TAB" | "COMPACT")[], undefined>, "TWO_SPACES">;
|
|
44
44
|
declare const SContentText: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 50000, `Text cannot exceed ${string} characters. Please upload a file instead if your content exceeds this limit.`>]>, undefined>;
|
|
@@ -50,13 +50,13 @@ declare const TXTMimeTypes: ["text/plain", "application/octet-stream"];
|
|
|
50
50
|
declare const allowedMimeTypes: ["text/html", "application/xhtml+xml", "text/xml", "application/xml", "application/rss+xml", "application/atom+xml", "text/json", "application/json", "application/ld+json", "application/json5", "application/x-ndjson", "application/jsonlines", "text/plain", "application/octet-stream"];
|
|
51
51
|
declare const SContentFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.FileSchema<"Please upload a file.">, v.MaxSizeAction<any, number, "File must be smaller than 2 MB.">, v.MimeTypeAction<any, ["text/html", "application/xhtml+xml", "text/xml", "application/xml", "application/rss+xml", "application/atom+xml", "text/json", "application/json", "application/ld+json", "application/json5", "application/x-ndjson", "application/jsonlines", "text/plain", "application/octet-stream"], "Please upload a valid file: text, HTML, XML, or JSON.">]>, undefined>;
|
|
52
52
|
declare const SFormatterForm: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
53
|
-
readonly formatter_mode: v.PicklistSchema<("html" | "
|
|
53
|
+
readonly formatter_mode: v.PicklistSchema<("html" | "json" | "xml")[], undefined>;
|
|
54
54
|
readonly chars_per_line: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
55
55
|
readonly indent_level: v.OptionalSchema<v.PicklistSchema<("TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES" | "TAB" | "COMPACT")[], undefined>, "TWO_SPACES">;
|
|
56
56
|
readonly text_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 50000, `Text cannot exceed ${string} characters. Please upload a file instead if your content exceeds this limit.`>]>, undefined>;
|
|
57
57
|
readonly files: v.OptionalSchema<v.SchemaWithPipe<readonly [v.FileSchema<"Please upload a file.">, v.MaxSizeAction<any, number, "File must be smaller than 2 MB.">, v.MimeTypeAction<any, ["text/html", "application/xhtml+xml", "text/xml", "application/xml", "application/rss+xml", "application/atom+xml", "text/json", "application/json", "application/ld+json", "application/json5", "application/x-ndjson", "application/jsonlines", "text/plain", "application/octet-stream"], "Please upload a valid file: text, HTML, XML, or JSON.">]>, undefined>;
|
|
58
58
|
}, undefined>, v.CheckAction<{
|
|
59
|
-
formatter_mode: "html" | "
|
|
59
|
+
formatter_mode: "html" | "json" | "xml";
|
|
60
60
|
chars_per_line?: number | undefined;
|
|
61
61
|
indent_level: "TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES" | "TAB" | "COMPACT";
|
|
62
62
|
text_content?: string | undefined;
|
|
@@ -64,7 +64,7 @@ declare const SFormatterForm: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
64
64
|
}, "You must provide text content or a text file.">]>;
|
|
65
65
|
type SFormatterForm = v.InferOutput<typeof SFormatterForm>;
|
|
66
66
|
declare const SFormatterRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
67
|
-
readonly formatter_mode: v.PicklistSchema<("html" | "
|
|
67
|
+
readonly formatter_mode: v.PicklistSchema<("html" | "json" | "xml")[], undefined>;
|
|
68
68
|
readonly chars_per_line: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
69
69
|
readonly indent_level: v.OptionalSchema<v.PicklistSchema<("TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES" | "TAB" | "COMPACT")[], undefined>, "TWO_SPACES">;
|
|
70
70
|
readonly content: v.StringSchema<undefined>;
|
|
@@ -12,7 +12,7 @@ declare const FORMATTER_MODE_OPTIONS: readonly [{
|
|
|
12
12
|
readonly label: "JSON Formatter";
|
|
13
13
|
readonly value: "json";
|
|
14
14
|
}];
|
|
15
|
-
declare const FORMATTER_MODE_VALUES: ("html" | "
|
|
15
|
+
declare const FORMATTER_MODE_VALUES: ("html" | "json" | "xml")[];
|
|
16
16
|
declare const INDENT_LEVEL_OPTIONS: readonly [{
|
|
17
17
|
readonly label: "2 Spaces Indent";
|
|
18
18
|
readonly value: "TWO_SPACES";
|
|
@@ -38,7 +38,7 @@ declare const INDENT_LEVEL_VALUES: ("TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES
|
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/entities/formatter/formatter.d.ts
|
|
40
40
|
type FormatterMode = (typeof FORMATTER_MODE_VALUES)[number];
|
|
41
|
-
declare const SFormatterMode: v.PicklistSchema<("html" | "
|
|
41
|
+
declare const SFormatterMode: v.PicklistSchema<("html" | "json" | "xml")[], undefined>;
|
|
42
42
|
type IndentLevel = (typeof INDENT_LEVEL_VALUES)[number];
|
|
43
43
|
declare const SIndentLevel: v.OptionalSchema<v.PicklistSchema<("TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES" | "TAB" | "COMPACT")[], undefined>, "TWO_SPACES">;
|
|
44
44
|
declare const SContentText: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 50000, `Text cannot exceed ${string} characters. Please upload a file instead if your content exceeds this limit.`>]>, undefined>;
|
|
@@ -50,13 +50,13 @@ declare const TXTMimeTypes: ["text/plain", "application/octet-stream"];
|
|
|
50
50
|
declare const allowedMimeTypes: ["text/html", "application/xhtml+xml", "text/xml", "application/xml", "application/rss+xml", "application/atom+xml", "text/json", "application/json", "application/ld+json", "application/json5", "application/x-ndjson", "application/jsonlines", "text/plain", "application/octet-stream"];
|
|
51
51
|
declare const SContentFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.FileSchema<"Please upload a file.">, v.MaxSizeAction<any, number, "File must be smaller than 2 MB.">, v.MimeTypeAction<any, ["text/html", "application/xhtml+xml", "text/xml", "application/xml", "application/rss+xml", "application/atom+xml", "text/json", "application/json", "application/ld+json", "application/json5", "application/x-ndjson", "application/jsonlines", "text/plain", "application/octet-stream"], "Please upload a valid file: text, HTML, XML, or JSON.">]>, undefined>;
|
|
52
52
|
declare const SFormatterForm: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
53
|
-
readonly formatter_mode: v.PicklistSchema<("html" | "
|
|
53
|
+
readonly formatter_mode: v.PicklistSchema<("html" | "json" | "xml")[], undefined>;
|
|
54
54
|
readonly chars_per_line: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
55
55
|
readonly indent_level: v.OptionalSchema<v.PicklistSchema<("TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES" | "TAB" | "COMPACT")[], undefined>, "TWO_SPACES">;
|
|
56
56
|
readonly text_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 50000, `Text cannot exceed ${string} characters. Please upload a file instead if your content exceeds this limit.`>]>, undefined>;
|
|
57
57
|
readonly files: v.OptionalSchema<v.SchemaWithPipe<readonly [v.FileSchema<"Please upload a file.">, v.MaxSizeAction<any, number, "File must be smaller than 2 MB.">, v.MimeTypeAction<any, ["text/html", "application/xhtml+xml", "text/xml", "application/xml", "application/rss+xml", "application/atom+xml", "text/json", "application/json", "application/ld+json", "application/json5", "application/x-ndjson", "application/jsonlines", "text/plain", "application/octet-stream"], "Please upload a valid file: text, HTML, XML, or JSON.">]>, undefined>;
|
|
58
58
|
}, undefined>, v.CheckAction<{
|
|
59
|
-
formatter_mode: "html" | "
|
|
59
|
+
formatter_mode: "html" | "json" | "xml";
|
|
60
60
|
chars_per_line?: number | undefined;
|
|
61
61
|
indent_level: "TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES" | "TAB" | "COMPACT";
|
|
62
62
|
text_content?: string | undefined;
|
|
@@ -64,7 +64,7 @@ declare const SFormatterForm: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
64
64
|
}, "You must provide text content or a text file.">]>;
|
|
65
65
|
type SFormatterForm = v.InferOutput<typeof SFormatterForm>;
|
|
66
66
|
declare const SFormatterRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
67
|
-
readonly formatter_mode: v.PicklistSchema<("html" | "
|
|
67
|
+
readonly formatter_mode: v.PicklistSchema<("html" | "json" | "xml")[], undefined>;
|
|
68
68
|
readonly chars_per_line: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
69
69
|
readonly indent_level: v.OptionalSchema<v.PicklistSchema<("TWO_SPACES" | "THREE_SPACES" | "FOUR_SPACES" | "TAB" | "COMPACT")[], undefined>, "TWO_SPACES">;
|
|
70
70
|
readonly content: v.StringSchema<undefined>;
|
|
@@ -1,9 +1,11 @@
|
|
|
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
5
|
const require_relations = require("../../relations-CGu18hfT.cjs");
|
|
6
|
+
const require_document = require("../../document-DtBkeafK.cjs");
|
|
7
|
+
const require_document$1 = require("../../document-DwuQKbb9.cjs");
|
|
8
|
+
const require_document$2 = require("../../document-oPQeqMah.cjs");
|
|
7
9
|
let valibot = require("valibot");
|
|
8
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
11
|
//#region src/entities/gcflytour/constants.ts
|
|
@@ -19,16 +21,6 @@ const GCFLYTOUR_SORT_KEYS = [
|
|
|
19
21
|
"updatedAt"
|
|
20
22
|
];
|
|
21
23
|
//#endregion
|
|
22
|
-
//#region src/entities/gcflytour/document.ts
|
|
23
|
-
const GCFlyTourDocument = valibot.object({
|
|
24
|
-
...require_document.BaseDocument.entries,
|
|
25
|
-
title: valibot.string(),
|
|
26
|
-
slug: valibot.string(),
|
|
27
|
-
description: valibot.nullable(valibot.string()),
|
|
28
|
-
is_active: valibot.boolean(),
|
|
29
|
-
is_hidden: valibot.boolean()
|
|
30
|
-
});
|
|
31
|
-
//#endregion
|
|
32
24
|
//#region src/entities/gcflytour/fields.ts
|
|
33
25
|
const QuerySortGCFlyTours = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(GCFLYTOUR_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(GCFLYTOUR_SORT_KEYS.length)));
|
|
34
26
|
//#endregion
|
|
@@ -68,9 +60,17 @@ const QueryStrapiSearchGCFlyTours = valibot.object({
|
|
|
68
60
|
sort: QuerySortGCFlyTours
|
|
69
61
|
});
|
|
70
62
|
//#endregion
|
|
63
|
+
//#region src/entities/gcflytour/relations.ts
|
|
64
|
+
const GCFlyTourDocumentWithRelations = valibot.object({
|
|
65
|
+
...require_document$1.GCFlyTourDocument.entries,
|
|
66
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document.ClientDocument)))),
|
|
67
|
+
gcflytour_snaps: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$2.GCFlyTourSnapDocument))))
|
|
68
|
+
});
|
|
69
|
+
//#endregion
|
|
71
70
|
exports.CreateGCFlyTourDocument = CreateGCFlyTourDocument;
|
|
72
71
|
exports.GCFLYTOUR_SORT_KEYS = GCFLYTOUR_SORT_KEYS;
|
|
73
|
-
exports.GCFlyTourDocument = GCFlyTourDocument;
|
|
72
|
+
exports.GCFlyTourDocument = require_document$1.GCFlyTourDocument;
|
|
73
|
+
exports.GCFlyTourDocumentWithRelations = GCFlyTourDocumentWithRelations;
|
|
74
74
|
exports.LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE = LIMIT_GCFLYTOUR_PAGINATION_DEFAULT_SIZE;
|
|
75
75
|
exports.LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE = LIMIT_GCFLYTOUR_PAGINATION_MAX_SIZE;
|
|
76
76
|
exports.QuerySortGCFlyTours = QuerySortGCFlyTours;
|