@getcommunity/gc-validators 0.0.271-alpha.2 → 0.0.271-alpha.21
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 +20 -20
- package/dist/base/index.d.cts +3 -4
- package/dist/base/index.d.mts +3 -4
- package/dist/base/index.mjs +3 -3
- 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 +13 -2
- package/dist/components/shared/index.d.cts +1 -916
- package/dist/components/shared/index.d.mts +1 -916
- package/dist/components/shared/index.mjs +13 -2
- 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/constants/index.cjs +5 -3
- package/dist/constants/index.d.cts +417 -3
- package/dist/constants/index.d.mts +417 -3
- package/dist/constants/index.mjs +2 -2
- package/dist/document-CAkRm1Y_.d.mts +24 -0
- package/dist/document-CDavjuJ-.mjs +19 -0
- package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
- package/dist/document-CwIvc2p7.cjs +26 -0
- package/dist/document-DOVZwQRq.cjs +728 -0
- package/dist/document-DR6GQUE8.cjs +243 -0
- package/dist/document-DaICHS9G.cjs +17 -0
- package/dist/document-TlMeVEGy.d.cts +24 -0
- package/dist/document-c3GNPelp.mjs +10 -0
- package/dist/document-exUYRsta.mjs +128 -0
- package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
- package/dist/document-kvIqz0p6.mjs +457 -0
- package/dist/entities/audit-log/index.cjs +2 -2
- package/dist/entities/audit-log/index.d.cts +3 -3
- 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.cjs +1 -1
- package/dist/entities/blog-page/index.d.cts +12 -251
- package/dist/entities/blog-page/index.d.mts +12 -251
- package/dist/entities/blog-page/index.mjs +1 -1
- package/dist/entities/blog-post/index.cjs +2 -2
- 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 +2 -2
- package/dist/entities/careers-page/index.cjs +1 -1
- package/dist/entities/careers-page/index.d.cts +12 -251
- package/dist/entities/careers-page/index.d.mts +12 -251
- package/dist/entities/careers-page/index.mjs +1 -1
- package/dist/entities/category/index.cjs +4 -13
- package/dist/entities/category/index.d.cts +3 -260
- package/dist/entities/category/index.d.mts +3 -260
- 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.cjs +1 -1
- package/dist/entities/faq-page/index.d.cts +13 -329
- package/dist/entities/faq-page/index.d.mts +13 -329
- package/dist/entities/faq-page/index.mjs +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 +2 -2
- package/dist/entities/landing-page/index.d.cts +25 -474
- package/dist/entities/landing-page/index.d.mts +25 -474
- package/dist/entities/landing-page/index.mjs +2 -2
- 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.cjs +2 -2
- package/dist/entities/policy-page/index.d.cts +15 -321
- package/dist/entities/policy-page/index.d.mts +15 -321
- package/dist/entities/policy-page/index.mjs +2 -2
- package/dist/entities/product/index.cjs +2 -21
- package/dist/entities/product/index.d.cts +1 -319
- package/dist/entities/product/index.d.mts +1 -319
- package/dist/entities/product/index.mjs +1 -18
- package/dist/entities/product-highlight/index.cjs +2 -21
- package/dist/entities/product-highlight/index.d.cts +1 -244
- package/dist/entities/product-highlight/index.d.mts +1 -244
- package/dist/entities/product-highlight/index.mjs +1 -18
- package/dist/entities/resume/index.cjs +2 -2
- package/dist/entities/resume/index.mjs +1 -1
- package/dist/entities/tag/index.cjs +4 -11
- package/dist/entities/tag/index.d.cts +3 -14
- package/dist/entities/tag/index.d.mts +3 -14
- package/dist/entities/tag/index.mjs +2 -9
- package/dist/entities/team-member/index.cjs +8 -3
- package/dist/entities/team-member/index.d.cts +2 -210
- package/dist/entities/team-member/index.d.mts +2 -210
- package/dist/entities/team-member/index.mjs +7 -3
- package/dist/entities/team-page/index.cjs +1 -1
- package/dist/entities/team-page/index.d.cts +12 -251
- package/dist/entities/team-page/index.d.mts +12 -251
- package/dist/entities/team-page/index.mjs +1 -1
- package/dist/entities/teamwork/index.d.cts +5 -6
- package/dist/entities/teamwork/index.d.mts +5 -6
- 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-B3VtiObV.d.mts +317 -0
- package/dist/index-B7kzXrHG.d.mts +4746 -0
- package/dist/index-Bo7Y0_IX.d.mts +945 -0
- package/dist/index-BqCOvpbq.d.cts +945 -0
- package/dist/{document-C0c7azOe.d.mts → index-BxEBUjx2.d.mts} +236 -184
- package/dist/index-CQP_vcmO.d.cts +317 -0
- package/dist/index-CRoWUxGV.d.cts +1324 -0
- package/dist/index-CnZGEWjN.d.cts +4746 -0
- package/dist/index-D11tQdCv.d.cts +34 -0
- package/dist/{index-DYPjS1qh.d.mts → index-D3KnOYr7.d.mts} +3 -3
- package/dist/index-DLICmJ_-.d.mts +34 -0
- package/dist/{index-BLE_fX1Q.d.cts → index-D_YPjLxv.d.cts} +3 -3
- package/dist/{index-Bht1Jd5l.d.mts → index-HC5SDR9c.d.mts} +111 -154
- package/dist/{index-ZBDWYTfn.d.cts → index-VMlL6p9e.d.cts} +111 -154
- package/dist/{document-DN3g0EFx.d.cts → index-auU0DaW5.d.cts} +236 -184
- package/dist/index-oCLNrzIj.d.mts +1324 -0
- package/dist/{json-CqAaKeHA.d.mts → json-BrVkpLbC.d.mts} +1 -0
- package/dist/{json-BJ8GyrtC.d.cts → json-Cm6HECXA.d.cts} +1 -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-BOZj3jek.cjs} +3 -3
- package/dist/{query.schema-YKoOuBnk.mjs → query-Dpy-S8bA.mjs} +2 -2
- package/dist/{relations-CGu18hfT.cjs → relationships-B0sgMFZA.cjs} +2 -2
- package/dist/{relations-C04F46xL.mjs → relationships-D1Kp-Gfe.mjs} +2 -2
- package/dist/{strapi-C7POOPEf.cjs → strapi-B0f98T3D.cjs} +3 -3
- package/dist/strapi-BZGtE-mE.cjs +455 -0
- package/dist/{strapi-C0DtxJLD.mjs → strapi-CcyhoATG.mjs} +3 -3
- package/dist/strapi-JZZXwngw.mjs +420 -0
- package/dist/utilities/index.cjs +20 -0
- package/dist/utilities/index.d.cts +11 -2
- package/dist/utilities/index.d.mts +11 -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-BMxLOdrT.d.cts +0 -267
- 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-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-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-Gx2Vrg_w.d.mts +0 -267
- 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/strapi-COeswSwJ.mjs +0 -49
- package/dist/strapi-DmhV7ODq.cjs +0 -72
- /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
- /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as JsonData } from "./json-
|
|
1
|
+
import { t as JsonData } from "./json-Cm6HECXA.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/base/component.d.ts
|
|
@@ -41,13 +41,13 @@ declare const WebSafeFont: v.PicklistSchema<["serif", "Arial", "Arial Black", "V
|
|
|
41
41
|
type WebSafeFont = v.InferOutput<typeof WebSafeFont>;
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/base/forms.d.ts
|
|
44
|
-
declare const FormSelectInputOption: v.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
44
|
+
declare const FormSelectInputOption: v.GenericSchema<{
|
|
45
|
+
label: string;
|
|
46
|
+
value: string;
|
|
47
|
+
description?: string | null;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
meta?: JsonData;
|
|
50
|
+
}>;
|
|
51
51
|
type FormSelectInputOption = v.InferOutput<typeof FormSelectInputOption>;
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/base/links.d.ts
|
|
@@ -61,143 +61,6 @@ declare const STRAPI_LINK_REL: readonly ["alternate", "author", "bookmark", "ext
|
|
|
61
61
|
declare const StrapiLinkRel: v.PicklistSchema<readonly ["alternate", "author", "bookmark", "external", "help", "license", "next", "nofollow", "noreferrer", "noopener", "prev", "search", "tag"], undefined>;
|
|
62
62
|
type StrapiLinkRel = v.InferOutput<typeof StrapiLinkRel>;
|
|
63
63
|
//#endregion
|
|
64
|
-
//#region src/base/media-upload.d.ts
|
|
65
|
-
declare const MediaFormat: 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>;
|
|
77
|
-
type MediaFormat = v.InferOutput<typeof MediaFormat>;
|
|
78
|
-
declare const MediaFormats: v.ObjectSchema<{
|
|
79
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
80
|
-
readonly ext: v.StringSchema<undefined>;
|
|
81
|
-
readonly url: v.StringSchema<undefined>;
|
|
82
|
-
readonly hash: v.StringSchema<undefined>;
|
|
83
|
-
readonly mime: v.StringSchema<undefined>;
|
|
84
|
-
readonly name: v.StringSchema<undefined>;
|
|
85
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
-
readonly size: v.NumberSchema<undefined>;
|
|
87
|
-
readonly width: v.NumberSchema<undefined>;
|
|
88
|
-
readonly height: v.NumberSchema<undefined>;
|
|
89
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
90
|
-
}, undefined>, undefined>;
|
|
91
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
92
|
-
readonly ext: v.StringSchema<undefined>;
|
|
93
|
-
readonly url: v.StringSchema<undefined>;
|
|
94
|
-
readonly hash: v.StringSchema<undefined>;
|
|
95
|
-
readonly mime: v.StringSchema<undefined>;
|
|
96
|
-
readonly name: v.StringSchema<undefined>;
|
|
97
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
-
readonly size: v.NumberSchema<undefined>;
|
|
99
|
-
readonly width: v.NumberSchema<undefined>;
|
|
100
|
-
readonly height: v.NumberSchema<undefined>;
|
|
101
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
102
|
-
}, undefined>, undefined>;
|
|
103
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
104
|
-
readonly ext: v.StringSchema<undefined>;
|
|
105
|
-
readonly url: v.StringSchema<undefined>;
|
|
106
|
-
readonly hash: v.StringSchema<undefined>;
|
|
107
|
-
readonly mime: v.StringSchema<undefined>;
|
|
108
|
-
readonly name: v.StringSchema<undefined>;
|
|
109
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
110
|
-
readonly size: v.NumberSchema<undefined>;
|
|
111
|
-
readonly width: v.NumberSchema<undefined>;
|
|
112
|
-
readonly height: v.NumberSchema<undefined>;
|
|
113
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
114
|
-
}, undefined>, undefined>;
|
|
115
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
116
|
-
readonly ext: v.StringSchema<undefined>;
|
|
117
|
-
readonly url: v.StringSchema<undefined>;
|
|
118
|
-
readonly hash: v.StringSchema<undefined>;
|
|
119
|
-
readonly mime: v.StringSchema<undefined>;
|
|
120
|
-
readonly name: v.StringSchema<undefined>;
|
|
121
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
122
|
-
readonly size: v.NumberSchema<undefined>;
|
|
123
|
-
readonly width: v.NumberSchema<undefined>;
|
|
124
|
-
readonly height: v.NumberSchema<undefined>;
|
|
125
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
126
|
-
}, undefined>, undefined>;
|
|
127
|
-
}, undefined>;
|
|
128
|
-
type MediaFormats = v.InferOutput<typeof MediaFormats>;
|
|
129
|
-
declare const MediaUploadDocument: v.ObjectSchema<{
|
|
130
|
-
readonly name: v.StringSchema<undefined>;
|
|
131
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
133
|
-
readonly width: v.NumberSchema<undefined>;
|
|
134
|
-
readonly height: v.NumberSchema<undefined>;
|
|
135
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
136
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
137
|
-
readonly ext: v.StringSchema<undefined>;
|
|
138
|
-
readonly url: v.StringSchema<undefined>;
|
|
139
|
-
readonly hash: v.StringSchema<undefined>;
|
|
140
|
-
readonly mime: v.StringSchema<undefined>;
|
|
141
|
-
readonly name: v.StringSchema<undefined>;
|
|
142
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
143
|
-
readonly size: v.NumberSchema<undefined>;
|
|
144
|
-
readonly width: v.NumberSchema<undefined>;
|
|
145
|
-
readonly height: v.NumberSchema<undefined>;
|
|
146
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
147
|
-
}, undefined>, undefined>;
|
|
148
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
149
|
-
readonly ext: v.StringSchema<undefined>;
|
|
150
|
-
readonly url: v.StringSchema<undefined>;
|
|
151
|
-
readonly hash: v.StringSchema<undefined>;
|
|
152
|
-
readonly mime: v.StringSchema<undefined>;
|
|
153
|
-
readonly name: v.StringSchema<undefined>;
|
|
154
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
155
|
-
readonly size: v.NumberSchema<undefined>;
|
|
156
|
-
readonly width: v.NumberSchema<undefined>;
|
|
157
|
-
readonly height: v.NumberSchema<undefined>;
|
|
158
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
159
|
-
}, undefined>, undefined>;
|
|
160
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
161
|
-
readonly ext: v.StringSchema<undefined>;
|
|
162
|
-
readonly url: v.StringSchema<undefined>;
|
|
163
|
-
readonly hash: v.StringSchema<undefined>;
|
|
164
|
-
readonly mime: v.StringSchema<undefined>;
|
|
165
|
-
readonly name: v.StringSchema<undefined>;
|
|
166
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
167
|
-
readonly size: v.NumberSchema<undefined>;
|
|
168
|
-
readonly width: v.NumberSchema<undefined>;
|
|
169
|
-
readonly height: v.NumberSchema<undefined>;
|
|
170
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
171
|
-
}, undefined>, undefined>;
|
|
172
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
173
|
-
readonly ext: v.StringSchema<undefined>;
|
|
174
|
-
readonly url: v.StringSchema<undefined>;
|
|
175
|
-
readonly hash: v.StringSchema<undefined>;
|
|
176
|
-
readonly mime: v.StringSchema<undefined>;
|
|
177
|
-
readonly name: v.StringSchema<undefined>;
|
|
178
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
179
|
-
readonly size: v.NumberSchema<undefined>;
|
|
180
|
-
readonly width: v.NumberSchema<undefined>;
|
|
181
|
-
readonly height: v.NumberSchema<undefined>;
|
|
182
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
183
|
-
}, undefined>, undefined>;
|
|
184
|
-
}, undefined>, undefined>, undefined>;
|
|
185
|
-
readonly hash: v.StringSchema<undefined>;
|
|
186
|
-
readonly ext: v.StringSchema<undefined>;
|
|
187
|
-
readonly mime: v.StringSchema<undefined>;
|
|
188
|
-
readonly size: v.NumberSchema<undefined>;
|
|
189
|
-
readonly url: v.StringSchema<undefined>;
|
|
190
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
191
|
-
readonly provider: v.StringSchema<undefined>;
|
|
192
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
193
|
-
readonly id: v.NumberSchema<undefined>;
|
|
194
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
195
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
196
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
197
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
198
|
-
}, undefined>;
|
|
199
|
-
type MediaUploadDocument = v.InferOutput<typeof MediaUploadDocument>;
|
|
200
|
-
//#endregion
|
|
201
64
|
//#region src/base/pagination.d.ts
|
|
202
65
|
declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
203
66
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
@@ -206,7 +69,45 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
|
206
69
|
}, undefined>;
|
|
207
70
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
208
71
|
//#endregion
|
|
209
|
-
//#region src/base/
|
|
72
|
+
//#region src/base/query.d.ts
|
|
73
|
+
declare const QueryStrapiById: v.ObjectSchema<{
|
|
74
|
+
readonly id: v.NumberSchema<undefined>;
|
|
75
|
+
}, undefined>;
|
|
76
|
+
type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
|
|
77
|
+
declare const QueryStrapiByDocumentId: v.ObjectSchema<{
|
|
78
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
79
|
+
}, undefined>;
|
|
80
|
+
type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
81
|
+
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
82
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
83
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
84
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
85
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
86
|
+
}, undefined>;
|
|
87
|
+
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
88
|
+
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
89
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
90
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
91
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
92
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
95
|
+
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
96
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
97
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
98
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
99
|
+
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
102
|
+
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
103
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
104
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
105
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
106
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
107
|
+
}, undefined>;
|
|
108
|
+
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region src/base/relationships.d.ts
|
|
210
111
|
declare const SAssociateOneEntity: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
211
112
|
type SAssociateOneEntity = v.InferOutput<typeof SAssociateOneEntity>;
|
|
212
113
|
declare const SAssociateManyEntities: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>;
|
|
@@ -214,13 +115,13 @@ type SAssociateManyEntities = v.InferOutput<typeof SAssociateManyEntities>;
|
|
|
214
115
|
declare const SQueryManyEntities: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>;
|
|
215
116
|
type SQueryManyEntities = v.InferOutput<typeof SQueryManyEntities>;
|
|
216
117
|
declare const SAssociateEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
217
|
-
readonly collection: v.PicklistSchema<
|
|
118
|
+
readonly collection: v.PicklistSchema<("clients" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "tags" | "team-members" | "trends" | "users" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
218
119
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
219
120
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
220
121
|
readonly connect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
221
122
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
222
123
|
}, undefined>, v.CheckAction<{
|
|
223
|
-
collection: "audit-logs" | "blog-posts" | "categories" | "
|
|
124
|
+
collection: "clients" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "tags" | "team-members" | "trends" | "users" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
224
125
|
documentId: string;
|
|
225
126
|
relationKey: string;
|
|
226
127
|
connect?: string[] | undefined;
|
|
@@ -250,7 +151,7 @@ declare const SAssociateEntityPosition: v.ObjectSchema<{
|
|
|
250
151
|
}, undefined>;
|
|
251
152
|
type SAssociateEntityPosition = v.InferOutput<typeof SAssociateEntityPosition>;
|
|
252
153
|
declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
253
|
-
readonly collection: v.PicklistSchema<
|
|
154
|
+
readonly collection: v.PicklistSchema<("clients" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "tags" | "team-members" | "trends" | "users" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
254
155
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
255
156
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
256
157
|
readonly connect: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -267,7 +168,7 @@ declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
267
168
|
}, undefined>, undefined>, undefined>;
|
|
268
169
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
269
170
|
}, undefined>, v.CheckAction<{
|
|
270
|
-
collection: "audit-logs" | "blog-posts" | "categories" | "
|
|
171
|
+
collection: "clients" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "tags" | "team-members" | "trends" | "users" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
271
172
|
documentId: string;
|
|
272
173
|
relationKey: string;
|
|
273
174
|
connect?: {
|
|
@@ -284,13 +185,69 @@ declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
284
185
|
}, "You must provide a relationship to update: connect or disconnect.">]>;
|
|
285
186
|
type SAssociateEntityPositionDocumentRequest = v.InferOutput<typeof SAssociateEntityPositionDocumentRequest>;
|
|
286
187
|
declare const SSetEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
287
|
-
readonly collection: v.PicklistSchema<
|
|
188
|
+
readonly collection: v.PicklistSchema<("clients" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "tags" | "team-members" | "trends" | "users" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
288
189
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
289
190
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
290
191
|
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>;
|
|
291
192
|
}, undefined>]>;
|
|
292
193
|
type SSetEntityRelationshipRequest = v.InferOutput<typeof SSetEntityRelationshipRequest>;
|
|
293
194
|
//#endregion
|
|
195
|
+
//#region src/base/response.d.ts
|
|
196
|
+
type StrapiPagination = {
|
|
197
|
+
page: number;
|
|
198
|
+
pageSize: number;
|
|
199
|
+
pageCount: number;
|
|
200
|
+
total: number;
|
|
201
|
+
};
|
|
202
|
+
type StrapiResponseMeta = {
|
|
203
|
+
pagination?: StrapiPagination;
|
|
204
|
+
token?: string;
|
|
205
|
+
};
|
|
206
|
+
type StrapiResponseMetaWithPagination = Omit<StrapiResponseMeta, "pagination"> & {
|
|
207
|
+
pagination: StrapiPagination;
|
|
208
|
+
};
|
|
209
|
+
type StrapiAttributeErrorKey<T> = {
|
|
210
|
+
message: string;
|
|
211
|
+
name: string;
|
|
212
|
+
path: string[];
|
|
213
|
+
value: T[keyof T];
|
|
214
|
+
};
|
|
215
|
+
type StrapiErrorDetail<T> = {
|
|
216
|
+
status: string | number;
|
|
217
|
+
name: string;
|
|
218
|
+
message: string;
|
|
219
|
+
details: Record<keyof T, string>;
|
|
220
|
+
};
|
|
221
|
+
type StrapiAttributeErrorDetail<T> = {
|
|
222
|
+
status: string | number;
|
|
223
|
+
name: string;
|
|
224
|
+
message: string;
|
|
225
|
+
details: {
|
|
226
|
+
errors: StrapiAttributeErrorKey<T>[];
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
type StrapiSingleResponse<T> = {
|
|
230
|
+
data: T;
|
|
231
|
+
meta?: StrapiResponseMeta;
|
|
232
|
+
error?: undefined;
|
|
233
|
+
};
|
|
234
|
+
type StrapiListResponse<T> = {
|
|
235
|
+
data: T[];
|
|
236
|
+
meta: StrapiResponseMetaWithPagination;
|
|
237
|
+
error?: undefined;
|
|
238
|
+
};
|
|
239
|
+
type StrapiErrorResponse<T> = {
|
|
240
|
+
error: StrapiErrorDetail<T>;
|
|
241
|
+
data: null;
|
|
242
|
+
meta?: undefined;
|
|
243
|
+
};
|
|
244
|
+
type StrapiAttributeErrorResponse<T> = {
|
|
245
|
+
error: StrapiAttributeErrorDetail<T>;
|
|
246
|
+
data: null;
|
|
247
|
+
meta?: undefined;
|
|
248
|
+
};
|
|
249
|
+
type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
|
|
250
|
+
//#endregion
|
|
294
251
|
//#region src/base/sort.d.ts
|
|
295
252
|
declare const ENTITY_SORT_KEYS: readonly ["id", "createdAt", "updatedAt"];
|
|
296
253
|
declare const QuerySortEntities: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
@@ -299,9 +256,9 @@ type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
|
|
|
299
256
|
//#region src/base/strapi.d.ts
|
|
300
257
|
declare const ContentStatus: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
301
258
|
type ContentStatus = v.InferOutput<typeof ContentStatus>;
|
|
302
|
-
declare const ValidStrapiCollectionEntity: v.PicklistSchema<
|
|
259
|
+
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("clients" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "tags" | "team-members" | "trends" | "users" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
303
260
|
type ValidStrapiCollectionEntity = v.InferOutput<typeof ValidStrapiCollectionEntity>;
|
|
304
|
-
declare const ValidStrapiSingleEntity: v.PicklistSchema<
|
|
261
|
+
declare const ValidStrapiSingleEntity: v.PicklistSchema<("blog-page" | "careers-page" | "faq" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[], undefined>;
|
|
305
262
|
type ValidStrapiSingleEntity = v.InferOutput<typeof ValidStrapiSingleEntity>;
|
|
306
263
|
declare const ValidStrapiSpecialEntity: v.PicklistSchema<readonly ["formatter"], undefined>;
|
|
307
264
|
type ValidStrapiSpecialEntity = v.InferOutput<typeof ValidStrapiSpecialEntity>;
|
|
@@ -419,4 +376,4 @@ declare const VPage: () => v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberS
|
|
|
419
376
|
*/
|
|
420
377
|
declare const VSize: (maxSize: number) => v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
421
378
|
//#endregion
|
|
422
|
-
export {
|
|
379
|
+
export { StrapiResponseMetaWithPagination as $, StrapiBgColorOptions as A, WebSafeFontDisplay as At, ValidStrapiSingleEntity as B, STRAPI_DIRECTION as C, FONT_HEADER_SIZE as Ct, STRAPI_LINK_TYPE as D, WEBSAFE_FONT_SANS as Dt, STRAPI_ICON_POSITION as E, WEBSAFE_FONT_MONO as Et, StrapiLinkType as F, BaseComponent as Ft, StrapiAttributeErrorKey as G, ENTITY_SORT_KEYS as H, StrapiTextColorOptions as I, BaseComponentId as It, StrapiErrorResponse as J, StrapiAttributeErrorResponse as K, StrapiThemeOptions as L, StrapiGapSizes as M, WebSafeFontSans as Mt, StrapiIconName as N, WebSafeFontSerif as Nt, STRAPI_TEXT_COLOR_OPTIONS as O, WEBSAFE_FONT_SERIF as Ot, StrapiIconPosition as P, BaseDocument as Pt, StrapiResponseMeta as Q, ContentStatus as R, STRAPI_BG_COLOR_OPTIONS as S, FormSelectInputOption as St, STRAPI_ICON_NAME as T, WEBSAFE_FONT_DISPLAY as Tt, QuerySortEntities as U, ValidStrapiSpecialEntity as V, StrapiAttributeErrorDetail as W, StrapiListResponse as X, StrapiErrorResult as Y, StrapiPagination as Z, VStringSlug as _, STRAPI_LINK_REL as _t, VString as a, SAssociateOneEntity as at, VStringUrlNullable as b, StrapiLinkRel as bt, VStringLongNullable as c, SSetEntityRelationshipRequest as ct, VStringMinMax as d, QueryStrapiById as dt, StrapiSingleResponse as et, VStringMinMaxRegex as f, QueryStrapiByName as ft, VStringShortNullable as g, STRAPI_LINK_REFERRER_POLICY as gt, VStringShort as h, QueryStrapiPaginated as ht, VSize as i, SAssociateManyEntities as it, StrapiDirection as j, WebSafeFontMono as jt, STRAPI_THEME_OPTIONS as k, WebSafeFont as kt, VStringMax as l, QueryStrapiByDocumentId as lt, VStringPhoneNullable as m, QueryStrapiBySlug as mt, VNumberNullable as n, SAssociateEntityPositionDocumentRequest as nt, VStringEmail as o, SEntityPosition as ot, VStringPhone as p, QueryStrapiByPhone as pt, StrapiErrorDetail as q, VPage as r, SAssociateEntityRelationshipRequest as rt, VStringLong as s, SQueryManyEntities as st, VIntegerNullable as t, SAssociateEntityPosition as tt, VStringMaxRegex as u, QueryStrapiByEmail as ut, VStringUrl as v, STRAPI_LINK_TARGET as vt, STRAPI_GAP_SIZES as w, FontHeaderSize as wt, VStringUrlUtm as x, StrapiLinkTarget as xt, VStringUrlNoUtm as y, StrapiLinkReferrerPolicy as yt, ValidStrapiCollectionEntity as z };
|