@getcommunity/gc-validators 0.0.271-alpha.19 → 0.0.271-alpha.20

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.
Files changed (153) hide show
  1. package/dist/base/index.cjs +3 -3
  2. package/dist/base/index.d.cts +1 -1
  3. package/dist/base/index.d.mts +1 -1
  4. package/dist/base/index.mjs +3 -3
  5. package/dist/constants/index.cjs +5 -3
  6. package/dist/constants/index.d.cts +417 -3
  7. package/dist/constants/index.d.mts +417 -3
  8. package/dist/constants/index.mjs +2 -2
  9. package/dist/entities/audit-log/index.cjs +1 -1
  10. package/dist/entities/audit-log/index.d.cts +2 -2
  11. package/dist/entities/audit-log/index.d.mts +2 -2
  12. package/dist/entities/audit-log/index.mjs +1 -1
  13. package/dist/entities/blog-post/index.cjs +1 -1
  14. package/dist/entities/blog-post/index.d.cts +1 -1
  15. package/dist/entities/blog-post/index.d.mts +1 -1
  16. package/dist/entities/blog-post/index.mjs +1 -1
  17. package/dist/entities/category/index.cjs +1 -1
  18. package/dist/entities/category/index.d.cts +3 -3
  19. package/dist/entities/category/index.d.mts +3 -3
  20. package/dist/entities/category/index.mjs +1 -1
  21. package/dist/entities/client/index.cjs +2 -2
  22. package/dist/entities/client/index.d.cts +1 -1
  23. package/dist/entities/client/index.d.mts +1 -1
  24. package/dist/entities/client/index.mjs +2 -2
  25. package/dist/entities/client-content-pillar/index.cjs +2 -2
  26. package/dist/entities/client-content-pillar/index.d.cts +1 -1
  27. package/dist/entities/client-content-pillar/index.d.mts +1 -1
  28. package/dist/entities/client-content-pillar/index.mjs +2 -2
  29. package/dist/entities/client-media-platform/index.cjs +2 -2
  30. package/dist/entities/client-media-platform/index.d.cts +1 -1
  31. package/dist/entities/client-media-platform/index.d.mts +1 -1
  32. package/dist/entities/client-media-platform/index.mjs +2 -2
  33. package/dist/entities/client-project/index.cjs +2 -2
  34. package/dist/entities/client-project/index.d.cts +1 -1
  35. package/dist/entities/client-project/index.d.mts +1 -1
  36. package/dist/entities/client-project/index.mjs +2 -2
  37. package/dist/entities/client-report/index.cjs +2 -2
  38. package/dist/entities/client-report/index.d.cts +1 -1
  39. package/dist/entities/client-report/index.d.mts +1 -1
  40. package/dist/entities/client-report/index.mjs +2 -2
  41. package/dist/entities/client-styleguide/index.cjs +2 -2
  42. package/dist/entities/client-styleguide/index.d.cts +1 -1
  43. package/dist/entities/client-styleguide/index.d.mts +1 -1
  44. package/dist/entities/client-styleguide/index.mjs +2 -2
  45. package/dist/entities/client-user/index.cjs +2 -2
  46. package/dist/entities/client-user/index.d.cts +1 -1
  47. package/dist/entities/client-user/index.d.mts +1 -1
  48. package/dist/entities/client-user/index.mjs +2 -2
  49. package/dist/entities/comment/index.d.cts +1 -1
  50. package/dist/entities/comment/index.d.mts +1 -1
  51. package/dist/entities/content-pillar/index.cjs +2 -2
  52. package/dist/entities/content-pillar/index.d.cts +1 -1
  53. package/dist/entities/content-pillar/index.d.mts +1 -1
  54. package/dist/entities/content-pillar/index.mjs +2 -2
  55. package/dist/entities/gcflytour/index.cjs +2 -2
  56. package/dist/entities/gcflytour/index.d.cts +1 -1
  57. package/dist/entities/gcflytour/index.d.mts +1 -1
  58. package/dist/entities/gcflytour/index.mjs +2 -2
  59. package/dist/entities/gcflytour-snap/index.cjs +2 -2
  60. package/dist/entities/gcflytour-snap/index.d.cts +1 -1
  61. package/dist/entities/gcflytour-snap/index.d.mts +1 -1
  62. package/dist/entities/gcflytour-snap/index.mjs +2 -2
  63. package/dist/entities/lead/index.cjs +1 -1
  64. package/dist/entities/lead/index.mjs +1 -1
  65. package/dist/entities/media-content-type/index.cjs +2 -2
  66. package/dist/entities/media-content-type/index.d.cts +3 -3
  67. package/dist/entities/media-content-type/index.d.mts +3 -3
  68. package/dist/entities/media-content-type/index.mjs +2 -2
  69. package/dist/entities/media-creative-format/index.cjs +2 -2
  70. package/dist/entities/media-creative-format/index.d.cts +3 -3
  71. package/dist/entities/media-creative-format/index.d.mts +3 -3
  72. package/dist/entities/media-creative-format/index.mjs +2 -2
  73. package/dist/entities/media-medium/index.cjs +2 -2
  74. package/dist/entities/media-medium/index.d.cts +3 -3
  75. package/dist/entities/media-medium/index.d.mts +3 -3
  76. package/dist/entities/media-medium/index.mjs +2 -2
  77. package/dist/entities/media-platform/index.cjs +2 -2
  78. package/dist/entities/media-platform/index.d.cts +1 -1
  79. package/dist/entities/media-platform/index.d.mts +1 -1
  80. package/dist/entities/media-platform/index.mjs +2 -2
  81. package/dist/entities/monday-workspace/index.cjs +2 -2
  82. package/dist/entities/monday-workspace/index.d.cts +1 -1
  83. package/dist/entities/monday-workspace/index.d.mts +1 -1
  84. package/dist/entities/monday-workspace/index.mjs +2 -2
  85. package/dist/entities/newsletter-signup/index.cjs +1 -1
  86. package/dist/entities/newsletter-signup/index.mjs +1 -1
  87. package/dist/entities/product-highlight/index.cjs +1 -1
  88. package/dist/entities/product-highlight/index.d.cts +1 -1
  89. package/dist/entities/product-highlight/index.d.mts +1 -1
  90. package/dist/entities/product-highlight/index.mjs +1 -1
  91. package/dist/entities/resume/index.cjs +1 -1
  92. package/dist/entities/resume/index.mjs +1 -1
  93. package/dist/entities/tag/index.cjs +1 -1
  94. package/dist/entities/tag/index.d.cts +2 -2
  95. package/dist/entities/tag/index.d.mts +2 -2
  96. package/dist/entities/tag/index.mjs +1 -1
  97. package/dist/entities/team-member/index.d.cts +1 -1
  98. package/dist/entities/team-member/index.d.mts +1 -1
  99. package/dist/entities/trend/index.cjs +1 -1
  100. package/dist/entities/trend/index.d.cts +1 -1
  101. package/dist/entities/trend/index.d.mts +1 -1
  102. package/dist/entities/trend/index.mjs +1 -1
  103. package/dist/entities/up-auth/index.d.cts +1 -1
  104. package/dist/entities/up-auth/index.d.mts +1 -1
  105. package/dist/entities/up-permission/index.cjs +1 -1
  106. package/dist/entities/up-permission/index.d.cts +1 -1
  107. package/dist/entities/up-permission/index.d.mts +1 -1
  108. package/dist/entities/up-permission/index.mjs +1 -1
  109. package/dist/entities/up-role/index.cjs +1 -1
  110. package/dist/entities/up-role/index.d.cts +1 -1
  111. package/dist/entities/up-role/index.d.mts +1 -1
  112. package/dist/entities/up-role/index.mjs +1 -1
  113. package/dist/entities/up-user/index.cjs +1 -1
  114. package/dist/entities/up-user/index.d.cts +1 -1
  115. package/dist/entities/up-user/index.d.mts +1 -1
  116. package/dist/entities/up-user/index.mjs +1 -1
  117. package/dist/entities/url-redirect/index.d.cts +2 -2
  118. package/dist/entities/url-redirect/index.d.mts +2 -2
  119. package/dist/entities/user-account/index.cjs +3 -3
  120. package/dist/entities/user-account/index.d.cts +2 -2
  121. package/dist/entities/user-account/index.d.mts +2 -2
  122. package/dist/entities/user-account/index.mjs +3 -3
  123. package/dist/entities/utm-link-builder/index.cjs +1 -1
  124. package/dist/entities/utm-link-builder/index.mjs +1 -1
  125. package/dist/entities/utm-tracking-link/index.cjs +2 -2
  126. package/dist/entities/utm-tracking-link/index.d.cts +1 -1
  127. package/dist/entities/utm-tracking-link/index.d.mts +1 -1
  128. package/dist/entities/utm-tracking-link/index.mjs +2 -2
  129. package/dist/{index-NVXqANkh.d.mts → index-Ct-9aFSN.d.mts} +3 -3
  130. package/dist/{index-BWVNe8rJ.d.mts → index-DMgh7_6t.d.mts} +3 -3
  131. package/dist/{index-BljU6WgO.d.cts → index-DWx5cycC.d.cts} +23 -23
  132. package/dist/{index-BuuvgFt_.d.cts → index-DkCme935.d.cts} +3 -3
  133. package/dist/{index-C6RcIOvJ.d.mts → index-DmSY24F-.d.mts} +23 -23
  134. package/dist/{index-C7P1Ib7I.d.mts → index-HC5SDR9c.d.mts} +7 -7
  135. package/dist/{index-HNpZ9Xch.d.cts → index-VMlL6p9e.d.cts} +7 -7
  136. package/dist/{index-Cueyzaym.d.cts → index-WPFNVyxL.d.cts} +3 -3
  137. package/dist/permissions/index.d.cts +1 -1
  138. package/dist/permissions/index.d.mts +1 -1
  139. package/dist/{query-7g1AOXN9.cjs → query-BOZj3jek.cjs} +1 -1
  140. package/dist/{query-CeUev0uJ.mjs → query-Dpy-S8bA.mjs} +1 -1
  141. package/dist/{relationships-CWVJebkQ.cjs → relationships-B0sgMFZA.cjs} +1 -1
  142. package/dist/{relationships-BosK0kyG.mjs → relationships-D1Kp-Gfe.mjs} +1 -1
  143. package/dist/{strapi-C7POOPEf.cjs → strapi-B0f98T3D.cjs} +3 -3
  144. package/dist/strapi-BZGtE-mE.cjs +455 -0
  145. package/dist/{strapi-C0DtxJLD.mjs → strapi-CcyhoATG.mjs} +3 -3
  146. package/dist/strapi-JZZXwngw.mjs +420 -0
  147. package/dist/utilities/index.d.cts +2 -2
  148. package/dist/utilities/index.d.mts +2 -2
  149. package/package.json +1 -1
  150. package/dist/strapi-COeswSwJ.mjs +0 -49
  151. package/dist/strapi-DmhV7ODq.cjs +0 -72
  152. package/dist/{document-BYyv_Lgy.cjs → document-DOVZwQRq.cjs} +1 -1
  153. package/dist/{document-BxiwGm9n.mjs → document-kvIqz0p6.mjs} +1 -1
