@getcommunity/gc-validators 0.0.271-alpha.26 → 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 (155) 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/formatter/index.d.cts +5 -5
  58. package/dist/entities/formatter/index.d.mts +5 -5
  59. package/dist/entities/gcflytour/index.cjs +3 -3
  60. package/dist/entities/gcflytour/index.d.cts +1 -1
  61. package/dist/entities/gcflytour/index.d.mts +1 -1
  62. package/dist/entities/gcflytour/index.mjs +3 -3
  63. package/dist/entities/gcflytour-snap/index.cjs +3 -3
  64. package/dist/entities/gcflytour-snap/index.d.cts +1 -1
  65. package/dist/entities/gcflytour-snap/index.d.mts +1 -1
  66. package/dist/entities/gcflytour-snap/index.mjs +3 -3
  67. package/dist/entities/media-content-type/index.cjs +3 -3
  68. package/dist/entities/media-content-type/index.d.cts +3 -3
  69. package/dist/entities/media-content-type/index.d.mts +3 -3
  70. package/dist/entities/media-content-type/index.mjs +3 -3
  71. package/dist/entities/media-creative-format/index.cjs +3 -3
  72. package/dist/entities/media-creative-format/index.d.cts +3 -3
  73. package/dist/entities/media-creative-format/index.d.mts +3 -3
  74. package/dist/entities/media-creative-format/index.mjs +3 -3
  75. package/dist/entities/media-medium/index.cjs +3 -3
  76. package/dist/entities/media-medium/index.d.cts +3 -3
  77. package/dist/entities/media-medium/index.d.mts +3 -3
  78. package/dist/entities/media-medium/index.mjs +3 -3
  79. package/dist/entities/media-platform/index.cjs +3 -3
  80. package/dist/entities/media-platform/index.d.cts +1 -1
  81. package/dist/entities/media-platform/index.d.mts +1 -1
  82. package/dist/entities/media-platform/index.mjs +3 -3
  83. package/dist/entities/monday-workspace/index.cjs +3 -3
  84. package/dist/entities/monday-workspace/index.d.cts +1 -1
  85. package/dist/entities/monday-workspace/index.d.mts +1 -1
  86. package/dist/entities/monday-workspace/index.mjs +3 -3
  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/tag/index.cjs +2 -2
  92. package/dist/entities/tag/index.d.cts +2 -2
  93. package/dist/entities/tag/index.d.mts +2 -2
  94. package/dist/entities/tag/index.mjs +2 -2
  95. package/dist/entities/team-member/index.cjs +3 -3
  96. package/dist/entities/team-member/index.d.cts +1 -1
  97. package/dist/entities/team-member/index.d.mts +1 -1
  98. package/dist/entities/team-member/index.mjs +3 -3
  99. package/dist/entities/teamwork/index.cjs +1 -1
  100. package/dist/entities/teamwork/index.d.cts +2 -2
  101. package/dist/entities/teamwork/index.d.mts +2 -2
  102. package/dist/entities/teamwork/index.mjs +1 -1
  103. package/dist/entities/trend/index.cjs +1 -1
  104. package/dist/entities/trend/index.d.cts +1 -1
  105. package/dist/entities/trend/index.d.mts +1 -1
  106. package/dist/entities/trend/index.mjs +1 -1
  107. package/dist/entities/up-auth/index.cjs +1 -1
  108. package/dist/entities/up-auth/index.d.cts +1 -1
  109. package/dist/entities/up-auth/index.d.mts +1 -1
  110. package/dist/entities/up-auth/index.mjs +1 -1
  111. package/dist/entities/up-permission/index.cjs +1 -1
  112. package/dist/entities/up-permission/index.d.cts +1 -1
  113. package/dist/entities/up-permission/index.d.mts +1 -1
  114. package/dist/entities/up-permission/index.mjs +1 -1
  115. package/dist/entities/up-role/index.cjs +1 -1
  116. package/dist/entities/up-role/index.d.cts +1 -1
  117. package/dist/entities/up-role/index.d.mts +1 -1
  118. package/dist/entities/up-role/index.mjs +1 -1
  119. package/dist/entities/up-user/index.cjs +1 -1
  120. package/dist/entities/up-user/index.d.cts +1 -1
  121. package/dist/entities/up-user/index.d.mts +1 -1
  122. package/dist/entities/up-user/index.mjs +1 -1
  123. package/dist/entities/url-redirect/index.cjs +2 -2
  124. package/dist/entities/url-redirect/index.d.cts +2 -2
  125. package/dist/entities/url-redirect/index.d.mts +2 -2
  126. package/dist/entities/url-redirect/index.mjs +2 -2
  127. package/dist/entities/user-account/index.cjs +2 -2
  128. package/dist/entities/user-account/index.d.cts +2 -2
  129. package/dist/entities/user-account/index.d.mts +2 -2
  130. package/dist/entities/user-account/index.mjs +2 -2
  131. package/dist/entities/utm-tracking-link/index.cjs +3 -3
  132. package/dist/entities/utm-tracking-link/index.d.cts +1 -1
  133. package/dist/entities/utm-tracking-link/index.d.mts +1 -1
  134. package/dist/entities/utm-tracking-link/index.mjs +3 -3
  135. package/dist/generators/index.cjs +231 -0
  136. package/dist/generators/index.d.cts +19 -0
  137. package/dist/generators/index.d.mts +19 -0
  138. package/dist/generators/index.mjs +226 -0
  139. package/dist/{index-C9Hbvjc8.d.mts → index-9S5fRfl_.d.mts} +3 -3
  140. package/dist/{index-Dm8G_OXX.d.cts → index-BQ-q8Rqt.d.cts} +3 -3
  141. package/dist/{index-D7QXaSOY.d.cts → index-BhOJmpYi.d.cts} +5 -5
  142. package/dist/{index-CTc84rze.d.cts → index-CKbtwmVl.d.cts} +19 -19
  143. package/dist/{index-DpOKOSqT.d.mts → index-Ceb7nLSG.d.mts} +19 -19
  144. package/dist/{index-Bjjp-2Sa.d.mts → index-CxuLg4Y8.d.mts} +5 -5
  145. package/dist/{index-Bd8ZGWzA.d.mts → index-DSCV3ifg.d.mts} +4 -4
  146. package/dist/{index-D5VpzV4T.d.cts → index-KxCfd05r.d.cts} +4 -4
  147. package/dist/permissions/index.d.cts +1 -1
  148. package/dist/permissions/index.d.mts +1 -1
  149. package/dist/{query-BR5Ze6T2.mjs → query-BuKHwaMn.mjs} +2 -2
  150. package/dist/{query-qQ_HLlxx.cjs → query-LyGctccO.cjs} +2 -2
  151. package/dist/{sort-D3WwshqQ.mjs → sort-BJrzr4Xl.mjs} +1 -1
  152. package/dist/{sort-CI87SH1y.cjs → sort-DIln8tn5.cjs} +1 -1
  153. package/dist/utilities/index.d.cts +2 -2
  154. package/dist/utilities/index.d.mts +2 -2
  155. package/package.json +19 -2
