@getcommunity/gc-validators 0.0.271-alpha.27 → 0.0.271-alpha.28

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 (149) hide show
  1. package/dist/base/index.cjs +2 -2
  2. package/dist/base/index.d.cts +1 -1
  3. package/dist/base/index.d.mts +1 -1
  4. package/dist/base/index.mjs +2 -2
  5. package/dist/{document-BWso8VC7.mjs → document-CCIFcvUz.mjs} +2 -2
  6. package/dist/{document-DwkycUz9.cjs → document-CxCEXgLG.cjs} +2 -2
  7. package/dist/{document-BCbxKqGE.mjs → document-DESBxiaO.mjs} +1 -1
  8. package/dist/{document-AqtoEbX8.cjs → document-vI8pMwjv.cjs} +1 -1
  9. package/dist/entities/audit-log/index.cjs +2 -2
  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 +2 -2
  13. package/dist/entities/blog-post/index.cjs +3 -3
  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 +3 -3
  17. package/dist/entities/category/index.cjs +3 -3
  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 +3 -3
  21. package/dist/entities/client/index.cjs +3 -3
  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 +3 -3
  25. package/dist/entities/client-content-pillar/index.cjs +3 -3
  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 +3 -3
  29. package/dist/entities/client-media-platform/index.cjs +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  41. package/dist/entities/client-styleguide/index.cjs +3 -3
  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 +3 -3
  45. package/dist/entities/client-user/index.cjs +1 -1
  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 +1 -1
  49. package/dist/entities/comment/index.cjs +3 -3
  50. package/dist/entities/comment/index.d.cts +1 -1
  51. package/dist/entities/comment/index.d.mts +1 -1
  52. package/dist/entities/comment/index.mjs +3 -3
  53. package/dist/entities/content-pillar/index.cjs +3 -3
  54. package/dist/entities/content-pillar/index.d.cts +1 -1
  55. package/dist/entities/content-pillar/index.d.mts +1 -1
  56. package/dist/entities/content-pillar/index.mjs +3 -3
  57. package/dist/entities/gcflytour/index.cjs +3 -3
  58. package/dist/entities/gcflytour/index.d.cts +1 -1
  59. package/dist/entities/gcflytour/index.d.mts +1 -1
  60. package/dist/entities/gcflytour/index.mjs +3 -3
  61. package/dist/entities/gcflytour-snap/index.cjs +3 -3
  62. package/dist/entities/gcflytour-snap/index.d.cts +1 -1
  63. package/dist/entities/gcflytour-snap/index.d.mts +1 -1
  64. package/dist/entities/gcflytour-snap/index.mjs +3 -3
  65. package/dist/entities/media-content-type/index.cjs +3 -3
  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 +3 -3
  69. package/dist/entities/media-creative-format/index.cjs +3 -3
  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 +3 -3
  73. package/dist/entities/media-medium/index.cjs +3 -3
  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 +3 -3
  77. package/dist/entities/media-platform/index.cjs +3 -3
  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 +3 -3
  81. package/dist/entities/monday-workspace/index.cjs +3 -3
  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 +3 -3
  85. package/dist/entities/product-highlight/index.cjs +1 -1
  86. package/dist/entities/product-highlight/index.d.cts +1 -1
  87. package/dist/entities/product-highlight/index.d.mts +1 -1
  88. package/dist/entities/product-highlight/index.mjs +1 -1
  89. package/dist/entities/tag/index.cjs +2 -2
  90. package/dist/entities/tag/index.d.cts +2 -2
  91. package/dist/entities/tag/index.d.mts +2 -2
  92. package/dist/entities/tag/index.mjs +2 -2
  93. package/dist/entities/team-member/index.cjs +3 -3
  94. package/dist/entities/team-member/index.d.cts +1 -1
  95. package/dist/entities/team-member/index.d.mts +1 -1
  96. package/dist/entities/team-member/index.mjs +3 -3
  97. package/dist/entities/teamwork/index.cjs +1 -1
  98. package/dist/entities/teamwork/index.d.cts +2 -2
  99. package/dist/entities/teamwork/index.d.mts +2 -2
  100. package/dist/entities/teamwork/index.mjs +1 -1
  101. package/dist/entities/trend/index.cjs +1 -1
  102. package/dist/entities/trend/index.d.cts +1 -1
  103. package/dist/entities/trend/index.d.mts +1 -1
  104. package/dist/entities/trend/index.mjs +1 -1
  105. package/dist/entities/up-auth/index.cjs +1 -1
  106. package/dist/entities/up-auth/index.d.cts +1 -1
  107. package/dist/entities/up-auth/index.d.mts +1 -1
  108. package/dist/entities/up-auth/index.mjs +1 -1
  109. package/dist/entities/up-permission/index.cjs +1 -1
  110. package/dist/entities/up-permission/index.d.cts +1 -1
  111. package/dist/entities/up-permission/index.d.mts +1 -1
  112. package/dist/entities/up-permission/index.mjs +1 -1
  113. package/dist/entities/up-role/index.cjs +1 -1
  114. package/dist/entities/up-role/index.d.cts +1 -1
  115. package/dist/entities/up-role/index.d.mts +1 -1
  116. package/dist/entities/up-role/index.mjs +1 -1
  117. package/dist/entities/up-user/index.cjs +1 -1
  118. package/dist/entities/up-user/index.d.cts +1 -1
  119. package/dist/entities/up-user/index.d.mts +1 -1
  120. package/dist/entities/up-user/index.mjs +1 -1
  121. package/dist/entities/url-redirect/index.cjs +2 -2
  122. package/dist/entities/url-redirect/index.d.cts +2 -2
  123. package/dist/entities/url-redirect/index.d.mts +2 -2
  124. package/dist/entities/url-redirect/index.mjs +2 -2
  125. package/dist/entities/user-account/index.cjs +2 -2
  126. package/dist/entities/user-account/index.d.cts +2 -2
  127. package/dist/entities/user-account/index.d.mts +2 -2
  128. package/dist/entities/user-account/index.mjs +2 -2
  129. package/dist/entities/utm-tracking-link/index.cjs +3 -3
  130. package/dist/entities/utm-tracking-link/index.d.cts +1 -1
  131. package/dist/entities/utm-tracking-link/index.d.mts +1 -1
  132. package/dist/entities/utm-tracking-link/index.mjs +3 -3
  133. package/dist/{index-CBW5QmNu.d.cts → index-9S5fRfl_.d.mts} +4 -4
  134. package/dist/{index-DKFW5ay8.d.mts → index-BQ-q8Rqt.d.cts} +4 -4
  135. package/dist/{index-D7QXaSOY.d.cts → index-BhOJmpYi.d.cts} +5 -5
  136. package/dist/{index-C1GoH-4v.d.cts → index-CKbtwmVl.d.cts} +17 -17
  137. package/dist/{index-ClQOYhKi.d.mts → index-Ceb7nLSG.d.mts} +17 -17
  138. package/dist/{index-Bjjp-2Sa.d.mts → index-CxuLg4Y8.d.mts} +5 -5
  139. package/dist/{index-Cqmmzi2g.d.mts → index-DSCV3ifg.d.mts} +3 -3
  140. package/dist/{index-WN2TBKki.d.cts → index-KxCfd05r.d.cts} +3 -3
  141. package/dist/permissions/index.d.cts +1 -1
  142. package/dist/permissions/index.d.mts +1 -1
  143. package/dist/{query-BR5Ze6T2.mjs → query-BuKHwaMn.mjs} +2 -2
  144. package/dist/{query-qQ_HLlxx.cjs → query-LyGctccO.cjs} +2 -2
  145. package/dist/{sort-D3WwshqQ.mjs → sort-BJrzr4Xl.mjs} +1 -1
  146. package/dist/{sort-CI87SH1y.cjs → sort-DIln8tn5.cjs} +1 -1
  147. package/dist/utilities/index.d.cts +2 -2
  148. package/dist/utilities/index.d.mts +2 -2
  149. package/package.json +1 -1