@@ -0,0 +1,420 @@
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
+ export { STRAPI_SPECIAL_ENTITIES as a, STRAPI_SINGLE_ENTITY_ENDPOINTS as i, STRAPI_COLLECTION_ENTITY_ENDPOINTS as n, getStrapiEntityValues as o, STRAPI_ENTITY_UIDS as r, CONTENT_STATUS as t };
@@ -1,5 +1,5 @@
1
- import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-HNpZ9Xch.cjs";
2
- import { On as AuthorizedUserDocument, d as Permissions, jn as RoleType, l as ClientUserDocumentStatus } from "../index-BljU6WgO.cjs";
1
+ import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-VMlL6p9e.cjs";
2
+ import { On as AuthorizedUserDocument, d as Permissions, jn as RoleType, l as ClientUserDocumentStatus } from "../index-DWx5cycC.cjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/utilities/permissions.d.ts
@@ -1,5 +1,5 @@
1
- import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-C7P1Ib7I.mjs";
2
- import { On as AuthorizedUserDocument, d as Permissions, jn as RoleType, l as ClientUserDocumentStatus } from "../index-C6RcIOvJ.mjs";
1
+ import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-HC5SDR9c.mjs";
2
+ import { On as AuthorizedUserDocument, d as Permissions, jn as RoleType, l as ClientUserDocumentStatus } from "../index-DmSY24F-.mjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/utilities/permissions.d.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@getcommunity/gc-validators",
3
3
  "description": "Schema Validator for GetCommunity web-stack types",
