@kimdaegyu/babmukdang-shared 1.1.10 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/domain/article/index.d.cts +971 -0
  2. package/dist/domain/article/index.d.ts +971 -0
  3. package/dist/domain/auth/index.d.cts +69 -0
  4. package/dist/domain/auth/index.d.ts +69 -0
  5. package/dist/domain/common/index.d.cts +3153 -0
  6. package/dist/domain/common/index.d.ts +3153 -0
  7. package/dist/domain/friend/index.d.cts +131 -0
  8. package/dist/domain/friend/index.d.ts +131 -0
  9. package/dist/domain/index.d.cts +316 -0
  10. package/dist/domain/index.d.ts +316 -0
  11. package/dist/domain/invitation/index.d.cts +64 -0
  12. package/dist/domain/invitation/index.d.ts +64 -0
  13. package/dist/domain/meal/index.d.cts +66 -0
  14. package/dist/domain/meal/index.d.ts +66 -0
  15. package/dist/domain/member/index.d.cts +340 -0
  16. package/dist/domain/member/index.d.ts +340 -0
  17. package/dist/domain/plan/index.d.cts +178 -0
  18. package/dist/domain/plan/index.d.ts +178 -0
  19. package/dist/domain/promotion/index.d.cts +158 -0
  20. package/dist/domain/promotion/index.d.ts +158 -0
  21. package/dist/domain/recruit/index.d.cts +214 -0
  22. package/dist/domain/recruit/index.d.ts +214 -0
  23. package/dist/domain/restaurant/index.d.cts +8 -0
  24. package/dist/domain/restaurant/index.d.ts +8 -0
  25. package/dist/domain/room/index.d.cts +2643 -0
  26. package/dist/domain/room/index.d.ts +2643 -0
  27. package/dist/id-dAYxfjZn.d.cts +64 -0
  28. package/dist/id-dAYxfjZn.d.ts +64 -0
  29. package/dist/index.cjs +0 -178
  30. package/dist/index.d.cts +16 -0
  31. package/dist/index.d.ts +16 -0
  32. package/dist/index.js +1 -177
  33. package/dist/restaurant.schema-CuEcX3S3.d.cts +78 -0
  34. package/dist/restaurant.schema-CuEcX3S3.d.ts +78 -0
  35. package/package.json +1 -1
