@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,7 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
8
  var __export = (target, all) => {
7
9
  for (var name in all)
@@ -15,27 +17,35 @@ var __copyProps = (to, from, except, desc) => {
15
17
  }
16
18
  return to;
17
19
  };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
18
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
29
 
20
30
  // src/domain/article/index.ts
21
31
  var article_exports = {};
22
32
  __export(article_exports, {
33
+ ArticleCommentSchema: () => ArticleCommentSchema,
23
34
  ArticleCoreSchema: () => ArticleCoreSchema,
24
35
  ArticleDetailResponseSchema: () => ArticleDetailResponseSchema,
25
- ArticlePostRequestSchema: () => ArticlePostRequestSchema,
36
+ ArticleListQuerySchema: () => ArticleListQuerySchema,
37
+ ArticleSortBySchema: () => ArticleSortBySchema,
26
38
  ArticleSummaryResponseSchema: () => ArticleSummaryResponseSchema,
27
- CommentPostRequestSchema: () => CommentPostRequestSchema,
28
- CommentResponseSchema: () => CommentResponseSchema,
29
- CreateArticleResponseSchema: () => CreateArticleResponseSchema,
30
- CreateCommentResponseSchema: () => CreateCommentResponseSchema,
39
+ CreateArticleRequestSchema: () => CreateArticleRequestSchema,
40
+ CreateCommentRequestSchema: () => CreateCommentRequestSchema,
31
41
  FoodAnalysisResultSchema: () => FoodAnalysisResultSchema,
32
42
  PageArticleSummaryResponseSchema: () => PageArticleSummaryResponseSchema,
33
- PresignUploadResponseSchema: () => PresignUploadResponseSchema
43
+ PresignArticleResponseSchema: () => PresignArticleResponseSchema
34
44
  });
35
45
  module.exports = __toCommonJS(article_exports);
36
46
 
37
- // src/domain/article/schema/article.schema.ts
38
- var import_zod6 = require("zod");
47
+ // src/domain/article/article.schema.ts
48
+ var import_zod7 = require("zod");
39
49
 
40
50
  // src/domain/common/schema/date.schema.ts
41
51
  var import_zod = require("zod");
@@ -60,191 +70,174 @@ var CouponIdSchema = PositiveIntIdSchema.brand();
60
70
  var SubscriptionIdSchema = PositiveIntIdSchema.brand();
61
71
  var FriendRequestIdSchema = PositiveIntIdSchema.brand();
62
72
  var ReferralCodeSchema = import_zod2.z.string().min(4).max(64).brand();
73
+ var FoodCodeSchema = NonEmptyStringIdSchema.brand();
74
+ var FoodLabelSchema = NonEmptyStringIdSchema.brand();
75
+ var FoodSchema = import_zod2.z.object({
76
+ code: FoodCodeSchema,
77
+ label: FoodLabelSchema
78
+ });
63
79
 
64
80
  // src/domain/common/schema/pagination.schema.ts
65
81
  var import_zod3 = require("zod");