@@ -0,0 +1,226 @@
1
+ import { s as REGEX_UTM_VALUE } from "../regex-pSdcbWzV.mjs";
2
+ import * as v from "valibot";
3
+ import RandExp from "randexp";
4
+ //#region src/generators/index.ts
5
+ function generateValid(opts) {
6
+ const includeOptionalProb = opts?.includeOptionalProb ?? .7;
7
+ const maxAttempts = opts?.maxAttempts ?? 30;
8
+ const hooks = opts?.hooks ?? {};
9
+ for (let attempt = 0; attempt < maxAttempts; attempt++) {
10
+ const raw = _genWithHooks(opts.schema, { includeOptionalProb }, hooks, []);
11
+ const value = opts.overrides ? deepMerge(raw, opts.overrides) : raw;
12
+ const res = v.safeParse(opts.schema, value);
13
+ if (res.success) {
14
+ const output = res.output;
15
+ for (const field of opts.excludedFields ?? []) delete output[field];
16
+ return output;
17
+ }
18
+ }
19
+ throw new Error("generateValid could not satisfy schema");
20
+ }
21
+ function _genWithHooks(schema, ctx, hooks, path) {
22
+ const val = _gen(schema, ctx, path);
23
+ const key = path[path.length - 1];
24
+ const pathKey = path.join(".");
25
+ if (hooks[pathKey]) return hooks[pathKey](val, schema, path);
26
+ if (key && hooks[key]) return hooks[key](val, schema, path);
27
+ return val;
28
+ }
29
+ function _gen(schema, ctx, path = []) {
30
+ switch (schema?.type) {
31
+ case "object": {
32
+ const out = {};
33
+ const entries = schema.entries ?? {};
34
+ for (const [key, sub] of Object.entries(entries)) {
35
+ const isOptional = sub?.type === "optional";
36
+ if (isOptional && Math.random() > ctx.includeOptionalProb) continue;
37
+ out[key] = _gen(isOptional ? unwrapOptional(sub) : sub, ctx, [...path, key]);
38
+ }
39
+ return out;
40
+ }
41
+ case "array": {
42
+ const item = schema.item ?? schema.items;
43
+ const min = getArrayMin(schema) ?? 0;
44
+ const len = randInt(min, Math.max(min, Math.min(5, getArrayMax(schema) ?? 3)));
45
+ return Array.from({ length: len }, () => _gen(item, ctx, [...path, String(len)]));
46
+ }
47
+ case "tuple": return (schema.items ?? schema.entries ?? []).map((s, i) => _gen(s, ctx, [...path, String(i)]));
48
+ case "union": {
49
+ const options = schema.options ?? schema.variants ?? [];
50
+ for (const opt of shuffle([...options])) {
51
+ const val = _gen(opt, ctx, path);
52
+ if (v.safeParse(opt, val).success) return val;
53
+ }
54
+ return _gen(options[0], ctx, path);
55
+ }
56
+ case "literal": return schema.literal;
57
+ case "enum": return randomItem(schema.options ?? schema.values ?? schema.variants ?? []);
58
+ case "picklist": return randomItem(schema.options ?? schema.values ?? schema.variants ?? []);
59
+ case "record": {
60
+ const keySchema = schema.key ?? schema.keySchema ?? v.string();
61
+ const valueSchema = schema.value ?? schema.valueSchema ?? v.unknown();
62
+ const count = randInt(1, 3);
63
+ const obj = {};
64
+ for (let i = 0; i < count; i++) {
65
+ const k = String(_gen(keySchema, ctx, [...path, "key"]));
66
+ obj[k] = _gen(valueSchema, ctx, [...path, k]);
67
+ }
68
+ return obj;
69
+ }
70
+ case "string":
71
+ const stringPipe = schema?.pipe || [];
72
+ for (const p of stringPipe) {
73
+ if (p?.type === "iso_date") {
74
+ const [min, max] = getDateBounds(schema);
75
+ return new Date(randInt(min.getTime(), max.getTime())).toISOString().split("T")[0];
76
+ }
77
+ if (p?.type === "iso_datetime") {
78
+ const [min, max] = getDateBounds(schema);
79
+ return new Date(randInt(min.getTime(), max.getTime())).toISOString();
80
+ }
81
+ }
82
+ return makeString(schema);
83
+ case "number":
84
+ schema.pipe;
85
+ return makeNumber(schema);
86
+ case "boolean": return Math.random() < .5;
87
+ case "bigint": {
88
+ const n = makeNumber(schema);
89
+ return BigInt(Math.trunc(n));
90
+ }
91
+ case "date": {
92
+ const [min, max] = getDateBounds(schema);
93
+ return new Date(randInt(min.getTime(), max.getTime()));
94
+ }
95
+ case "nullable": {
96
+ const inner = schema.wrapped ?? schema.inner ?? schema.item;
97
+ return Math.random() < .2 ? null : _gen(inner, ctx, path);
98
+ }
99
+ case "optional": return _gen(unwrapOptional(schema), ctx, path);
100
+ default: return {};
101
+ }
102
+ }
103
+ function unwrapOptional(s) {
104
+ return s.wrapped ?? s.inner ?? s.item ?? s.schema ?? s;
105
+ }
106
+ function getChecks(schema) {
107
+ return Array.isArray(schema?.pipe) ? schema.pipe : [];
108
+ }
109
+ function getArrayMin(schema) {
110
+ const min = getChecks(schema).find((c) => c?.type === "min_length")?.requirement;
111
+ return typeof min === "number" ? min : void 0;
112
+ }
113
+ function getArrayMax(schema) {
114
+ const max = getChecks(schema).find((c) => c?.type === "max_length")?.requirement;
115
+ return typeof max === "number" ? max : void 0;
116
+ }
117
+ function makeString(schema) {
118
+ const checks = getChecks(schema);
119
+ const has = (k) => checks.some((c) => c?.type === k);
120
+ if (has("email")) return `${boundedAscii(5, 10).toLowerCase()}@${boundedAscii(3, 8).toLowerCase()}.com`;
121
+ if (has("url")) return `https://${boundedAscii(3, 8).toLowerCase()}.dev/${boundedAscii(3, 10)}`;
122
+ if (has("uuid")) return cryptoLikeRandomUUID();
123
+ if (checks.some((c) => c?.message?.includes("valid phone number"))) return `+1${fromPool("0123456789", 10)}`;
124
+ const minLen = checks.find((c) => c?.type === "min_length")?.requirement ?? 0;
125
+ const maxLen = checks.find((c) => c?.type === "max_length")?.requirement ?? Math.max(8, minLen + 8);
126
+ const targetLen = clamp(randInt(minLen, Math.max(minLen, Math.min(24, maxLen))), minLen, maxLen);
127
+ const rx = checks.find((c) => c?.type === "regex")?.requirement;
128
+ if (rx) {
129
+ pickPoolForRegex(rx);
130
+ const rxp = new RandExp(rx);
131
+ for (let i = 0; i < 80; i++) {
132
+ const limit = randInt(minLen, Math.min(maxLen, targetLen));
133
+ let candidate = rxp.gen();
134
+ if (candidate.length > limit) candidate = candidate.slice(0, limit);
135
+ if (rx.test(candidate) && candidate.length >= minLen && candidate.length <= maxLen) return candidate;
136
+ }
137
+ }
138
+ return boundedAscii(minLen, targetLen);
139
+ }
140
+ function makeNumber(schema) {
141
+ const checks = getChecks(schema);
142
+ let min = checks.find((c) => c?.type === "min_value")?.requirement ?? 0;
143
+ let max = checks.find((c) => c?.type === "max_value")?.requirement ?? 1e3;
144
+ if (min > max) [min, max] = [max, min];
145
+ return checks.some((c) => c?.type === "number" || c?.type === "int") ? randInt(Math.ceil(min), Math.floor(max)) : randFloat(min, max);
146
+ }
147
+ function getDateBounds(schema) {
148
+ const checks = getChecks(schema);
149
+ const min = checks.find((c) => c?.type === "min_value")?.requirement;
150
+ const max = checks.find((c) => c?.type === "max_value")?.requirement;
151
+ return [min instanceof Date ? min : /* @__PURE__ */ new Date(Date.now() - 365 * 24 * 3600 * 1e3), max instanceof Date ? max : new Date(Date.now() + 365 * 24 * 3600 * 1e3)];
152
+ }
153
+ const ABC = "abcdefghijklmnopqrstuvwxyz";
154
+ const NUM = "0123456789";
155
+ const ALNUM = ABC + ABC.toUpperCase() + NUM;
156
+ const VALUE_SAFE = ALNUM + "._-";
157
+ function pickPoolForRegex(rx) {
158
+ const src = rx.source;
159
+ if (/^\^?[\(\[]?[A-Za-z0-9._-]+\+[\)\]]\??\$?$/.test(src) || REGEX_UTM_VALUE.test(src)) return VALUE_SAFE;
160
+ if (/\[0-9\]|\\d/.test(src)) {
161
+ if (!/[a-zA-Z]/.test(src)) return NUM;
162
+ return ALNUM;
163
+ }
164
+ if (/\[a-z]/.test(src) && /\[A-Z]/.test(src)) return ALNUM;
165
+ if (/\[a-z]/.test(src)) return ABC;
166
+ if (/\[A-Z]/.test(src)) return ABC.toUpperCase();
167
+ return ALNUM;
168
+ }
169
+ function fromPool(pool, len) {
170
+ let s = "";
171
+ for (let i = 0; i < len; i++) s += pool[randInt(0, pool.length - 1)];
172
+ return s;
173
+ }
174
+ function boundedAscii(min, max) {
175
+ const len = randInt(min, Math.max(min, max));
176
+ let s = "";
177
+ for (let i = 0; i < len; i++) s += ALNUM[randInt(0, ALNUM.length - 1)];
178
+ return s;
179
+ }
180
+ function cryptoLikeRandomUUID() {
181
+ if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") return crypto.randomUUID();
182
+ const s = [];
183
+ const hex = "0123456789abcdef";
184
+ for (let i = 0; i < 36; i++) s[i] = hex[randInt(0, 15)];
185
+ s[14] = "4";
186
+ s[19] = hex[parseInt(s[19], 16) & 3 | 8];
187
+ s[8] = s[13] = s[18] = s[23] = "-";
188
+ return s.join("");
189
+ }
190
+ function randInt(min, max) {
191
+ const lo = Math.ceil(min);
192
+ return Math.floor(Math.random() * (Math.floor(max) - lo + 1)) + lo;
193
+ }
194
+ function randFloat(min, max) {
195
+ return Math.random() * (max - min) + min;
196
+ }
197
+ function randomItem(arr) {
198
+ return arr[randInt(0, arr.length - 1)];
199
+ }
200
+ function shuffle(arr) {
201
+ for (let i = arr.length - 1; i > 0; i--) {
202
+ const j = randInt(0, i);
203
+ [arr[i], arr[j]] = [arr[j], arr[i]];
204
+ }
205
+ return arr;
206
+ }
207
+ function deepMerge(a, b) {
208
+ if (Array.isArray(a) && Array.isArray(b)) return b;
209
+ if (isPlain(a) && isPlain(b)) {
210
+ const out = { ...a };
211
+ for (const [k, v] of Object.entries(b)) {
212
+ if (v === void 0) continue;
213
+ out[k] = k in a ? deepMerge(a[k], v) : v;
214
+ }
215
+ return out;
216
+ }
217
+ return b ?? a;
218
+ }
219
+ function isPlain(x) {
220
+ return typeof x === "object" && x !== null && !Array.isArray(x);
221
+ }
222
+ function clamp(n, lo, hi) {
223
+ return Math.max(lo, Math.min(hi, n));
224
+ }
225
+ //#endregion
226
+ export { boundedAscii, generateValid };
@@ -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 * as v from "valibot";
3
3
 