@@ -0,0 +1,971 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const ArticleSortBySchema: z.ZodEnum<["createdAt", "likeCount", "commentCount"]>;
4
+ declare const ArticleListQuerySchema: z.ZodObject<{
5
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6
+ size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7
+ } & {
8
+ sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["createdAt", "likeCount", "commentCount"]>>>;
9
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ page: number;
12
+ size: number;
13
+ sortBy: "createdAt" | "likeCount" | "commentCount";
14
+ direction: "asc" | "desc";
15
+ }, {
16
+ page?: number | undefined;
17
+ size?: number | undefined;
18
+ sortBy?: "createdAt" | "likeCount" | "commentCount" | undefined;
19
+ direction?: "asc" | "desc" | undefined;
20
+ }>;
21
+ declare const UploadArticleImageResponseSchema: z.ZodObject<{
22
+ key: z.ZodString;
23
+ putUrl: z.ZodString;
24
+ cdnUrl: z.ZodString;
25
+ }, "strip", z.ZodTypeAny, {
26
+ key: string;
27
+ putUrl: string;
28
+ cdnUrl: string;
29
+ }, {
30
+ key: string;
31
+ putUrl: string;
32
+ cdnUrl: string;
33
+ }>;
34
+ declare const UploadArticleImageRequestSchema: z.ZodObject<{
35
+ contentType: z.ZodString;
36
+ }, "strip", z.ZodTypeAny, {
37
+ contentType: string;
38
+ }, {
39
+ contentType: string;
40
+ }>;
41
+ declare const FoodAnalysisResultSchema: z.ZodObject<{
42
+ code: z.ZodBranded<z.ZodString, "FoodCode">;
43
+ label: z.ZodBranded<z.ZodString, "FoodLabel">;
44
+ } & {
45
+ confidence: z.ZodNumber;
46
+ tsUtc: z.ZodOptional<z.ZodString>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ code: string & z.BRAND<"FoodCode">;
49
+ label: string & z.BRAND<"FoodLabel">;
50
+ confidence: number;
51
+ tsUtc?: string | undefined;
52
+ }, {
53
+ code: string;
54
+ label: string;
55
+ confidence: number;
56
+ tsUtc?: string | undefined;
57
+ }>;
58
+ declare const CreateArticleRequestSchema: z.ZodObject<{
59
+ imageUrl: z.ZodString;
60
+ mealDate: z.ZodString;
61
+ restaurant: z.ZodObject<{
62
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
63
+ placeName: z.ZodString;
64
+ categoryName: z.ZodString;
65
+ categoryGroupName: z.ZodString;
66
+ distance: z.ZodOptional<z.ZodString>;
67
+ roadAddressName: z.ZodString;
68
+ addressName: z.ZodString;
69
+ phone: z.ZodNullable<z.ZodString>;
70
+ placeUrl: z.ZodNullable<z.ZodString>;
71
+ lat: z.ZodNumber;
72
+ lng: z.ZodNumber;
73
+ }, "strip", z.ZodTypeAny, {
74
+ restaurantId: string & z.BRAND<"RestaurantId">;
75
+ placeName: string;
76
+ categoryName: string;
77
+ categoryGroupName: string;
78
+ roadAddressName: string;
79
+ addressName: string;
80
+ phone: string | null;
81
+ placeUrl: string | null;
82
+ lat: number;
83
+ lng: number;
84
+ distance?: string | undefined;
85
+ }, {
86
+ restaurantId: string;
87
+ placeName: string;
88
+ categoryName: string;
89
+ categoryGroupName: string;
90
+ roadAddressName: string;
91
+ addressName: string;
92
+ phone: string | null;
93
+ placeUrl: string | null;
94
+ lat: number;
95
+ lng: number;
96
+ distance?: string | undefined;
97
+ }>;
98
+ taggedMemberIds: z.ZodDefault<z.ZodArray<z.ZodBranded<z.ZodNumber, "MemberId">, "many">>;
99
+ foodAnalysis: z.ZodOptional<z.ZodObject<{
100
+ code: z.ZodBranded<z.ZodString, "FoodCode">;
101
+ label: z.ZodBranded<z.ZodString, "FoodLabel">;
102
+ } & {
103
+ confidence: z.ZodNumber;
104
+ tsUtc: z.ZodOptional<z.ZodString>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ code: string & z.BRAND<"FoodCode">;
107
+ label: string & z.BRAND<"FoodLabel">;
108
+ confidence: number;
109
+ tsUtc?: string | undefined;
110
+ }, {
111
+ code: string;
112
+ label: string;
113
+ confidence: number;
114
+ tsUtc?: string | undefined;
115
+ }>>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ imageUrl: string;
118
+ mealDate: string;
119
+ restaurant: {
120
+ restaurantId: string & z.BRAND<"RestaurantId">;
121
+ placeName: string;
122
+ categoryName: string;
123
+ categoryGroupName: string;
124
+ roadAddressName: string;
125
+ addressName: string;
126
+ phone: string | null;
127
+ placeUrl: string | null;
128
+ lat: number;
129
+ lng: number;
130
+ distance?: string | undefined;
131
+ };
132
+ taggedMemberIds: (number & z.BRAND<"MemberId">)[];
133
+ foodAnalysis?: {
134
+ code: string & z.BRAND<"FoodCode">;
135
+ label: string & z.BRAND<"FoodLabel">;
136
+ confidence: number;
137
+ tsUtc?: string | undefined;
138
+ } | undefined;
139
+ }, {
140
+ imageUrl: string;
141
+ mealDate: string;
142
+ restaurant: {
143
+ restaurantId: string;
144
+ placeName: string;
145
+ categoryName: string;
146
+ categoryGroupName: string;
147
+ roadAddressName: string;
148
+ addressName: string;
149
+ phone: string | null;
150
+ placeUrl: string | null;
151
+ lat: number;
152
+ lng: number;
153
+ distance?: string | undefined;
154
+ };
155
+ taggedMemberIds?: number[] | undefined;
156
+ foodAnalysis?: {
157
+ code: string;
158
+ label: string;
159
+ confidence: number;
160
+ tsUtc?: string | undefined;
161
+ } | undefined;
162
+ }>;
163
+ declare const CreateCommentRequestSchema: z.ZodObject<{
164
+ content: z.ZodString;
165
+ parentCommentId: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodNumber, "CommentId">>>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ content: string;
168
+ parentCommentId?: (number & z.BRAND<"CommentId">) | null | undefined;
169
+ }, {
170
+ content: string;
171
+ parentCommentId?: number | null | undefined;
172
+ }>;
173
+ declare const ArticleCommentSchema: z.ZodObject<{
174
+ commentId: z.ZodBranded<z.ZodNumber, "CommentId">;
175
+ author: z.ZodObject<{
176
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
177
+ username: z.ZodString;
178
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ memberId: number & z.BRAND<"MemberId">;
181
+ username: string;
182
+ profileImageUrl?: string | null | undefined;
183
+ }, {
184
+ memberId: number;
185
+ username: string;
186
+ profileImageUrl?: string | null | undefined;
187
+ }>;
188
+ parentCommentId: z.ZodNullable<z.ZodBranded<z.ZodNumber, "CommentId">>;
189
+ content: z.ZodString;
190
+ createdAt: z.ZodString;
191
+ updatedAt: z.ZodString;
192
+ }, "strip", z.ZodTypeAny, {
193
+ createdAt: string;
194
+ content: string;
195
+ parentCommentId: (number & z.BRAND<"CommentId">) | null;
196
+ commentId: number & z.BRAND<"CommentId">;
197
+ author: {
198
+ memberId: number & z.BRAND<"MemberId">;
199
+ username: string;
200
+ profileImageUrl?: string | null | undefined;
201
+ };
202
+ updatedAt: string;
203
+ }, {
204
+ createdAt: string;
205
+ content: string;
206
+ parentCommentId: number | null;
207
+ commentId: number;
208
+ author: {
209
+ memberId: number;
210
+ username: string;
211
+ profileImageUrl?: string | null | undefined;
212
+ };
213
+ updatedAt: string;
214
+ }>;
215
+ declare const ArticleCoreSchema: z.ZodObject<{
216
+ articleId: z.ZodBranded<z.ZodNumber, "ArticleId">;
217
+ author: z.ZodObject<{
218
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
219
+ username: z.ZodString;
220
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ memberId: number & z.BRAND<"MemberId">;
223
+ username: string;
224
+ profileImageUrl?: string | null | undefined;
225
+ }, {
226
+ memberId: number;
227
+ username: string;
228
+ profileImageUrl?: string | null | undefined;
229
+ }>;
230
+ imageUrl: z.ZodString;
231
+ mealDate: z.ZodString;
232
+ restaurant: z.ZodObject<{
233
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
234
+ placeName: z.ZodString;
235
+ categoryName: z.ZodString;
236
+ categoryGroupName: z.ZodString;
237
+ distance: z.ZodOptional<z.ZodString>;
238
+ roadAddressName: z.ZodString;
239
+ addressName: z.ZodString;
240
+ phone: z.ZodNullable<z.ZodString>;
241
+ placeUrl: z.ZodNullable<z.ZodString>;
242
+ lat: z.ZodNumber;
243
+ lng: z.ZodNumber;
244
+ }, "strip", z.ZodTypeAny, {
245
+ restaurantId: string & z.BRAND<"RestaurantId">;
246
+ placeName: string;
247
+ categoryName: string;
248
+ categoryGroupName: string;
249
+ roadAddressName: string;
250
+ addressName: string;
251
+ phone: string | null;
252
+ placeUrl: string | null;
253
+ lat: number;
254
+ lng: number;
255
+ distance?: string | undefined;
256
+ }, {
257
+ restaurantId: string;
258
+ placeName: string;
259
+ categoryName: string;
260
+ categoryGroupName: string;
261
+ roadAddressName: string;
262
+ addressName: string;
263
+ phone: string | null;
264
+ placeUrl: string | null;
265
+ lat: number;
266
+ lng: number;
267
+ distance?: string | undefined;
268
+ }>;
269
+ createdAt: z.ZodString;
270
+ updatedAt: z.ZodString;
271
+ expiresAt: z.ZodString;
272
+ taggedMembers: z.ZodArray<z.ZodObject<{
273
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
274
+ username: z.ZodString;
275
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ memberId: number & z.BRAND<"MemberId">;
278
+ username: string;
279
+ profileImageUrl?: string | null | undefined;
280
+ }, {
281
+ memberId: number;
282
+ username: string;
283
+ profileImageUrl?: string | null | undefined;
284
+ }>, "many">;
285
+ }, "strip", z.ZodTypeAny, {
286
+ createdAt: string;
287
+ imageUrl: string;
288
+ mealDate: string;
289
+ restaurant: {
290
+ restaurantId: string & z.BRAND<"RestaurantId">;
291
+ placeName: string;
292
+ categoryName: string;
293
+ categoryGroupName: string;
294
+ roadAddressName: string;
295
+ addressName: string;
296
+ phone: string | null;
297
+ placeUrl: string | null;
298
+ lat: number;
299
+ lng: number;
300
+ distance?: string | undefined;
301
+ };
302
+ author: {
303
+ memberId: number & z.BRAND<"MemberId">;
304
+ username: string;
305
+ profileImageUrl?: string | null | undefined;
306
+ };
307
+ updatedAt: string;
308
+ articleId: number & z.BRAND<"ArticleId">;
309
+ expiresAt: string;
310
+ taggedMembers: {
311
+ memberId: number & z.BRAND<"MemberId">;
312
+ username: string;
313
+ profileImageUrl?: string | null | undefined;
314
+ }[];
315
+ }, {
316
+ createdAt: string;
317
+ imageUrl: string;
318
+ mealDate: string;
319
+ restaurant: {
320
+ restaurantId: string;
321
+ placeName: string;
322
+ categoryName: string;
323
+ categoryGroupName: string;
324
+ roadAddressName: string;
325
+ addressName: string;
326
+ phone: string | null;
327
+ placeUrl: string | null;
328
+ lat: number;
329
+ lng: number;
330
+ distance?: string | undefined;
331
+ };
332
+ author: {
333
+ memberId: number;
334
+ username: string;
335
+ profileImageUrl?: string | null | undefined;
336
+ };
337
+ updatedAt: string;
338
+ articleId: number;
339
+ expiresAt: string;
340
+ taggedMembers: {
341
+ memberId: number;
342
+ username: string;
343
+ profileImageUrl?: string | null | undefined;
344
+ }[];
345
+ }>;
346
+ declare const ArticleSummaryResponseSchema: z.ZodObject<{
347
+ articleId: z.ZodBranded<z.ZodNumber, "ArticleId">;
348
+ author: z.ZodObject<{
349
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
350
+ username: z.ZodString;
351
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ memberId: number & z.BRAND<"MemberId">;
354
+ username: string;
355
+ profileImageUrl?: string | null | undefined;
356
+ }, {
357
+ memberId: number;
358
+ username: string;
359
+ profileImageUrl?: string | null | undefined;
360
+ }>;
361
+ imageUrl: z.ZodString;
362
+ mealDate: z.ZodString;
363
+ restaurant: z.ZodObject<{
364
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
365
+ placeName: z.ZodString;
366
+ categoryName: z.ZodString;
367
+ categoryGroupName: z.ZodString;
368
+ distance: z.ZodOptional<z.ZodString>;
369
+ roadAddressName: z.ZodString;
370
+ addressName: z.ZodString;
371
+ phone: z.ZodNullable<z.ZodString>;
372
+ placeUrl: z.ZodNullable<z.ZodString>;
373
+ lat: z.ZodNumber;
374
+ lng: z.ZodNumber;
375
+ }, "strip", z.ZodTypeAny, {
376
+ restaurantId: string & z.BRAND<"RestaurantId">;
377
+ placeName: string;
378
+ categoryName: string;
379
+ categoryGroupName: string;
380
+ roadAddressName: string;
381
+ addressName: string;
382
+ phone: string | null;
383
+ placeUrl: string | null;
384
+ lat: number;
385
+ lng: number;
386
+ distance?: string | undefined;
387
+ }, {
388
+ restaurantId: string;
389
+ placeName: string;
390
+ categoryName: string;
391
+ categoryGroupName: string;
392
+ roadAddressName: string;
393
+ addressName: string;
394
+ phone: string | null;
395
+ placeUrl: string | null;
396
+ lat: number;
397
+ lng: number;
398
+ distance?: string | undefined;
399
+ }>;
400
+ createdAt: z.ZodString;
401
+ updatedAt: z.ZodString;
402
+ expiresAt: z.ZodString;
403
+ taggedMembers: z.ZodArray<z.ZodObject<{
404
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
405
+ username: z.ZodString;
406
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ memberId: number & z.BRAND<"MemberId">;
409
+ username: string;
410
+ profileImageUrl?: string | null | undefined;
411
+ }, {
412
+ memberId: number;
413
+ username: string;
414
+ profileImageUrl?: string | null | undefined;
415
+ }>, "many">;
416
+ } & {
417
+ likeCount: z.ZodNumber;
418
+ commentCount: z.ZodNumber;
419
+ likedByMe: z.ZodBoolean;
420
+ }, "strip", z.ZodTypeAny, {
421
+ createdAt: string;
422
+ likeCount: number;
423
+ commentCount: number;
424
+ imageUrl: string;
425
+ mealDate: string;
426
+ restaurant: {
427
+ restaurantId: string & z.BRAND<"RestaurantId">;
428
+ placeName: string;
429
+ categoryName: string;
430
+ categoryGroupName: string;
431
+ roadAddressName: string;
432
+ addressName: string;
433
+ phone: string | null;
434
+ placeUrl: string | null;
435
+ lat: number;
436
+ lng: number;
437
+ distance?: string | undefined;
438
+ };
439
+ author: {
440
+ memberId: number & z.BRAND<"MemberId">;
441
+ username: string;
442
+ profileImageUrl?: string | null | undefined;
443
+ };
444
+ updatedAt: string;
445
+ articleId: number & z.BRAND<"ArticleId">;
446
+ expiresAt: string;
447
+ taggedMembers: {
448
+ memberId: number & z.BRAND<"MemberId">;
449
+ username: string;
450
+ profileImageUrl?: string | null | undefined;
451
+ }[];
452
+ likedByMe: boolean;
453
+ }, {
454
+ createdAt: string;
455
+ likeCount: number;
456
+ commentCount: number;
457
+ imageUrl: string;
458
+ mealDate: string;
459
+ restaurant: {
460
+ restaurantId: string;
461
+ placeName: string;
462
+ categoryName: string;
463
+ categoryGroupName: string;
464
+ roadAddressName: string;
465
+ addressName: string;
466
+ phone: string | null;
467
+ placeUrl: string | null;
468
+ lat: number;
469
+ lng: number;
470
+ distance?: string | undefined;
471
+ };
472
+ author: {
473
+ memberId: number;
474
+ username: string;
475
+ profileImageUrl?: string | null | undefined;
476
+ };
477
+ updatedAt: string;
478
+ articleId: number;
479
+ expiresAt: string;
480
+ taggedMembers: {
481
+ memberId: number;
482
+ username: string;
483
+ profileImageUrl?: string | null | undefined;
484
+ }[];
485
+ likedByMe: boolean;
486
+ }>;
487
+ declare const ArticleLikeResponseSchema: z.ZodObject<{
488
+ liked: z.ZodBoolean;
489
+ likeCount: z.ZodNumber;
490
+ }, "strip", z.ZodTypeAny, {
491
+ liked: boolean;
492
+ likeCount: number;
493
+ }, {
494
+ liked: boolean;
495
+ likeCount: number;
496
+ }>;
497
+ declare const ArticleDetailResponseSchema: z.ZodObject<{
498
+ articleId: z.ZodBranded<z.ZodNumber, "ArticleId">;
499
+ author: z.ZodObject<{
500
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
501
+ username: z.ZodString;
502
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ memberId: number & z.BRAND<"MemberId">;
505
+ username: string;
506
+ profileImageUrl?: string | null | undefined;
507
+ }, {
508
+ memberId: number;
509
+ username: string;
510
+ profileImageUrl?: string | null | undefined;
511
+ }>;
512
+ imageUrl: z.ZodString;
513
+ mealDate: z.ZodString;
514
+ restaurant: z.ZodObject<{
515
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
516
+ placeName: z.ZodString;
517
+ categoryName: z.ZodString;
518
+ categoryGroupName: z.ZodString;
519
+ distance: z.ZodOptional<z.ZodString>;
520
+ roadAddressName: z.ZodString;
521
+ addressName: z.ZodString;
522
+ phone: z.ZodNullable<z.ZodString>;
523
+ placeUrl: z.ZodNullable<z.ZodString>;
524
+ lat: z.ZodNumber;
525
+ lng: z.ZodNumber;
526
+ }, "strip", z.ZodTypeAny, {
527
+ restaurantId: string & z.BRAND<"RestaurantId">;
528
+ placeName: string;
529
+ categoryName: string;
530
+ categoryGroupName: string;
531
+ roadAddressName: string;
532
+ addressName: string;
533
+ phone: string | null;
534
+ placeUrl: string | null;
535
+ lat: number;
536
+ lng: number;
537
+ distance?: string | undefined;
538
+ }, {
539
+ restaurantId: string;
540
+ placeName: string;
541
+ categoryName: string;
542
+ categoryGroupName: string;
543
+ roadAddressName: string;
544
+ addressName: string;
545
+ phone: string | null;
546
+ placeUrl: string | null;
547
+ lat: number;
548
+ lng: number;
549
+ distance?: string | undefined;
550
+ }>;
551
+ createdAt: z.ZodString;
552
+ updatedAt: z.ZodString;
553
+ expiresAt: z.ZodString;
554
+ taggedMembers: z.ZodArray<z.ZodObject<{
555
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
556
+ username: z.ZodString;
557
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ memberId: number & z.BRAND<"MemberId">;
560
+ username: string;
561
+ profileImageUrl?: string | null | undefined;
562
+ }, {
563
+ memberId: number;
564
+ username: string;
565
+ profileImageUrl?: string | null | undefined;
566
+ }>, "many">;
567
+ } & {
568
+ likeCount: z.ZodNumber;
569
+ commentCount: z.ZodNumber;
570
+ likedByMe: z.ZodBoolean;
571
+ } & {
572
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
573
+ commentId: z.ZodBranded<z.ZodNumber, "CommentId">;
574
+ author: z.ZodObject<{
575
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
576
+ username: z.ZodString;
577
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
+ }, "strip", z.ZodTypeAny, {
579
+ memberId: number & z.BRAND<"MemberId">;
580
+ username: string;
581
+ profileImageUrl?: string | null | undefined;
582
+ }, {
583
+ memberId: number;
584
+ username: string;
585
+ profileImageUrl?: string | null | undefined;
586
+ }>;
587
+ parentCommentId: z.ZodNullable<z.ZodBranded<z.ZodNumber, "CommentId">>;
588
+ content: z.ZodString;
589
+ createdAt: z.ZodString;
590
+ updatedAt: z.ZodString;
591
+ }, "strip", z.ZodTypeAny, {
592
+ createdAt: string;
593
+ content: string;
594
+ parentCommentId: (number & z.BRAND<"CommentId">) | null;
595
+ commentId: number & z.BRAND<"CommentId">;
596
+ author: {
597
+ memberId: number & z.BRAND<"MemberId">;
598
+ username: string;
599
+ profileImageUrl?: string | null | undefined;
600
+ };
601
+ updatedAt: string;
602
+ }, {
603
+ createdAt: string;
604
+ content: string;
605
+ parentCommentId: number | null;
606
+ commentId: number;
607
+ author: {
608
+ memberId: number;
609
+ username: string;
610
+ profileImageUrl?: string | null | undefined;
611
+ };
612
+ updatedAt: string;
613
+ }>, "many">>;
614
+ }, "strip", z.ZodTypeAny, {
615
+ createdAt: string;
616
+ likeCount: number;
617
+ commentCount: number;
618
+ imageUrl: string;
619
+ mealDate: string;
620
+ restaurant: {
621
+ restaurantId: string & z.BRAND<"RestaurantId">;
622
+ placeName: string;
623
+ categoryName: string;
624
+ categoryGroupName: string;
625
+ roadAddressName: string;
626
+ addressName: string;
627
+ phone: string | null;
628
+ placeUrl: string | null;
629
+ lat: number;
630
+ lng: number;
631
+ distance?: string | undefined;
632
+ };
633
+ author: {
634
+ memberId: number & z.BRAND<"MemberId">;
635
+ username: string;
636
+ profileImageUrl?: string | null | undefined;
637
+ };
638
+ updatedAt: string;
639
+ articleId: number & z.BRAND<"ArticleId">;
640
+ expiresAt: string;
641
+ taggedMembers: {
642
+ memberId: number & z.BRAND<"MemberId">;
643
+ username: string;
644
+ profileImageUrl?: string | null | undefined;
645
+ }[];
646
+ likedByMe: boolean;
647
+ comments?: {
648
+ createdAt: string;
649
+ content: string;
650
+ parentCommentId: (number & z.BRAND<"CommentId">) | null;
651
+ commentId: number & z.BRAND<"CommentId">;
652
+ author: {
653
+ memberId: number & z.BRAND<"MemberId">;
654
+ username: string;
655
+ profileImageUrl?: string | null | undefined;
656
+ };
657
+ updatedAt: string;
658
+ }[] | undefined;
659
+ }, {
660
+ createdAt: string;
661
+ likeCount: number;
662
+ commentCount: number;
663
+ imageUrl: string;
664
+ mealDate: string;
665
+ restaurant: {
666
+ restaurantId: string;
667
+ placeName: string;
668
+ categoryName: string;
669
+ categoryGroupName: string;
670
+ roadAddressName: string;
671
+ addressName: string;
672
+ phone: string | null;
673
+ placeUrl: string | null;
674
+ lat: number;
675
+ lng: number;
676
+ distance?: string | undefined;
677
+ };
678
+ author: {
679
+ memberId: number;
680
+ username: string;
681
+ profileImageUrl?: string | null | undefined;
682
+ };
683
+ updatedAt: string;
684
+ articleId: number;
685
+ expiresAt: string;
686
+ taggedMembers: {
687
+ memberId: number;
688
+ username: string;
689
+ profileImageUrl?: string | null | undefined;
690
+ }[];
691
+ likedByMe: boolean;
692
+ comments?: {
693
+ createdAt: string;
694
+ content: string;
695
+ parentCommentId: number | null;
696
+ commentId: number;
697
+ author: {
698
+ memberId: number;
699
+ username: string;
700
+ profileImageUrl?: string | null | undefined;
701
+ };
702
+ updatedAt: string;
703
+ }[] | undefined;
704
+ }>;
705
+ declare const PageArticleSummaryResponseSchema: z.ZodObject<{
706
+ items: z.ZodArray<z.ZodObject<{
707
+ articleId: z.ZodBranded<z.ZodNumber, "ArticleId">;
708
+ author: z.ZodObject<{
709
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
710
+ username: z.ZodString;
711
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ memberId: number & z.BRAND<"MemberId">;
714
+ username: string;
715
+ profileImageUrl?: string | null | undefined;
716
+ }, {
717
+ memberId: number;
718
+ username: string;
719
+ profileImageUrl?: string | null | undefined;
720
+ }>;
721
+ imageUrl: z.ZodString;
722
+ mealDate: z.ZodString;
723
+ restaurant: z.ZodObject<{
724
+ restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
725
+ placeName: z.ZodString;
726
+ categoryName: z.ZodString;
727
+ categoryGroupName: z.ZodString;
728
+ distance: z.ZodOptional<z.ZodString>;
729
+ roadAddressName: z.ZodString;
730
+ addressName: z.ZodString;
731
+ phone: z.ZodNullable<z.ZodString>;
732
+ placeUrl: z.ZodNullable<z.ZodString>;
733
+ lat: z.ZodNumber;
734
+ lng: z.ZodNumber;
735
+ }, "strip", z.ZodTypeAny, {
736
+ restaurantId: string & z.BRAND<"RestaurantId">;
737
+ placeName: string;
738
+ categoryName: string;
739
+ categoryGroupName: string;
740
+ roadAddressName: string;
741
+ addressName: string;
742
+ phone: string | null;
743
+ placeUrl: string | null;
744
+ lat: number;
745
+ lng: number;
746
+ distance?: string | undefined;
747
+ }, {
748
+ restaurantId: string;
749
+ placeName: string;
750
+ categoryName: string;
751
+ categoryGroupName: string;
752
+ roadAddressName: string;
753
+ addressName: string;
754
+ phone: string | null;
755
+ placeUrl: string | null;
756
+ lat: number;
757
+ lng: number;
758
+ distance?: string | undefined;
759
+ }>;
760
+ createdAt: z.ZodString;
761
+ updatedAt: z.ZodString;
762
+ expiresAt: z.ZodString;
763
+ taggedMembers: z.ZodArray<z.ZodObject<{
764
+ memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
765
+ username: z.ZodString;
766
+ profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
767
+ }, "strip", z.ZodTypeAny, {
768
+ memberId: number & z.BRAND<"MemberId">;
769
+ username: string;
770
+ profileImageUrl?: string | null | undefined;
771
+ }, {
772
+ memberId: number;
773
+ username: string;
774
+ profileImageUrl?: string | null | undefined;
775
+ }>, "many">;
776
+ } & {
777
+ likeCount: z.ZodNumber;
778
+ commentCount: z.ZodNumber;
779
+ likedByMe: z.ZodBoolean;
780
+ }, "strip", z.ZodTypeAny, {
781
+ createdAt: string;
782
+ likeCount: number;
783
+ commentCount: number;
784
+ imageUrl: string;
785
+ mealDate: string;
786
+ restaurant: {
787
+ restaurantId: string & z.BRAND<"RestaurantId">;
788
+ placeName: string;
789
+ categoryName: string;
790
+ categoryGroupName: string;
791
+ roadAddressName: string;
792
+ addressName: string;
793
+ phone: string | null;
794
+ placeUrl: string | null;
795
+ lat: number;
796
+ lng: number;
797
+ distance?: string | undefined;
798
+ };
799
+ author: {
800
+ memberId: number & z.BRAND<"MemberId">;
801
+ username: string;
802
+ profileImageUrl?: string | null | undefined;
803
+ };
804
+ updatedAt: string;
805
+ articleId: number & z.BRAND<"ArticleId">;
806
+ expiresAt: string;
807
+ taggedMembers: {
808
+ memberId: number & z.BRAND<"MemberId">;
809
+ username: string;
810
+ profileImageUrl?: string | null | undefined;
811
+ }[];
812
+ likedByMe: boolean;
813
+ }, {
814
+ createdAt: string;
815
+ likeCount: number;
816
+ commentCount: number;
817
+ imageUrl: string;
818
+ mealDate: string;
819
+ restaurant: {
820
+ restaurantId: string;
821
+ placeName: string;
822
+ categoryName: string;
823
+ categoryGroupName: string;
824
+ roadAddressName: string;
825
+ addressName: string;
826
+ phone: string | null;
827
+ placeUrl: string | null;
828
+ lat: number;
829
+ lng: number;
830
+ distance?: string | undefined;
831
+ };
832
+ author: {
833
+ memberId: number;
834
+ username: string;
835
+ profileImageUrl?: string | null | undefined;
836
+ };
837
+ updatedAt: string;
838
+ articleId: number;
839
+ expiresAt: string;
840
+ taggedMembers: {
841
+ memberId: number;
842
+ username: string;
843
+ profileImageUrl?: string | null | undefined;
844
+ }[];
845
+ likedByMe: boolean;
846
+ }>, "many">;
847
+ meta: z.ZodObject<{
848
+ page: z.ZodNumber;
849
+ size: z.ZodNumber;
850
+ totalItems: z.ZodNumber;
851
+ totalPages: z.ZodNumber;
852
+ hasNext: z.ZodBoolean;
853
+ hasPrevious: z.ZodBoolean;
854
+ }, "strip", z.ZodTypeAny, {
855
+ page: number;
856
+ size: number;
857
+ totalItems: number;
858
+ totalPages: number;
859
+ hasNext: boolean;
860
+ hasPrevious: boolean;
861
+ }, {
862
+ page: number;
863
+ size: number;
864
+ totalItems: number;
865
+ totalPages: number;
866
+ hasNext: boolean;
867
+ hasPrevious: boolean;
868
+ }>;
869
+ }, "strip", z.ZodTypeAny, {
870
+ items: {
871
+ createdAt: string;
872
+ likeCount: number;
873
+ commentCount: number;
874
+ imageUrl: string;
875
+ mealDate: string;
876
+ restaurant: {
877
+ restaurantId: string & z.BRAND<"RestaurantId">;
878
+ placeName: string;
879
+ categoryName: string;
880
+ categoryGroupName: string;
881
+ roadAddressName: string;
882
+ addressName: string;
883
+ phone: string | null;
884
+ placeUrl: string | null;
885
+ lat: number;
886
+ lng: number;
887
+ distance?: string | undefined;
888
+ };
889
+ author: {
890
+ memberId: number & z.BRAND<"MemberId">;
891
+ username: string;
892
+ profileImageUrl?: string | null | undefined;
893
+ };
894
+ updatedAt: string;
895
+ articleId: number & z.BRAND<"ArticleId">;
896
+ expiresAt: string;
897
+ taggedMembers: {
898
+ memberId: number & z.BRAND<"MemberId">;
899
+ username: string;
900
+ profileImageUrl?: string | null | undefined;
901
+ }[];
902
+ likedByMe: boolean;
903
+ }[];
904
+ meta: {
905
+ page: number;
906
+ size: number;
907
+ totalItems: number;
908
+ totalPages: number;
909
+ hasNext: boolean;
910
+ hasPrevious: boolean;
911
+ };
912
+ }, {
913
+ items: {
914
+ createdAt: string;
915
+ likeCount: number;
916
+ commentCount: number;
917
+ imageUrl: string;
918
+ mealDate: string;
919
+ restaurant: {
920
+ restaurantId: string;
921
+ placeName: string;
922
+ categoryName: string;
923
+ categoryGroupName: string;
924
+ roadAddressName: string;
925
+ addressName: string;
926
+ phone: string | null;
927
+ placeUrl: string | null;
928
+ lat: number;
929
+ lng: number;
930
+ distance?: string | undefined;
931
+ };
932
+ author: {
933
+ memberId: number;
934
+ username: string;
935
+ profileImageUrl?: string | null | undefined;
936
+ };
937
+ updatedAt: string;
938
+ articleId: number;
939
+ expiresAt: string;
940
+ taggedMembers: {
941
+ memberId: number;
942
+ username: string;
943
+ profileImageUrl?: string | null | undefined;
944
+ }[];
945
+ likedByMe: boolean;
946
+ }[];
947
+ meta: {
948
+ page: number;
949
+ size: number;
950
+ totalItems: number;
951
+ totalPages: number;
952
+ hasNext: boolean;
953
+ hasPrevious: boolean;
954
+ };
955
+ }>;
956
+
957
+ type CreateArticleRequest = z.infer<typeof CreateArticleRequestSchema>;
958
+ type CreateCommentRequest = z.infer<typeof CreateCommentRequestSchema>;
959
+ type ArticleSortBy = z.infer<typeof ArticleSortBySchema>;
960
+ type ArticleListQueryRequest = z.infer<typeof ArticleListQuerySchema>;
961
+ type FoodAnalysisResult = z.infer<typeof FoodAnalysisResultSchema>;
962
+ type ArticleSummaryResponse = z.infer<typeof ArticleSummaryResponseSchema>;
963
+ type ArticleLikeResponse = z.infer<typeof ArticleLikeResponseSchema>;
964
+ type ArticleDetailResponse = z.infer<typeof ArticleDetailResponseSchema>;
965
+ type PageArticleSummaryResponse = z.infer<typeof PageArticleSummaryResponseSchema>;
966
+ type UploadArticleImageResponse = z.infer<typeof UploadArticleImageResponseSchema>;
967
+ type UploadArticleImageeRquest = z.infer<typeof UploadArticleImageRequestSchema>;
968
+ type ArticleCore = z.infer<typeof ArticleCoreSchema>;
969
+ type ArticleComment = z.infer<typeof ArticleCommentSchema>;
970
+
971
+ export { type ArticleComment, ArticleCommentSchema, type ArticleCore, ArticleCoreSchema, type ArticleDetailResponse, ArticleDetailResponseSchema, type ArticleLikeResponse, ArticleLikeResponseSchema, type ArticleListQueryRequest, ArticleListQuerySchema, type ArticleSortBy, ArticleSortBySchema, type ArticleSummaryResponse, ArticleSummaryResponseSchema, type CreateArticleRequest, CreateArticleRequestSchema, type CreateCommentRequest, CreateCommentRequestSchema, type FoodAnalysisResult, FoodAnalysisResultSchema, type PageArticleSummaryResponse, PageArticleSummaryResponseSchema, UploadArticleImageRequestSchema, type UploadArticleImageResponse, UploadArticleImageResponseSchema, type UploadArticleImageeRquest };