4
- "version": "0.0.271-alpha.19",
4
+ "version": "0.0.271-alpha.20",
5
5
  "author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
6
6
  "contributors": [],
7
7
  "type": "module",
@@ -1,49 +0,0 @@
1
- //#region src/constants/strapi.ts
2
- const CONTENT_STATUS = ["draft", "published"];
3
- const STRAPI_SPECIAL_ENTITIES = ["formatter"];
4
- const STRAPI_COLLECTION_ENTITIES = [
5
- "audit-logs",
6
- "blog-posts",
7
- "categories",
8
- "clients",
9
- "client-users",
10
- "client-content-pillars",
11
- "client-media-platforms",
12
- "client-projects",
13
- "client-reports",
14
- "client-styleguides",
15
- "comments",
16
- "comment-reports",
17
- "content-pillars",
18
- "gc-fly-tours",
19
- "gc-fly-tour-snaps",
20
- "leads",
21
- "media-content-types",
22
- "media-creative-formats",
23
- "media-mediums",
24
- "media-platforms",
25
- "monday-workspaces",
26
- "newsletter-signups",
27
- "products",
28
- "product-highlights",
29
- "resumes",
30
- "tags",
31
- "team-members",
32
- "trends",
33
- "url-redirections",
34
- "users",
35
- "user-accounts",
36
- "utm-tracking-links"
37
- ];
38
- const STRAPI_SINGLE_ENTITIES = [
39
- "blog-page",
40
- "careers-page",
41
- "faq",
42
- "landing-page",
43
- "privacy-policy",
44
- "sms-policy",
45
- "team-page",
46
- "utm-meta"
47
- ];
48
- //#endregion
49
- export { STRAPI_SPECIAL_ENTITIES as i, STRAPI_COLLECTION_ENTITIES as n, STRAPI_SINGLE_ENTITIES as r, CONTENT_STATUS as t };
@@ -1,72 +0,0 @@
1
- //#region src/constants/strapi.ts
2
- const CONTENT_STATUS = ["draft", "published"];
3
- const STRAPI_SPECIAL_ENTITIES = ["formatter"];
4
- const STRAPI_COLLECTION_ENTITIES = [
5
- "audit-logs",
6
- "blog-posts",
7
- "categories",
8
- "clients",
9
- "client-users",
10
- "client-content-pillars",
11
- "client-media-platforms",
12
- "client-projects",
13
- "client-reports",
14
- "client-styleguides",
15
- "comments",
16
- "comment-reports",
17
- "content-pillars",
18
- "gc-fly-tours",
19
- "gc-fly-tour-snaps",
20
- "leads",
21
- "media-content-types",
22
- "media-creative-formats",
23
- "media-mediums",
24
- "media-platforms",
25
- "monday-workspaces",
26
- "newsletter-signups",
27
- "products",
28
- "product-highlights",
29
- "resumes",
30
- "tags",
31
- "team-members",
32
- "trends",
33
- "url-redirections",
34
- "users",
35
- "user-accounts",
36
- "utm-tracking-links"
37
- ];
38
- const STRAPI_SINGLE_ENTITIES = [
39
- "blog-page",
40
- "careers-page",
41
- "faq",
42
- "landing-page",
43
- "privacy-policy",
44
- "sms-policy",
45
- "team-page",
46
- "utm-meta"
47
- ];
48
- //#endregion
49
- Object.defineProperty(exports, "CONTENT_STATUS", {
50
- enumerable: true,
51
- get: function() {
52
- return CONTENT_STATUS;
53
- }
54
- });
55
- Object.defineProperty(exports, "STRAPI_COLLECTION_ENTITIES", {
56
- enumerable: true,
57
- get: function() {
58
- return STRAPI_COLLECTION_ENTITIES;
59
- }
60
- });
61
- Object.defineProperty(exports, "STRAPI_SINGLE_ENTITIES", {
62
- enumerable: true,
63
- get: function() {
64
- return STRAPI_SINGLE_ENTITIES;
65
- }
66
- });
67
- Object.defineProperty(exports, "STRAPI_SPECIAL_ENTITIES", {
68
- enumerable: true,
69
- get: function() {
70
- return STRAPI_SPECIAL_ENTITIES;
71
- }
72
- });
@@ -7,8 +7,8 @@ const require_constants = require("./constants-f1GP2eiq.cjs");
7
7
  const require_components_shared_index = require("./components/shared/index.cjs");