@@ -74,7 +74,7 @@ type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
74
74
  declare const QueryStrapiPaginated: v.ObjectSchema<{
75
75
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
76
76
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
77
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
77
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
78
78
  }, undefined>;
79
79
  type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
80
80
  //#endregion
@@ -90,28 +90,28 @@ type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
90
90
  declare const QueryStrapiBySlug: v.ObjectSchema<{
91
91
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
92
92
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
93
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
93
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
94
94
  readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
95
95
  }, undefined>;
96
96
  type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
97
97
  declare const QueryStrapiByEmail: v.ObjectSchema<{
98
98
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
99
99
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
100
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
100
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
101
101
  readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
102
102
  }, undefined>;
103
103
  type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
104
104
  declare const QueryStrapiByPhone: v.ObjectSchema<{
105
105
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
106
106
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
107
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
107
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
108
108
  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.">]>;
109
109
  }, undefined>;
110
110
  type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
111
111
  declare const QueryStrapiByName: v.ObjectSchema<{
112
112
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
113
113
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
114
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
114
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
115
115
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
116
116
  }, undefined>;
117
117
  type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
@@ -1,4 +1,4 @@
1
- import { Z as QuerySortOutput } from "./index-Bjjp-2Sa.mjs";
1
+ import { Z as QuerySortOutput } from "./index-CxuLg4Y8.mjs";
2
2
  import { r as MediaUploadDocument } from "./media-upload-DBG7YyU4.mjs";
