@kimdaegyu/babmukdang-shared 1.1.11 → 2.0.2

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 (100) hide show
  1. package/dist/chunk-3BLXZW4U.js +338 -0
  2. package/dist/{chunk-AI2YMBJX.js → chunk-65DWKLP6.js} +18 -9
  3. package/dist/{chunk-H77ISYYC.js → chunk-6R5CCY5Q.js} +22 -8
  4. package/dist/{chunk-4E5E3PFW.js → chunk-DRCY5UNQ.js} +20 -7
  5. package/dist/chunk-EX7S5FI5.js +91 -0
  6. package/dist/{chunk-HRM3FQPL.js → chunk-EYZU5HPG.js} +4 -1
  7. package/dist/{chunk-OJVXYCSH.js → chunk-G7TITUHT.js} +1 -1
  8. package/dist/chunk-GESEM4IA.js +122 -0
  9. package/dist/chunk-IPANLE7B.js +632 -0
  10. package/dist/chunk-KREAZLLH.js +1062 -0
  11. package/dist/{chunk-K3CZKI2F.js → chunk-P3MYMK34.js} +24 -13
  12. package/dist/chunk-Q4BPFDVB.js +171 -0
  13. package/dist/{chunk-W4C7XHTX.js → chunk-QUAG5LF5.js} +13 -6
  14. package/dist/chunk-TIOX7OHA.js +863 -0
  15. package/dist/{chunk-GTVEQYJW.js → chunk-TOXRHSD6.js} +1 -1
  16. package/dist/chunk-YV734GYZ.js +165 -0
  17. package/dist/domain/article/index.cjs +107 -15
  18. package/dist/domain/article/index.d.cts +79 -796
  19. package/dist/domain/article/index.d.ts +79 -796
  20. package/dist/domain/article/index.js +5 -5
  21. package/dist/domain/auth/index.cjs +88 -9
  22. package/dist/domain/auth/index.d.cts +6 -46
  23. package/dist/domain/auth/index.d.ts +6 -46
  24. package/dist/domain/auth/index.js +3 -3
  25. package/dist/domain/common/index.cjs +2100 -395
  26. package/dist/domain/common/index.d.cts +212 -3037
  27. package/dist/domain/common/index.d.ts +212 -3037
  28. package/dist/domain/common/index.js +65 -31
  29. package/dist/domain/food/index.cjs +248 -0
  30. package/dist/domain/food/index.d.cts +321 -0
  31. package/dist/domain/food/index.d.ts +321 -0
  32. package/dist/domain/food/index.js +44 -0
  33. package/dist/domain/friend/index.cjs +108 -12
  34. package/dist/domain/friend/index.d.cts +39 -98
  35. package/dist/domain/friend/index.d.ts +39 -98
  36. package/dist/domain/friend/index.js +6 -4
  37. package/dist/domain/index.cjs +2736 -522
  38. package/dist/domain/index.d.cts +383 -123
  39. package/dist/domain/index.d.ts +383 -123
  40. package/dist/domain/index.js +429 -140
  41. package/dist/domain/live-activity/index.cjs +1061 -0
  42. package/dist/domain/live-activity/index.d.cts +177 -0
  43. package/dist/domain/live-activity/index.d.ts +177 -0
  44. package/dist/domain/live-activity/index.js +27 -0
  45. package/dist/domain/meal/index.cjs +101 -12
  46. package/dist/domain/meal/index.d.cts +21 -40
  47. package/dist/domain/meal/index.d.ts +21 -40
  48. package/dist/domain/meal/index.js +4 -4
  49. package/dist/domain/meal-plan/index.cjs +1504 -0
  50. package/dist/domain/meal-plan/index.d.cts +4424 -0
  51. package/dist/domain/meal-plan/index.d.ts +4424 -0
  52. package/dist/domain/meal-plan/index.js +256 -0
  53. package/dist/domain/member/index.cjs +114 -9
  54. package/dist/domain/member/index.d.cts +263 -273
  55. package/dist/domain/member/index.d.ts +263 -273
  56. package/dist/domain/member/index.js +26 -2
  57. package/dist/domain/promotion/index.cjs +26 -8
  58. package/dist/domain/promotion/index.d.cts +35 -112
  59. package/dist/domain/promotion/index.d.ts +35 -112
  60. package/dist/domain/promotion/index.js +3 -3
  61. package/dist/domain/push/index.cjs +1004 -0
  62. package/dist/domain/push/index.d.cts +169 -0
  63. package/dist/domain/push/index.d.ts +169 -0
  64. package/dist/domain/push/index.js +35 -0
  65. package/dist/domain/restaurant/index.cjs +10 -4
  66. package/dist/domain/restaurant/index.d.cts +27 -1
  67. package/dist/domain/restaurant/index.d.ts +27 -1
  68. package/dist/domain/restaurant/index.js +2 -2
  69. package/dist/index.cjs +2535 -464
  70. package/dist/index.d.cts +5 -7
  71. package/dist/index.d.ts +5 -7
  72. package/dist/index.js +16 -15
  73. package/package.json +52 -55
  74. package/dist/chunk-PFSZSKD5.js +0 -0
  75. package/dist/chunk-PQMEXOPZ.js +0 -232
  76. package/dist/chunk-W4TUW2GY.js +0 -40
  77. package/dist/chunk-WNYCCQM4.js +0 -342
  78. package/dist/chunk-YGFAVC5N.js +0 -34
  79. package/dist/chunk-YM7YU7IR.js +0 -319
  80. package/dist/chunk-ZH7D7B2Y.js +0 -78
  81. package/dist/domain/invitation/index.cjs +0 -82
  82. package/dist/domain/invitation/index.d.cts +0 -64
  83. package/dist/domain/invitation/index.d.ts +0 -64
  84. package/dist/domain/invitation/index.js +0 -13
  85. package/dist/domain/plan/index.cjs +0 -327
  86. package/dist/domain/plan/index.d.cts +0 -178
  87. package/dist/domain/plan/index.d.ts +0 -178
  88. package/dist/domain/plan/index.js +0 -18
  89. package/dist/domain/recruit/index.cjs +0 -189
  90. package/dist/domain/recruit/index.d.cts +0 -214
  91. package/dist/domain/recruit/index.d.ts +0 -214
  92. package/dist/domain/recruit/index.js +0 -30
  93. package/dist/domain/room/index.cjs +0 -401
  94. package/dist/domain/room/index.d.cts +0 -2643
  95. package/dist/domain/room/index.d.ts +0 -2643
  96. package/dist/domain/room/index.js +0 -82
  97. package/dist/id-dAYxfjZn.d.cts +0 -64
  98. package/dist/id-dAYxfjZn.d.ts +0 -64
  99. package/dist/restaurant.schema-CuEcX3S3.d.cts +0 -78
  100. package/dist/restaurant.schema-CuEcX3S3.d.ts +0 -78