4
4
  //#region src/entities/comment/constants.d.ts
@@ -138,7 +138,7 @@ declare const QueryFilterStrapiComments: v.ObjectSchema<{
138
138
  type QueryFilterStrapiComments = v.InferOutput<typeof QueryFilterStrapiComments>;
139
139
  declare const QueryStrapiCommentsInHeirarchy: v.ObjectSchema<{
140
140
  readonly relation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
141
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "blockedThread" | "approvalStatus">>;
141
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "blockedThread" | "approvalStatus">>, undefined>;
142
142
  readonly filters: v.OptionalSchema<v.ObjectSchema<{
143
143
  readonly approvalStatus: v.OptionalSchema<v.ObjectSchema<{
144
144
  readonly eq: v.PicklistSchema<("PENDING" | "APPROVED" | "REJECTED")[], undefined>;
@@ -194,7 +194,7 @@ declare const QueryStrapiCommentsFlat: v.ObjectSchema<{
194
194
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
195
195
  readonly pageSize: v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>, undefined>;
196
196
  }, undefined>, undefined>;
197
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "blockedThread" | "approvalStatus">>;
197
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "blockedThread" | "approvalStatus">>, undefined>;
198
198
  }, undefined>;
199
199
  type QueryStrapiCommentsFlat = v.InferOutput<typeof QueryStrapiCommentsFlat>;
200
200
  //#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 * as v from "valibot";
3
3
 
4
4
  //#region src/entities/comment/constants.d.ts
@@ -138,7 +138,7 @@ declare const QueryFilterStrapiComments: v.ObjectSchema<{
138
138
  type QueryFilterStrapiComments = v.InferOutput<typeof QueryFilterStrapiComments>;
139
139
  declare const QueryStrapiCommentsInHeirarchy: v.ObjectSchema<{
140
140
  readonly relation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
141
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "blockedThread" | "approvalStatus">>;
141
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "blockedThread" | "approvalStatus">>, undefined>;
142
142
  readonly filters: v.OptionalSchema<v.ObjectSchema<{
143
143
  readonly approvalStatus: v.OptionalSchema<v.ObjectSchema<{
144
144
  readonly eq: v.PicklistSchema<("PENDING" | "APPROVED" | "REJECTED")[], undefined>;
@@ -194,7 +194,7 @@ declare const QueryStrapiCommentsFlat: v.ObjectSchema<{
194
194
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
195
195
  readonly pageSize: v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>, undefined>;
196
196
  }, undefined>, undefined>;
197
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "blockedThread" | "approvalStatus">>;
197
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "blockedThread" | "approvalStatus">>, undefined>;
198
198
  }, undefined>;
199
199
  type QueryStrapiCommentsFlat = v.InferOutput<typeof QueryStrapiCommentsFlat>;
200
200
  //#endregion
@@ -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,11 +1,11 @@
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 { D as BlockBrandLogos, p as BlockFullscreenContent } from "./index-DG_Lwaa7.cjs";
4
4
  import { i as ComponentBrandStyleguideColor, n as ComponentBrandStyleguideFont } from "./index-BOxQLeAK.cjs";
5
5
  import { l as RichTextBlock } from "./index-COpLbpQC.cjs";
6
6
  import { n as UtmClassificationKey } from "./index-D11tQdCv.cjs";
7
7
  import { t as TagDocument } from "./document-i-h3Orv7.cjs";
8
- import { c as CommentAuthor, d as CommentThread, f as CommentApprovalStatus, l as CommentDocument } from "./index-Dm8G_OXX.cjs";
8
+ import { c as CommentAuthor, d as CommentThread, f as CommentApprovalStatus, l as CommentDocument } from "./index-BQ-q8Rqt.cjs";
9
9
  import { t as ProductDocument } from "./document-3h6g5Qqr.cjs";
10
10
  import * as v from "valibot";
11
11
 
@@ -299,7 +299,7 @@ type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
299
299
  declare const QueryStrapiUsers: v.ObjectSchema<{
300
300
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
301
301
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
302
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "username" | "email" | "confirmed" | "blocked">>;
302
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "username" | "email" | "confirmed" | "blocked">>, undefined>;
303
303
  }, undefined>;
304
304
  type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
305
305
  declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
@@ -477,7 +477,7 @@ declare const CLIENT_SORT_KEYS: readonly ["id", "title", "teamwork_id", "teamwor
477
477
  declare const CLIENT_CLASSIFICATIONS: readonly ["organic", "paid"];
478
478
  //#endregion
479
479
  //#region src/entities/client/fields.d.ts
480
- declare const QuerySortClients: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_hidden" | "is_organic_social" | "is_paid_media" | "is_featured" | "teamwork_id" | "teamwork_name" | "utm_sheet_id" | "allow_create_utm_link">>;
480
+ declare const QuerySortClients: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_organic_social" | "is_paid_media" | "is_hidden" | "teamwork_id" | "teamwork_name" | "utm_sheet_id" | "is_featured" | "allow_create_utm_link">>;
481
481
  type QuerySortClients = v.InferOutput<typeof QuerySortClients>;
482
482
  declare const ClientClassification: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>;
483
483
  //#endregion
@@ -547,7 +547,7 @@ declare const QueryStrapiSearchClients: v.ObjectSchema<{
547
547
  readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
548
548
  readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
549
549
  readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
550
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_hidden" | "is_organic_social" | "is_paid_media" | "is_featured" | "teamwork_id" | "teamwork_name" | "utm_sheet_id" | "allow_create_utm_link">>;
550
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_organic_social" | "is_paid_media" | "is_hidden" | "teamwork_id" | "teamwork_name" | "utm_sheet_id" | "is_featured" | "allow_create_utm_link">>, undefined>;
551
551
  }, undefined>;
552
552
  type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
553
553
  //#endregion
@@ -708,7 +708,7 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
708
708
  readonly social_organic_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
709
709
  readonly paid_media_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
710
710
  readonly go_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
711
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden" | "project_phase" | "project_url" | "project_type" | "project_pricing" | "project_address" | "phone_number" | "buyer_profile" | "social_organic_start_date" | "paid_media_start_date" | "go_date" | "num_of_models" | "num_of_units_remain">>;
711
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden" | "project_phase" | "project_url" | "project_type" | "project_pricing" | "project_address" | "phone_number" | "buyer_profile" | "social_organic_start_date" | "paid_media_start_date" | "go_date" | "num_of_models" | "num_of_units_remain">>, undefined>;
712
712
  }, undefined>;
713
713
  type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
714
714
  //#endregion
@@ -767,7 +767,7 @@ declare const QueryStrapiSearchClientReports: v.ObjectSchema<{
767
767
  readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
768
768
  readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
769
769
  readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
770
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_hidden" | "is_external">>;
770
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_hidden" | "is_external">>, undefined>;
771
771
  }, undefined>;
772
772
  type QueryStrapiSearchClientReports = v.InferOutput<typeof QueryStrapiSearchClientReports>;
773
773
  //#endregion
@@ -790,7 +790,7 @@ declare const MondayWorkspaceDocument: v.GenericSchema<{
790
790
  type MondayWorkspaceDocument = v.InferOutput<typeof MondayWorkspaceDocument>;
791
791
  //#endregion
792
792
  //#region src/entities/monday-workspace/fields.d.ts
793
- declare const QuerySortMondayWorkspaces: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "workspace_id" | "clients.title" | "clients.teamwork_name">>;
793
+ declare const QuerySortMondayWorkspaces: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "clients.title" | "clients.teamwork_name" | "workspace_id">>;
794
794
  type QuerySortMondayWorkspaces = v.InferOutput<typeof QuerySortMondayWorkspaces>;
795
795
  //#endregion
796
796
  //#region src/entities/monday-workspace/mutation.d.ts
@@ -823,7 +823,7 @@ declare const QueryStrapiSearchMondayWorkspaces: v.ObjectSchema<{
823
823
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
824
824
  readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
825
825
  readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
826
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "workspace_id" | "clients.title" | "clients.teamwork_name">>;
826
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "clients.title" | "clients.teamwork_name" | "workspace_id">>, undefined>;
827
827
  }, undefined>;
828
828
  type QueryStrapiSearchMondayWorkspaces = v.InferOutput<typeof QueryStrapiSearchMondayWorkspaces>;
829
829
  //#endregion
@@ -833,7 +833,7 @@ declare const LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 100;
833
833
  declare const UTM_TRACKING_LINK_SORT_KEYS: readonly ["id", "creator", "client", "url_destination", "utm_medium", "utm_source", "utm_campaign", "utm_content", "utm_creative_format", "utm_id", "campaign_phase", "campaign_product", "campaign_targeting", "campaign_key", "creative_format", "creative_format_variants", "url", "is_active", "createdAt", "updatedAt"];
834
834
  //#endregion
835
835
  //#region src/entities/utm-tracking-link/fields.d.ts
836
- declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "campaign_product" | "campaign_targeting" | "campaign_key" | "campaign_phase" | "creative_format" | "creative_format_variants" | "creator" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id">>;
836
+ declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id" | "campaign_phase" | "campaign_product" | "campaign_targeting" | "campaign_key" | "creative_format" | "creative_format_variants" | "creator">>;
837
837
  type QuerySortUtmTrackingLinks = v.InferOutput<typeof QuerySortUtmTrackingLinks>;
838
838
  declare const ValidUtmSource: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
839
839
  type ValidUtmSource = v.InferOutput<typeof ValidUtmSource>;
@@ -1041,7 +1041,7 @@ declare const QueryStrapiSearchUtmTrackingLinks: v.ObjectSchema<{
1041
1041
  readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>, undefined>;
1042
1042
  readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1043
1043
  readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
1044
- readonly sort: v.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "campaign_product" | "campaign_targeting" | "campaign_key" | "campaign_phase" | "creative_format" | "creative_format_variants" | "creator" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id">>;
1044
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id" | "campaign_phase" | "campaign_product" | "campaign_targeting" | "campaign_key" | "creative_format" | "creative_format_variants" | "creator">>, undefined>;
1045
1045
  }, undefined>;
1046
1046
  type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
1047
1047
  //#endregion
@@ -1085,7 +1085,7 @@ declare const QueryStrapiSearchClientStyleguide: v.ObjectSchema<{
1085
1085
  readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1086
1086
  readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1087
1087
  readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
1088
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title">>;
1088
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title">>, undefined>;
1089
1089
  }, undefined>;
1090
1090
  type QueryStrapiSearchClientStyleguide = v.InferOutput<typeof QueryStrapiSearchClientStyleguide>;
1091
1091
  //#endregion
@@ -1134,7 +1134,7 @@ declare const QueryStrapiSearchClientMediaPlatforms: v.ObjectSchema<{
1134
1134
  readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
1135
1135
  readonly media_platform_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1136
1136
  readonly media_platforms: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
1137
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platform.title" | "media_platform.slug" | "media_platform.createdAt" | "media_platform.updatedAt">>;
1137
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platform.title" | "media_platform.slug" | "media_platform.createdAt" | "media_platform.updatedAt">>, undefined>;
1138
1138
  }, undefined>;
1139
1139
  type QueryStrapiSearchClientMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchClientMediaPlatforms>;
1140
1140
  //#endregion
@@ -1224,7 +1224,7 @@ declare const QueryStrapiSearchGCFlyTours: v.ObjectSchema<{
1224
1224
  readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1225
1225
  readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1226
1226
  readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
1227
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden">>;
1227
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden">>, undefined>;
1228
1228
  }, undefined>;
1229
1229
  type QueryStrapiSearchGCFlyTours = v.InferOutput<typeof QueryStrapiSearchGCFlyTours>;
1230
1230
  //#endregion
@@ -1285,7 +1285,7 @@ declare const QueryStrapiSearchContentPillars: v.ObjectSchema<{
1285
1285
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1286
1286
  readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1287
1287
  readonly clients: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
1288
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug">>;
1288
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug">>, undefined>;
1289
1289
  }, undefined>;
1290
1290
  type QueryStrapiSearchContentPillars = v.InferOutput<typeof QueryStrapiSearchContentPillars>;
1291
1291
  //#endregion
@@ -1295,7 +1295,7 @@ declare const LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE = 1000;
1295
1295
  declare const MEDIA_PLATFORM_SORT_KEYS: readonly ["id", "title", "slug", "utm_key", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "clients.title", "clients.teamwork_id", "clients.teamwork_name", "clients.is_organic_social", "clients.is_paid_media", "clients.createdAt", "clients.updatedAt", "media_content_types.title", "media_content_types.slug", "media_content_types.is_active", "media_content_types.is_organic_social", "media_content_types.is_paid_media", "media_content_types.createdAt", "media_content_types.updatedAt", "media_mediums.title", "media_mediums.slug", "media_mediums.is_active", "media_mediums.is_organic_social", "media_mediums.is_paid_media", "media_mediums.createdAt", "media_mediums.updatedAt"];
1296
1296
  //#endregion
1297
1297
  //#region src/entities/media-platform/fields.d.ts
1298
- declare const QuerySortMediaPlatforms: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "clients.title" | "clients.teamwork_name" | "utm_key" | "is_organic_social" | "is_paid_media" | "clients.teamwork_id" | "clients.is_organic_social" | "clients.is_paid_media" | "clients.createdAt" | "clients.updatedAt" | "media_content_types.title" | "media_content_types.slug" | "media_content_types.is_active" | "media_content_types.is_organic_social" | "media_content_types.is_paid_media" | "media_content_types.createdAt" | "media_content_types.updatedAt" | "media_mediums.title" | "media_mediums.slug" | "media_mediums.is_active" | "media_mediums.is_organic_social" | "media_mediums.is_paid_media" | "media_mediums.createdAt" | "media_mediums.updatedAt">>;
1298
+ declare const QuerySortMediaPlatforms: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "clients.title" | "clients.teamwork_name" | "is_organic_social" | "is_paid_media" | "utm_key" | "clients.teamwork_id" | "clients.is_organic_social" | "clients.is_paid_media" | "clients.createdAt" | "clients.updatedAt" | "media_content_types.title" | "media_content_types.slug" | "media_content_types.is_active" | "media_content_types.is_organic_social" | "media_content_types.is_paid_media" | "media_content_types.createdAt" | "media_content_types.updatedAt" | "media_mediums.title" | "media_mediums.slug" | "media_mediums.is_active" | "media_mediums.is_organic_social" | "media_mediums.is_paid_media" | "media_mediums.createdAt" | "media_mediums.updatedAt">>;
1299
1299
  type QuerySortMediaPlatforms = v.InferOutput<typeof QuerySortMediaPlatforms>;
1300
1300
  //#endregion
1301
1301
  //#region src/entities/media-platform/mutation.d.ts
@@ -1355,7 +1355,7 @@ declare const QueryStrapiSearchMediaPlatforms: v.ObjectSchema<{
1355
1355
  readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
1356
1356
  readonly media_content_types: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
1357
1357
  readonly media_mediums: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
1358
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "clients.title" | "clients.teamwork_name" | "utm_key" | "is_organic_social" | "is_paid_media" | "clients.teamwork_id" | "clients.is_organic_social" | "clients.is_paid_media" | "clients.createdAt" | "clients.updatedAt" | "media_content_types.title" | "media_content_types.slug" | "media_content_types.is_active" | "media_content_types.is_organic_social" | "media_content_types.is_paid_media" | "media_content_types.createdAt" | "media_content_types.updatedAt" | "media_mediums.title" | "media_mediums.slug" | "media_mediums.is_active" | "media_mediums.is_organic_social" | "media_mediums.is_paid_media" | "media_mediums.createdAt" | "media_mediums.updatedAt">>;
1358
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "clients.title" | "clients.teamwork_name" | "is_organic_social" | "is_paid_media" | "utm_key" | "clients.teamwork_id" | "clients.is_organic_social" | "clients.is_paid_media" | "clients.createdAt" | "clients.updatedAt" | "media_content_types.title" | "media_content_types.slug" | "media_content_types.is_active" | "media_content_types.is_organic_social" | "media_content_types.is_paid_media" | "media_content_types.createdAt" | "media_content_types.updatedAt" | "media_mediums.title" | "media_mediums.slug" | "media_mediums.is_active" | "media_mediums.is_organic_social" | "media_mediums.is_paid_media" | "media_mediums.createdAt" | "media_mediums.updatedAt">>, undefined>;
1359
1359
  }, undefined>;
1360
1360
  type QueryStrapiSearchMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchMediaPlatforms>;
1361
1361
  //#endregion
@@ -1410,7 +1410,7 @@ declare const QueryStrapiSearchGCFlyTourSnaps: v.ObjectSchema<{
1410
1410
  readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1411
1411
  readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
1412
1412
  readonly gcflytours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
1413
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden">>;
1413
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden">>, undefined>;
1414
1414
  }, undefined>;
1415
1415
  type QueryStrapiSearchGCFlyTourSnaps = v.InferOutput<typeof QueryStrapiSearchGCFlyTourSnaps>;
1416
1416
  //#endregion
@@ -4754,7 +4754,7 @@ declare const QueryStrapiSearchClientContentPillars: v.ObjectSchema<{
4754
4754
  readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
4755
4755
  readonly content_pillar_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4756
4756
  readonly content_pillars: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
4757
- readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "content_pillar.title" | "content_pillar.slug">>;
4757
+ readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "content_pillar.title" | "content_pillar.slug">>, undefined>;
4758
4758
  }, undefined>;
4759
4759
  type QueryStrapiSearchClientContentPillars = v.InferOutput<typeof QueryStrapiSearchClientContentPillars>;
4760
4760
  //#endregion