@getcommunity/gc-validators 0.0.288-alpha.2 → 0.0.288-alpha.3

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 (163) hide show
  1. package/dist/base/index.cjs +1 -1
  2. package/dist/base/index.d.cts +2 -2
  3. package/dist/base/index.d.mts +2 -2
  4. package/dist/base/index.mjs +1 -1
  5. package/dist/{document-DKCXrhcv.mjs → document-CMD9cQiK.mjs} +9 -9
  6. package/dist/entities/audit-log/query.cjs +7 -6
  7. package/dist/entities/audit-log/query.d.cts +6 -25
  8. package/dist/entities/audit-log/query.d.mts +6 -25
  9. package/dist/entities/audit-log/query.mjs +2 -1
  10. package/dist/entities/blog-post/document.cjs +1 -1
  11. package/dist/entities/blog-post/document.mjs +1 -1
  12. package/dist/entities/blog-post/query.cjs +9 -8
  13. package/dist/entities/blog-post/query.d.cts +6 -21
  14. package/dist/entities/blog-post/query.d.mts +6 -21
  15. package/dist/entities/blog-post/query.mjs +2 -1
  16. package/dist/entities/category/document.cjs +1 -1
  17. package/dist/entities/category/document.mjs +1 -1
  18. package/dist/entities/category/query.cjs +7 -6
  19. package/dist/entities/category/query.d.cts +6 -12
  20. package/dist/entities/category/query.d.mts +6 -12
  21. package/dist/entities/category/query.mjs +2 -1
  22. package/dist/entities/client/query.cjs +6 -5
  23. package/dist/entities/client/query.d.cts +1 -1
  24. package/dist/entities/client/query.d.mts +1 -1
  25. package/dist/entities/client/query.mjs +2 -1
  26. package/dist/entities/client-content-pillar/query.cjs +1 -1
  27. package/dist/entities/client-content-pillar/query.d.cts +1 -1
  28. package/dist/entities/client-content-pillar/query.d.mts +1 -1
  29. package/dist/entities/client-content-pillar/query.mjs +1 -1
  30. package/dist/entities/client-media-platform/query.cjs +1 -1
  31. package/dist/entities/client-media-platform/query.d.cts +1 -1
  32. package/dist/entities/client-media-platform/query.d.mts +1 -1
  33. package/dist/entities/client-media-platform/query.mjs +1 -1
  34. package/dist/entities/client-project/query.cjs +12 -11
  35. package/dist/entities/client-project/query.d.cts +7 -29
  36. package/dist/entities/client-project/query.d.mts +7 -29
  37. package/dist/entities/client-project/query.mjs +2 -1
  38. package/dist/entities/client-report/query.cjs +6 -5
  39. package/dist/entities/client-report/query.d.cts +7 -18
  40. package/dist/entities/client-report/query.d.mts +7 -18
  41. package/dist/entities/client-report/query.mjs +2 -1
  42. package/dist/entities/client-styleguide/query.cjs +6 -5
  43. package/dist/entities/client-styleguide/query.d.cts +7 -14
  44. package/dist/entities/client-styleguide/query.d.mts +7 -14
  45. package/dist/entities/client-styleguide/query.mjs +2 -1
  46. package/dist/entities/client-user/query.cjs +1 -1
  47. package/dist/entities/client-user/query.d.cts +1 -1
  48. package/dist/entities/client-user/query.d.mts +1 -1
  49. package/dist/entities/client-user/query.mjs +1 -1
  50. package/dist/entities/content-pillar/query.cjs +1 -1
  51. package/dist/entities/content-pillar/query.d.cts +1 -1
  52. package/dist/entities/content-pillar/query.d.mts +1 -1
  53. package/dist/entities/content-pillar/query.mjs +1 -1
  54. package/dist/entities/formatter/constants.d.cts +1 -1
  55. package/dist/entities/formatter/constants.d.mts +1 -1
  56. package/dist/entities/formatter/fields.d.cts +4 -4
  57. package/dist/entities/formatter/fields.d.mts +4 -4
  58. package/dist/entities/gcflytour/query.cjs +1 -1
  59. package/dist/entities/gcflytour/query.d.cts +1 -1
  60. package/dist/entities/gcflytour/query.d.mts +1 -1
  61. package/dist/entities/gcflytour/query.mjs +1 -1
  62. package/dist/entities/gcflytour-snap/query.cjs +1 -1
  63. package/dist/entities/gcflytour-snap/query.d.cts +1 -1
  64. package/dist/entities/gcflytour-snap/query.d.mts +1 -1
  65. package/dist/entities/gcflytour-snap/query.mjs +1 -1
  66. package/dist/entities/media-content-type/query.cjs +1 -1
  67. package/dist/entities/media-content-type/query.d.cts +1 -1
  68. package/dist/entities/media-content-type/query.d.mts +1 -1
  69. package/dist/entities/media-content-type/query.mjs +1 -1
  70. package/dist/entities/media-creative-format/query.cjs +1 -1
  71. package/dist/entities/media-creative-format/query.d.cts +1 -1
  72. package/dist/entities/media-creative-format/query.d.mts +1 -1
  73. package/dist/entities/media-creative-format/query.mjs +1 -1
  74. package/dist/entities/media-medium/query.cjs +1 -1
  75. package/dist/entities/media-medium/query.d.cts +1 -1
  76. package/dist/entities/media-medium/query.d.mts +1 -1
  77. package/dist/entities/media-medium/query.mjs +1 -1
  78. package/dist/entities/media-platform/query.cjs +1 -1
  79. package/dist/entities/media-platform/query.d.cts +1 -1
  80. package/dist/entities/media-platform/query.d.mts +1 -1
  81. package/dist/entities/media-platform/query.mjs +1 -1
  82. package/dist/entities/monday-workspace/query.cjs +6 -5
  83. package/dist/entities/monday-workspace/query.d.cts +7 -14
  84. package/dist/entities/monday-workspace/query.d.mts +7 -14
  85. package/dist/entities/monday-workspace/query.mjs +2 -1
  86. package/dist/entities/tag/query.cjs +7 -6
  87. package/dist/entities/tag/query.d.cts +6 -12
  88. package/dist/entities/tag/query.d.mts +6 -12
  89. package/dist/entities/tag/query.mjs +2 -1
  90. package/dist/entities/team-member/document.cjs +1 -1
  91. package/dist/entities/team-member/document.mjs +1 -1
  92. package/dist/entities/team-member/query.cjs +8 -7
  93. package/dist/entities/team-member/query.d.cts +6 -17
  94. package/dist/entities/team-member/query.d.mts +6 -17
  95. package/dist/entities/team-member/query.mjs +2 -1
  96. package/dist/entities/trend/document.cjs +1 -1
  97. package/dist/entities/trend/document.mjs +1 -1
  98. package/dist/entities/up-permission/fields.d.cts +1 -1
  99. package/dist/entities/up-permission/fields.d.mts +1 -1
  100. package/dist/entities/up-role/query.cjs +6 -5
  101. package/dist/entities/up-role/query.d.cts +1 -1
  102. package/dist/entities/up-role/query.d.mts +1 -1
  103. package/dist/entities/up-role/query.mjs +2 -1
  104. package/dist/entities/up-user/query.cjs +1 -1
  105. package/dist/entities/up-user/query.d.cts +1 -1
  106. package/dist/entities/up-user/query.d.mts +1 -1
  107. package/dist/entities/up-user/query.mjs +1 -1
  108. package/dist/entities/url-redirect/query.cjs +6 -5
  109. package/dist/entities/url-redirect/query.d.cts +6 -15
  110. package/dist/entities/url-redirect/query.d.mts +6 -15
  111. package/dist/entities/url-redirect/query.mjs +2 -1
  112. package/dist/entities/user-account/query.cjs +1 -1
  113. package/dist/entities/user-account/query.d.cts +1 -1
  114. package/dist/entities/user-account/query.d.mts +1 -1
  115. package/dist/entities/user-account/query.mjs +1 -1
  116. package/dist/entities/utm-tracking-link/query.cjs +7 -6
  117. package/dist/entities/utm-tracking-link/query.d.cts +8 -30
  118. package/dist/entities/utm-tracking-link/query.d.mts +8 -30
  119. package/dist/entities/utm-tracking-link/query.mjs +3 -2
  120. package/dist/{fields-S54MmK9N.d.mts → fields-BoIWv7BD.d.mts} +1 -1
  121. package/dist/{fields-PCsCdBLK.d.cts → fields-DaAvm6kj.d.cts} +1 -1
  122. package/dist/filters/index.cjs +19 -18
  123. package/dist/filters/index.d.cts +109 -2
  124. package/dist/filters/index.d.mts +109 -2
  125. package/dist/filters/index.mjs +2 -1
  126. package/dist/{string-BzuFgUlq.mjs → identifier-CXlBnKdk.mjs} +1 -35
  127. package/dist/{string-CmrQCAO3.cjs → identifier-Dmax1xo2.cjs} +0 -52
  128. package/dist/{index-B3eh9Z-Q.d.cts → index-BgZbDm41.d.cts} +6 -1
  129. package/dist/{index-B3eh9Z-Q.d.mts → index-BgZbDm41.d.mts} +6 -1
  130. package/dist/{index-G2dwQO5K.d.cts → index-CPxt9kfS.d.cts} +3 -17
  131. package/dist/{index-S6qdsw3U.d.mts → index-QwaC0W5H.d.mts} +3 -17
  132. package/dist/{query-F1Pi5Frs.d.mts → query-0MyyHYA2.d.mts} +9 -8
  133. package/dist/{query-C6GwPFXA.d.mts → query-9J5wmu64.d.mts} +12 -33
  134. package/dist/{query-B_0RzvVW.cjs → query-B-6-qAuN.cjs} +12 -11
  135. package/dist/{query-CZWKfQ2W.d.mts → query-BOv5YhYc.d.cts} +16 -26
  136. package/dist/{query-Db1jwzou.d.cts → query-BQkvCQDy.d.mts} +16 -26
  137. package/dist/{query-0Z9KdoGa.d.mts → query-BSphap4l.d.mts} +14 -32
  138. package/dist/{query-Du84-6vd.mjs → query-B_Kr4diZ.mjs} +1 -1
  139. package/dist/{query-DxEOf4Ya.d.cts → query-BdS6AzQM.d.mts} +27 -79
  140. package/dist/{query-DAmB2_nm.d.cts → query-BiM_LW7b.d.cts} +12 -33
  141. package/dist/{query-Bi8_XzuT.mjs → query-BkrbXapq.mjs} +2 -1
  142. package/dist/{query-BGz5Dj7o.d.cts → query-C0STzKW-.d.cts} +9 -8
  143. package/dist/{query-BjiGq9-J.cjs → query-C1EUVVMT.cjs} +27 -26
  144. package/dist/{query-gZEGybi3.d.cts → query-CCAKLxKT.d.cts} +14 -32
  145. package/dist/{query-CZV-Qu8U.mjs → query-CQEN_HJN.mjs} +2 -1
  146. package/dist/{query-CJTbiRV2.mjs → query-CSOBMIJi.mjs} +2 -1
  147. package/dist/{query-Dzx1W_xi.cjs → query-CTqyKcbH.cjs} +11 -10
  148. package/dist/{query-X_l9YFS6.d.mts → query-CbCFSDNP.d.cts} +12 -27
  149. package/dist/{query-hvHQxwdK.d.mts → query-DIQPfsSq.d.cts} +6 -22
  150. package/dist/{query-ohFZ5p3e.d.cts → query-DQvrkaL2.d.mts} +6 -22
  151. package/dist/{query-Ck0NC_9l.cjs → query-D_xMsBEz.cjs} +11 -10
  152. package/dist/{query-CEvYGQyI.d.cts → query-DlpZHcIM.d.mts} +12 -27
  153. package/dist/{query-C-G04KqP.d.mts → query-PKg23GyY.d.cts} +27 -79
  154. package/dist/{query-DV68iZaG.mjs → query-k67TaoJs.mjs} +2 -1
  155. package/dist/{query-CMOLb-qs.cjs → query-okrI1jn4.cjs} +8 -8
  156. package/dist/string-By4lqNB3.cjs +53 -0
  157. package/dist/string-CHEFvHQa.mjs +36 -0
  158. package/dist/utilities/index.d.cts +1 -1
  159. package/dist/utilities/index.d.mts +1 -1
  160. package/package.json +1 -1
  161. package/dist/index-Bk5hIBoB.d.cts +0 -108
  162. package/dist/index-Bk5hIBoB.d.mts +0 -108
  163. package/dist/{document-D-6H7hBf.cjs → document-C5i7ol4r.cjs} +8 -8
