@kimdaegyu/babmukdang-shared 1.1.0 → 1.1.3

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