@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,8 +1,8 @@
|
|
|
1
1
|
import "./regex-BnKGcdS4.mjs";
|
|
2
2
|
import { d as VStringMinMax, h as VStringShort } from "./validators-P5E_3qzc.mjs";
|
|
3
|
-
import { n as ValidStrapiCollectionEntity } from "./strapi-
|
|
3
|
+
import { n as ValidStrapiCollectionEntity } from "./strapi-CcyhoATG.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
|
-
//#region src/base/
|
|
5
|
+
//#region src/base/relationships.ts
|
|
6
6
|
const SAssociateOneEntity = VStringMinMax(1, 255);
|
|
7
7
|
const SAssociateManyEntities = v.pipe(v.array(SAssociateOneEntity), v.maxLength(100));
|
|
8
8
|
const SQueryManyEntities = v.pipe(v.array(VStringMinMax(1, 255)));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_strapi = require("./strapi-
|
|
2
|
+
const require_strapi = require("./strapi-BZGtE-mE.cjs");
|
|
3
3
|
let valibot = require("valibot");
|
|
4
4
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
5
|
//#region src/base/strapi.ts
|
|
6
6
|
const ContentStatus = valibot.picklist(require_strapi.CONTENT_STATUS);
|
|
7
|
-
const ValidStrapiCollectionEntity = valibot.picklist(require_strapi.
|
|
8
|
-
const ValidStrapiSingleEntity = valibot.picklist(require_strapi.
|
|
7
|
+
const ValidStrapiCollectionEntity = valibot.picklist(require_strapi.STRAPI_COLLECTION_ENTITY_ENDPOINTS);
|
|
8
|
+
const ValidStrapiSingleEntity = valibot.picklist(require_strapi.STRAPI_SINGLE_ENTITY_ENDPOINTS);
|
|
9
9
|
const ValidStrapiSpecialEntity = valibot.picklist(require_strapi.STRAPI_SPECIAL_ENTITIES);
|
|
10
10
|
//#endregion
|
|
11
11
|
Object.defineProperty(exports, "ContentStatus", {
|
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
//#region src/constants/strapi.ts
|
|
2
|
+
const getStrapiEntityValues = (obj) => Object.values(obj);
|
|
3
|
+
const CONTENT_STATUS = ["draft", "published"];
|
|
4
|
+
const STRAPI_SPECIAL_ENTITIES = ["formatter"];
|
|
5
|
+
const STRAPI_ENTITY_UIDS = {
|
|
6
|
+
AUDIT_LOG: {
|
|
7
|
+
uid: "api::audit-log.audit-log",
|
|
8
|
+
nameSingular: "Audit Log",
|
|
9
|
+
namePlural: "Audit Logs",
|
|
10
|
+
scopeKey: "audit-log",
|
|
11
|
+
endpoint: "audit-logs",
|
|
12
|
+
apiType: "collection",
|
|
13
|
+
verifyOwner: false,
|
|
14
|
+
verifyClientAccess: false
|
|
15
|
+
},
|
|
16
|
+
BLOG_POST: {
|
|
17
|
+
uid: "api::blog-post.blog-post",
|
|
18
|
+
nameSingular: "Blog Post",
|
|
19
|
+
namePlural: "Blog Posts",
|
|
20
|
+
scopeKey: "blog-post",
|
|
21
|
+
endpoint: "blog-posts",
|
|
22
|
+
apiType: "collection",
|
|
23
|
+
verifyOwner: false,
|
|
24
|
+
verifyClientAccess: false
|
|
25
|
+
},
|
|
26
|
+
CATEGORY: {
|
|
27
|
+
uid: "api::category.category",
|
|
28
|
+
nameSingular: "Category",
|
|
29
|
+
namePlural: "Categories",
|
|
30
|
+
scopeKey: "category",
|
|
31
|
+
endpoint: "categories",
|
|
32
|
+
apiType: "collection",
|
|
33
|
+
verifyOwner: false,
|
|
34
|
+
verifyClientAccess: false
|
|
35
|
+
},
|
|
36
|
+
CLIENT: {
|
|
37
|
+
uid: "api::client.client",
|
|
38
|
+
nameSingular: "Client",
|
|
39
|
+
namePlural: "Clients",
|
|
40
|
+
scopeKey: "client",
|
|
41
|
+
endpoint: "clients",
|
|
42
|
+
apiType: "collection",
|
|
43
|
+
verifyOwner: false,
|
|
44
|
+
verifyClientAccess: true
|
|
45
|
+
},
|
|
46
|
+
CLIENT_USER: {
|
|
47
|
+
uid: "api::client-user.client-user",
|
|
48
|
+
nameSingular: "Client User",
|
|
49
|
+
namePlural: "Client Users",
|
|
50
|
+
scopeKey: "client-user",
|
|
51
|
+
endpoint: "client-users",
|
|
52
|
+
apiType: "collection",
|
|
53
|
+
verifyOwner: false,
|
|
54
|
+
verifyClientAccess: true
|
|
55
|
+
},
|
|
56
|
+
CLIENT_CONTENT_PILLAR: {
|
|
57
|
+
uid: "api::client-content-pillar.client-content-pillar",
|
|
58
|
+
nameSingular: "Client Content Pillar",
|
|
59
|
+
namePlural: "Client Content Pillars",
|
|
60
|
+
scopeKey: "client-content-pillar",
|
|
61
|
+
endpoint: "client-content-pillars",
|
|
62
|
+
apiType: "collection",
|
|
63
|
+
verifyOwner: false,
|
|
64
|
+
verifyClientAccess: true
|
|
65
|
+
},
|
|
66
|
+
CLIENT_MEDIA_PLATFORM: {
|
|
67
|
+
uid: "api::client-media-platform.client-media-platform",
|
|
68
|
+
nameSingular: "Client Media Platform",
|
|
69
|
+
namePlural: "Client Media Platforms",
|
|
70
|
+
scopeKey: "client-media-platform",
|
|
71
|
+
endpoint: "client-media-platforms",
|
|
72
|
+
apiType: "collection",
|
|
73
|
+
verifyOwner: false,
|
|
74
|
+
verifyClientAccess: true
|
|
75
|
+
},
|
|
76
|
+
CLIENT_PROJECT: {
|
|
77
|
+
uid: "api::client-project.client-project",
|
|
78
|
+
nameSingular: "Client Project",
|
|
79
|
+
namePlural: "Client Projects",
|
|
80
|
+
scopeKey: "client-project",
|
|
81
|
+
endpoint: "client-projects",
|
|
82
|
+
apiType: "collection",
|
|
83
|
+
verifyOwner: false,
|
|
84
|
+
verifyClientAccess: true
|
|
85
|
+
},
|
|
86
|
+
CLIENT_REPORT: {
|
|
87
|
+
uid: "api::client-report.client-report",
|
|
88
|
+
nameSingular: "Client Report",
|
|
89
|
+
namePlural: "Client Reports",
|
|
90
|
+
scopeKey: "client-report",
|
|
91
|
+
endpoint: "client-reports",
|
|
92
|
+
apiType: "collection",
|
|
93
|
+
verifyOwner: false,
|
|
94
|
+
verifyClientAccess: true
|
|
95
|
+
},
|
|
96
|
+
CLIENT_STYLEGUIDE: {
|
|
97
|
+
uid: "api::client-styleguide.client-styleguide",
|
|
98
|
+
nameSingular: "Client Styleguide",
|
|
99
|
+
namePlural: "Client Styleguides",
|
|
100
|
+
scopeKey: "client-styleguide",
|
|
101
|
+
endpoint: "client-styleguides",
|
|
102
|
+
apiType: "collection",
|
|
103
|
+
verifyOwner: false,
|
|
104
|
+
verifyClientAccess: true
|
|
105
|
+
},
|
|
106
|
+
COMMENT: {
|
|
107
|
+
uid: "api::comment.comment",
|
|
108
|
+
nameSingular: "Comment",
|
|
109
|
+
namePlural: "Comments",
|
|
110
|
+
scopeKey: "comment",
|
|
111
|
+
endpoint: "comments",
|
|
112
|
+
apiType: "collection",
|
|
113
|
+
verifyOwner: false,
|
|
114
|
+
verifyClientAccess: false
|
|
115
|
+
},
|
|
116
|
+
COMMENT_REPORT: {
|
|
117
|
+
uid: "api::comment-report.comment-report",
|
|
118
|
+
nameSingular: "Comment Report",
|
|
119
|
+
namePlural: "Comment Reports",
|
|
120
|
+
scopeKey: "comment-report",
|
|
121
|
+
endpoint: "comment-reports",
|
|
122
|
+
apiType: "collection",
|
|
123
|
+
verifyOwner: false,
|
|
124
|
+
verifyClientAccess: false
|
|
125
|
+
},
|
|
126
|
+
CONTENT_PILLAR: {
|
|
127
|
+
uid: "api::content-pillar.content-pillar",
|
|
128
|
+
nameSingular: "Content Pillar",
|
|
129
|
+
namePlural: "Content Pillars",
|
|
130
|
+
scopeKey: "content-pillar",
|
|
131
|
+
endpoint: "content-pillars",
|
|
132
|
+
apiType: "collection",
|
|
133
|
+
verifyOwner: false,
|
|
134
|
+
verifyClientAccess: false
|
|
135
|
+
},
|
|
136
|
+
GC_FLY_TOUR: {
|
|
137
|
+
uid: "api::gc-fly-tour.gc-fly-tour",
|
|
138
|
+
nameSingular: "GC Fly Tour",
|
|
139
|
+
namePlural: "GC Fly Tours",
|
|
140
|
+
scopeKey: "gc-fly-tour",
|
|
141
|
+
endpoint: "gc-fly-tours",
|
|
142
|
+
apiType: "collection",
|
|
143
|
+
verifyOwner: false,
|
|
144
|
+
verifyClientAccess: false
|
|
145
|
+
},
|
|
146
|
+
GC_FLY_TOUR_SNAP: {
|
|
147
|
+
uid: "api::gc-fly-tour-snap.gc-fly-tour-snap",
|
|
148
|
+
nameSingular: "GC Fly Tour Snap",
|
|
149
|
+
namePlural: "GC Fly Tour Snaps",
|
|
150
|
+
scopeKey: "gc-fly-tour-snap",
|
|
151
|
+
endpoint: "gc-fly-tour-snaps",
|
|
152
|
+
apiType: "collection",
|
|
153
|
+
verifyOwner: false,
|
|
154
|
+
verifyClientAccess: false
|
|
155
|
+
},
|
|
156
|
+
LEAD: {
|
|
157
|
+
uid: "api::lead.lead",
|
|
158
|
+
nameSingular: "Lead",
|
|
159
|
+
namePlural: "Leads",
|
|
160
|
+
scopeKey: "lead",
|
|
161
|
+
endpoint: "leads",
|
|
162
|
+
apiType: "collection",
|
|
163
|
+
verifyOwner: false,
|
|
164
|
+
verifyClientAccess: false
|
|
165
|
+
},
|
|
166
|
+
MEDIA_CONTENT_TYPE: {
|
|
167
|
+
uid: "api::media-content-type.media-content-type",
|
|
168
|
+
nameSingular: "Media Content Type",
|
|
169
|
+
namePlural: "Media Content Types",
|
|
170
|
+
scopeKey: "media-content-type",
|
|
171
|
+
endpoint: "media-content-types",
|
|
172
|
+
apiType: "collection",
|
|
173
|
+
verifyOwner: false,
|
|
174
|
+
verifyClientAccess: false
|
|
175
|
+
},
|
|
176
|
+
MEDIA_CREATIVE_FORMAT: {
|
|
177
|
+
uid: "api::media-creative-format.media-creative-format",
|
|
178
|
+
nameSingular: "Media Creative Format",
|
|
179
|
+
namePlural: "Media Creative Formats",
|
|
180
|
+
scopeKey: "media-creative-format",
|
|
181
|
+
endpoint: "media-creative-formats",
|
|
182
|
+
apiType: "collection",
|
|
183
|
+
verifyOwner: false,
|
|
184
|
+
verifyClientAccess: false
|
|
185
|
+
},
|
|
186
|
+
MEDIA_MEDIUM: {
|
|
187
|
+
uid: "api::media-medium.media-medium",
|
|
188
|
+
nameSingular: "Medium Medium",
|
|
189
|
+
namePlural: "Medium Mediums",
|
|
190
|
+
scopeKey: "media-medium",
|
|
191
|
+
endpoint: "media-mediums",
|
|
192
|
+
apiType: "collection",
|
|
193
|
+
verifyOwner: false,
|
|
194
|
+
verifyClientAccess: false
|
|
195
|
+
},
|
|
196
|
+
MEDIA_PLATFORM: {
|
|
197
|
+
uid: "api::media-platform.media-platform",
|
|
198
|
+
nameSingular: "Media Platform",
|
|
199
|
+
namePlural: "Media Platforms",
|
|
200
|
+
scopeKey: "media-platform",
|
|
201
|
+
endpoint: "media-platforms",
|
|
202
|
+
apiType: "collection",
|
|
203
|
+
verifyOwner: false,
|
|
204
|
+
verifyClientAccess: false
|
|
205
|
+
},
|
|
206
|
+
MONDAY_WORKSPACE: {
|
|
207
|
+
uid: "api::monday-workspace.monday-workspace",
|
|
208
|
+
nameSingular: "Monday Workspace",
|
|
209
|
+
namePlural: "Monday Workspaces",
|
|
210
|
+
scopeKey: "monday-workspace",
|
|
211
|
+
endpoint: "monday-workspaces",
|
|
212
|
+
apiType: "collection",
|
|
213
|
+
verifyOwner: false,
|
|
214
|
+
verifyClientAccess: true
|
|
215
|
+
},
|
|
216
|
+
NEWSLETTER_SIGNUP: {
|
|
217
|
+
uid: "api::newsletter-signup.newsletter-signup",
|
|
218
|
+
nameSingular: "Newsletter Signup",
|
|
219
|
+
namePlural: "Newsletter Signups",
|
|
220
|
+
scopeKey: "newsletter-signup",
|
|
221
|
+
endpoint: "newsletter-signups",
|
|
222
|
+
apiType: "collection",
|
|
223
|
+
verifyOwner: false,
|
|
224
|
+
verifyClientAccess: false
|
|
225
|
+
},
|
|
226
|
+
PRODUCT: {
|
|
227
|
+
uid: "api::product.product",
|
|
228
|
+
nameSingular: "Product",
|
|
229
|
+
namePlural: "Products",
|
|
230
|
+
scopeKey: "product",
|
|
231
|
+
endpoint: "products",
|
|
232
|
+
apiType: "collection",
|
|
233
|
+
verifyOwner: false,
|
|
234
|
+
verifyClientAccess: false
|
|
235
|
+
},
|
|
236
|
+
PRODUCT_HIGHLIGHT: {
|
|
237
|
+
uid: "api::product-highlight.product-highlight",
|
|
238
|
+
nameSingular: "Product Highlight",
|
|
239
|
+
namePlural: "Product Highlights",
|
|
240
|
+
scopeKey: "product-highlight",
|
|
241
|
+
endpoint: "product-highlights",
|
|
242
|
+
apiType: "collection",
|
|
243
|
+
verifyOwner: false,
|
|
244
|
+
verifyClientAccess: false
|
|
245
|
+
},
|
|
246
|
+
RESUME: {
|
|
247
|
+
uid: "api::resume.resume",
|
|
248
|
+
nameSingular: "Resume",
|
|
249
|
+
namePlural: "Resumes",
|
|
250
|
+
scopeKey: "resume",
|
|
251
|
+
endpoint: "resumes",
|
|
252
|
+
apiType: "collection",
|
|
253
|
+
verifyOwner: false,
|
|
254
|
+
verifyClientAccess: false
|
|
255
|
+
},
|
|
256
|
+
TAG: {
|
|
257
|
+
uid: "api::tag.tag",
|
|
258
|
+
nameSingular: "Tag",
|
|
259
|
+
namePlural: "Tags",
|
|
260
|
+
scopeKey: "tag",
|
|
261
|
+
endpoint: "tags",
|
|
262
|
+
apiType: "collection",
|
|
263
|
+
verifyOwner: false,
|
|
264
|
+
verifyClientAccess: false
|
|
265
|
+
},
|
|
266
|
+
TEAM_MEMBER: {
|
|
267
|
+
uid: "api::team-member.team-member",
|
|
268
|
+
nameSingular: "Team Member",
|
|
269
|
+
namePlural: "Team Members",
|
|
270
|
+
scopeKey: "team-member",
|
|
271
|
+
endpoint: "team-members",
|
|
272
|
+
apiType: "collection",
|
|
273
|
+
verifyOwner: false,
|
|
274
|
+
verifyClientAccess: false
|
|
275
|
+
},
|
|
276
|
+
TREND: {
|
|
277
|
+
uid: "api::trend.trend",
|
|
278
|
+
nameSingular: "Trend",
|
|
279
|
+
namePlural: "Trends",
|
|
280
|
+
scopeKey: "trend",
|
|
281
|
+
endpoint: "trends",
|
|
282
|
+
apiType: "collection",
|
|
283
|
+
verifyOwner: false,
|
|
284
|
+
verifyClientAccess: false
|
|
285
|
+
},
|
|
286
|
+
USER: {
|
|
287
|
+
uid: "plugin::users-permissions.user",
|
|
288
|
+
nameSingular: "User",
|
|
289
|
+
namePlural: "Users",
|
|
290
|
+
scopeKey: "user",
|
|
291
|
+
endpoint: "users",
|
|
292
|
+
apiType: "collection",
|
|
293
|
+
verifyOwner: false,
|
|
294
|
+
verifyClientAccess: false
|
|
295
|
+
},
|
|
296
|
+
USER_ROLE: {
|
|
297
|
+
uid: "plugin::users-permissions.role",
|
|
298
|
+
nameSingular: "User Role",
|
|
299
|
+
namePlural: "User Roles",
|
|
300
|
+
scopeKey: "role",
|
|
301
|
+
endpoint: "roles",
|
|
302
|
+
apiType: "collection",
|
|
303
|
+
verifyOwner: false,
|
|
304
|
+
verifyClientAccess: false
|
|
305
|
+
},
|
|
306
|
+
USER_ACCOUNT: {
|
|
307
|
+
uid: "api::user-account.user-account",
|
|
308
|
+
nameSingular: "User Account",
|
|
309
|
+
namePlural: "User Accounts",
|
|
310
|
+
scopeKey: "user-account",
|
|
311
|
+
endpoint: "user-accounts",
|
|
312
|
+
apiType: "collection",
|
|
313
|
+
verifyOwner: true,
|
|
314
|
+
verifyClientAccess: false
|
|
315
|
+
},
|
|
316
|
+
URL_REDIRECTION: {
|
|
317
|
+
uid: "api::url-redirection.url-redirection",
|
|
318
|
+
nameSingular: "url-redirection",
|
|
319
|
+
namePlural: "url-redirections",
|
|
320
|
+
scopeKey: "url-redirection",
|
|
321
|
+
endpoint: "url-redirections",
|
|
322
|
+
apiType: "collection",
|
|
323
|
+
verifyOwner: false,
|
|
324
|
+
verifyClientAccess: false
|
|
325
|
+
},
|
|
326
|
+
UTM_TRACKING_LINK: {
|
|
327
|
+
uid: "api::utm-tracking-link.utm-tracking-link",
|
|
328
|
+
nameSingular: "UTM Tracking Link",
|
|
329
|
+
namePlural: "UTM Tracking Links",
|
|
330
|
+
scopeKey: "utm-tracking-link",
|
|
331
|
+
endpoint: "utm-tracking-links",
|
|
332
|
+
apiType: "collection",
|
|
333
|
+
verifyOwner: false,
|
|
334
|
+
verifyClientAccess: true
|
|
335
|
+
},
|
|
336
|
+
BLOG_PAGE: {
|
|
337
|
+
uid: "api::blog-page.blog-page",
|
|
338
|
+
nameSingular: "Blog Page",
|
|
339
|
+
namePlural: "Blog Page",
|
|
340
|
+
scopeKey: "blog-page",
|
|
341
|
+
endpoint: "blog-page",
|
|
342
|
+
apiType: "single",
|
|
343
|
+
verifyOwner: false,
|
|
344
|
+
verifyClientAccess: false
|
|
345
|
+
},
|
|
346
|
+
CAREERS_PAGE: {
|
|
347
|
+
uid: "api::careers-page.careers-page",
|
|
348
|
+
nameSingular: "Careers Page",
|
|
349
|
+
namePlural: "Careers Page",
|
|
350
|
+
scopeKey: "careers-page",
|
|
351
|
+
endpoint: "careers-page",
|
|
352
|
+
apiType: "single",
|
|
353
|
+
verifyOwner: false,
|
|
354
|
+
verifyClientAccess: false
|
|
355
|
+
},
|
|
356
|
+
FAQ: {
|
|
357
|
+
uid: "api::faq.faq",
|
|
358
|
+
nameSingular: "FAQ",
|
|
359
|
+
namePlural: "FAQs",
|
|
360
|
+
scopeKey: "faq",
|
|
361
|
+
endpoint: "faq",
|
|
362
|
+
apiType: "single",
|
|
363
|
+
verifyOwner: false,
|
|
364
|
+
verifyClientAccess: false
|
|
365
|
+
},
|
|
366
|
+
LANDING_PAGE: {
|
|
367
|
+
uid: "api::landing-page.landing-page",
|
|
368
|
+
nameSingular: "Landing Page",
|
|
369
|
+
namePlural: "Landing Page",
|
|
370
|
+
scopeKey: "landing-page",
|
|
371
|
+
endpoint: "landing-page",
|
|
372
|
+
apiType: "single",
|
|
373
|
+
verifyOwner: false,
|
|
374
|
+
verifyClientAccess: false
|
|
375
|
+
},
|
|
376
|
+
PRIVACY_POLICY: {
|
|
377
|
+
uid: "api::privacy-policy.privacy-policy",
|
|
378
|
+
nameSingular: "Privacy Policy",
|
|
379
|
+
namePlural: "Privacy Policy",
|
|
380
|
+
scopeKey: "privacy-policy",
|
|
381
|
+
endpoint: "privacy-policy",
|
|
382
|
+
apiType: "single",
|
|
383
|
+
verifyOwner: false,
|
|
384
|
+
verifyClientAccess: false
|
|
385
|
+
},
|
|
386
|
+
SMS_POLICY: {
|
|
387
|
+
uid: "api::sms-policy.sms-policy",
|
|
388
|
+
nameSingular: "SMS Policy",
|
|
389
|
+
namePlural: "SMS Policy",
|
|
390
|
+
scopeKey: "sms-policy",
|
|
391
|
+
endpoint: "sms-policy",
|
|
392
|
+
apiType: "single",
|
|
393
|
+
verifyOwner: false,
|
|
394
|
+
verifyClientAccess: false
|
|
395
|
+
},
|
|
396
|
+
TEAM_PAGE: {
|
|
397
|
+
uid: "api::team-page.team-page",
|
|
398
|
+
nameSingular: "Team Page",
|
|
399
|
+
namePlural: "Team Page",
|
|
400
|
+
scopeKey: "team-page",
|
|
401
|
+
endpoint: "team-page",
|
|
402
|
+
apiType: "single",
|
|
403
|
+
verifyOwner: false,
|
|
404
|
+
verifyClientAccess: false
|
|
405
|
+
},
|
|
406
|
+
UTM_META: {
|
|
407
|
+
uid: "api::utm-meta.utm-meta",
|
|
408
|
+
nameSingular: "UTM Meta",
|
|
409
|
+
namePlural: "UTM Meta",
|
|
410
|
+
scopeKey: "utm-meta",
|
|
411
|
+
endpoint: "utm-meta",
|
|
412
|
+
apiType: "single",
|
|
413
|
+
verifyOwner: false,
|
|
414
|
+
verifyClientAccess: false
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
const STRAPI_COLLECTION_ENTITY_ENDPOINTS = getStrapiEntityValues(STRAPI_ENTITY_UIDS).filter((entity) => entity.apiType === "collection").map((v) => v.endpoint);
|
|
418
|
+
const STRAPI_SINGLE_ENTITY_ENDPOINTS = getStrapiEntityValues(STRAPI_ENTITY_UIDS).filter((entity) => entity.apiType === "single").map((v) => v.endpoint);
|
|
419
|
+
//#endregion
|
|
420
|
+
Object.defineProperty(exports, "CONTENT_STATUS", {
|
|
421
|
+
enumerable: true,
|
|
422
|
+
get: function() {
|
|
423
|
+
return CONTENT_STATUS;
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
Object.defineProperty(exports, "STRAPI_COLLECTION_ENTITY_ENDPOINTS", {
|
|
427
|
+
enumerable: true,
|
|
428
|
+
get: function() {
|
|
429
|
+
return STRAPI_COLLECTION_ENTITY_ENDPOINTS;
|
|
430
|
+
}
|
|
431
|
+
});
|
|
432
|
+
Object.defineProperty(exports, "STRAPI_ENTITY_UIDS", {
|
|
433
|
+
enumerable: true,
|
|
434
|
+
get: function() {
|
|
435
|
+
return STRAPI_ENTITY_UIDS;
|
|
436
|
+
}
|
|
437
|
+
});
|
|
438
|
+
Object.defineProperty(exports, "STRAPI_SINGLE_ENTITY_ENDPOINTS", {
|
|
439
|
+
enumerable: true,
|
|
440
|
+
get: function() {
|
|
441
|
+
return STRAPI_SINGLE_ENTITY_ENDPOINTS;
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
Object.defineProperty(exports, "STRAPI_SPECIAL_ENTITIES", {
|
|
445
|
+
enumerable: true,
|
|
446
|
+
get: function() {
|
|
447
|
+
return STRAPI_SPECIAL_ENTITIES;
|
|
448
|
+
}
|
|
449
|
+
});
|
|
450
|
+
Object.defineProperty(exports, "getStrapiEntityValues", {
|
|
451
|
+
enumerable: true,
|
|
452
|
+
get: function() {
|
|
453
|
+
return getStrapiEntityValues;
|
|
454
|
+
}
|
|
455
|
+
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as STRAPI_SPECIAL_ENTITIES, i as STRAPI_SINGLE_ENTITY_ENDPOINTS, n as STRAPI_COLLECTION_ENTITY_ENDPOINTS, t as CONTENT_STATUS } from "./strapi-JZZXwngw.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
//#region src/base/strapi.ts
|
|
4
4
|
const ContentStatus = v.picklist(CONTENT_STATUS);
|
|
5
|
-
const ValidStrapiCollectionEntity = v.picklist(
|
|
6
|
-
const ValidStrapiSingleEntity = v.picklist(
|
|
5
|
+
const ValidStrapiCollectionEntity = v.picklist(STRAPI_COLLECTION_ENTITY_ENDPOINTS);
|
|
6
|
+
const ValidStrapiSingleEntity = v.picklist(STRAPI_SINGLE_ENTITY_ENDPOINTS);
|
|
7
7
|
const ValidStrapiSpecialEntity = v.picklist(STRAPI_SPECIAL_ENTITIES);
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ValidStrapiSpecialEntity as i, ValidStrapiCollectionEntity as n, ValidStrapiSingleEntity as r, ContentStatus as t };
|