@@ -0,0 +1,36 @@
1
+ import { i as createStrapiFieldOperatorSchema, n as createStrapiArrayMembershipOperatorEntries, o as createStrapiCaseInsensitiveEqualityOperatorEntries, s as createStrapiEqualityOperatorEntries, t as StrapiNullOperatorEntries } from "./null-operators-DvwH8j8n.mjs";
2
+ import { t as LIMIT_LONG_STRING_MAX_LENGTH } from "./limits-Dlni_x0-.mjs";
3
+ import { i as VStringMax } from "./string-v2gu3xz0.mjs";
4
+ //#region src/filters/primitives/string-matching-operators.ts
5
+ const createStrapiStringMatchingOperatorEntries = (value) => ({
6
+ $contains: value,
7
+ $containsi: value,
8
+ $endsWith: value,
9
+ $endsWithi: value,
10
+ $notContains: value,
11
+ $notContainsi: value,
12
+ $startsWith: value,
13
+ $startsWithi: value
14
+ });
15
+ //#endregion
16
+ //#region src/filters/generics/string.ts
17
+ const StringFilter = createStrapiFieldOperatorSchema({
18
+ ...createStrapiEqualityOperatorEntries(VStringMax()),
19
+ ...createStrapiCaseInsensitiveEqualityOperatorEntries(VStringMax()),
20
+ ...createStrapiStringMatchingOperatorEntries(VStringMax()),
21
+ ...StrapiNullOperatorEntries
22
+ });
23
+ const LongStringFilter = createStrapiFieldOperatorSchema({
24
+ ...createStrapiEqualityOperatorEntries(VStringMax(LIMIT_LONG_STRING_MAX_LENGTH)),
25
+ ...createStrapiCaseInsensitiveEqualityOperatorEntries(VStringMax(LIMIT_LONG_STRING_MAX_LENGTH)),
26
+ ...createStrapiStringMatchingOperatorEntries(VStringMax(LIMIT_LONG_STRING_MAX_LENGTH)),
27
+ ...StrapiNullOperatorEntries
28
+ });
29
+ const ExactStringFilter = createStrapiFieldOperatorSchema({
30
+ ...createStrapiEqualityOperatorEntries(VStringMax()),
31
+ ...createStrapiCaseInsensitiveEqualityOperatorEntries(VStringMax()),
32
+ ...createStrapiArrayMembershipOperatorEntries(VStringMax()),
33
+ ...StrapiNullOperatorEntries
34
+ });
35
+ //#endregion
36
+ export { LongStringFilter as n, StringFilter as r, ExactStringFilter as t };
@@ -1,4 +1,4 @@
1
- import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-G2dwQO5K.cjs";
1
+ import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-CPxt9kfS.cjs";
2
2
  import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-CPHhI3jF.cjs";