66
- var PageRequestSchema = import_zod3.z.object({
67
- page: import_zod3.z.number().int().min(0).default(0),
68
- size: import_zod3.z.number().int().min(1).max(100).default(20)
69
- });
70
- var SortObjectSchema = import_zod3.z.object({
71
- empty: import_zod3.z.boolean(),
72
- sorted: import_zod3.z.boolean(),
73
- unsorted: import_zod3.z.boolean()
74
- });
75
- var PageableObjectSchema = import_zod3.z.object({
76
- offset: import_zod3.z.number().int().min(0),
77
- sort: SortObjectSchema,
78
- paged: import_zod3.z.boolean(),
79
- pageNumber: import_zod3.z.number().int().min(0),
80
- pageSize: import_zod3.z.number().int().min(1),
81
- unpaged: import_zod3.z.boolean()
82
+ var PageQuerySchema = import_zod3.z.object({
83
+ page: import_zod3.z.number().int().min(0).optional().default(0),
84
+ size: import_zod3.z.number().int().min(1).max(100).optional().default(20)
85
+ });
86
+ var PageMetaSchema = import_zod3.z.object({
87
+ page: import_zod3.z.number().int().min(0),
88
+ size: import_zod3.z.number().int().min(1),
89
+ totalItems: import_zod3.z.number().int().min(0),
90
+ totalPages: import_zod3.z.number().int().min(0),
91
+ hasNext: import_zod3.z.boolean(),
92
+ hasPrevious: import_zod3.z.boolean()
82
93
  });
83
94
  var PageResponseSchema = (item) => import_zod3.z.object({
84
- totalElements: import_zod3.z.number().int().min(0),
85
- totalPages: import_zod3.z.number().int().min(0),
86
- first: import_zod3.z.boolean(),
87
- size: import_zod3.z.number().int().min(0),
88
- content: import_zod3.z.array(item),
89
- number: import_zod3.z.number().int().min(0),
90
- sort: SortObjectSchema,
91
- numberOfElements: import_zod3.z.number().int().min(0),
92
- pageable: PageableObjectSchema,
93
- last: import_zod3.z.boolean(),
94
- empty: import_zod3.z.boolean()
95
+ items: import_zod3.z.array(item),
96
+ meta: PageMetaSchema
95
97
  });
98
+ var SortDirectionSchema = import_zod3.z.enum(["asc", "desc"]);
96
99
 
97
- // src/domain/member/schema/member.schema.ts
98
- var import_zod4 = require("zod");
99
- var MemberRoleSchema = import_zod4.z.enum(["USER", "ADMIN"]);
100
- var MemberCoreSchema = import_zod4.z.object({
100
+ // src/domain/member/member.schema.ts
101
+ var import_zod5 = require("zod");
102
+
103
+ // src/domain/common/contracts/upload.ts
104
+ var import_zod4 = __toESM(require("zod"), 1);
105
+ var PresignUploadResponseSchema = import_zod4.default.object({
106
+ key: import_zod4.default.string(),
107
+ putUrl: import_zod4.default.string().url(),
108
+ cdnUrl: import_zod4.default.string().url()
109
+ });
110
+
111
+ // src/domain/member/member.schema.ts
112
+ var MemberRoleSchema = import_zod5.z.enum(["USER", "ADMIN"]);
113
+ var MemberCoreSchema = import_zod5.z.object({
101
114
  memberId: MemberIdSchema,
102
- username: import_zod4.z.string().min(1).max(50),
103
- profileImageUrl: import_zod4.z.string().url().nullable()
115
+ username: import_zod5.z.string().min(1).max(50),
116
+ profileImageUrl: import_zod5.z.string().url().nullable().optional()
104
117
  });
118
+ var PresignProfileResponseSchema = PresignUploadResponseSchema.extend({});
105
119
  var MemberResponseSchema = MemberCoreSchema.pick({
106
120
  memberId: true,
107
121
  username: true,
108
122
  profileImageUrl: true
109
123
  });
110
- var MemberSummaryResponseSchema = MemberCoreSchema.extend({
111
- friends: import_zod4.z.number().int().min(0).default(0),
112
- completedPlans: import_zod4.z.number().int().min(0).default(0),
113
- uncompletedPlans: import_zod4.z.number().int().min(0).default(0)
114
- });
115
- var AuthPrincipalSchema = import_zod4.z.object({
116
- memberId: MemberIdSchema,
117
- role: MemberRoleSchema
118
- });
119
- var ProfilePreferenceItemSchema = import_zod4.z.object({
120
- code: import_zod4.z.string(),
121
- label: import_zod4.z.string()
122
- });
123
- var ProfileDetailResponseSchema = MemberCoreSchema.extend({
124
- bio: import_zod4.z.string().nullable(),
125
- planCount: import_zod4.z.number().int().min(0),
126
- likes: import_zod4.z.array(ProfilePreferenceItemSchema),
127
- dislikes: import_zod4.z.array(ProfilePreferenceItemSchema),
128
- allergies: import_zod4.z.array(ProfilePreferenceItemSchema)
129
- });
130
- var UpdateProfileRequestSchema = import_zod4.z.object({
131
- username: import_zod4.z.string().min(1).max(50),
132
- profileImageUrl: import_zod4.z.string().url().nullable(),
133
- bio: import_zod4.z.string().max(500).nullable()
134
- });
135
- var OnboardingPreferenceRequestSchema = import_zod4.z.object({
136
- likedCodes: import_zod4.z.array(import_zod4.z.string()),
137
- dislikedCodes: import_zod4.z.array(import_zod4.z.string()),
138
- allergyCodes: import_zod4.z.array(import_zod4.z.string())
139
- });
140
- var OnboardingRequestSchema = UpdateProfileRequestSchema.merge(
141
- OnboardingPreferenceRequestSchema
124
+ var MemberSearchQuerySchema = import_zod5.z.object({
125
+ email: import_zod5.z.string().email().optional(),
126
+ username: import_zod5.z.string().optional()
127
+ });
128
+ var MemberSerachResponseSchema = import_zod5.z.array(MemberCoreSchema);
129
+ var MemberDetailSchema = MemberCoreSchema.extend({
130
+ bio: import_zod5.z.string().nullable(),
131
+ friendConunt: import_zod5.z.number().int().min(0).default(0),
132
+ completedPlans: import_zod5.z.number().int().min(0).default(0),
133
+ uncompletedPlans: import_zod5.z.number().int().min(0).default(0)
134
+ });
135
+ var FoodPreferenceItemSchema = FoodSchema.extend({});
136
+ var MemberFoodPreferenceSchema = import_zod5.z.object({
137
+ liked: import_zod5.z.array(FoodPreferenceItemSchema).optional(),
138
+ disliked: import_zod5.z.array(FoodPreferenceItemSchema).optional(),
139
+ allergy: import_zod5.z.array(FoodPreferenceItemSchema).optional()
140
+ });
141
+ var UpdateProfileRequestSchema = import_zod5.z.object({
142
+ username: import_zod5.z.string().min(1).max(50),
143
+ profileImageUrl: import_zod5.z.string().url().nullable(),
144
+ bio: import_zod5.z.string().max(500).nullable()
145
+ });
146
+ var UpdatePreferenceRequestSchema = MemberFoodPreferenceSchema;
147
+ var CreateProfileRequestSchema = UpdateProfileRequestSchema.merge(
148
+ UpdatePreferenceRequestSchema
142
149
  );
143
- var PreferenceMetaResponseSchema = import_zod4.z.object({
144
- onboardedAt: ISODateTimeStringSchema.nullable(),
145
- lastUpdatedAt: ISODateTimeStringSchema.nullable(),
146
- revision: import_zod4.z.number().int().min(0)
147
- });
148
150
 
149
- // src/domain/restaurant/schema/restaurant.schema.ts
150
- var import_zod5 = require("zod");
151
- var RestaurantSchema = import_zod5.z.object({
151
+ // src/domain/restaurant/restaurant.schema.ts
152
+ var import_zod6 = require("zod");
153
+ var RestaurantSchema = import_zod6.z.object({
152
154
  restaurantId: RestaurantIdSchema,
153
- placeName: import_zod5.z.string(),
154
- categoryName: import_zod5.z.string(),
155
- categoryGroupName: import_zod5.z.string(),
156
- distance: import_zod5.z.string().optional(),
157
- roadAddressName: import_zod5.z.string(),
158
- addressName: import_zod5.z.string(),
159
- phone: import_zod5.z.string().nullable(),
160
- placeUrl: import_zod5.z.string().url().nullable(),
161
- lat: import_zod5.z.number(),
162
- lng: import_zod5.z.number()
163
- });
164
- var KakaoPlaceRawSchema = import_zod5.z.object({
155
+ placeName: import_zod6.z.string(),
156
+ categoryName: import_zod6.z.string(),
157
+ categoryGroupName: import_zod6.z.string(),
158
+ distance: import_zod6.z.string().optional(),
159
+ roadAddressName: import_zod6.z.string(),
160
+ addressName: import_zod6.z.string(),
161
+ phone: import_zod6.z.string().nullable(),
162
+ placeUrl: import_zod6.z.string().url().nullable(),
163
+ lat: import_zod6.z.number(),
164
+ lng: import_zod6.z.number()
165
+ });
166
+ var KakaoPlaceRawSchema = import_zod6.z.object({
165
167
  id: RestaurantIdSchema,
166
- place_name: import_zod5.z.string(),
167
- category_name: import_zod5.z.string(),
168
- category_group_name: import_zod5.z.string(),
169
- distance: import_zod5.z.string(),
170
- road_address_name: import_zod5.z.string(),
171
- address_name: import_zod5.z.string(),
172
- phone: import_zod5.z.string(),
173
- place_url: import_zod5.z.string().url().optional(),
174
- lat: import_zod5.z.number(),
175
- lng: import_zod5.z.number()
168
+ place_name: import_zod6.z.string(),
169
+ category_name: import_zod6.z.string(),
170
+ category_group_name: import_zod6.z.string(),
171
+ distance: import_zod6.z.string(),
172
+ road_address_name: import_zod6.z.string(),
173
+ address_name: import_zod6.z.string(),
174
+ phone: import_zod6.z.string(),
175
+ place_url: import_zod6.z.string().url().optional(),
176
+ lat: import_zod6.z.number(),
177
+ lng: import_zod6.z.number()
176
178
  });
177
179
 
178
- // src/domain/article/schema/article.schema.ts
179
- var FoodAnalysisResultSchema = import_zod6.z.object({
180
- code: import_zod6.z.string(),
181
- label: import_zod6.z.string(),
182
- confidence: import_zod6.z.number().min(0).max(1),
180
+ // src/domain/article/article.schema.ts
181
+ var ArticleSortBySchema = import_zod7.z.enum(["createdAt", "likeCount", "commentCount"]);
182
+ var ArticleListQuerySchema = PageQuerySchema.extend({
183
+ sortBy: ArticleSortBySchema.optional().default("createdAt"),
184
+ direction: SortDirectionSchema.optional().default("desc")
185
+ });
186
+ var PresignArticleResponseSchema = PresignUploadResponseSchema.extend({});
187
+ var FoodAnalysisResultSchema = FoodSchema.extend({
188
+ confidence: import_zod7.z.number().min(0).max(1),
183
189
  tsUtc: ISODateTimeStringSchema.optional()
184
190
  });
185
- var ArticlePostRequestSchema = import_zod6.z.object({
186
- imageUrl: import_zod6.z.string().url(),
191
+ var CreateArticleRequestSchema = import_zod7.z.object({
192
+ imageUrl: import_zod7.z.string().url(),
187
193
  mealDate: ISODateStringSchema,
188
194
  restaurant: RestaurantSchema,
189
- taggedMemberIds: import_zod6.z.array(MemberIdSchema).default([]),
195
+ taggedMemberIds: import_zod7.z.array(MemberIdSchema).default([]),
190
196
  foodAnalysis: FoodAnalysisResultSchema.optional()
191
197
  });
192
- var CreateArticleResponseSchema = import_zod6.z.object({
193
- articleId: ArticleIdSchema
194
- });
195
- var CommentPostRequestSchema = import_zod6.z.object({
196
- content: import_zod6.z.string().min(1).max(500),
198
+ var CreateCommentRequestSchema = import_zod7.z.object({
199
+ content: import_zod7.z.string().min(1).max(500),
197
200
  parentCommentId: CommentIdSchema.nullish()
198
201
  });
199
- var CreateCommentResponseSchema = import_zod6.z.object({
200
- commentId: CommentIdSchema
201
- });
202
- var CommentResponseSchema = import_zod6.z.object({
202
+ var ArticleCommentSchema = import_zod7.z.object({
203
203
  commentId: CommentIdSchema,
204
- author: MemberResponseSchema,
204
+ author: MemberCoreSchema,
205
205
  parentCommentId: CommentIdSchema.nullable(),
206
- content: import_zod6.z.string(),
206
+ content: import_zod7.z.string(),
207
207
  createdAt: ISODateTimeStringSchema,
208
208
  updatedAt: ISODateTimeStringSchema
209
209
  });
210
- var ArticleCoreSchema = import_zod6.z.object({
210
+ var ArticleCoreSchema = import_zod7.z.object({
211
211
  articleId: ArticleIdSchema,
212
- author: MemberResponseSchema,
213
- imageUrl: import_zod6.z.string().url(),
212
+ author: MemberCoreSchema,
213
+ imageUrl: import_zod7.z.string().url(),
214
214
  mealDate: ISODateStringSchema,
215
215
  restaurant: RestaurantSchema,
216
216
  createdAt: ISODateTimeStringSchema,
217
217
  updatedAt: ISODateTimeStringSchema,
218
218
  expiresAt: ISODateTimeStringSchema,
219
- taggedMembers: import_zod6.z.array(MemberResponseSchema)
219
+ taggedMembers: import_zod7.z.array(MemberCoreSchema)
220
220
  });
221
221
  var ArticleSummaryResponseSchema = ArticleCoreSchema.extend({
222
- likeCount: import_zod6.z.number().int().min(0),
223
- commentCount: import_zod6.z.number().int().min(0),
224
- likedByMe: import_zod6.z.boolean()
222
+ likeCount: import_zod7.z.number().int().min(0),
223
+ commentCount: import_zod7.z.number().int().min(0),
224
+ likedByMe: import_zod7.z.boolean()
225
225
  });
226
226
  var ArticleDetailResponseSchema = ArticleSummaryResponseSchema.extend({
227
- comments: import_zod6.z.array(CommentResponseSchema).optional()
228
- });
229
- var PageArticleSummaryResponseSchema = PageResponseSchema(
230
- ArticleSummaryResponseSchema
231
- );
232
- var PresignUploadResponseSchema = import_zod6.z.object({
233
- key: import_zod6.z.string(),
234
- putUrl: import_zod6.z.string().url(),
235
- cdnUrl: import_zod6.z.string().url()
227
+ comments: import_zod7.z.array(ArticleCommentSchema).optional()
236
228
  });
229
+ var PageArticleSummaryResponseSchema = PageResponseSchema(ArticleSummaryResponseSchema);
237
230
  // Annotate the CommonJS export names for ESM import in node:
238
231
  0 && (module.exports = {
232
+ ArticleCommentSchema,
239
233
  ArticleCoreSchema,
240
234
  ArticleDetailResponseSchema,
241
- ArticlePostRequestSchema,
235
+ ArticleListQuerySchema,
236
+ ArticleSortBySchema,
242
237
  ArticleSummaryResponseSchema,
243
- CommentPostRequestSchema,
244
- CommentResponseSchema,
245
- CreateArticleResponseSchema,
246
- CreateCommentResponseSchema,
238
+ CreateArticleRequestSchema,
239
+ CreateCommentRequestSchema,
247
240
  FoodAnalysisResultSchema,
248
241
  PageArticleSummaryResponseSchema,
249
- PresignUploadResponseSchema
242
+ PresignArticleResponseSchema
250
243
  });