@deepintel-ltd/farmpro-contracts 1.11.6 → 1.11.8

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.
@@ -0,0 +1,3595 @@
1
+ import { z } from 'zod';
2
+ export declare const farmUpdateReactionEmojiSchema: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
3
+ export declare const farmUpdateDocumentSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ fileUrl: z.ZodString;
7
+ fileExtension: z.ZodNullable<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string;
10
+ name: string;
11
+ fileUrl: string;
12
+ fileExtension: string | null;
13
+ }, {
14
+ id: string;
15
+ name: string;
16
+ fileUrl: string;
17
+ fileExtension: string | null;
18
+ }>;
19
+ export declare const farmUpdateReactionSummarySchema: z.ZodObject<{
20
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
21
+ count: z.ZodNumber;
22
+ reactedByMe: z.ZodBoolean;
23
+ }, "strip", z.ZodTypeAny, {
24
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
25
+ count: number;
26
+ reactedByMe: boolean;
27
+ }, {
28
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
29
+ count: number;
30
+ reactedByMe: boolean;
31
+ }>;
32
+ export declare const farmUpdateAuthorSchema: z.ZodObject<{
33
+ id: z.ZodString;
34
+ name: z.ZodString;
35
+ avatar: z.ZodNullable<z.ZodString>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
38
+ name: string;
39
+ avatar: string | null;
40
+ }, {
41
+ id: string;
42
+ name: string;
43
+ avatar: string | null;
44
+ }>;
45
+ export declare const farmUpdateReplyAttributesSchema: z.ZodObject<{
46
+ updateId: z.ZodString;
47
+ authorId: z.ZodString;
48
+ author: z.ZodObject<{
49
+ id: z.ZodString;
50
+ name: z.ZodString;
51
+ avatar: z.ZodNullable<z.ZodString>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ id: string;
54
+ name: string;
55
+ avatar: string | null;
56
+ }, {
57
+ id: string;
58
+ name: string;
59
+ avatar: string | null;
60
+ }>;
61
+ body: z.ZodString;
62
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
64
+ id: z.ZodString;
65
+ name: z.ZodString;
66
+ fileUrl: z.ZodString;
67
+ fileExtension: z.ZodNullable<z.ZodString>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ id: string;
70
+ name: string;
71
+ fileUrl: string;
72
+ fileExtension: string | null;
73
+ }, {
74
+ id: string;
75
+ name: string;
76
+ fileUrl: string;
77
+ fileExtension: string | null;
78
+ }>, "many">>;
79
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
80
+ reactions: z.ZodArray<z.ZodObject<{
81
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
82
+ count: z.ZodNumber;
83
+ reactedByMe: z.ZodBoolean;
84
+ }, "strip", z.ZodTypeAny, {
85
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
86
+ count: number;
87
+ reactedByMe: boolean;
88
+ }, {
89
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
90
+ count: number;
91
+ reactedByMe: boolean;
92
+ }>, "many">;
93
+ createdAt: z.ZodString;
94
+ }, "strip", z.ZodTypeAny, {
95
+ createdAt: string;
96
+ body: string;
97
+ authorId: string;
98
+ updateId: string;
99
+ author: {
100
+ id: string;
101
+ name: string;
102
+ avatar: string | null;
103
+ };
104
+ reactions: {
105
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
106
+ count: number;
107
+ reactedByMe: boolean;
108
+ }[];
109
+ documentIds?: string[] | undefined;
110
+ documents?: {
111
+ id: string;
112
+ name: string;
113
+ fileUrl: string;
114
+ fileExtension: string | null;
115
+ }[] | undefined;
116
+ mentionedUserIds?: string[] | undefined;
117
+ }, {
118
+ createdAt: string;
119
+ body: string;
120
+ authorId: string;
121
+ updateId: string;
122
+ author: {
123
+ id: string;
124
+ name: string;
125
+ avatar: string | null;
126
+ };
127
+ reactions: {
128
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
129
+ count: number;
130
+ reactedByMe: boolean;
131
+ }[];
132
+ documentIds?: string[] | undefined;
133
+ documents?: {
134
+ id: string;
135
+ name: string;
136
+ fileUrl: string;
137
+ fileExtension: string | null;
138
+ }[] | undefined;
139
+ mentionedUserIds?: string[] | undefined;
140
+ }>;
141
+ export declare const farmUpdateReplyResourceSchema: z.ZodObject<{
142
+ type: z.ZodLiteral<string>;
143
+ id: z.ZodString;
144
+ attributes: z.ZodObject<{
145
+ updateId: z.ZodString;
146
+ authorId: z.ZodString;
147
+ author: z.ZodObject<{
148
+ id: z.ZodString;
149
+ name: z.ZodString;
150
+ avatar: z.ZodNullable<z.ZodString>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ id: string;
153
+ name: string;
154
+ avatar: string | null;
155
+ }, {
156
+ id: string;
157
+ name: string;
158
+ avatar: string | null;
159
+ }>;
160
+ body: z.ZodString;
161
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
162
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
163
+ id: z.ZodString;
164
+ name: z.ZodString;
165
+ fileUrl: z.ZodString;
166
+ fileExtension: z.ZodNullable<z.ZodString>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ id: string;
169
+ name: string;
170
+ fileUrl: string;
171
+ fileExtension: string | null;
172
+ }, {
173
+ id: string;
174
+ name: string;
175
+ fileUrl: string;
176
+ fileExtension: string | null;
177
+ }>, "many">>;
178
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
179
+ reactions: z.ZodArray<z.ZodObject<{
180
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
181
+ count: z.ZodNumber;
182
+ reactedByMe: z.ZodBoolean;
183
+ }, "strip", z.ZodTypeAny, {
184
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
185
+ count: number;
186
+ reactedByMe: boolean;
187
+ }, {
188
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
189
+ count: number;
190
+ reactedByMe: boolean;
191
+ }>, "many">;
192
+ createdAt: z.ZodString;
193
+ }, "strip", z.ZodTypeAny, {
194
+ createdAt: string;
195
+ body: string;
196
+ authorId: string;
197
+ updateId: string;
198
+ author: {
199
+ id: string;
200
+ name: string;
201
+ avatar: string | null;
202
+ };
203
+ reactions: {
204
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
205
+ count: number;
206
+ reactedByMe: boolean;
207
+ }[];
208
+ documentIds?: string[] | undefined;
209
+ documents?: {
210
+ id: string;
211
+ name: string;
212
+ fileUrl: string;
213
+ fileExtension: string | null;
214
+ }[] | undefined;
215
+ mentionedUserIds?: string[] | undefined;
216
+ }, {
217
+ createdAt: string;
218
+ body: string;
219
+ authorId: string;
220
+ updateId: string;
221
+ author: {
222
+ id: string;
223
+ name: string;
224
+ avatar: string | null;
225
+ };
226
+ reactions: {
227
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
228
+ count: number;
229
+ reactedByMe: boolean;
230
+ }[];
231
+ documentIds?: string[] | undefined;
232
+ documents?: {
233
+ id: string;
234
+ name: string;
235
+ fileUrl: string;
236
+ fileExtension: string | null;
237
+ }[] | undefined;
238
+ mentionedUserIds?: string[] | undefined;
239
+ }>;
240
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
241
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
242
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ type: string;
245
+ id: string;
246
+ attributes: {
247
+ createdAt: string;
248
+ body: string;
249
+ authorId: string;
250
+ updateId: string;
251
+ author: {
252
+ id: string;
253
+ name: string;
254
+ avatar: string | null;
255
+ };
256
+ reactions: {
257
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
258
+ count: number;
259
+ reactedByMe: boolean;
260
+ }[];
261
+ documentIds?: string[] | undefined;
262
+ documents?: {
263
+ id: string;
264
+ name: string;
265
+ fileUrl: string;
266
+ fileExtension: string | null;
267
+ }[] | undefined;
268
+ mentionedUserIds?: string[] | undefined;
269
+ };
270
+ relationships?: Record<string, unknown> | undefined;
271
+ links?: Record<string, string> | undefined;
272
+ meta?: Record<string, unknown> | undefined;
273
+ }, {
274
+ type: string;
275
+ id: string;
276
+ attributes: {
277
+ createdAt: string;
278
+ body: string;
279
+ authorId: string;
280
+ updateId: string;
281
+ author: {
282
+ id: string;
283
+ name: string;
284
+ avatar: string | null;
285
+ };
286
+ reactions: {
287
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
288
+ count: number;
289
+ reactedByMe: boolean;
290
+ }[];
291
+ documentIds?: string[] | undefined;
292
+ documents?: {
293
+ id: string;
294
+ name: string;
295
+ fileUrl: string;
296
+ fileExtension: string | null;
297
+ }[] | undefined;
298
+ mentionedUserIds?: string[] | undefined;
299
+ };
300
+ relationships?: Record<string, unknown> | undefined;
301
+ links?: Record<string, string> | undefined;
302
+ meta?: Record<string, unknown> | undefined;
303
+ }>;
304
+ export declare const farmUpdateAttributesSchema: z.ZodObject<{
305
+ farmId: z.ZodString;
306
+ authorId: z.ZodString;
307
+ author: z.ZodObject<{
308
+ id: z.ZodString;
309
+ name: z.ZodString;
310
+ avatar: z.ZodNullable<z.ZodString>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ id: string;
313
+ name: string;
314
+ avatar: string | null;
315
+ }, {
316
+ id: string;
317
+ name: string;
318
+ avatar: string | null;
319
+ }>;
320
+ body: z.ZodString;
321
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
322
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
323
+ id: z.ZodString;
324
+ name: z.ZodString;
325
+ fileUrl: z.ZodString;
326
+ fileExtension: z.ZodNullable<z.ZodString>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ id: string;
329
+ name: string;
330
+ fileUrl: string;
331
+ fileExtension: string | null;
332
+ }, {
333
+ id: string;
334
+ name: string;
335
+ fileUrl: string;
336
+ fileExtension: string | null;
337
+ }>, "many">>;
338
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
339
+ replyCount: z.ZodNumber;
340
+ reactions: z.ZodArray<z.ZodObject<{
341
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
342
+ count: z.ZodNumber;
343
+ reactedByMe: z.ZodBoolean;
344
+ }, "strip", z.ZodTypeAny, {
345
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
346
+ count: number;
347
+ reactedByMe: boolean;
348
+ }, {
349
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
350
+ count: number;
351
+ reactedByMe: boolean;
352
+ }>, "many">;
353
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
354
+ type: z.ZodLiteral<string>;
355
+ id: z.ZodString;
356
+ attributes: z.ZodObject<{
357
+ updateId: z.ZodString;
358
+ authorId: z.ZodString;
359
+ author: z.ZodObject<{
360
+ id: z.ZodString;
361
+ name: z.ZodString;
362
+ avatar: z.ZodNullable<z.ZodString>;
363
+ }, "strip", z.ZodTypeAny, {
364
+ id: string;
365
+ name: string;
366
+ avatar: string | null;
367
+ }, {
368
+ id: string;
369
+ name: string;
370
+ avatar: string | null;
371
+ }>;
372
+ body: z.ZodString;
373
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
374
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
375
+ id: z.ZodString;
376
+ name: z.ZodString;
377
+ fileUrl: z.ZodString;
378
+ fileExtension: z.ZodNullable<z.ZodString>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ id: string;
381
+ name: string;
382
+ fileUrl: string;
383
+ fileExtension: string | null;
384
+ }, {
385
+ id: string;
386
+ name: string;
387
+ fileUrl: string;
388
+ fileExtension: string | null;
389
+ }>, "many">>;
390
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
391
+ reactions: z.ZodArray<z.ZodObject<{
392
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
393
+ count: z.ZodNumber;
394
+ reactedByMe: z.ZodBoolean;
395
+ }, "strip", z.ZodTypeAny, {
396
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
397
+ count: number;
398
+ reactedByMe: boolean;
399
+ }, {
400
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
401
+ count: number;
402
+ reactedByMe: boolean;
403
+ }>, "many">;
404
+ createdAt: z.ZodString;
405
+ }, "strip", z.ZodTypeAny, {
406
+ createdAt: string;
407
+ body: string;
408
+ authorId: string;
409
+ updateId: string;
410
+ author: {
411
+ id: string;
412
+ name: string;
413
+ avatar: string | null;
414
+ };
415
+ reactions: {
416
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
417
+ count: number;
418
+ reactedByMe: boolean;
419
+ }[];
420
+ documentIds?: string[] | undefined;
421
+ documents?: {
422
+ id: string;
423
+ name: string;
424
+ fileUrl: string;
425
+ fileExtension: string | null;
426
+ }[] | undefined;
427
+ mentionedUserIds?: string[] | undefined;
428
+ }, {
429
+ createdAt: string;
430
+ body: string;
431
+ authorId: string;
432
+ updateId: string;
433
+ author: {
434
+ id: string;
435
+ name: string;
436
+ avatar: string | null;
437
+ };
438
+ reactions: {
439
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
440
+ count: number;
441
+ reactedByMe: boolean;
442
+ }[];
443
+ documentIds?: string[] | undefined;
444
+ documents?: {
445
+ id: string;
446
+ name: string;
447
+ fileUrl: string;
448
+ fileExtension: string | null;
449
+ }[] | undefined;
450
+ mentionedUserIds?: string[] | undefined;
451
+ }>;
452
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
453
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
454
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
455
+ }, "strip", z.ZodTypeAny, {
456
+ type: string;
457
+ id: string;
458
+ attributes: {
459
+ createdAt: string;
460
+ body: string;
461
+ authorId: string;
462
+ updateId: string;
463
+ author: {
464
+ id: string;
465
+ name: string;
466
+ avatar: string | null;
467
+ };
468
+ reactions: {
469
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
470
+ count: number;
471
+ reactedByMe: boolean;
472
+ }[];
473
+ documentIds?: string[] | undefined;
474
+ documents?: {
475
+ id: string;
476
+ name: string;
477
+ fileUrl: string;
478
+ fileExtension: string | null;
479
+ }[] | undefined;
480
+ mentionedUserIds?: string[] | undefined;
481
+ };
482
+ relationships?: Record<string, unknown> | undefined;
483
+ links?: Record<string, string> | undefined;
484
+ meta?: Record<string, unknown> | undefined;
485
+ }, {
486
+ type: string;
487
+ id: string;
488
+ attributes: {
489
+ createdAt: string;
490
+ body: string;
491
+ authorId: string;
492
+ updateId: string;
493
+ author: {
494
+ id: string;
495
+ name: string;
496
+ avatar: string | null;
497
+ };
498
+ reactions: {
499
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
500
+ count: number;
501
+ reactedByMe: boolean;
502
+ }[];
503
+ documentIds?: string[] | undefined;
504
+ documents?: {
505
+ id: string;
506
+ name: string;
507
+ fileUrl: string;
508
+ fileExtension: string | null;
509
+ }[] | undefined;
510
+ mentionedUserIds?: string[] | undefined;
511
+ };
512
+ relationships?: Record<string, unknown> | undefined;
513
+ links?: Record<string, string> | undefined;
514
+ meta?: Record<string, unknown> | undefined;
515
+ }>, "many">>;
516
+ } & {
517
+ createdAt: z.ZodString;
518
+ updatedAt: z.ZodString;
519
+ }, "strip", z.ZodTypeAny, {
520
+ createdAt: string;
521
+ updatedAt: string;
522
+ body: string;
523
+ farmId: string;
524
+ authorId: string;
525
+ author: {
526
+ id: string;
527
+ name: string;
528
+ avatar: string | null;
529
+ };
530
+ reactions: {
531
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
532
+ count: number;
533
+ reactedByMe: boolean;
534
+ }[];
535
+ replyCount: number;
536
+ documentIds?: string[] | undefined;
537
+ documents?: {
538
+ id: string;
539
+ name: string;
540
+ fileUrl: string;
541
+ fileExtension: string | null;
542
+ }[] | undefined;
543
+ mentionedUserIds?: string[] | undefined;
544
+ replies?: {
545
+ type: string;
546
+ id: string;
547
+ attributes: {
548
+ createdAt: string;
549
+ body: string;
550
+ authorId: string;
551
+ updateId: string;
552
+ author: {
553
+ id: string;
554
+ name: string;
555
+ avatar: string | null;
556
+ };
557
+ reactions: {
558
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
559
+ count: number;
560
+ reactedByMe: boolean;
561
+ }[];
562
+ documentIds?: string[] | undefined;
563
+ documents?: {
564
+ id: string;
565
+ name: string;
566
+ fileUrl: string;
567
+ fileExtension: string | null;
568
+ }[] | undefined;
569
+ mentionedUserIds?: string[] | undefined;
570
+ };
571
+ relationships?: Record<string, unknown> | undefined;
572
+ links?: Record<string, string> | undefined;
573
+ meta?: Record<string, unknown> | undefined;
574
+ }[] | undefined;
575
+ }, {
576
+ createdAt: string;
577
+ updatedAt: string;
578
+ body: string;
579
+ farmId: string;
580
+ authorId: string;
581
+ author: {
582
+ id: string;
583
+ name: string;
584
+ avatar: string | null;
585
+ };
586
+ reactions: {
587
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
588
+ count: number;
589
+ reactedByMe: boolean;
590
+ }[];
591
+ replyCount: number;
592
+ documentIds?: string[] | undefined;
593
+ documents?: {
594
+ id: string;
595
+ name: string;
596
+ fileUrl: string;
597
+ fileExtension: string | null;
598
+ }[] | undefined;
599
+ mentionedUserIds?: string[] | undefined;
600
+ replies?: {
601
+ type: string;
602
+ id: string;
603
+ attributes: {
604
+ createdAt: string;
605
+ body: string;
606
+ authorId: string;
607
+ updateId: string;
608
+ author: {
609
+ id: string;
610
+ name: string;
611
+ avatar: string | null;
612
+ };
613
+ reactions: {
614
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
615
+ count: number;
616
+ reactedByMe: boolean;
617
+ }[];
618
+ documentIds?: string[] | undefined;
619
+ documents?: {
620
+ id: string;
621
+ name: string;
622
+ fileUrl: string;
623
+ fileExtension: string | null;
624
+ }[] | undefined;
625
+ mentionedUserIds?: string[] | undefined;
626
+ };
627
+ relationships?: Record<string, unknown> | undefined;
628
+ links?: Record<string, string> | undefined;
629
+ meta?: Record<string, unknown> | undefined;
630
+ }[] | undefined;
631
+ }>;
632
+ export declare const farmUpdateResourceSchema: z.ZodObject<{
633
+ type: z.ZodLiteral<string>;
634
+ id: z.ZodString;
635
+ attributes: z.ZodObject<{
636
+ farmId: z.ZodString;
637
+ authorId: z.ZodString;
638
+ author: z.ZodObject<{
639
+ id: z.ZodString;
640
+ name: z.ZodString;
641
+ avatar: z.ZodNullable<z.ZodString>;
642
+ }, "strip", z.ZodTypeAny, {
643
+ id: string;
644
+ name: string;
645
+ avatar: string | null;
646
+ }, {
647
+ id: string;
648
+ name: string;
649
+ avatar: string | null;
650
+ }>;
651
+ body: z.ZodString;
652
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
653
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
654
+ id: z.ZodString;
655
+ name: z.ZodString;
656
+ fileUrl: z.ZodString;
657
+ fileExtension: z.ZodNullable<z.ZodString>;
658
+ }, "strip", z.ZodTypeAny, {
659
+ id: string;
660
+ name: string;
661
+ fileUrl: string;
662
+ fileExtension: string | null;
663
+ }, {
664
+ id: string;
665
+ name: string;
666
+ fileUrl: string;
667
+ fileExtension: string | null;
668
+ }>, "many">>;
669
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
670
+ replyCount: z.ZodNumber;
671
+ reactions: z.ZodArray<z.ZodObject<{
672
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
673
+ count: z.ZodNumber;
674
+ reactedByMe: z.ZodBoolean;
675
+ }, "strip", z.ZodTypeAny, {
676
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
677
+ count: number;
678
+ reactedByMe: boolean;
679
+ }, {
680
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
681
+ count: number;
682
+ reactedByMe: boolean;
683
+ }>, "many">;
684
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
+ type: z.ZodLiteral<string>;
686
+ id: z.ZodString;
687
+ attributes: z.ZodObject<{
688
+ updateId: z.ZodString;
689
+ authorId: z.ZodString;
690
+ author: z.ZodObject<{
691
+ id: z.ZodString;
692
+ name: z.ZodString;
693
+ avatar: z.ZodNullable<z.ZodString>;
694
+ }, "strip", z.ZodTypeAny, {
695
+ id: string;
696
+ name: string;
697
+ avatar: string | null;
698
+ }, {
699
+ id: string;
700
+ name: string;
701
+ avatar: string | null;
702
+ }>;
703
+ body: z.ZodString;
704
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
705
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
706
+ id: z.ZodString;
707
+ name: z.ZodString;
708
+ fileUrl: z.ZodString;
709
+ fileExtension: z.ZodNullable<z.ZodString>;
710
+ }, "strip", z.ZodTypeAny, {
711
+ id: string;
712
+ name: string;
713
+ fileUrl: string;
714
+ fileExtension: string | null;
715
+ }, {
716
+ id: string;
717
+ name: string;
718
+ fileUrl: string;
719
+ fileExtension: string | null;
720
+ }>, "many">>;
721
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
722
+ reactions: z.ZodArray<z.ZodObject<{
723
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
724
+ count: z.ZodNumber;
725
+ reactedByMe: z.ZodBoolean;
726
+ }, "strip", z.ZodTypeAny, {
727
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
728
+ count: number;
729
+ reactedByMe: boolean;
730
+ }, {
731
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
732
+ count: number;
733
+ reactedByMe: boolean;
734
+ }>, "many">;
735
+ createdAt: z.ZodString;
736
+ }, "strip", z.ZodTypeAny, {
737
+ createdAt: string;
738
+ body: string;
739
+ authorId: string;
740
+ updateId: string;
741
+ author: {
742
+ id: string;
743
+ name: string;
744
+ avatar: string | null;
745
+ };
746
+ reactions: {
747
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
748
+ count: number;
749
+ reactedByMe: boolean;
750
+ }[];
751
+ documentIds?: string[] | undefined;
752
+ documents?: {
753
+ id: string;
754
+ name: string;
755
+ fileUrl: string;
756
+ fileExtension: string | null;
757
+ }[] | undefined;
758
+ mentionedUserIds?: string[] | undefined;
759
+ }, {
760
+ createdAt: string;
761
+ body: string;
762
+ authorId: string;
763
+ updateId: string;
764
+ author: {
765
+ id: string;
766
+ name: string;
767
+ avatar: string | null;
768
+ };
769
+ reactions: {
770
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
771
+ count: number;
772
+ reactedByMe: boolean;
773
+ }[];
774
+ documentIds?: string[] | undefined;
775
+ documents?: {
776
+ id: string;
777
+ name: string;
778
+ fileUrl: string;
779
+ fileExtension: string | null;
780
+ }[] | undefined;
781
+ mentionedUserIds?: string[] | undefined;
782
+ }>;
783
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
784
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
785
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
786
+ }, "strip", z.ZodTypeAny, {
787
+ type: string;
788
+ id: string;
789
+ attributes: {
790
+ createdAt: string;
791
+ body: string;
792
+ authorId: string;
793
+ updateId: string;
794
+ author: {
795
+ id: string;
796
+ name: string;
797
+ avatar: string | null;
798
+ };
799
+ reactions: {
800
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
801
+ count: number;
802
+ reactedByMe: boolean;
803
+ }[];
804
+ documentIds?: string[] | undefined;
805
+ documents?: {
806
+ id: string;
807
+ name: string;
808
+ fileUrl: string;
809
+ fileExtension: string | null;
810
+ }[] | undefined;
811
+ mentionedUserIds?: string[] | undefined;
812
+ };
813
+ relationships?: Record<string, unknown> | undefined;
814
+ links?: Record<string, string> | undefined;
815
+ meta?: Record<string, unknown> | undefined;
816
+ }, {
817
+ type: string;
818
+ id: string;
819
+ attributes: {
820
+ createdAt: string;
821
+ body: string;
822
+ authorId: string;
823
+ updateId: string;
824
+ author: {
825
+ id: string;
826
+ name: string;
827
+ avatar: string | null;
828
+ };
829
+ reactions: {
830
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
831
+ count: number;
832
+ reactedByMe: boolean;
833
+ }[];
834
+ documentIds?: string[] | undefined;
835
+ documents?: {
836
+ id: string;
837
+ name: string;
838
+ fileUrl: string;
839
+ fileExtension: string | null;
840
+ }[] | undefined;
841
+ mentionedUserIds?: string[] | undefined;
842
+ };
843
+ relationships?: Record<string, unknown> | undefined;
844
+ links?: Record<string, string> | undefined;
845
+ meta?: Record<string, unknown> | undefined;
846
+ }>, "many">>;
847
+ } & {
848
+ createdAt: z.ZodString;
849
+ updatedAt: z.ZodString;
850
+ }, "strip", z.ZodTypeAny, {
851
+ createdAt: string;
852
+ updatedAt: string;
853
+ body: string;
854
+ farmId: string;
855
+ authorId: string;
856
+ author: {
857
+ id: string;
858
+ name: string;
859
+ avatar: string | null;
860
+ };
861
+ reactions: {
862
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
863
+ count: number;
864
+ reactedByMe: boolean;
865
+ }[];
866
+ replyCount: number;
867
+ documentIds?: string[] | undefined;
868
+ documents?: {
869
+ id: string;
870
+ name: string;
871
+ fileUrl: string;
872
+ fileExtension: string | null;
873
+ }[] | undefined;
874
+ mentionedUserIds?: string[] | undefined;
875
+ replies?: {
876
+ type: string;
877
+ id: string;
878
+ attributes: {
879
+ createdAt: string;
880
+ body: string;
881
+ authorId: string;
882
+ updateId: string;
883
+ author: {
884
+ id: string;
885
+ name: string;
886
+ avatar: string | null;
887
+ };
888
+ reactions: {
889
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
890
+ count: number;
891
+ reactedByMe: boolean;
892
+ }[];
893
+ documentIds?: string[] | undefined;
894
+ documents?: {
895
+ id: string;
896
+ name: string;
897
+ fileUrl: string;
898
+ fileExtension: string | null;
899
+ }[] | undefined;
900
+ mentionedUserIds?: string[] | undefined;
901
+ };
902
+ relationships?: Record<string, unknown> | undefined;
903
+ links?: Record<string, string> | undefined;
904
+ meta?: Record<string, unknown> | undefined;
905
+ }[] | undefined;
906
+ }, {
907
+ createdAt: string;
908
+ updatedAt: string;
909
+ body: string;
910
+ farmId: string;
911
+ authorId: string;
912
+ author: {
913
+ id: string;
914
+ name: string;
915
+ avatar: string | null;
916
+ };
917
+ reactions: {
918
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
919
+ count: number;
920
+ reactedByMe: boolean;
921
+ }[];
922
+ replyCount: number;
923
+ documentIds?: string[] | undefined;
924
+ documents?: {
925
+ id: string;
926
+ name: string;
927
+ fileUrl: string;
928
+ fileExtension: string | null;
929
+ }[] | undefined;
930
+ mentionedUserIds?: string[] | undefined;
931
+ replies?: {
932
+ type: string;
933
+ id: string;
934
+ attributes: {
935
+ createdAt: string;
936
+ body: string;
937
+ authorId: string;
938
+ updateId: string;
939
+ author: {
940
+ id: string;
941
+ name: string;
942
+ avatar: string | null;
943
+ };
944
+ reactions: {
945
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
946
+ count: number;
947
+ reactedByMe: boolean;
948
+ }[];
949
+ documentIds?: string[] | undefined;
950
+ documents?: {
951
+ id: string;
952
+ name: string;
953
+ fileUrl: string;
954
+ fileExtension: string | null;
955
+ }[] | undefined;
956
+ mentionedUserIds?: string[] | undefined;
957
+ };
958
+ relationships?: Record<string, unknown> | undefined;
959
+ links?: Record<string, string> | undefined;
960
+ meta?: Record<string, unknown> | undefined;
961
+ }[] | undefined;
962
+ }>;
963
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
964
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
965
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
966
+ }, "strip", z.ZodTypeAny, {
967
+ type: string;
968
+ id: string;
969
+ attributes: {
970
+ createdAt: string;
971
+ updatedAt: string;
972
+ body: string;
973
+ farmId: string;
974
+ authorId: string;
975
+ author: {
976
+ id: string;
977
+ name: string;
978
+ avatar: string | null;
979
+ };
980
+ reactions: {
981
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
982
+ count: number;
983
+ reactedByMe: boolean;
984
+ }[];
985
+ replyCount: number;
986
+ documentIds?: string[] | undefined;
987
+ documents?: {
988
+ id: string;
989
+ name: string;
990
+ fileUrl: string;
991
+ fileExtension: string | null;
992
+ }[] | undefined;
993
+ mentionedUserIds?: string[] | undefined;
994
+ replies?: {
995
+ type: string;
996
+ id: string;
997
+ attributes: {
998
+ createdAt: string;
999
+ body: string;
1000
+ authorId: string;
1001
+ updateId: string;
1002
+ author: {
1003
+ id: string;
1004
+ name: string;
1005
+ avatar: string | null;
1006
+ };
1007
+ reactions: {
1008
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1009
+ count: number;
1010
+ reactedByMe: boolean;
1011
+ }[];
1012
+ documentIds?: string[] | undefined;
1013
+ documents?: {
1014
+ id: string;
1015
+ name: string;
1016
+ fileUrl: string;
1017
+ fileExtension: string | null;
1018
+ }[] | undefined;
1019
+ mentionedUserIds?: string[] | undefined;
1020
+ };
1021
+ relationships?: Record<string, unknown> | undefined;
1022
+ links?: Record<string, string> | undefined;
1023
+ meta?: Record<string, unknown> | undefined;
1024
+ }[] | undefined;
1025
+ };
1026
+ relationships?: Record<string, unknown> | undefined;
1027
+ links?: Record<string, string> | undefined;
1028
+ meta?: Record<string, unknown> | undefined;
1029
+ }, {
1030
+ type: string;
1031
+ id: string;
1032
+ attributes: {
1033
+ createdAt: string;
1034
+ updatedAt: string;
1035
+ body: string;
1036
+ farmId: string;
1037
+ authorId: string;
1038
+ author: {
1039
+ id: string;
1040
+ name: string;
1041
+ avatar: string | null;
1042
+ };
1043
+ reactions: {
1044
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1045
+ count: number;
1046
+ reactedByMe: boolean;
1047
+ }[];
1048
+ replyCount: number;
1049
+ documentIds?: string[] | undefined;
1050
+ documents?: {
1051
+ id: string;
1052
+ name: string;
1053
+ fileUrl: string;
1054
+ fileExtension: string | null;
1055
+ }[] | undefined;
1056
+ mentionedUserIds?: string[] | undefined;
1057
+ replies?: {
1058
+ type: string;
1059
+ id: string;
1060
+ attributes: {
1061
+ createdAt: string;
1062
+ body: string;
1063
+ authorId: string;
1064
+ updateId: string;
1065
+ author: {
1066
+ id: string;
1067
+ name: string;
1068
+ avatar: string | null;
1069
+ };
1070
+ reactions: {
1071
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1072
+ count: number;
1073
+ reactedByMe: boolean;
1074
+ }[];
1075
+ documentIds?: string[] | undefined;
1076
+ documents?: {
1077
+ id: string;
1078
+ name: string;
1079
+ fileUrl: string;
1080
+ fileExtension: string | null;
1081
+ }[] | undefined;
1082
+ mentionedUserIds?: string[] | undefined;
1083
+ };
1084
+ relationships?: Record<string, unknown> | undefined;
1085
+ links?: Record<string, string> | undefined;
1086
+ meta?: Record<string, unknown> | undefined;
1087
+ }[] | undefined;
1088
+ };
1089
+ relationships?: Record<string, unknown> | undefined;
1090
+ links?: Record<string, string> | undefined;
1091
+ meta?: Record<string, unknown> | undefined;
1092
+ }>;
1093
+ export declare const createFarmUpdateAttributesSchema: z.ZodObject<{
1094
+ body: z.ZodString;
1095
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1096
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1097
+ }, "strip", z.ZodTypeAny, {
1098
+ body: string;
1099
+ documentIds?: string[] | undefined;
1100
+ mentionedUserIds?: string[] | undefined;
1101
+ }, {
1102
+ body: string;
1103
+ documentIds?: string[] | undefined;
1104
+ mentionedUserIds?: string[] | undefined;
1105
+ }>;
1106
+ export declare const createFarmUpdateSchema: z.ZodObject<{
1107
+ type: z.ZodLiteral<"farm-updates">;
1108
+ attributes: z.ZodObject<{
1109
+ body: z.ZodString;
1110
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1111
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ body: string;
1114
+ documentIds?: string[] | undefined;
1115
+ mentionedUserIds?: string[] | undefined;
1116
+ }, {
1117
+ body: string;
1118
+ documentIds?: string[] | undefined;
1119
+ mentionedUserIds?: string[] | undefined;
1120
+ }>;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ type: "farm-updates";
1123
+ attributes: {
1124
+ body: string;
1125
+ documentIds?: string[] | undefined;
1126
+ mentionedUserIds?: string[] | undefined;
1127
+ };
1128
+ }, {
1129
+ type: "farm-updates";
1130
+ attributes: {
1131
+ body: string;
1132
+ documentIds?: string[] | undefined;
1133
+ mentionedUserIds?: string[] | undefined;
1134
+ };
1135
+ }>;
1136
+ export declare const createFarmUpdateReplyAttributesSchema: z.ZodObject<{
1137
+ body: z.ZodString;
1138
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1139
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ body: string;
1142
+ documentIds?: string[] | undefined;
1143
+ mentionedUserIds?: string[] | undefined;
1144
+ }, {
1145
+ body: string;
1146
+ documentIds?: string[] | undefined;
1147
+ mentionedUserIds?: string[] | undefined;
1148
+ }>;
1149
+ export declare const createFarmUpdateReplySchema: z.ZodObject<{
1150
+ type: z.ZodLiteral<"farm-update-replies">;
1151
+ attributes: z.ZodObject<{
1152
+ body: z.ZodString;
1153
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1154
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1155
+ }, "strip", z.ZodTypeAny, {
1156
+ body: string;
1157
+ documentIds?: string[] | undefined;
1158
+ mentionedUserIds?: string[] | undefined;
1159
+ }, {
1160
+ body: string;
1161
+ documentIds?: string[] | undefined;
1162
+ mentionedUserIds?: string[] | undefined;
1163
+ }>;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ type: "farm-update-replies";
1166
+ attributes: {
1167
+ body: string;
1168
+ documentIds?: string[] | undefined;
1169
+ mentionedUserIds?: string[] | undefined;
1170
+ };
1171
+ }, {
1172
+ type: "farm-update-replies";
1173
+ attributes: {
1174
+ body: string;
1175
+ documentIds?: string[] | undefined;
1176
+ mentionedUserIds?: string[] | undefined;
1177
+ };
1178
+ }>;
1179
+ export declare const toggleFarmUpdateReactionAttributesSchema: z.ZodObject<{
1180
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
1181
+ }, "strip", z.ZodTypeAny, {
1182
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1183
+ }, {
1184
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1185
+ }>;
1186
+ export declare const toggleFarmUpdateReactionSchema: z.ZodObject<{
1187
+ type: z.ZodLiteral<"farm-update-reactions">;
1188
+ attributes: z.ZodObject<{
1189
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1192
+ }, {
1193
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1194
+ }>;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ type: "farm-update-reactions";
1197
+ attributes: {
1198
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1199
+ };
1200
+ }, {
1201
+ type: "farm-update-reactions";
1202
+ attributes: {
1203
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1204
+ };
1205
+ }>;
1206
+ export declare const farmUpdateReactionToggleAttributesSchema: z.ZodObject<{
1207
+ updateId: z.ZodNullable<z.ZodString>;
1208
+ replyId: z.ZodNullable<z.ZodString>;
1209
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
1210
+ active: z.ZodBoolean;
1211
+ reactions: z.ZodArray<z.ZodObject<{
1212
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
1213
+ count: z.ZodNumber;
1214
+ reactedByMe: z.ZodBoolean;
1215
+ }, "strip", z.ZodTypeAny, {
1216
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1217
+ count: number;
1218
+ reactedByMe: boolean;
1219
+ }, {
1220
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1221
+ count: number;
1222
+ reactedByMe: boolean;
1223
+ }>, "many">;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1226
+ active: boolean;
1227
+ updateId: string | null;
1228
+ reactions: {
1229
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1230
+ count: number;
1231
+ reactedByMe: boolean;
1232
+ }[];
1233
+ replyId: string | null;
1234
+ }, {
1235
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1236
+ active: boolean;
1237
+ updateId: string | null;
1238
+ reactions: {
1239
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1240
+ count: number;
1241
+ reactedByMe: boolean;
1242
+ }[];
1243
+ replyId: string | null;
1244
+ }>;
1245
+ export declare const farmUpdateReactionToggleResourceSchema: z.ZodObject<{
1246
+ type: z.ZodLiteral<string>;
1247
+ id: z.ZodString;
1248
+ attributes: z.ZodObject<{
1249
+ updateId: z.ZodNullable<z.ZodString>;
1250
+ replyId: z.ZodNullable<z.ZodString>;
1251
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
1252
+ active: z.ZodBoolean;
1253
+ reactions: z.ZodArray<z.ZodObject<{
1254
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
1255
+ count: z.ZodNumber;
1256
+ reactedByMe: z.ZodBoolean;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1259
+ count: number;
1260
+ reactedByMe: boolean;
1261
+ }, {
1262
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1263
+ count: number;
1264
+ reactedByMe: boolean;
1265
+ }>, "many">;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1268
+ active: boolean;
1269
+ updateId: string | null;
1270
+ reactions: {
1271
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1272
+ count: number;
1273
+ reactedByMe: boolean;
1274
+ }[];
1275
+ replyId: string | null;
1276
+ }, {
1277
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1278
+ active: boolean;
1279
+ updateId: string | null;
1280
+ reactions: {
1281
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1282
+ count: number;
1283
+ reactedByMe: boolean;
1284
+ }[];
1285
+ replyId: string | null;
1286
+ }>;
1287
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1288
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1289
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ type: string;
1292
+ id: string;
1293
+ attributes: {
1294
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1295
+ active: boolean;
1296
+ updateId: string | null;
1297
+ reactions: {
1298
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1299
+ count: number;
1300
+ reactedByMe: boolean;
1301
+ }[];
1302
+ replyId: string | null;
1303
+ };
1304
+ relationships?: Record<string, unknown> | undefined;
1305
+ links?: Record<string, string> | undefined;
1306
+ meta?: Record<string, unknown> | undefined;
1307
+ }, {
1308
+ type: string;
1309
+ id: string;
1310
+ attributes: {
1311
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1312
+ active: boolean;
1313
+ updateId: string | null;
1314
+ reactions: {
1315
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1316
+ count: number;
1317
+ reactedByMe: boolean;
1318
+ }[];
1319
+ replyId: string | null;
1320
+ };
1321
+ relationships?: Record<string, unknown> | undefined;
1322
+ links?: Record<string, string> | undefined;
1323
+ meta?: Record<string, unknown> | undefined;
1324
+ }>;
1325
+ export declare const mentionCandidateAttributesSchema: z.ZodObject<{
1326
+ userId: z.ZodString;
1327
+ name: z.ZodString;
1328
+ role: z.ZodString;
1329
+ avatar: z.ZodNullable<z.ZodString>;
1330
+ }, "strip", z.ZodTypeAny, {
1331
+ name: string;
1332
+ avatar: string | null;
1333
+ userId: string;
1334
+ role: string;
1335
+ }, {
1336
+ name: string;
1337
+ avatar: string | null;
1338
+ userId: string;
1339
+ role: string;
1340
+ }>;
1341
+ export declare const mentionCandidateResourceSchema: z.ZodObject<{
1342
+ type: z.ZodLiteral<string>;
1343
+ id: z.ZodString;
1344
+ attributes: z.ZodObject<{
1345
+ userId: z.ZodString;
1346
+ name: z.ZodString;
1347
+ role: z.ZodString;
1348
+ avatar: z.ZodNullable<z.ZodString>;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ name: string;
1351
+ avatar: string | null;
1352
+ userId: string;
1353
+ role: string;
1354
+ }, {
1355
+ name: string;
1356
+ avatar: string | null;
1357
+ userId: string;
1358
+ role: string;
1359
+ }>;
1360
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1361
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1362
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1363
+ }, "strip", z.ZodTypeAny, {
1364
+ type: string;
1365
+ id: string;
1366
+ attributes: {
1367
+ name: string;
1368
+ avatar: string | null;
1369
+ userId: string;
1370
+ role: string;
1371
+ };
1372
+ relationships?: Record<string, unknown> | undefined;
1373
+ links?: Record<string, string> | undefined;
1374
+ meta?: Record<string, unknown> | undefined;
1375
+ }, {
1376
+ type: string;
1377
+ id: string;
1378
+ attributes: {
1379
+ name: string;
1380
+ avatar: string | null;
1381
+ userId: string;
1382
+ role: string;
1383
+ };
1384
+ relationships?: Record<string, unknown> | undefined;
1385
+ links?: Record<string, string> | undefined;
1386
+ meta?: Record<string, unknown> | undefined;
1387
+ }>;
1388
+ export declare const farmUpdateResponseSchema: z.ZodObject<{
1389
+ data: z.ZodObject<{
1390
+ type: z.ZodLiteral<string>;
1391
+ id: z.ZodString;
1392
+ attributes: z.ZodObject<{
1393
+ farmId: z.ZodString;
1394
+ authorId: z.ZodString;
1395
+ author: z.ZodObject<{
1396
+ id: z.ZodString;
1397
+ name: z.ZodString;
1398
+ avatar: z.ZodNullable<z.ZodString>;
1399
+ }, "strip", z.ZodTypeAny, {
1400
+ id: string;
1401
+ name: string;
1402
+ avatar: string | null;
1403
+ }, {
1404
+ id: string;
1405
+ name: string;
1406
+ avatar: string | null;
1407
+ }>;
1408
+ body: z.ZodString;
1409
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1410
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1411
+ id: z.ZodString;
1412
+ name: z.ZodString;
1413
+ fileUrl: z.ZodString;
1414
+ fileExtension: z.ZodNullable<z.ZodString>;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ id: string;
1417
+ name: string;
1418
+ fileUrl: string;
1419
+ fileExtension: string | null;
1420
+ }, {
1421
+ id: string;
1422
+ name: string;
1423
+ fileUrl: string;
1424
+ fileExtension: string | null;
1425
+ }>, "many">>;
1426
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1427
+ replyCount: z.ZodNumber;
1428
+ reactions: z.ZodArray<z.ZodObject<{
1429
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
1430
+ count: z.ZodNumber;
1431
+ reactedByMe: z.ZodBoolean;
1432
+ }, "strip", z.ZodTypeAny, {
1433
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1434
+ count: number;
1435
+ reactedByMe: boolean;
1436
+ }, {
1437
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1438
+ count: number;
1439
+ reactedByMe: boolean;
1440
+ }>, "many">;
1441
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1442
+ type: z.ZodLiteral<string>;
1443
+ id: z.ZodString;
1444
+ attributes: z.ZodObject<{
1445
+ updateId: z.ZodString;
1446
+ authorId: z.ZodString;
1447
+ author: z.ZodObject<{
1448
+ id: z.ZodString;
1449
+ name: z.ZodString;
1450
+ avatar: z.ZodNullable<z.ZodString>;
1451
+ }, "strip", z.ZodTypeAny, {
1452
+ id: string;
1453
+ name: string;
1454
+ avatar: string | null;
1455
+ }, {
1456
+ id: string;
1457
+ name: string;
1458
+ avatar: string | null;
1459
+ }>;
1460
+ body: z.ZodString;
1461
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1462
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1463
+ id: z.ZodString;
1464
+ name: z.ZodString;
1465
+ fileUrl: z.ZodString;
1466
+ fileExtension: z.ZodNullable<z.ZodString>;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ id: string;
1469
+ name: string;
1470
+ fileUrl: string;
1471
+ fileExtension: string | null;
1472
+ }, {
1473
+ id: string;
1474
+ name: string;
1475
+ fileUrl: string;
1476
+ fileExtension: string | null;
1477
+ }>, "many">>;
1478
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1479
+ reactions: z.ZodArray<z.ZodObject<{
1480
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
1481
+ count: z.ZodNumber;
1482
+ reactedByMe: z.ZodBoolean;
1483
+ }, "strip", z.ZodTypeAny, {
1484
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1485
+ count: number;
1486
+ reactedByMe: boolean;
1487
+ }, {
1488
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1489
+ count: number;
1490
+ reactedByMe: boolean;
1491
+ }>, "many">;
1492
+ createdAt: z.ZodString;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ createdAt: string;
1495
+ body: string;
1496
+ authorId: string;
1497
+ updateId: string;
1498
+ author: {
1499
+ id: string;
1500
+ name: string;
1501
+ avatar: string | null;
1502
+ };
1503
+ reactions: {
1504
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1505
+ count: number;
1506
+ reactedByMe: boolean;
1507
+ }[];
1508
+ documentIds?: string[] | undefined;
1509
+ documents?: {
1510
+ id: string;
1511
+ name: string;
1512
+ fileUrl: string;
1513
+ fileExtension: string | null;
1514
+ }[] | undefined;
1515
+ mentionedUserIds?: string[] | undefined;
1516
+ }, {
1517
+ createdAt: string;
1518
+ body: string;
1519
+ authorId: string;
1520
+ updateId: string;
1521
+ author: {
1522
+ id: string;
1523
+ name: string;
1524
+ avatar: string | null;
1525
+ };
1526
+ reactions: {
1527
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1528
+ count: number;
1529
+ reactedByMe: boolean;
1530
+ }[];
1531
+ documentIds?: string[] | undefined;
1532
+ documents?: {
1533
+ id: string;
1534
+ name: string;
1535
+ fileUrl: string;
1536
+ fileExtension: string | null;
1537
+ }[] | undefined;
1538
+ mentionedUserIds?: string[] | undefined;
1539
+ }>;
1540
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1541
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1542
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1543
+ }, "strip", z.ZodTypeAny, {
1544
+ type: string;
1545
+ id: string;
1546
+ attributes: {
1547
+ createdAt: string;
1548
+ body: string;
1549
+ authorId: string;
1550
+ updateId: string;
1551
+ author: {
1552
+ id: string;
1553
+ name: string;
1554
+ avatar: string | null;
1555
+ };
1556
+ reactions: {
1557
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1558
+ count: number;
1559
+ reactedByMe: boolean;
1560
+ }[];
1561
+ documentIds?: string[] | undefined;
1562
+ documents?: {
1563
+ id: string;
1564
+ name: string;
1565
+ fileUrl: string;
1566
+ fileExtension: string | null;
1567
+ }[] | undefined;
1568
+ mentionedUserIds?: string[] | undefined;
1569
+ };
1570
+ relationships?: Record<string, unknown> | undefined;
1571
+ links?: Record<string, string> | undefined;
1572
+ meta?: Record<string, unknown> | undefined;
1573
+ }, {
1574
+ type: string;
1575
+ id: string;
1576
+ attributes: {
1577
+ createdAt: string;
1578
+ body: string;
1579
+ authorId: string;
1580
+ updateId: string;
1581
+ author: {
1582
+ id: string;
1583
+ name: string;
1584
+ avatar: string | null;
1585
+ };
1586
+ reactions: {
1587
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1588
+ count: number;
1589
+ reactedByMe: boolean;
1590
+ }[];
1591
+ documentIds?: string[] | undefined;
1592
+ documents?: {
1593
+ id: string;
1594
+ name: string;
1595
+ fileUrl: string;
1596
+ fileExtension: string | null;
1597
+ }[] | undefined;
1598
+ mentionedUserIds?: string[] | undefined;
1599
+ };
1600
+ relationships?: Record<string, unknown> | undefined;
1601
+ links?: Record<string, string> | undefined;
1602
+ meta?: Record<string, unknown> | undefined;
1603
+ }>, "many">>;
1604
+ } & {
1605
+ createdAt: z.ZodString;
1606
+ updatedAt: z.ZodString;
1607
+ }, "strip", z.ZodTypeAny, {
1608
+ createdAt: string;
1609
+ updatedAt: string;
1610
+ body: string;
1611
+ farmId: string;
1612
+ authorId: string;
1613
+ author: {
1614
+ id: string;
1615
+ name: string;
1616
+ avatar: string | null;
1617
+ };
1618
+ reactions: {
1619
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1620
+ count: number;
1621
+ reactedByMe: boolean;
1622
+ }[];
1623
+ replyCount: number;
1624
+ documentIds?: string[] | undefined;
1625
+ documents?: {
1626
+ id: string;
1627
+ name: string;
1628
+ fileUrl: string;
1629
+ fileExtension: string | null;
1630
+ }[] | undefined;
1631
+ mentionedUserIds?: string[] | undefined;
1632
+ replies?: {
1633
+ type: string;
1634
+ id: string;
1635
+ attributes: {
1636
+ createdAt: string;
1637
+ body: string;
1638
+ authorId: string;
1639
+ updateId: string;
1640
+ author: {
1641
+ id: string;
1642
+ name: string;
1643
+ avatar: string | null;
1644
+ };
1645
+ reactions: {
1646
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1647
+ count: number;
1648
+ reactedByMe: boolean;
1649
+ }[];
1650
+ documentIds?: string[] | undefined;
1651
+ documents?: {
1652
+ id: string;
1653
+ name: string;
1654
+ fileUrl: string;
1655
+ fileExtension: string | null;
1656
+ }[] | undefined;
1657
+ mentionedUserIds?: string[] | undefined;
1658
+ };
1659
+ relationships?: Record<string, unknown> | undefined;
1660
+ links?: Record<string, string> | undefined;
1661
+ meta?: Record<string, unknown> | undefined;
1662
+ }[] | undefined;
1663
+ }, {
1664
+ createdAt: string;
1665
+ updatedAt: string;
1666
+ body: string;
1667
+ farmId: string;
1668
+ authorId: string;
1669
+ author: {
1670
+ id: string;
1671
+ name: string;
1672
+ avatar: string | null;
1673
+ };
1674
+ reactions: {
1675
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1676
+ count: number;
1677
+ reactedByMe: boolean;
1678
+ }[];
1679
+ replyCount: number;
1680
+ documentIds?: string[] | undefined;
1681
+ documents?: {
1682
+ id: string;
1683
+ name: string;
1684
+ fileUrl: string;
1685
+ fileExtension: string | null;
1686
+ }[] | undefined;
1687
+ mentionedUserIds?: string[] | undefined;
1688
+ replies?: {
1689
+ type: string;
1690
+ id: string;
1691
+ attributes: {
1692
+ createdAt: string;
1693
+ body: string;
1694
+ authorId: string;
1695
+ updateId: string;
1696
+ author: {
1697
+ id: string;
1698
+ name: string;
1699
+ avatar: string | null;
1700
+ };
1701
+ reactions: {
1702
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1703
+ count: number;
1704
+ reactedByMe: boolean;
1705
+ }[];
1706
+ documentIds?: string[] | undefined;
1707
+ documents?: {
1708
+ id: string;
1709
+ name: string;
1710
+ fileUrl: string;
1711
+ fileExtension: string | null;
1712
+ }[] | undefined;
1713
+ mentionedUserIds?: string[] | undefined;
1714
+ };
1715
+ relationships?: Record<string, unknown> | undefined;
1716
+ links?: Record<string, string> | undefined;
1717
+ meta?: Record<string, unknown> | undefined;
1718
+ }[] | undefined;
1719
+ }>;
1720
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1721
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1722
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ type: string;
1725
+ id: string;
1726
+ attributes: {
1727
+ createdAt: string;
1728
+ updatedAt: string;
1729
+ body: string;
1730
+ farmId: string;
1731
+ authorId: string;
1732
+ author: {
1733
+ id: string;
1734
+ name: string;
1735
+ avatar: string | null;
1736
+ };
1737
+ reactions: {
1738
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1739
+ count: number;
1740
+ reactedByMe: boolean;
1741
+ }[];
1742
+ replyCount: number;
1743
+ documentIds?: string[] | undefined;
1744
+ documents?: {
1745
+ id: string;
1746
+ name: string;
1747
+ fileUrl: string;
1748
+ fileExtension: string | null;
1749
+ }[] | undefined;
1750
+ mentionedUserIds?: string[] | undefined;
1751
+ replies?: {
1752
+ type: string;
1753
+ id: string;
1754
+ attributes: {
1755
+ createdAt: string;
1756
+ body: string;
1757
+ authorId: string;
1758
+ updateId: string;
1759
+ author: {
1760
+ id: string;
1761
+ name: string;
1762
+ avatar: string | null;
1763
+ };
1764
+ reactions: {
1765
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1766
+ count: number;
1767
+ reactedByMe: boolean;
1768
+ }[];
1769
+ documentIds?: string[] | undefined;
1770
+ documents?: {
1771
+ id: string;
1772
+ name: string;
1773
+ fileUrl: string;
1774
+ fileExtension: string | null;
1775
+ }[] | undefined;
1776
+ mentionedUserIds?: string[] | undefined;
1777
+ };
1778
+ relationships?: Record<string, unknown> | undefined;
1779
+ links?: Record<string, string> | undefined;
1780
+ meta?: Record<string, unknown> | undefined;
1781
+ }[] | undefined;
1782
+ };
1783
+ relationships?: Record<string, unknown> | undefined;
1784
+ links?: Record<string, string> | undefined;
1785
+ meta?: Record<string, unknown> | undefined;
1786
+ }, {
1787
+ type: string;
1788
+ id: string;
1789
+ attributes: {
1790
+ createdAt: string;
1791
+ updatedAt: string;
1792
+ body: string;
1793
+ farmId: string;
1794
+ authorId: string;
1795
+ author: {
1796
+ id: string;
1797
+ name: string;
1798
+ avatar: string | null;
1799
+ };
1800
+ reactions: {
1801
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1802
+ count: number;
1803
+ reactedByMe: boolean;
1804
+ }[];
1805
+ replyCount: number;
1806
+ documentIds?: string[] | undefined;
1807
+ documents?: {
1808
+ id: string;
1809
+ name: string;
1810
+ fileUrl: string;
1811
+ fileExtension: string | null;
1812
+ }[] | undefined;
1813
+ mentionedUserIds?: string[] | undefined;
1814
+ replies?: {
1815
+ type: string;
1816
+ id: string;
1817
+ attributes: {
1818
+ createdAt: string;
1819
+ body: string;
1820
+ authorId: string;
1821
+ updateId: string;
1822
+ author: {
1823
+ id: string;
1824
+ name: string;
1825
+ avatar: string | null;
1826
+ };
1827
+ reactions: {
1828
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1829
+ count: number;
1830
+ reactedByMe: boolean;
1831
+ }[];
1832
+ documentIds?: string[] | undefined;
1833
+ documents?: {
1834
+ id: string;
1835
+ name: string;
1836
+ fileUrl: string;
1837
+ fileExtension: string | null;
1838
+ }[] | undefined;
1839
+ mentionedUserIds?: string[] | undefined;
1840
+ };
1841
+ relationships?: Record<string, unknown> | undefined;
1842
+ links?: Record<string, string> | undefined;
1843
+ meta?: Record<string, unknown> | undefined;
1844
+ }[] | undefined;
1845
+ };
1846
+ relationships?: Record<string, unknown> | undefined;
1847
+ links?: Record<string, string> | undefined;
1848
+ meta?: Record<string, unknown> | undefined;
1849
+ }>;
1850
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1851
+ type: z.ZodString;
1852
+ id: z.ZodString;
1853
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1854
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1855
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1856
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1857
+ }, "strip", z.ZodTypeAny, {
1858
+ type: string;
1859
+ id: string;
1860
+ attributes?: Record<string, unknown> | undefined;
1861
+ relationships?: Record<string, unknown> | undefined;
1862
+ links?: Record<string, string> | undefined;
1863
+ meta?: Record<string, unknown> | undefined;
1864
+ }, {
1865
+ type: string;
1866
+ id: string;
1867
+ attributes?: Record<string, unknown> | undefined;
1868
+ relationships?: Record<string, unknown> | undefined;
1869
+ links?: Record<string, string> | undefined;
1870
+ meta?: Record<string, unknown> | undefined;
1871
+ }>, "many">>;
1872
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1873
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1874
+ }, "strip", z.ZodTypeAny, {
1875
+ data: {
1876
+ type: string;
1877
+ id: string;
1878
+ attributes: {
1879
+ createdAt: string;
1880
+ updatedAt: string;
1881
+ body: string;
1882
+ farmId: string;
1883
+ authorId: string;
1884
+ author: {
1885
+ id: string;
1886
+ name: string;
1887
+ avatar: string | null;
1888
+ };
1889
+ reactions: {
1890
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1891
+ count: number;
1892
+ reactedByMe: boolean;
1893
+ }[];
1894
+ replyCount: number;
1895
+ documentIds?: string[] | undefined;
1896
+ documents?: {
1897
+ id: string;
1898
+ name: string;
1899
+ fileUrl: string;
1900
+ fileExtension: string | null;
1901
+ }[] | undefined;
1902
+ mentionedUserIds?: string[] | undefined;
1903
+ replies?: {
1904
+ type: string;
1905
+ id: string;
1906
+ attributes: {
1907
+ createdAt: string;
1908
+ body: string;
1909
+ authorId: string;
1910
+ updateId: string;
1911
+ author: {
1912
+ id: string;
1913
+ name: string;
1914
+ avatar: string | null;
1915
+ };
1916
+ reactions: {
1917
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1918
+ count: number;
1919
+ reactedByMe: boolean;
1920
+ }[];
1921
+ documentIds?: string[] | undefined;
1922
+ documents?: {
1923
+ id: string;
1924
+ name: string;
1925
+ fileUrl: string;
1926
+ fileExtension: string | null;
1927
+ }[] | undefined;
1928
+ mentionedUserIds?: string[] | undefined;
1929
+ };
1930
+ relationships?: Record<string, unknown> | undefined;
1931
+ links?: Record<string, string> | undefined;
1932
+ meta?: Record<string, unknown> | undefined;
1933
+ }[] | undefined;
1934
+ };
1935
+ relationships?: Record<string, unknown> | undefined;
1936
+ links?: Record<string, string> | undefined;
1937
+ meta?: Record<string, unknown> | undefined;
1938
+ };
1939
+ links?: Record<string, string> | undefined;
1940
+ meta?: Record<string, unknown> | undefined;
1941
+ included?: {
1942
+ type: string;
1943
+ id: string;
1944
+ attributes?: Record<string, unknown> | undefined;
1945
+ relationships?: Record<string, unknown> | undefined;
1946
+ links?: Record<string, string> | undefined;
1947
+ meta?: Record<string, unknown> | undefined;
1948
+ }[] | undefined;
1949
+ }, {
1950
+ data: {
1951
+ type: string;
1952
+ id: string;
1953
+ attributes: {
1954
+ createdAt: string;
1955
+ updatedAt: string;
1956
+ body: string;
1957
+ farmId: string;
1958
+ authorId: string;
1959
+ author: {
1960
+ id: string;
1961
+ name: string;
1962
+ avatar: string | null;
1963
+ };
1964
+ reactions: {
1965
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1966
+ count: number;
1967
+ reactedByMe: boolean;
1968
+ }[];
1969
+ replyCount: number;
1970
+ documentIds?: string[] | undefined;
1971
+ documents?: {
1972
+ id: string;
1973
+ name: string;
1974
+ fileUrl: string;
1975
+ fileExtension: string | null;
1976
+ }[] | undefined;
1977
+ mentionedUserIds?: string[] | undefined;
1978
+ replies?: {
1979
+ type: string;
1980
+ id: string;
1981
+ attributes: {
1982
+ createdAt: string;
1983
+ body: string;
1984
+ authorId: string;
1985
+ updateId: string;
1986
+ author: {
1987
+ id: string;
1988
+ name: string;
1989
+ avatar: string | null;
1990
+ };
1991
+ reactions: {
1992
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
1993
+ count: number;
1994
+ reactedByMe: boolean;
1995
+ }[];
1996
+ documentIds?: string[] | undefined;
1997
+ documents?: {
1998
+ id: string;
1999
+ name: string;
2000
+ fileUrl: string;
2001
+ fileExtension: string | null;
2002
+ }[] | undefined;
2003
+ mentionedUserIds?: string[] | undefined;
2004
+ };
2005
+ relationships?: Record<string, unknown> | undefined;
2006
+ links?: Record<string, string> | undefined;
2007
+ meta?: Record<string, unknown> | undefined;
2008
+ }[] | undefined;
2009
+ };
2010
+ relationships?: Record<string, unknown> | undefined;
2011
+ links?: Record<string, string> | undefined;
2012
+ meta?: Record<string, unknown> | undefined;
2013
+ };
2014
+ links?: Record<string, string> | undefined;
2015
+ meta?: Record<string, unknown> | undefined;
2016
+ included?: {
2017
+ type: string;
2018
+ id: string;
2019
+ attributes?: Record<string, unknown> | undefined;
2020
+ relationships?: Record<string, unknown> | undefined;
2021
+ links?: Record<string, string> | undefined;
2022
+ meta?: Record<string, unknown> | undefined;
2023
+ }[] | undefined;
2024
+ }>;
2025
+ export declare const farmUpdateListResponseSchema: z.ZodObject<{
2026
+ data: z.ZodArray<z.ZodObject<{
2027
+ type: z.ZodLiteral<string>;
2028
+ id: z.ZodString;
2029
+ attributes: z.ZodObject<{
2030
+ farmId: z.ZodString;
2031
+ authorId: z.ZodString;
2032
+ author: z.ZodObject<{
2033
+ id: z.ZodString;
2034
+ name: z.ZodString;
2035
+ avatar: z.ZodNullable<z.ZodString>;
2036
+ }, "strip", z.ZodTypeAny, {
2037
+ id: string;
2038
+ name: string;
2039
+ avatar: string | null;
2040
+ }, {
2041
+ id: string;
2042
+ name: string;
2043
+ avatar: string | null;
2044
+ }>;
2045
+ body: z.ZodString;
2046
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2047
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2048
+ id: z.ZodString;
2049
+ name: z.ZodString;
2050
+ fileUrl: z.ZodString;
2051
+ fileExtension: z.ZodNullable<z.ZodString>;
2052
+ }, "strip", z.ZodTypeAny, {
2053
+ id: string;
2054
+ name: string;
2055
+ fileUrl: string;
2056
+ fileExtension: string | null;
2057
+ }, {
2058
+ id: string;
2059
+ name: string;
2060
+ fileUrl: string;
2061
+ fileExtension: string | null;
2062
+ }>, "many">>;
2063
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2064
+ replyCount: z.ZodNumber;
2065
+ reactions: z.ZodArray<z.ZodObject<{
2066
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
2067
+ count: z.ZodNumber;
2068
+ reactedByMe: z.ZodBoolean;
2069
+ }, "strip", z.ZodTypeAny, {
2070
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2071
+ count: number;
2072
+ reactedByMe: boolean;
2073
+ }, {
2074
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2075
+ count: number;
2076
+ reactedByMe: boolean;
2077
+ }>, "many">;
2078
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
2079
+ type: z.ZodLiteral<string>;
2080
+ id: z.ZodString;
2081
+ attributes: z.ZodObject<{
2082
+ updateId: z.ZodString;
2083
+ authorId: z.ZodString;
2084
+ author: z.ZodObject<{
2085
+ id: z.ZodString;
2086
+ name: z.ZodString;
2087
+ avatar: z.ZodNullable<z.ZodString>;
2088
+ }, "strip", z.ZodTypeAny, {
2089
+ id: string;
2090
+ name: string;
2091
+ avatar: string | null;
2092
+ }, {
2093
+ id: string;
2094
+ name: string;
2095
+ avatar: string | null;
2096
+ }>;
2097
+ body: z.ZodString;
2098
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2099
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2100
+ id: z.ZodString;
2101
+ name: z.ZodString;
2102
+ fileUrl: z.ZodString;
2103
+ fileExtension: z.ZodNullable<z.ZodString>;
2104
+ }, "strip", z.ZodTypeAny, {
2105
+ id: string;
2106
+ name: string;
2107
+ fileUrl: string;
2108
+ fileExtension: string | null;
2109
+ }, {
2110
+ id: string;
2111
+ name: string;
2112
+ fileUrl: string;
2113
+ fileExtension: string | null;
2114
+ }>, "many">>;
2115
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2116
+ reactions: z.ZodArray<z.ZodObject<{
2117
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
2118
+ count: z.ZodNumber;
2119
+ reactedByMe: z.ZodBoolean;
2120
+ }, "strip", z.ZodTypeAny, {
2121
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2122
+ count: number;
2123
+ reactedByMe: boolean;
2124
+ }, {
2125
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2126
+ count: number;
2127
+ reactedByMe: boolean;
2128
+ }>, "many">;
2129
+ createdAt: z.ZodString;
2130
+ }, "strip", z.ZodTypeAny, {
2131
+ createdAt: string;
2132
+ body: string;
2133
+ authorId: string;
2134
+ updateId: string;
2135
+ author: {
2136
+ id: string;
2137
+ name: string;
2138
+ avatar: string | null;
2139
+ };
2140
+ reactions: {
2141
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2142
+ count: number;
2143
+ reactedByMe: boolean;
2144
+ }[];
2145
+ documentIds?: string[] | undefined;
2146
+ documents?: {
2147
+ id: string;
2148
+ name: string;
2149
+ fileUrl: string;
2150
+ fileExtension: string | null;
2151
+ }[] | undefined;
2152
+ mentionedUserIds?: string[] | undefined;
2153
+ }, {
2154
+ createdAt: string;
2155
+ body: string;
2156
+ authorId: string;
2157
+ updateId: string;
2158
+ author: {
2159
+ id: string;
2160
+ name: string;
2161
+ avatar: string | null;
2162
+ };
2163
+ reactions: {
2164
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2165
+ count: number;
2166
+ reactedByMe: boolean;
2167
+ }[];
2168
+ documentIds?: string[] | undefined;
2169
+ documents?: {
2170
+ id: string;
2171
+ name: string;
2172
+ fileUrl: string;
2173
+ fileExtension: string | null;
2174
+ }[] | undefined;
2175
+ mentionedUserIds?: string[] | undefined;
2176
+ }>;
2177
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2178
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2179
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2180
+ }, "strip", z.ZodTypeAny, {
2181
+ type: string;
2182
+ id: string;
2183
+ attributes: {
2184
+ createdAt: string;
2185
+ body: string;
2186
+ authorId: string;
2187
+ updateId: string;
2188
+ author: {
2189
+ id: string;
2190
+ name: string;
2191
+ avatar: string | null;
2192
+ };
2193
+ reactions: {
2194
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2195
+ count: number;
2196
+ reactedByMe: boolean;
2197
+ }[];
2198
+ documentIds?: string[] | undefined;
2199
+ documents?: {
2200
+ id: string;
2201
+ name: string;
2202
+ fileUrl: string;
2203
+ fileExtension: string | null;
2204
+ }[] | undefined;
2205
+ mentionedUserIds?: string[] | undefined;
2206
+ };
2207
+ relationships?: Record<string, unknown> | undefined;
2208
+ links?: Record<string, string> | undefined;
2209
+ meta?: Record<string, unknown> | undefined;
2210
+ }, {
2211
+ type: string;
2212
+ id: string;
2213
+ attributes: {
2214
+ createdAt: string;
2215
+ body: string;
2216
+ authorId: string;
2217
+ updateId: string;
2218
+ author: {
2219
+ id: string;
2220
+ name: string;
2221
+ avatar: string | null;
2222
+ };
2223
+ reactions: {
2224
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2225
+ count: number;
2226
+ reactedByMe: boolean;
2227
+ }[];
2228
+ documentIds?: string[] | undefined;
2229
+ documents?: {
2230
+ id: string;
2231
+ name: string;
2232
+ fileUrl: string;
2233
+ fileExtension: string | null;
2234
+ }[] | undefined;
2235
+ mentionedUserIds?: string[] | undefined;
2236
+ };
2237
+ relationships?: Record<string, unknown> | undefined;
2238
+ links?: Record<string, string> | undefined;
2239
+ meta?: Record<string, unknown> | undefined;
2240
+ }>, "many">>;
2241
+ } & {
2242
+ createdAt: z.ZodString;
2243
+ updatedAt: z.ZodString;
2244
+ }, "strip", z.ZodTypeAny, {
2245
+ createdAt: string;
2246
+ updatedAt: string;
2247
+ body: string;
2248
+ farmId: string;
2249
+ authorId: string;
2250
+ author: {
2251
+ id: string;
2252
+ name: string;
2253
+ avatar: string | null;
2254
+ };
2255
+ reactions: {
2256
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2257
+ count: number;
2258
+ reactedByMe: boolean;
2259
+ }[];
2260
+ replyCount: number;
2261
+ documentIds?: string[] | undefined;
2262
+ documents?: {
2263
+ id: string;
2264
+ name: string;
2265
+ fileUrl: string;
2266
+ fileExtension: string | null;
2267
+ }[] | undefined;
2268
+ mentionedUserIds?: string[] | undefined;
2269
+ replies?: {
2270
+ type: string;
2271
+ id: string;
2272
+ attributes: {
2273
+ createdAt: string;
2274
+ body: string;
2275
+ authorId: string;
2276
+ updateId: string;
2277
+ author: {
2278
+ id: string;
2279
+ name: string;
2280
+ avatar: string | null;
2281
+ };
2282
+ reactions: {
2283
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2284
+ count: number;
2285
+ reactedByMe: boolean;
2286
+ }[];
2287
+ documentIds?: string[] | undefined;
2288
+ documents?: {
2289
+ id: string;
2290
+ name: string;
2291
+ fileUrl: string;
2292
+ fileExtension: string | null;
2293
+ }[] | undefined;
2294
+ mentionedUserIds?: string[] | undefined;
2295
+ };
2296
+ relationships?: Record<string, unknown> | undefined;
2297
+ links?: Record<string, string> | undefined;
2298
+ meta?: Record<string, unknown> | undefined;
2299
+ }[] | undefined;
2300
+ }, {
2301
+ createdAt: string;
2302
+ updatedAt: string;
2303
+ body: string;
2304
+ farmId: string;
2305
+ authorId: string;
2306
+ author: {
2307
+ id: string;
2308
+ name: string;
2309
+ avatar: string | null;
2310
+ };
2311
+ reactions: {
2312
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2313
+ count: number;
2314
+ reactedByMe: boolean;
2315
+ }[];
2316
+ replyCount: number;
2317
+ documentIds?: string[] | undefined;
2318
+ documents?: {
2319
+ id: string;
2320
+ name: string;
2321
+ fileUrl: string;
2322
+ fileExtension: string | null;
2323
+ }[] | undefined;
2324
+ mentionedUserIds?: string[] | undefined;
2325
+ replies?: {
2326
+ type: string;
2327
+ id: string;
2328
+ attributes: {
2329
+ createdAt: string;
2330
+ body: string;
2331
+ authorId: string;
2332
+ updateId: string;
2333
+ author: {
2334
+ id: string;
2335
+ name: string;
2336
+ avatar: string | null;
2337
+ };
2338
+ reactions: {
2339
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2340
+ count: number;
2341
+ reactedByMe: boolean;
2342
+ }[];
2343
+ documentIds?: string[] | undefined;
2344
+ documents?: {
2345
+ id: string;
2346
+ name: string;
2347
+ fileUrl: string;
2348
+ fileExtension: string | null;
2349
+ }[] | undefined;
2350
+ mentionedUserIds?: string[] | undefined;
2351
+ };
2352
+ relationships?: Record<string, unknown> | undefined;
2353
+ links?: Record<string, string> | undefined;
2354
+ meta?: Record<string, unknown> | undefined;
2355
+ }[] | undefined;
2356
+ }>;
2357
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2358
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2359
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2360
+ }, "strip", z.ZodTypeAny, {
2361
+ type: string;
2362
+ id: string;
2363
+ attributes: {
2364
+ createdAt: string;
2365
+ updatedAt: string;
2366
+ body: string;
2367
+ farmId: string;
2368
+ authorId: string;
2369
+ author: {
2370
+ id: string;
2371
+ name: string;
2372
+ avatar: string | null;
2373
+ };
2374
+ reactions: {
2375
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2376
+ count: number;
2377
+ reactedByMe: boolean;
2378
+ }[];
2379
+ replyCount: number;
2380
+ documentIds?: string[] | undefined;
2381
+ documents?: {
2382
+ id: string;
2383
+ name: string;
2384
+ fileUrl: string;
2385
+ fileExtension: string | null;
2386
+ }[] | undefined;
2387
+ mentionedUserIds?: string[] | undefined;
2388
+ replies?: {
2389
+ type: string;
2390
+ id: string;
2391
+ attributes: {
2392
+ createdAt: string;
2393
+ body: string;
2394
+ authorId: string;
2395
+ updateId: string;
2396
+ author: {
2397
+ id: string;
2398
+ name: string;
2399
+ avatar: string | null;
2400
+ };
2401
+ reactions: {
2402
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2403
+ count: number;
2404
+ reactedByMe: boolean;
2405
+ }[];
2406
+ documentIds?: string[] | undefined;
2407
+ documents?: {
2408
+ id: string;
2409
+ name: string;
2410
+ fileUrl: string;
2411
+ fileExtension: string | null;
2412
+ }[] | undefined;
2413
+ mentionedUserIds?: string[] | undefined;
2414
+ };
2415
+ relationships?: Record<string, unknown> | undefined;
2416
+ links?: Record<string, string> | undefined;
2417
+ meta?: Record<string, unknown> | undefined;
2418
+ }[] | undefined;
2419
+ };
2420
+ relationships?: Record<string, unknown> | undefined;
2421
+ links?: Record<string, string> | undefined;
2422
+ meta?: Record<string, unknown> | undefined;
2423
+ }, {
2424
+ type: string;
2425
+ id: string;
2426
+ attributes: {
2427
+ createdAt: string;
2428
+ updatedAt: string;
2429
+ body: string;
2430
+ farmId: string;
2431
+ authorId: string;
2432
+ author: {
2433
+ id: string;
2434
+ name: string;
2435
+ avatar: string | null;
2436
+ };
2437
+ reactions: {
2438
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2439
+ count: number;
2440
+ reactedByMe: boolean;
2441
+ }[];
2442
+ replyCount: number;
2443
+ documentIds?: string[] | undefined;
2444
+ documents?: {
2445
+ id: string;
2446
+ name: string;
2447
+ fileUrl: string;
2448
+ fileExtension: string | null;
2449
+ }[] | undefined;
2450
+ mentionedUserIds?: string[] | undefined;
2451
+ replies?: {
2452
+ type: string;
2453
+ id: string;
2454
+ attributes: {
2455
+ createdAt: string;
2456
+ body: string;
2457
+ authorId: string;
2458
+ updateId: string;
2459
+ author: {
2460
+ id: string;
2461
+ name: string;
2462
+ avatar: string | null;
2463
+ };
2464
+ reactions: {
2465
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2466
+ count: number;
2467
+ reactedByMe: boolean;
2468
+ }[];
2469
+ documentIds?: string[] | undefined;
2470
+ documents?: {
2471
+ id: string;
2472
+ name: string;
2473
+ fileUrl: string;
2474
+ fileExtension: string | null;
2475
+ }[] | undefined;
2476
+ mentionedUserIds?: string[] | undefined;
2477
+ };
2478
+ relationships?: Record<string, unknown> | undefined;
2479
+ links?: Record<string, string> | undefined;
2480
+ meta?: Record<string, unknown> | undefined;
2481
+ }[] | undefined;
2482
+ };
2483
+ relationships?: Record<string, unknown> | undefined;
2484
+ links?: Record<string, string> | undefined;
2485
+ meta?: Record<string, unknown> | undefined;
2486
+ }>, "many">;
2487
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
2488
+ type: z.ZodString;
2489
+ id: z.ZodString;
2490
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2491
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2492
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2493
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2494
+ }, "strip", z.ZodTypeAny, {
2495
+ type: string;
2496
+ id: string;
2497
+ attributes?: Record<string, unknown> | undefined;
2498
+ relationships?: Record<string, unknown> | undefined;
2499
+ links?: Record<string, string> | undefined;
2500
+ meta?: Record<string, unknown> | undefined;
2501
+ }, {
2502
+ type: string;
2503
+ id: string;
2504
+ attributes?: Record<string, unknown> | undefined;
2505
+ relationships?: Record<string, unknown> | undefined;
2506
+ links?: Record<string, string> | undefined;
2507
+ meta?: Record<string, unknown> | undefined;
2508
+ }>, "many">>;
2509
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2510
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2511
+ }, "strip", z.ZodTypeAny, {
2512
+ data: {
2513
+ type: string;
2514
+ id: string;
2515
+ attributes: {
2516
+ createdAt: string;
2517
+ updatedAt: string;
2518
+ body: string;
2519
+ farmId: string;
2520
+ authorId: string;
2521
+ author: {
2522
+ id: string;
2523
+ name: string;
2524
+ avatar: string | null;
2525
+ };
2526
+ reactions: {
2527
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2528
+ count: number;
2529
+ reactedByMe: boolean;
2530
+ }[];
2531
+ replyCount: number;
2532
+ documentIds?: string[] | undefined;
2533
+ documents?: {
2534
+ id: string;
2535
+ name: string;
2536
+ fileUrl: string;
2537
+ fileExtension: string | null;
2538
+ }[] | undefined;
2539
+ mentionedUserIds?: string[] | undefined;
2540
+ replies?: {
2541
+ type: string;
2542
+ id: string;
2543
+ attributes: {
2544
+ createdAt: string;
2545
+ body: string;
2546
+ authorId: string;
2547
+ updateId: string;
2548
+ author: {
2549
+ id: string;
2550
+ name: string;
2551
+ avatar: string | null;
2552
+ };
2553
+ reactions: {
2554
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2555
+ count: number;
2556
+ reactedByMe: boolean;
2557
+ }[];
2558
+ documentIds?: string[] | undefined;
2559
+ documents?: {
2560
+ id: string;
2561
+ name: string;
2562
+ fileUrl: string;
2563
+ fileExtension: string | null;
2564
+ }[] | undefined;
2565
+ mentionedUserIds?: string[] | undefined;
2566
+ };
2567
+ relationships?: Record<string, unknown> | undefined;
2568
+ links?: Record<string, string> | undefined;
2569
+ meta?: Record<string, unknown> | undefined;
2570
+ }[] | undefined;
2571
+ };
2572
+ relationships?: Record<string, unknown> | undefined;
2573
+ links?: Record<string, string> | undefined;
2574
+ meta?: Record<string, unknown> | undefined;
2575
+ }[];
2576
+ links?: Record<string, string> | undefined;
2577
+ meta?: Record<string, unknown> | undefined;
2578
+ included?: {
2579
+ type: string;
2580
+ id: string;
2581
+ attributes?: Record<string, unknown> | undefined;
2582
+ relationships?: Record<string, unknown> | undefined;
2583
+ links?: Record<string, string> | undefined;
2584
+ meta?: Record<string, unknown> | undefined;
2585
+ }[] | undefined;
2586
+ }, {
2587
+ data: {
2588
+ type: string;
2589
+ id: string;
2590
+ attributes: {
2591
+ createdAt: string;
2592
+ updatedAt: string;
2593
+ body: string;
2594
+ farmId: string;
2595
+ authorId: string;
2596
+ author: {
2597
+ id: string;
2598
+ name: string;
2599
+ avatar: string | null;
2600
+ };
2601
+ reactions: {
2602
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2603
+ count: number;
2604
+ reactedByMe: boolean;
2605
+ }[];
2606
+ replyCount: number;
2607
+ documentIds?: string[] | undefined;
2608
+ documents?: {
2609
+ id: string;
2610
+ name: string;
2611
+ fileUrl: string;
2612
+ fileExtension: string | null;
2613
+ }[] | undefined;
2614
+ mentionedUserIds?: string[] | undefined;
2615
+ replies?: {
2616
+ type: string;
2617
+ id: string;
2618
+ attributes: {
2619
+ createdAt: string;
2620
+ body: string;
2621
+ authorId: string;
2622
+ updateId: string;
2623
+ author: {
2624
+ id: string;
2625
+ name: string;
2626
+ avatar: string | null;
2627
+ };
2628
+ reactions: {
2629
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2630
+ count: number;
2631
+ reactedByMe: boolean;
2632
+ }[];
2633
+ documentIds?: string[] | undefined;
2634
+ documents?: {
2635
+ id: string;
2636
+ name: string;
2637
+ fileUrl: string;
2638
+ fileExtension: string | null;
2639
+ }[] | undefined;
2640
+ mentionedUserIds?: string[] | undefined;
2641
+ };
2642
+ relationships?: Record<string, unknown> | undefined;
2643
+ links?: Record<string, string> | undefined;
2644
+ meta?: Record<string, unknown> | undefined;
2645
+ }[] | undefined;
2646
+ };
2647
+ relationships?: Record<string, unknown> | undefined;
2648
+ links?: Record<string, string> | undefined;
2649
+ meta?: Record<string, unknown> | undefined;
2650
+ }[];
2651
+ links?: Record<string, string> | undefined;
2652
+ meta?: Record<string, unknown> | undefined;
2653
+ included?: {
2654
+ type: string;
2655
+ id: string;
2656
+ attributes?: Record<string, unknown> | undefined;
2657
+ relationships?: Record<string, unknown> | undefined;
2658
+ links?: Record<string, string> | undefined;
2659
+ meta?: Record<string, unknown> | undefined;
2660
+ }[] | undefined;
2661
+ }>;
2662
+ export declare const farmUpdateReplyResponseSchema: z.ZodObject<{
2663
+ data: z.ZodObject<{
2664
+ type: z.ZodLiteral<string>;
2665
+ id: z.ZodString;
2666
+ attributes: z.ZodObject<{
2667
+ updateId: z.ZodString;
2668
+ authorId: z.ZodString;
2669
+ author: z.ZodObject<{
2670
+ id: z.ZodString;
2671
+ name: z.ZodString;
2672
+ avatar: z.ZodNullable<z.ZodString>;
2673
+ }, "strip", z.ZodTypeAny, {
2674
+ id: string;
2675
+ name: string;
2676
+ avatar: string | null;
2677
+ }, {
2678
+ id: string;
2679
+ name: string;
2680
+ avatar: string | null;
2681
+ }>;
2682
+ body: z.ZodString;
2683
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2684
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2685
+ id: z.ZodString;
2686
+ name: z.ZodString;
2687
+ fileUrl: z.ZodString;
2688
+ fileExtension: z.ZodNullable<z.ZodString>;
2689
+ }, "strip", z.ZodTypeAny, {
2690
+ id: string;
2691
+ name: string;
2692
+ fileUrl: string;
2693
+ fileExtension: string | null;
2694
+ }, {
2695
+ id: string;
2696
+ name: string;
2697
+ fileUrl: string;
2698
+ fileExtension: string | null;
2699
+ }>, "many">>;
2700
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2701
+ reactions: z.ZodArray<z.ZodObject<{
2702
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
2703
+ count: z.ZodNumber;
2704
+ reactedByMe: z.ZodBoolean;
2705
+ }, "strip", z.ZodTypeAny, {
2706
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2707
+ count: number;
2708
+ reactedByMe: boolean;
2709
+ }, {
2710
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2711
+ count: number;
2712
+ reactedByMe: boolean;
2713
+ }>, "many">;
2714
+ createdAt: z.ZodString;
2715
+ }, "strip", z.ZodTypeAny, {
2716
+ createdAt: string;
2717
+ body: string;
2718
+ authorId: string;
2719
+ updateId: string;
2720
+ author: {
2721
+ id: string;
2722
+ name: string;
2723
+ avatar: string | null;
2724
+ };
2725
+ reactions: {
2726
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2727
+ count: number;
2728
+ reactedByMe: boolean;
2729
+ }[];
2730
+ documentIds?: string[] | undefined;
2731
+ documents?: {
2732
+ id: string;
2733
+ name: string;
2734
+ fileUrl: string;
2735
+ fileExtension: string | null;
2736
+ }[] | undefined;
2737
+ mentionedUserIds?: string[] | undefined;
2738
+ }, {
2739
+ createdAt: string;
2740
+ body: string;
2741
+ authorId: string;
2742
+ updateId: string;
2743
+ author: {
2744
+ id: string;
2745
+ name: string;
2746
+ avatar: string | null;
2747
+ };
2748
+ reactions: {
2749
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2750
+ count: number;
2751
+ reactedByMe: boolean;
2752
+ }[];
2753
+ documentIds?: string[] | undefined;
2754
+ documents?: {
2755
+ id: string;
2756
+ name: string;
2757
+ fileUrl: string;
2758
+ fileExtension: string | null;
2759
+ }[] | undefined;
2760
+ mentionedUserIds?: string[] | undefined;
2761
+ }>;
2762
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2763
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2764
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2765
+ }, "strip", z.ZodTypeAny, {
2766
+ type: string;
2767
+ id: string;
2768
+ attributes: {
2769
+ createdAt: string;
2770
+ body: string;
2771
+ authorId: string;
2772
+ updateId: string;
2773
+ author: {
2774
+ id: string;
2775
+ name: string;
2776
+ avatar: string | null;
2777
+ };
2778
+ reactions: {
2779
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2780
+ count: number;
2781
+ reactedByMe: boolean;
2782
+ }[];
2783
+ documentIds?: string[] | undefined;
2784
+ documents?: {
2785
+ id: string;
2786
+ name: string;
2787
+ fileUrl: string;
2788
+ fileExtension: string | null;
2789
+ }[] | undefined;
2790
+ mentionedUserIds?: string[] | undefined;
2791
+ };
2792
+ relationships?: Record<string, unknown> | undefined;
2793
+ links?: Record<string, string> | undefined;
2794
+ meta?: Record<string, unknown> | undefined;
2795
+ }, {
2796
+ type: string;
2797
+ id: string;
2798
+ attributes: {
2799
+ createdAt: string;
2800
+ body: string;
2801
+ authorId: string;
2802
+ updateId: string;
2803
+ author: {
2804
+ id: string;
2805
+ name: string;
2806
+ avatar: string | null;
2807
+ };
2808
+ reactions: {
2809
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2810
+ count: number;
2811
+ reactedByMe: boolean;
2812
+ }[];
2813
+ documentIds?: string[] | undefined;
2814
+ documents?: {
2815
+ id: string;
2816
+ name: string;
2817
+ fileUrl: string;
2818
+ fileExtension: string | null;
2819
+ }[] | undefined;
2820
+ mentionedUserIds?: string[] | undefined;
2821
+ };
2822
+ relationships?: Record<string, unknown> | undefined;
2823
+ links?: Record<string, string> | undefined;
2824
+ meta?: Record<string, unknown> | undefined;
2825
+ }>;
2826
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
2827
+ type: z.ZodString;
2828
+ id: z.ZodString;
2829
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2830
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2831
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2832
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2833
+ }, "strip", z.ZodTypeAny, {
2834
+ type: string;
2835
+ id: string;
2836
+ attributes?: Record<string, unknown> | undefined;
2837
+ relationships?: Record<string, unknown> | undefined;
2838
+ links?: Record<string, string> | undefined;
2839
+ meta?: Record<string, unknown> | undefined;
2840
+ }, {
2841
+ type: string;
2842
+ id: string;
2843
+ attributes?: Record<string, unknown> | undefined;
2844
+ relationships?: Record<string, unknown> | undefined;
2845
+ links?: Record<string, string> | undefined;
2846
+ meta?: Record<string, unknown> | undefined;
2847
+ }>, "many">>;
2848
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2849
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2850
+ }, "strip", z.ZodTypeAny, {
2851
+ data: {
2852
+ type: string;
2853
+ id: string;
2854
+ attributes: {
2855
+ createdAt: string;
2856
+ body: string;
2857
+ authorId: string;
2858
+ updateId: string;
2859
+ author: {
2860
+ id: string;
2861
+ name: string;
2862
+ avatar: string | null;
2863
+ };
2864
+ reactions: {
2865
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2866
+ count: number;
2867
+ reactedByMe: boolean;
2868
+ }[];
2869
+ documentIds?: string[] | undefined;
2870
+ documents?: {
2871
+ id: string;
2872
+ name: string;
2873
+ fileUrl: string;
2874
+ fileExtension: string | null;
2875
+ }[] | undefined;
2876
+ mentionedUserIds?: string[] | undefined;
2877
+ };
2878
+ relationships?: Record<string, unknown> | undefined;
2879
+ links?: Record<string, string> | undefined;
2880
+ meta?: Record<string, unknown> | undefined;
2881
+ };
2882
+ links?: Record<string, string> | undefined;
2883
+ meta?: Record<string, unknown> | undefined;
2884
+ included?: {
2885
+ type: string;
2886
+ id: string;
2887
+ attributes?: Record<string, unknown> | undefined;
2888
+ relationships?: Record<string, unknown> | undefined;
2889
+ links?: Record<string, string> | undefined;
2890
+ meta?: Record<string, unknown> | undefined;
2891
+ }[] | undefined;
2892
+ }, {
2893
+ data: {
2894
+ type: string;
2895
+ id: string;
2896
+ attributes: {
2897
+ createdAt: string;
2898
+ body: string;
2899
+ authorId: string;
2900
+ updateId: string;
2901
+ author: {
2902
+ id: string;
2903
+ name: string;
2904
+ avatar: string | null;
2905
+ };
2906
+ reactions: {
2907
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2908
+ count: number;
2909
+ reactedByMe: boolean;
2910
+ }[];
2911
+ documentIds?: string[] | undefined;
2912
+ documents?: {
2913
+ id: string;
2914
+ name: string;
2915
+ fileUrl: string;
2916
+ fileExtension: string | null;
2917
+ }[] | undefined;
2918
+ mentionedUserIds?: string[] | undefined;
2919
+ };
2920
+ relationships?: Record<string, unknown> | undefined;
2921
+ links?: Record<string, string> | undefined;
2922
+ meta?: Record<string, unknown> | undefined;
2923
+ };
2924
+ links?: Record<string, string> | undefined;
2925
+ meta?: Record<string, unknown> | undefined;
2926
+ included?: {
2927
+ type: string;
2928
+ id: string;
2929
+ attributes?: Record<string, unknown> | undefined;
2930
+ relationships?: Record<string, unknown> | undefined;
2931
+ links?: Record<string, string> | undefined;
2932
+ meta?: Record<string, unknown> | undefined;
2933
+ }[] | undefined;
2934
+ }>;
2935
+ export declare const farmUpdateReplyListResponseSchema: z.ZodObject<{
2936
+ data: z.ZodArray<z.ZodObject<{
2937
+ type: z.ZodLiteral<string>;
2938
+ id: z.ZodString;
2939
+ attributes: z.ZodObject<{
2940
+ updateId: z.ZodString;
2941
+ authorId: z.ZodString;
2942
+ author: z.ZodObject<{
2943
+ id: z.ZodString;
2944
+ name: z.ZodString;
2945
+ avatar: z.ZodNullable<z.ZodString>;
2946
+ }, "strip", z.ZodTypeAny, {
2947
+ id: string;
2948
+ name: string;
2949
+ avatar: string | null;
2950
+ }, {
2951
+ id: string;
2952
+ name: string;
2953
+ avatar: string | null;
2954
+ }>;
2955
+ body: z.ZodString;
2956
+ documentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2957
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2958
+ id: z.ZodString;
2959
+ name: z.ZodString;
2960
+ fileUrl: z.ZodString;
2961
+ fileExtension: z.ZodNullable<z.ZodString>;
2962
+ }, "strip", z.ZodTypeAny, {
2963
+ id: string;
2964
+ name: string;
2965
+ fileUrl: string;
2966
+ fileExtension: string | null;
2967
+ }, {
2968
+ id: string;
2969
+ name: string;
2970
+ fileUrl: string;
2971
+ fileExtension: string | null;
2972
+ }>, "many">>;
2973
+ mentionedUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2974
+ reactions: z.ZodArray<z.ZodObject<{
2975
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
2976
+ count: z.ZodNumber;
2977
+ reactedByMe: z.ZodBoolean;
2978
+ }, "strip", z.ZodTypeAny, {
2979
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2980
+ count: number;
2981
+ reactedByMe: boolean;
2982
+ }, {
2983
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
2984
+ count: number;
2985
+ reactedByMe: boolean;
2986
+ }>, "many">;
2987
+ createdAt: z.ZodString;
2988
+ }, "strip", z.ZodTypeAny, {
2989
+ createdAt: string;
2990
+ body: string;
2991
+ authorId: string;
2992
+ updateId: string;
2993
+ author: {
2994
+ id: string;
2995
+ name: string;
2996
+ avatar: string | null;
2997
+ };
2998
+ reactions: {
2999
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3000
+ count: number;
3001
+ reactedByMe: boolean;
3002
+ }[];
3003
+ documentIds?: string[] | undefined;
3004
+ documents?: {
3005
+ id: string;
3006
+ name: string;
3007
+ fileUrl: string;
3008
+ fileExtension: string | null;
3009
+ }[] | undefined;
3010
+ mentionedUserIds?: string[] | undefined;
3011
+ }, {
3012
+ createdAt: string;
3013
+ body: string;
3014
+ authorId: string;
3015
+ updateId: string;
3016
+ author: {
3017
+ id: string;
3018
+ name: string;
3019
+ avatar: string | null;
3020
+ };
3021
+ reactions: {
3022
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3023
+ count: number;
3024
+ reactedByMe: boolean;
3025
+ }[];
3026
+ documentIds?: string[] | undefined;
3027
+ documents?: {
3028
+ id: string;
3029
+ name: string;
3030
+ fileUrl: string;
3031
+ fileExtension: string | null;
3032
+ }[] | undefined;
3033
+ mentionedUserIds?: string[] | undefined;
3034
+ }>;
3035
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3036
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3037
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3038
+ }, "strip", z.ZodTypeAny, {
3039
+ type: string;
3040
+ id: string;
3041
+ attributes: {
3042
+ createdAt: string;
3043
+ body: string;
3044
+ authorId: string;
3045
+ updateId: string;
3046
+ author: {
3047
+ id: string;
3048
+ name: string;
3049
+ avatar: string | null;
3050
+ };
3051
+ reactions: {
3052
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3053
+ count: number;
3054
+ reactedByMe: boolean;
3055
+ }[];
3056
+ documentIds?: string[] | undefined;
3057
+ documents?: {
3058
+ id: string;
3059
+ name: string;
3060
+ fileUrl: string;
3061
+ fileExtension: string | null;
3062
+ }[] | undefined;
3063
+ mentionedUserIds?: string[] | undefined;
3064
+ };
3065
+ relationships?: Record<string, unknown> | undefined;
3066
+ links?: Record<string, string> | undefined;
3067
+ meta?: Record<string, unknown> | undefined;
3068
+ }, {
3069
+ type: string;
3070
+ id: string;
3071
+ attributes: {
3072
+ createdAt: string;
3073
+ body: string;
3074
+ authorId: string;
3075
+ updateId: string;
3076
+ author: {
3077
+ id: string;
3078
+ name: string;
3079
+ avatar: string | null;
3080
+ };
3081
+ reactions: {
3082
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3083
+ count: number;
3084
+ reactedByMe: boolean;
3085
+ }[];
3086
+ documentIds?: string[] | undefined;
3087
+ documents?: {
3088
+ id: string;
3089
+ name: string;
3090
+ fileUrl: string;
3091
+ fileExtension: string | null;
3092
+ }[] | undefined;
3093
+ mentionedUserIds?: string[] | undefined;
3094
+ };
3095
+ relationships?: Record<string, unknown> | undefined;
3096
+ links?: Record<string, string> | undefined;
3097
+ meta?: Record<string, unknown> | undefined;
3098
+ }>, "many">;
3099
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
3100
+ type: z.ZodString;
3101
+ id: z.ZodString;
3102
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3103
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3104
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3105
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3106
+ }, "strip", z.ZodTypeAny, {
3107
+ type: string;
3108
+ id: string;
3109
+ attributes?: Record<string, unknown> | undefined;
3110
+ relationships?: Record<string, unknown> | undefined;
3111
+ links?: Record<string, string> | undefined;
3112
+ meta?: Record<string, unknown> | undefined;
3113
+ }, {
3114
+ type: string;
3115
+ id: string;
3116
+ attributes?: Record<string, unknown> | undefined;
3117
+ relationships?: Record<string, unknown> | undefined;
3118
+ links?: Record<string, string> | undefined;
3119
+ meta?: Record<string, unknown> | undefined;
3120
+ }>, "many">>;
3121
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3122
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3123
+ }, "strip", z.ZodTypeAny, {
3124
+ data: {
3125
+ type: string;
3126
+ id: string;
3127
+ attributes: {
3128
+ createdAt: string;
3129
+ body: string;
3130
+ authorId: string;
3131
+ updateId: string;
3132
+ author: {
3133
+ id: string;
3134
+ name: string;
3135
+ avatar: string | null;
3136
+ };
3137
+ reactions: {
3138
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3139
+ count: number;
3140
+ reactedByMe: boolean;
3141
+ }[];
3142
+ documentIds?: string[] | undefined;
3143
+ documents?: {
3144
+ id: string;
3145
+ name: string;
3146
+ fileUrl: string;
3147
+ fileExtension: string | null;
3148
+ }[] | undefined;
3149
+ mentionedUserIds?: string[] | undefined;
3150
+ };
3151
+ relationships?: Record<string, unknown> | undefined;
3152
+ links?: Record<string, string> | undefined;
3153
+ meta?: Record<string, unknown> | undefined;
3154
+ }[];
3155
+ links?: Record<string, string> | undefined;
3156
+ meta?: Record<string, unknown> | undefined;
3157
+ included?: {
3158
+ type: string;
3159
+ id: string;
3160
+ attributes?: Record<string, unknown> | undefined;
3161
+ relationships?: Record<string, unknown> | undefined;
3162
+ links?: Record<string, string> | undefined;
3163
+ meta?: Record<string, unknown> | undefined;
3164
+ }[] | undefined;
3165
+ }, {
3166
+ data: {
3167
+ type: string;
3168
+ id: string;
3169
+ attributes: {
3170
+ createdAt: string;
3171
+ body: string;
3172
+ authorId: string;
3173
+ updateId: string;
3174
+ author: {
3175
+ id: string;
3176
+ name: string;
3177
+ avatar: string | null;
3178
+ };
3179
+ reactions: {
3180
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3181
+ count: number;
3182
+ reactedByMe: boolean;
3183
+ }[];
3184
+ documentIds?: string[] | undefined;
3185
+ documents?: {
3186
+ id: string;
3187
+ name: string;
3188
+ fileUrl: string;
3189
+ fileExtension: string | null;
3190
+ }[] | undefined;
3191
+ mentionedUserIds?: string[] | undefined;
3192
+ };
3193
+ relationships?: Record<string, unknown> | undefined;
3194
+ links?: Record<string, string> | undefined;
3195
+ meta?: Record<string, unknown> | undefined;
3196
+ }[];
3197
+ links?: Record<string, string> | undefined;
3198
+ meta?: Record<string, unknown> | undefined;
3199
+ included?: {
3200
+ type: string;
3201
+ id: string;
3202
+ attributes?: Record<string, unknown> | undefined;
3203
+ relationships?: Record<string, unknown> | undefined;
3204
+ links?: Record<string, string> | undefined;
3205
+ meta?: Record<string, unknown> | undefined;
3206
+ }[] | undefined;
3207
+ }>;
3208
+ export declare const farmUpdateReactionToggleResponseSchema: z.ZodObject<{
3209
+ data: z.ZodObject<{
3210
+ type: z.ZodLiteral<string>;
3211
+ id: z.ZodString;
3212
+ attributes: z.ZodObject<{
3213
+ updateId: z.ZodNullable<z.ZodString>;
3214
+ replyId: z.ZodNullable<z.ZodString>;
3215
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
3216
+ active: z.ZodBoolean;
3217
+ reactions: z.ZodArray<z.ZodObject<{
3218
+ emoji: z.ZodEnum<["👍", "❤️", "😂", "😮", "😢", "🙏"]>;
3219
+ count: z.ZodNumber;
3220
+ reactedByMe: z.ZodBoolean;
3221
+ }, "strip", z.ZodTypeAny, {
3222
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3223
+ count: number;
3224
+ reactedByMe: boolean;
3225
+ }, {
3226
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3227
+ count: number;
3228
+ reactedByMe: boolean;
3229
+ }>, "many">;
3230
+ }, "strip", z.ZodTypeAny, {
3231
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3232
+ active: boolean;
3233
+ updateId: string | null;
3234
+ reactions: {
3235
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3236
+ count: number;
3237
+ reactedByMe: boolean;
3238
+ }[];
3239
+ replyId: string | null;
3240
+ }, {
3241
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3242
+ active: boolean;
3243
+ updateId: string | null;
3244
+ reactions: {
3245
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3246
+ count: number;
3247
+ reactedByMe: boolean;
3248
+ }[];
3249
+ replyId: string | null;
3250
+ }>;
3251
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3252
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3253
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3254
+ }, "strip", z.ZodTypeAny, {
3255
+ type: string;
3256
+ id: string;
3257
+ attributes: {
3258
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3259
+ active: boolean;
3260
+ updateId: string | null;
3261
+ reactions: {
3262
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3263
+ count: number;
3264
+ reactedByMe: boolean;
3265
+ }[];
3266
+ replyId: string | null;
3267
+ };
3268
+ relationships?: Record<string, unknown> | undefined;
3269
+ links?: Record<string, string> | undefined;
3270
+ meta?: Record<string, unknown> | undefined;
3271
+ }, {
3272
+ type: string;
3273
+ id: string;
3274
+ attributes: {
3275
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3276
+ active: boolean;
3277
+ updateId: string | null;
3278
+ reactions: {
3279
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3280
+ count: number;
3281
+ reactedByMe: boolean;
3282
+ }[];
3283
+ replyId: string | null;
3284
+ };
3285
+ relationships?: Record<string, unknown> | undefined;
3286
+ links?: Record<string, string> | undefined;
3287
+ meta?: Record<string, unknown> | undefined;
3288
+ }>;
3289
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
3290
+ type: z.ZodString;
3291
+ id: z.ZodString;
3292
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3293
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3294
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3295
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3296
+ }, "strip", z.ZodTypeAny, {
3297
+ type: string;
3298
+ id: string;
3299
+ attributes?: Record<string, unknown> | undefined;
3300
+ relationships?: Record<string, unknown> | undefined;
3301
+ links?: Record<string, string> | undefined;
3302
+ meta?: Record<string, unknown> | undefined;
3303
+ }, {
3304
+ type: string;
3305
+ id: string;
3306
+ attributes?: Record<string, unknown> | undefined;
3307
+ relationships?: Record<string, unknown> | undefined;
3308
+ links?: Record<string, string> | undefined;
3309
+ meta?: Record<string, unknown> | undefined;
3310
+ }>, "many">>;
3311
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3312
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3313
+ }, "strip", z.ZodTypeAny, {
3314
+ data: {
3315
+ type: string;
3316
+ id: string;
3317
+ attributes: {
3318
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3319
+ active: boolean;
3320
+ updateId: string | null;
3321
+ reactions: {
3322
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3323
+ count: number;
3324
+ reactedByMe: boolean;
3325
+ }[];
3326
+ replyId: string | null;
3327
+ };
3328
+ relationships?: Record<string, unknown> | undefined;
3329
+ links?: Record<string, string> | undefined;
3330
+ meta?: Record<string, unknown> | undefined;
3331
+ };
3332
+ links?: Record<string, string> | undefined;
3333
+ meta?: Record<string, unknown> | undefined;
3334
+ included?: {
3335
+ type: string;
3336
+ id: string;
3337
+ attributes?: Record<string, unknown> | undefined;
3338
+ relationships?: Record<string, unknown> | undefined;
3339
+ links?: Record<string, string> | undefined;
3340
+ meta?: Record<string, unknown> | undefined;
3341
+ }[] | undefined;
3342
+ }, {
3343
+ data: {
3344
+ type: string;
3345
+ id: string;
3346
+ attributes: {
3347
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3348
+ active: boolean;
3349
+ updateId: string | null;
3350
+ reactions: {
3351
+ emoji: "👍" | "❤️" | "😂" | "😮" | "😢" | "🙏";
3352
+ count: number;
3353
+ reactedByMe: boolean;
3354
+ }[];
3355
+ replyId: string | null;
3356
+ };
3357
+ relationships?: Record<string, unknown> | undefined;
3358
+ links?: Record<string, string> | undefined;
3359
+ meta?: Record<string, unknown> | undefined;
3360
+ };
3361
+ links?: Record<string, string> | undefined;
3362
+ meta?: Record<string, unknown> | undefined;
3363
+ included?: {
3364
+ type: string;
3365
+ id: string;
3366
+ attributes?: Record<string, unknown> | undefined;
3367
+ relationships?: Record<string, unknown> | undefined;
3368
+ links?: Record<string, string> | undefined;
3369
+ meta?: Record<string, unknown> | undefined;
3370
+ }[] | undefined;
3371
+ }>;
3372
+ export declare const mentionCandidateListResponseSchema: z.ZodObject<{
3373
+ data: z.ZodArray<z.ZodObject<{
3374
+ type: z.ZodLiteral<string>;
3375
+ id: z.ZodString;
3376
+ attributes: z.ZodObject<{
3377
+ userId: z.ZodString;
3378
+ name: z.ZodString;
3379
+ role: z.ZodString;
3380
+ avatar: z.ZodNullable<z.ZodString>;
3381
+ }, "strip", z.ZodTypeAny, {
3382
+ name: string;
3383
+ avatar: string | null;
3384
+ userId: string;
3385
+ role: string;
3386
+ }, {
3387
+ name: string;
3388
+ avatar: string | null;
3389
+ userId: string;
3390
+ role: string;
3391
+ }>;
3392
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3393
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3394
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3395
+ }, "strip", z.ZodTypeAny, {
3396
+ type: string;
3397
+ id: string;
3398
+ attributes: {
3399
+ name: string;
3400
+ avatar: string | null;
3401
+ userId: string;
3402
+ role: string;
3403
+ };
3404
+ relationships?: Record<string, unknown> | undefined;
3405
+ links?: Record<string, string> | undefined;
3406
+ meta?: Record<string, unknown> | undefined;
3407
+ }, {
3408
+ type: string;
3409
+ id: string;
3410
+ attributes: {
3411
+ name: string;
3412
+ avatar: string | null;
3413
+ userId: string;
3414
+ role: string;
3415
+ };
3416
+ relationships?: Record<string, unknown> | undefined;
3417
+ links?: Record<string, string> | undefined;
3418
+ meta?: Record<string, unknown> | undefined;
3419
+ }>, "many">;
3420
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
3421
+ type: z.ZodString;
3422
+ id: z.ZodString;
3423
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3424
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3425
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3426
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3427
+ }, "strip", z.ZodTypeAny, {
3428
+ type: string;
3429
+ id: string;
3430
+ attributes?: Record<string, unknown> | undefined;
3431
+ relationships?: Record<string, unknown> | undefined;
3432
+ links?: Record<string, string> | undefined;
3433
+ meta?: Record<string, unknown> | undefined;
3434
+ }, {
3435
+ type: string;
3436
+ id: string;
3437
+ attributes?: Record<string, unknown> | undefined;
3438
+ relationships?: Record<string, unknown> | undefined;
3439
+ links?: Record<string, string> | undefined;
3440
+ meta?: Record<string, unknown> | undefined;
3441
+ }>, "many">>;
3442
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3443
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3444
+ }, "strip", z.ZodTypeAny, {
3445
+ data: {
3446
+ type: string;
3447
+ id: string;
3448
+ attributes: {
3449
+ name: string;
3450
+ avatar: string | null;
3451
+ userId: string;
3452
+ role: string;
3453
+ };
3454
+ relationships?: Record<string, unknown> | undefined;
3455
+ links?: Record<string, string> | undefined;
3456
+ meta?: Record<string, unknown> | undefined;
3457
+ }[];
3458
+ links?: Record<string, string> | undefined;
3459
+ meta?: Record<string, unknown> | undefined;
3460
+ included?: {
3461
+ type: string;
3462
+ id: string;
3463
+ attributes?: Record<string, unknown> | undefined;
3464
+ relationships?: Record<string, unknown> | undefined;
3465
+ links?: Record<string, string> | undefined;
3466
+ meta?: Record<string, unknown> | undefined;
3467
+ }[] | undefined;
3468
+ }, {
3469
+ data: {
3470
+ type: string;
3471
+ id: string;
3472
+ attributes: {
3473
+ name: string;
3474
+ avatar: string | null;
3475
+ userId: string;
3476
+ role: string;
3477
+ };
3478
+ relationships?: Record<string, unknown> | undefined;
3479
+ links?: Record<string, string> | undefined;
3480
+ meta?: Record<string, unknown> | undefined;
3481
+ }[];
3482
+ links?: Record<string, string> | undefined;
3483
+ meta?: Record<string, unknown> | undefined;
3484
+ included?: {
3485
+ type: string;
3486
+ id: string;
3487
+ attributes?: Record<string, unknown> | undefined;
3488
+ relationships?: Record<string, unknown> | undefined;
3489
+ links?: Record<string, string> | undefined;
3490
+ meta?: Record<string, unknown> | undefined;
3491
+ }[] | undefined;
3492
+ }>;
3493
+ export declare const farmUpdateErrorSchema: z.ZodObject<{
3494
+ errors: z.ZodArray<z.ZodObject<{
3495
+ id: z.ZodOptional<z.ZodString>;
3496
+ links: z.ZodOptional<z.ZodObject<{
3497
+ about: z.ZodOptional<z.ZodString>;
3498
+ }, "strip", z.ZodTypeAny, {
3499
+ about?: string | undefined;
3500
+ }, {
3501
+ about?: string | undefined;
3502
+ }>>;
3503
+ status: z.ZodOptional<z.ZodString>;
3504
+ code: z.ZodOptional<z.ZodString>;
3505
+ title: z.ZodOptional<z.ZodString>;
3506
+ detail: z.ZodOptional<z.ZodString>;
3507
+ source: z.ZodOptional<z.ZodObject<{
3508
+ pointer: z.ZodOptional<z.ZodString>;
3509
+ parameter: z.ZodOptional<z.ZodString>;
3510
+ }, "strip", z.ZodTypeAny, {
3511
+ pointer?: string | undefined;
3512
+ parameter?: string | undefined;
3513
+ }, {
3514
+ pointer?: string | undefined;
3515
+ parameter?: string | undefined;
3516
+ }>>;
3517
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3518
+ }, "strip", z.ZodTypeAny, {
3519
+ status?: string | undefined;
3520
+ code?: string | undefined;
3521
+ id?: string | undefined;
3522
+ links?: {
3523
+ about?: string | undefined;
3524
+ } | undefined;
3525
+ meta?: Record<string, unknown> | undefined;
3526
+ title?: string | undefined;
3527
+ detail?: string | undefined;
3528
+ source?: {
3529
+ pointer?: string | undefined;
3530
+ parameter?: string | undefined;
3531
+ } | undefined;
3532
+ }, {
3533
+ status?: string | undefined;
3534
+ code?: string | undefined;
3535
+ id?: string | undefined;
3536
+ links?: {
3537
+ about?: string | undefined;
3538
+ } | undefined;
3539
+ meta?: Record<string, unknown> | undefined;
3540
+ title?: string | undefined;
3541
+ detail?: string | undefined;
3542
+ source?: {
3543
+ pointer?: string | undefined;
3544
+ parameter?: string | undefined;
3545
+ } | undefined;
3546
+ }>, "many">;
3547
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3548
+ }, "strip", z.ZodTypeAny, {
3549
+ errors: {
3550
+ status?: string | undefined;
3551
+ code?: string | undefined;
3552
+ id?: string | undefined;
3553
+ links?: {
3554
+ about?: string | undefined;
3555
+ } | undefined;
3556
+ meta?: Record<string, unknown> | undefined;
3557
+ title?: string | undefined;
3558
+ detail?: string | undefined;
3559
+ source?: {
3560
+ pointer?: string | undefined;
3561
+ parameter?: string | undefined;
3562
+ } | undefined;
3563
+ }[];
3564
+ meta?: Record<string, unknown> | undefined;
3565
+ }, {
3566
+ errors: {
3567
+ status?: string | undefined;
3568
+ code?: string | undefined;
3569
+ id?: string | undefined;
3570
+ links?: {
3571
+ about?: string | undefined;
3572
+ } | undefined;
3573
+ meta?: Record<string, unknown> | undefined;
3574
+ title?: string | undefined;
3575
+ detail?: string | undefined;
3576
+ source?: {
3577
+ pointer?: string | undefined;
3578
+ parameter?: string | undefined;
3579
+ } | undefined;
3580
+ }[];
3581
+ meta?: Record<string, unknown> | undefined;
3582
+ }>;
3583
+ export type FarmUpdateReactionEmoji = z.infer<typeof farmUpdateReactionEmojiSchema>;
3584
+ export type FarmUpdateAttributes = z.infer<typeof farmUpdateAttributesSchema>;
3585
+ export type FarmUpdateReplyAttributes = z.infer<typeof farmUpdateReplyAttributesSchema>;
3586
+ export type CreateFarmUpdateInput = z.infer<typeof createFarmUpdateSchema>;
3587
+ export type CreateFarmUpdateReplyInput = z.infer<typeof createFarmUpdateReplySchema>;
3588
+ export type ToggleFarmUpdateReactionInput = z.infer<typeof toggleFarmUpdateReactionSchema>;
3589
+ export type FarmUpdateResponse = z.infer<typeof farmUpdateResponseSchema>;
3590
+ export type FarmUpdateListResponse = z.infer<typeof farmUpdateListResponseSchema>;
3591
+ export type FarmUpdateReplyResponse = z.infer<typeof farmUpdateReplyResponseSchema>;
3592
+ export type FarmUpdateReplyListResponse = z.infer<typeof farmUpdateReplyListResponseSchema>;
3593
+ export type FarmUpdateReactionToggleResponse = z.infer<typeof farmUpdateReactionToggleResponseSchema>;
3594
+ export type MentionCandidateListResponse = z.infer<typeof mentionCandidateListResponseSchema>;
3595
+ //# sourceMappingURL=farm-updates.schemas.d.ts.map