3
3
  import { t as RoleType } from "../fields-DNmK-PPG.cjs";
4
4
  import * as v from "valibot";
@@ -1,4 +1,4 @@
1
- import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-S6qdsw3U.mjs";
1
+ import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-QwaC0W5H.mjs";
2
2
  import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-DHJf5HxE.mjs";
3
3
  import { t as RoleType } from "../fields-DNmK-PPG.mjs";
4
4
  import * as v from "valibot";
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.288-alpha.2",
4
+ "version": "0.0.288-alpha.3",
5
5
  "author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
6
6
  "contributors": [],
7
7
  "type": "module",
@@ -1,108 +0,0 @@
1
- //#region src/filters/constants.d.ts
2
- declare const STRAPI_FILTER_OPERATORS: {
3
- readonly $eq: {
4
- readonly type: "comparison";
5
- readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
6
- };
7
- readonly $ne: {
8
- readonly type: "comparison";
9
- readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
10
- };
11
- readonly $eqi: {
12
- readonly type: "comparison";
13
- readonly valueType: readonly ["string"];
14
- };
15
- readonly $nei: {
16
- readonly type: "comparison";
17
- readonly valueType: readonly ["string"];
18
- };
19
- readonly $gt: {
20
- readonly type: "comparison";
21
- readonly valueType: readonly ["number", "date", "datetime"];
22
- };
23
- readonly $gte: {
24
- readonly type: "comparison";
25
- readonly valueType: readonly ["number", "date", "datetime"];
26
- };
27
- readonly $lt: {
28
- readonly type: "comparison";
29
- readonly valueType: readonly ["number", "date", "datetime"];
30
- };
31
- readonly $lte: {
32
- readonly type: "comparison";
33
- readonly valueType: readonly ["number", "date", "datetime"];
34
- };
35
- readonly $contains: {
36
- readonly type: "string";
37
- readonly valueType: readonly ["string"];
38
- };
39
- readonly $containsi: {
40
- readonly type: "string";
41
- readonly valueType: readonly ["string"];
42
- };
43
- readonly $endsWith: {
44
- readonly type: "string";
45
- readonly valueType: readonly ["string"];
46
- };
47
- readonly $endsWithi: {
48
- readonly type: "string";
49
- readonly valueType: readonly ["string"];
50
- };
51
- readonly $notContains: {
52
- readonly type: "string";
53
- readonly valueType: readonly ["string"];
54
- };
55
- readonly $notContainsi: {
56
- readonly type: "string";
57
- readonly valueType: readonly ["string"];
58
- };
59
- readonly $startsWith: {
60
- readonly type: "string";
61
- readonly valueType: readonly ["string"];
62
- };
63
- readonly $startsWithi: {
64
- readonly type: "string";
65
- readonly valueType: readonly ["string"];
66
- };
67
- readonly $in: {
68
- readonly type: "array";
69
- readonly valueType: readonly ["string", "number", "date", "picklist"];
70
- };
71
- readonly $notIn: {
72
- readonly type: "array";
73
- readonly valueType: readonly ["string", "number", "date", "picklist"];
74
- };
75
- readonly $between: {
76
- readonly type: "array";
77
- readonly valueType: readonly ["number", "date", "datetime"];
78
- };
79
- readonly $notNull: {
80
- readonly type: "null";
81
- readonly valueType: readonly ["nullable"];
82
- };
83
- readonly $null: {
84
- readonly type: "null";
85
- readonly valueType: readonly ["nullable"];
86
- };
87
- readonly $and: {
88
- readonly type: "logical";
89
- readonly valueType: readonly ["join"];
90
- };
91
- readonly $not: {
92
- readonly type: "logical";
93
- readonly valueType: readonly ["join"];
94
- };
95
- readonly $or: {
96
- readonly type: "logical";
97
- readonly valueType: readonly ["join"];
98
- };
99
- };
100
- type StrapiFilterOperandKey = keyof typeof STRAPI_FILTER_OPERATORS;
101
- type StrapiFilterOperandType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["type"];
102
- type StrapiFilterOperandValueType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["valueType"];
103
- type StrapiFilterOperationDef = {
104
- type: StrapiFilterOperandType;
105
- valueType: Array<StrapiFilterOperandValueType>;
106
- };
107
- //#endregion
108
- export { StrapiFilterOperationDef as a, StrapiFilterOperandValueType as i, StrapiFilterOperandKey as n, StrapiFilterOperandType as r, STRAPI_FILTER_OPERATORS as t };
@@ -1,108 +0,0 @@
1
- //#region src/filters/constants.d.ts
2
- declare const STRAPI_FILTER_OPERATORS: {
3
- readonly $eq: {
4
- readonly type: "comparison";
5
- readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
6
- };
7
- readonly $ne: {
8
- readonly type: "comparison";
9
- readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
10
- };
11
- readonly $eqi: {
12
- readonly type: "comparison";
13
- readonly valueType: readonly ["string"];
14
- };
15
- readonly $nei: {
16
- readonly type: "comparison";
17
- readonly valueType: readonly ["string"];
18
- };
19
- readonly $gt: {
20
- readonly type: "comparison";
21
- readonly valueType: readonly ["number", "date", "datetime"];
22
- };
23
- readonly $gte: {
24
- readonly type: "comparison";
25
- readonly valueType: readonly ["number", "date", "datetime"];
26
- };
27
- readonly $lt: {
28
- readonly type: "comparison";
29
- readonly valueType: readonly ["number", "date", "datetime"];
30
- };
31
- readonly $lte: {
32
- readonly type: "comparison";
33
- readonly valueType: readonly ["number", "date", "datetime"];
34
- };
35
- readonly $contains: {
36
- readonly type: "string";
37
- readonly valueType: readonly ["string"];
38
- };
39
- readonly $containsi: {
40
- readonly type: "string";
41
- readonly valueType: readonly ["string"];
42
- };
43
- readonly $endsWith: {
44
- readonly type: "string";
45
- readonly valueType: readonly ["string"];
46
- };
47
- readonly $endsWithi: {
48
- readonly type: "string";
49
- readonly valueType: readonly ["string"];
50
- };
51
- readonly $notContains: {
52
- readonly type: "string";
53
- readonly valueType: readonly ["string"];
54
- };
55
- readonly $notContainsi: {
56
- readonly type: "string";
57
- readonly valueType: readonly ["string"];
58
- };
59
- readonly $startsWith: {
60
- readonly type: "string";
61
- readonly valueType: readonly ["string"];
62
- };
63
- readonly $startsWithi: {
64
- readonly type: "string";
65
- readonly valueType: readonly ["string"];
66
- };
67
- readonly $in: {
68
- readonly type: "array";
69
- readonly valueType: readonly ["string", "number", "date", "picklist"];
70
- };
71
- readonly $notIn: {
72
- readonly type: "array";
73
- readonly valueType: readonly ["string", "number", "date", "picklist"];
74
- };
75
- readonly $between: {
76
- readonly type: "array";
77
- readonly valueType: readonly ["number", "date", "datetime"];
78
- };
79
- readonly $notNull: {
80
- readonly type: "null";
81
- readonly valueType: readonly ["nullable"];
82
- };
83
- readonly $null: {
84
- readonly type: "null";
85
- readonly valueType: readonly ["nullable"];
86
- };
87
- readonly $and: {
88
- readonly type: "logical";
89
- readonly valueType: readonly ["join"];
90
- };
91
- readonly $not: {
92
- readonly type: "logical";
93
- readonly valueType: readonly ["join"];
94
- };
95
- readonly $or: {
96
- readonly type: "logical";
97
- readonly valueType: readonly ["join"];
98
- };
99
- };
100
- type StrapiFilterOperandKey = keyof typeof STRAPI_FILTER_OPERATORS;
101
- type StrapiFilterOperandType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["type"];
102
- type StrapiFilterOperandValueType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["valueType"];
103
- type StrapiFilterOperationDef = {
104
- type: StrapiFilterOperandType;
105
- valueType: Array<StrapiFilterOperandValueType>;
106
- };
107
- //#endregion
108
- export { StrapiFilterOperationDef as a, StrapiFilterOperandValueType as i, StrapiFilterOperandKey as n, StrapiFilterOperandType as r, STRAPI_FILTER_OPERATORS as t };
@@ -9,6 +9,14 @@ const require_entities_team_member_fields = require("./entities/team-member/fiel
9
9
  const require_entities_blog_post_fields = require("./entities/blog-post/fields.cjs");
10
10
  let valibot = require("valibot");
11
11
  valibot = require_chunk.__toESM(valibot, 1);
12
+ //#region src/entities/category/document.ts
13
+ const CategoryDocument = valibot.object({
14
+ ...require_document.BaseDocument.entries,
15
+ label: valibot.string(),
16
+ slug: valibot.string(),
17
+ blog_posts: require_relation.VDocumentRelationMany(() => BlogPostDocument)
18
+ });
19
+ //#endregion
12
20
  //#region src/entities/trend/document.ts
13
21
  const TrendDocument = valibot.object({
14
22
  ...require_document.BaseDocument.entries,
@@ -58,14 +66,6 @@ const BlogPostDocument = valibot.object({
58
66
  related_posts: require_relation.VDocumentRelationMany(() => BlogPostDocument)
59
67
  });
60
68
  //#endregion
61
- //#region src/entities/category/document.ts
62
- const CategoryDocument = valibot.object({
63
- ...require_document.BaseDocument.entries,
64
- label: valibot.string(),
65
- slug: valibot.string(),
66
- blog_posts: require_relation.VDocumentRelationMany(() => BlogPostDocument)
67
- });
68
- //#endregion
69
69
  Object.defineProperty(exports, "BlogPostDocument", {
70
70
  enumerable: true,
71
71
  get: function() {