@@ -1,65 +1,42 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const ArticleSortBySchema: z.ZodEnum<["createdAt", "likeCount", "commentCount"]>;
3
+ declare const ArticleSortBySchema: z.ZodEnum<{
4
+ createdAt: "createdAt";
5
+ likeCount: "likeCount";
6
+ commentCount: "commentCount";
7
+ }>;
4
8
  declare const ArticleListQuerySchema: z.ZodObject<{
5
9
  page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6
10
  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
- }>;
11
+ sortBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
12
+ createdAt: "createdAt";
13
+ likeCount: "likeCount";
14
+ commentCount: "commentCount";
15
+ }>>>;
16
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
17
+ asc: "asc";
18
+ desc: "desc";
19
+ }>>>;
20
+ }, z.core.$strip>;
21
21
  declare const UploadArticleImageResponseSchema: z.ZodObject<{
22
22
  key: z.ZodString;
23
23
  putUrl: z.ZodString;
24
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
- }>;
25
+ }, z.core.$strip>;
34
26
  declare const UploadArticleImageRequestSchema: z.ZodObject<{
35
27
  contentType: z.ZodString;
36
- }, "strip", z.ZodTypeAny, {
37
- contentType: string;
38
- }, {
39
- contentType: string;
40
- }>;
28
+ }, z.core.$strip>;
41
29
  declare const FoodAnalysisResultSchema: z.ZodObject<{
42
- code: z.ZodBranded<z.ZodString, "FoodCode">;
43
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
44
- } & {
30
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
31
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
45
32
  confidence: z.ZodNumber;
46
33
  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
- }>;
34
+ }, z.core.$strip>;
58
35
  declare const CreateArticleRequestSchema: z.ZodObject<{
59
36
  imageUrl: z.ZodString;
60
37
  mealDate: z.ZodString;
61
38
  restaurant: z.ZodObject<{
62
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
39
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
63
40
  placeName: z.ZodString;
64
41
  categoryName: z.ZodString;
65
42
  categoryGroupName: z.ZodString;
@@ -70,167 +47,43 @@ declare const CreateArticleRequestSchema: z.ZodObject<{
70
47
  placeUrl: z.ZodNullable<z.ZodString>;
71
48
  lat: z.ZodNumber;
72
49
  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">>;
50
+ }, z.core.$strip>;
51
+ taggedMemberIds: z.ZodDefault<z.ZodArray<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>>;
99
52
  foodAnalysis: z.ZodOptional<z.ZodObject<{
100
- code: z.ZodBranded<z.ZodString, "FoodCode">;
101
- label: z.ZodBranded<z.ZodString, "FoodLabel">;
102
- } & {
53
+ code: z.core.$ZodBranded<z.ZodString, "FoodCode", "out">;
54
+ label: z.core.$ZodBranded<z.ZodString, "FoodLabel", "out">;
103
55
  confidence: z.ZodNumber;
104
56
  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
- }>;
57
+ }, z.core.$strip>>;
58
+ mealPlanId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">>;
59
+ }, z.core.$strip>;
163
60
  declare const CreateCommentRequestSchema: z.ZodObject<{
164
61
  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
- }>;
62
+ parentCommentId: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "CommentId", "out">>>;
63
+ }, z.core.$strip>;
173
64
  declare const ArticleCommentSchema: z.ZodObject<{
174
- commentId: z.ZodBranded<z.ZodNumber, "CommentId">;
65
+ commentId: z.core.$ZodBranded<z.ZodNumber, "CommentId", "out">;
175
66
  author: z.ZodObject<{
176
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
67
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
177
68
  username: z.ZodString;
178
69
  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">>;
70
+ }, z.core.$strip>;
71
+ parentCommentId: z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "CommentId", "out">>;
189
72
  content: z.ZodString;
190
73
  createdAt: z.ZodString;
191
74
  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
- }>;
75
+ }, z.core.$strip>;
215
76
  declare const ArticleCoreSchema: z.ZodObject<{
216
- articleId: z.ZodBranded<z.ZodNumber, "ArticleId">;
77
+ articleId: z.core.$ZodBranded<z.ZodNumber, "ArticleId", "out">;
217
78
  author: z.ZodObject<{
218
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
79
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
219
80
  username: z.ZodString;
220
81
  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
- }>;
82
+ }, z.core.$strip>;
230
83
  imageUrl: z.ZodString;