3
3
  import { b as BlockContact } from "./index-Dvu63a8_.mjs";
4
4
  import { l as RichTextBlock, s as SeoMeta } from "./index-BSYaAtme.mjs";
@@ -931,13 +931,13 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
931
931
  readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
932
932
  readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
933
933
  readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
934
- readonly sort: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
934
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>, undefined>;
935
935
  }, undefined>;
936
936
  type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
937
937
  declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
938
938
  readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
939
939
  readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, "published">;
940
- readonly sort: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
940
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>, undefined>;
941
941
  }, undefined>;
942
942
  type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
943
943
  //#endregion
@@ -1,4 +1,4 @@
1
- import { Z as QuerySortOutput } from "./index-D7QXaSOY.cjs";
1
+ import { Z as QuerySortOutput } from "./index-BhOJmpYi.cjs";
2
2
  import { r as MediaUploadDocument } from "./media-upload-D-nP8FR1.cjs";
3
3
  import { b as BlockContact } from "./index-DG_Lwaa7.cjs";
4
4
  import { l as RichTextBlock, s as SeoMeta } from "./index-COpLbpQC.cjs";
@@ -931,13 +931,13 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
931
931
  readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
932
932
  readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
933
933
  readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
934
- readonly sort: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
934
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>, undefined>;
935
935
  }, undefined>;
936
936
  type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
937
937
  declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
938
938
  readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
939
939
  readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, "published">;
940
- readonly sort: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
940
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>, undefined>;
941
941
  }, undefined>;
942
942
  type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
943
943
  //#endregion
@@ -1,2 +1,2 @@
1
- import { An as ClientEntityScope, Dn as CLIENT_ENTITY_SCOPES, En as CLIENT_ENTITY_PERMISSIONS, On as ClientEntityActions, Tn as CLIENT_ENTITY_KEYS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, kn as ClientEntityKey, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions } from "../index-C1GoH-4v.cjs";
1
+ import { An as ClientEntityScope, Dn as CLIENT_ENTITY_SCOPES, En as CLIENT_ENTITY_PERMISSIONS, On as ClientEntityActions, Tn as CLIENT_ENTITY_KEYS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, kn as ClientEntityKey, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions } from "../index-CKbtwmVl.cjs";
2
2
  export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
@@ -1,2 +1,2 @@
1
- import { An as ClientEntityScope, Dn as CLIENT_ENTITY_SCOPES, En as CLIENT_ENTITY_PERMISSIONS, On as ClientEntityActions, Tn as CLIENT_ENTITY_KEYS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, kn as ClientEntityKey, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions } from "../index-ClQOYhKi.mjs";
1
+ import { An as ClientEntityScope, Dn as CLIENT_ENTITY_SCOPES, En as CLIENT_ENTITY_PERMISSIONS, On as ClientEntityActions, Tn as CLIENT_ENTITY_KEYS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, kn as ClientEntityKey, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions } from "../index-Ceb7nLSG.mjs";
2
2
  export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
@@ -1,6 +1,6 @@
1
1
  import { n as LIMIT_PAGINATION_MAX_SIZE } from "./pagination-owwfYJS6.mjs";