8
8
  const require_components_blocks_index = require("./components/blocks/index.cjs");
9
9
  const require_components_brand_index = require("./components/brand/index.cjs");
10
- const require_document$1 = require("./document-DaICHS9G.cjs");
11
10
  const require_components_utm_index = require("./components/utm/index.cjs");
11
+ const require_document$1 = require("./document-DaICHS9G.cjs");
12
12
  const require_document$2 = require("./document-CwIvc2p7.cjs");
13
13
  let valibot = require("valibot");
14
14
  valibot = require_chunk.__toESM(valibot, 1);
@@ -6,8 +6,8 @@ import { r as CLIENT_ENTITY_SCOPES } from "./constants-Htf-MeCA.mjs";
6
6
  import { RichTextBlock } from "./components/shared/index.mjs";
7
7
  import { BlockBrandLogos, BlockFullscreenContent } from "./components/blocks/index.mjs";
8
8
  import { ComponentBrandStyleguideColor, ComponentBrandStyleguideFont } from "./components/brand/index.mjs";
9
- import { t as TagDocument } from "./document-c3GNPelp.mjs";
10
9
  import { UtmClassificationKey } from "./components/utm/index.mjs";
10
+ import { t as TagDocument } from "./document-c3GNPelp.mjs";
11
11
  import { t as ProductDocument } from "./document-CDavjuJ-.mjs";
12
12
  import * as v from "valibot";
13
13
  //#region src/entities/content-pillar/document.ts