231
84
  mealDate: z.ZodString;
232
85
  restaurant: z.ZodObject<{
233
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
86
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
234
87
  placeName: z.ZodString;
235
88
  categoryName: z.ZodString;
236
89
  categoryGroupName: z.ZodString;
@@ -241,127 +94,28 @@ declare const ArticleCoreSchema: z.ZodObject<{
241
94
  placeUrl: z.ZodNullable<z.ZodString>;
242
95
  lat: z.ZodNumber;
243
96
  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
- }>;
97
+ }, z.core.$strip>;
98
+ mealPlanId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">>;
269
99
  createdAt: z.ZodString;
270
100
  updatedAt: z.ZodString;
271
101
  expiresAt: z.ZodString;
272
102
  taggedMembers: z.ZodArray<z.ZodObject<{
273
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
103
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
274
104
  username: z.ZodString;
275
105
  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
- }>;
106
+ }, z.core.$strip>>;
107
+ }, z.core.$strip>;
346
108
  declare const ArticleSummaryResponseSchema: z.ZodObject<{
347
- articleId: z.ZodBranded<z.ZodNumber, "ArticleId">;
109
+ articleId: z.core.$ZodBranded<z.ZodNumber, "ArticleId", "out">;
348
110
  author: z.ZodObject<{
349
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
111
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
350
112
  username: z.ZodString;
351
113
  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
- }>;
114
+ }, z.core.$strip>;
361
115
  imageUrl: z.ZodString;
362
116
  mealDate: z.ZodString;
363
117
  restaurant: z.ZodObject<{
364
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
118
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
365
119
  placeName: z.ZodString;
366
120
  categoryName: z.ZodString;
367
121
  categoryGroupName: z.ZodString;
@@ -372,147 +126,35 @@ declare const ArticleSummaryResponseSchema: z.ZodObject<{
372
126
  placeUrl: z.ZodNullable<z.ZodString>;
373
127
  lat: z.ZodNumber;
374
128
  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
- }>;
129
+ }, z.core.$strip>;
130
+ mealPlanId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">>;
400
131
  createdAt: z.ZodString;
401
132
  updatedAt: z.ZodString;
402
133
  expiresAt: z.ZodString;
403
134
  taggedMembers: z.ZodArray<z.ZodObject<{
404
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
135
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
405
136
  username: z.ZodString;
406
137
  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
- } & {
138
+ }, z.core.$strip>>;
417
139
  likeCount: z.ZodNumber;
418
140
  commentCount: z.ZodNumber;
419
141
  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