2
2
  import { n as VSize, t as VPage } from "./pagination-D5l_UjyM.mjs";
3
- import { n as QuerySortEntities } from "./sort-D3WwshqQ.mjs";
3
+ import { n as QuerySortEntities } from "./sort-BJrzr4Xl.mjs";
4
4
  import { t as VStringEmail } from "./email-Cnyi5Neo.mjs";
5
5
  import { t as VStringPhone } from "./phone-C9TNVDm_.mjs";
6
6
  import { s as VStringShort } from "./string-BHHnD2Qu.mjs";
@@ -10,7 +10,7 @@ import * as v from "valibot";
10
10
  const QueryStrapiPaginated = v.object({
11
11
  page: VPage(),
12
12
  size: VSize(LIMIT_PAGINATION_MAX_SIZE),
13
- sort: QuerySortEntities
13
+ sort: v.optional(QuerySortEntities)
14
14
  });
15
15
  //#endregion
16
16
  //#region src/base/query.ts
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require("./chunk-CKQMccvm.cjs");
2
2
  const require_pagination = require("./pagination-4pZafglS.cjs");
3
3
  const require_pagination$1 = require("./pagination-DWZDPzR4.cjs");
4
- const require_sort = require("./sort-CI87SH1y.cjs");
4
+ const require_sort = require("./sort-DIln8tn5.cjs");
5
5
  const require_email = require("./email-ByTEdUjg.cjs");
6
6
  const require_phone = require("./phone-D_ZLG1Qv.cjs");
7
7
  const require_string = require("./string-Yn-6xiAZ.cjs");
@@ -12,7 +12,7 @@ valibot = require_chunk.__toESM(valibot, 1);
12
12
  const QueryStrapiPaginated = valibot.object({
13
13
  page: require_pagination$1.VPage(),
14
14
  size: require_pagination$1.VSize(require_pagination.LIMIT_PAGINATION_MAX_SIZE),
15
- sort: require_sort.QuerySortEntities
15
+ sort: valibot.optional(require_sort.QuerySortEntities)
16
16
  });
17
17
  //#endregion
18
18
  //#region src/base/query.ts
@@ -2,7 +2,7 @@ import * as v from "valibot";
2
2
  //#region src/base/sort.ts
3
3
  const createQuerySort = (sortKeys) => {
4
4
  const sortOptions = sortKeys.flatMap((key) => [`${key}:ASC`, `${key}:DESC`]);
5
- return v.optional(v.pipe(v.array(v.picklist(sortOptions)), v.maxLength(sortKeys.length)));
5
+ return v.pipe(v.array(v.picklist(sortOptions)), v.maxLength(sortKeys.length));
6
6
  };
7
7
  const ENTITY_SORT_KEYS = [
8
8
  "id",
@@ -4,7 +4,7 @@ valibot = require_chunk.__toESM(valibot, 1);
4
4
  //#region src/base/sort.ts
5
5
  const createQuerySort = (sortKeys) => {
6
6
  const sortOptions = sortKeys.flatMap((key) => [`${key}:ASC`, `${key}:DESC`]);
7
- return valibot.optional(valibot.pipe(valibot.array(valibot.picklist(sortOptions)), valibot.maxLength(sortKeys.length)));
7
+ return valibot.pipe(valibot.array(valibot.picklist(sortOptions)), valibot.maxLength(sortKeys.length));
8
8
  };
9
9
  const ENTITY_SORT_KEYS = [
10
10
  "id",
@@ -1,5 +1,5 @@
1
- import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-D7QXaSOY.cjs";
2
- import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-C1GoH-4v.cjs";
1
+ import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-BhOJmpYi.cjs";
2
+ import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-CKbtwmVl.cjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/utilities/permissions.d.ts
@@ -1,5 +1,5 @@
1
- import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-Bjjp-2Sa.mjs";
2
- import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-ClQOYhKi.mjs";
1
+ import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-CxuLg4Y8.mjs";
2
+ import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-Ceb7nLSG.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.27",
4
+ "version": "0.0.271-alpha.28",
5
5
  "author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
6
6
  "contributors": [],
7
7
  "type": "module",