- }>;
142
+ }, z.core.$strip>;
487
143
  declare const ArticleLikeResponseSchema: z.ZodObject<{
488
144
  liked: z.ZodBoolean;
489
145
  likeCount: z.ZodNumber;
490
- }, "strip", z.ZodTypeAny, {
491
- liked: boolean;
492
- likeCount: number;
493
- }, {
494
- liked: boolean;
495
- likeCount: number;
496
- }>;
146
+ }, z.core.$strip>;
497
147
  declare const ArticleDetailResponseSchema: z.ZodObject<{
498
- articleId: z.ZodBranded<z.ZodNumber, "ArticleId">;
148
+ articleId: z.core.$ZodBranded<z.ZodNumber, "ArticleId", "out">;
499
149
  author: z.ZodObject<{
500
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
150
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
501
151
  username: z.ZodString;
502
152
  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
- }>;
153
+ }, z.core.$strip>;
512
154
  imageUrl: z.ZodString;
513
155
  mealDate: z.ZodString;
514
156
  restaurant: z.ZodObject<{
515
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
157
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
516
158
  placeName: z.ZodString;
517
159
  categoryName: z.ZodString;
518
160
  categoryGroupName: z.ZodString;
@@ -523,205 +165,44 @@ declare const ArticleDetailResponseSchema: z.ZodObject<{
523
165
  placeUrl: z.ZodNullable<z.ZodString>;
524
166
  lat: z.ZodNumber;
525
167
  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
- }>;
168
+ }, z.core.$strip>;
169
+ mealPlanId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">>;
551
170
  createdAt: z.ZodString;
552
171
  updatedAt: z.ZodString;
553
172
  expiresAt: z.ZodString;
554
173
  taggedMembers: z.ZodArray<z.ZodObject<{
555
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
174
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
556
175
  username: z.ZodString;
557
176
  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
- } & {
177
+ }, z.core.$strip>>;
568
178
  likeCount: z.ZodNumber;
569
179
  commentCount: z.ZodNumber;
570
180
  likedByMe: z.ZodBoolean;
571
- } & {
572
181
  comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
573
- commentId: z.ZodBranded<z.ZodNumber, "CommentId">;
182
+ commentId: z.core.$ZodBranded<z.ZodNumber, "CommentId", "out">;
574
183
  author: z.ZodObject<{
575
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
184
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
576
185
  username: z.ZodString;
577
186
  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">>;
187
+ }, z.core.$strip>;
188
+ parentCommentId: z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "CommentId", "out">>;
588
189
  content: z.ZodString;
589
190
  createdAt: z.ZodString;
590
191
  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
- }>;
192
+ }, z.core.$strip>>>;
193
+ }, z.core.$strip>;
705
194
  declare const PageArticleSummaryResponseSchema: z.ZodObject<{
706
195
  items: z.ZodArray<z.ZodObject<{
707
- articleId: z.ZodBranded<z.ZodNumber, "ArticleId">;
196
+ articleId: z.core.$ZodBranded<z.ZodNumber, "ArticleId", "out">;
708
197
  author: z.ZodObject<{
709
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
198
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
710
199
  username: z.ZodString;
711
200
  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
- }>;
201
+ }, z.core.$strip>;
721
202
  imageUrl: z.ZodString;
722
203
  mealDate: z.ZodString;
723
204
  restaurant: z.ZodObject<{
724
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
205
+ restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
725
206
  placeName: z.ZodString;
726
207
  categoryName: z.ZodString;
727
208
  categoryGroupName: z.ZodString;
@@ -732,118 +213,20 @@ declare const PageArticleSummaryResponseSchema: z.ZodObject<{
732
213
  placeUrl: z.ZodNullable<z.ZodString>;
733
214
  lat: z.ZodNumber;
734
215
  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
- }>;
216
+ }, z.core.$strip>;
217
+ mealPlanId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">>;
760
218
  createdAt: z.ZodString;
761
219
  updatedAt: z.ZodString;
762
220
  expiresAt: z.ZodString;
763
221
  taggedMembers: z.ZodArray<z.ZodObject<{
764
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
222
+ memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
765
223
  username: z.ZodString;
766
224
  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
- } & {
225
+ }, z.core.$strip>>;
777
226
  likeCount: z.ZodNumber;
778
227
  commentCount: z.ZodNumber;
779
228
  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">;
229
+ }, z.core.$strip>>;
847
230
  meta: z.ZodObject<{
848
231
  page: z.ZodNumber;
849
232
  size: z.ZodNumber;
@@ -851,108 +234,8 @@ declare const PageArticleSummaryResponseSchema: z.ZodObject<{
851
234
  totalPages: z.ZodNumber;
852
235
  hasNext: z.ZodBoolean;
853
236
  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
- }>;
237
+ }, z.core.$strip>;
238
+ }, z.core.$strip>;
956
239
 
957
240
  type CreateArticleRequest = z.infer<typeof CreateArticleRequestSchema>;
958
241
  type CreateCommentRequest = z.infer<typeof CreateCommentRequestSchema>;