@kimdaegyu/babmukdang-shared 1.1.11 → 2.0.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 (100) hide show
  1. package/dist/chunk-3TY6OPD3.js +91 -0
  2. package/dist/{chunk-W4C7XHTX.js → chunk-6O2YTBVC.js} +3 -3
  3. package/dist/{chunk-GTVEQYJW.js → chunk-7JYVBXKQ.js} +1 -1
  4. package/dist/chunk-7UZD4LBQ.js +459 -0
  5. package/dist/chunk-BSJC7OVV.js +10 -0
  6. package/dist/chunk-C63TN7L3.js +148 -0
  7. package/dist/chunk-CGFW5LYV.js +143 -0
  8. package/dist/chunk-GOOH2LGN.js +829 -0
  9. package/dist/chunk-LEH6UFL7.js +314 -0
  10. package/dist/{chunk-K3CZKI2F.js → chunk-NENVUHL5.js} +11 -8
  11. package/dist/chunk-OPMBGBYS.js +632 -0
  12. package/dist/{chunk-OJVXYCSH.js → chunk-QFPVAJ2U.js} +1 -1
  13. package/dist/{chunk-AI2YMBJX.js → chunk-RZPNVRRS.js} +5 -5
  14. package/dist/{chunk-4E5E3PFW.js → chunk-VD3VGLBQ.js} +13 -5
  15. package/dist/chunk-WYBFBLQC.js +111 -0
  16. package/dist/{chunk-H77ISYYC.js → chunk-XMRYAG3V.js} +20 -8
  17. package/dist/domain/article/index.cjs +71 -7
  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 +4 -4
  21. package/dist/domain/auth/index.cjs +68 -6
  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 +1438 -330
  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 -30
  29. package/dist/domain/food/index.cjs +225 -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 +46 -0
  33. package/dist/domain/friend/index.cjs +78 -7
  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 +5 -3
  37. package/dist/domain/index.cjs +1930 -456
  38. package/dist/domain/index.d.cts +382 -123
  39. package/dist/domain/index.d.ts +382 -123
  40. package/dist/domain/index.js +429 -140
  41. package/dist/domain/live-activity/index.cjs +1112 -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 +28 -0
  45. package/dist/domain/meal/index.cjs +68 -6
  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 +1540 -0
  50. package/dist/domain/meal-plan/index.d.cts +4523 -0
  51. package/dist/domain/meal-plan/index.d.ts +4523 -0
  52. package/dist/domain/meal-plan/index.js +255 -0
  53. package/dist/domain/member/index.cjs +94 -6
  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 +10 -4
  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 +2 -2
  61. package/dist/domain/push/index.cjs +1055 -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 +36 -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 +1731 -399
  70. package/dist/index.d.cts +5 -7
  71. package/dist/index.d.ts +5 -7
  72. package/dist/index.js +17 -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,327 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
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
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // src/domain/plan/index.ts
31
- var plan_exports = {};
32
- __export(plan_exports, {
33
- PlanListQuerySchema: () => PlanListQuerySchema,
34
- PlanResponseSchema: () => PlanResponseSchema,
35
- PlanStatusSchema: () => PlanStatusSchema,
36
- PlanTypeSchema: () => PlanTypeSchema
37
- });
38
- module.exports = __toCommonJS(plan_exports);
39
-
40
- // src/domain/plan/plan.schema.ts
41
- var import_zod7 = require("zod");
42
-
43
- // src/domain/common/schema/date.schema.ts
44
- var import_zod = require("zod");
45
- var isoDateRegex = /^\d{4}-\d{2}-\d{2}$/;
46
- var ISODateStringSchema = import_zod.z.string().regex(isoDateRegex, "Expected ISO date string in YYYY-MM-DD format");
47
- var ISODateTimeStringSchema = import_zod.z.string().datetime({ offset: true, message: "Expected ISO datetime string" });
48
- var TimeHHmmStringSchema = import_zod.z.string().regex(/^\d{2}:\d{2}$/, "Expected time string in HH:mm format");
49
-
50
- // src/domain/common/schema/id.schema.ts
51
- var import_zod2 = require("zod");
52
- var PositiveIntIdSchema = import_zod2.z.number().int().positive();
53
- var NonEmptyStringIdSchema = import_zod2.z.string().min(1);
54
- var MemberIdSchema = PositiveIntIdSchema.brand();
55
- var ArticleIdSchema = PositiveIntIdSchema.brand();
56
- var CommentIdSchema = PositiveIntIdSchema.brand();
57
- var RecruitIdSchema = PositiveIntIdSchema.brand();
58
- var PlanIdSchema = PositiveIntIdSchema.brand();
59
- var InvitationIdSchema = PositiveIntIdSchema.brand();
60
- var RoomIdSchema = NonEmptyStringIdSchema.brand();
61
- var RestaurantIdSchema = NonEmptyStringIdSchema.brand();
62
- var CouponIdSchema = PositiveIntIdSchema.brand();
63
- var SubscriptionIdSchema = PositiveIntIdSchema.brand();
64
- var FriendRequestIdSchema = PositiveIntIdSchema.brand();
65
- var ReferralCodeSchema = import_zod2.z.string().min(4).max(64).brand();
66
- var FoodCodeSchema = NonEmptyStringIdSchema.brand();
67
- var FoodLabelSchema = NonEmptyStringIdSchema.brand();
68
- var FoodSchema = import_zod2.z.object({
69
- code: FoodCodeSchema,
70
- label: FoodLabelSchema
71
- });
72
-
73
- // src/domain/member/member.schema.ts
74
- var import_zod4 = require("zod");
75
-
76
- // src/domain/common/contracts/upload.ts
77
- var import_zod3 = __toESM(require("zod"), 1);
78
- var UploadPresignImageResponseSchema = import_zod3.default.object({
79
- key: import_zod3.default.string(),
80
- putUrl: import_zod3.default.string().url(),
81
- cdnUrl: import_zod3.default.string().url()
82
- });
83
- var UploadPresignImageRequestSchema = import_zod3.default.object({
84
- contentType: import_zod3.default.string()
85
- });
86
-
87
- // src/domain/member/member.schema.ts
88
- var MemberRoleSchema = import_zod4.z.enum(["USER", "ADMIN"]);
89
- var MemberCoreSchema = import_zod4.z.object({
90
- memberId: MemberIdSchema,
91
- username: import_zod4.z.string().min(1).max(50),
92
- profileImageUrl: import_zod4.z.string().url().nullable().optional()
93
- });
94
- var UploadProfileImageResponseSchema = UploadPresignImageResponseSchema.extend({});
95
- var UploadProfileImageRequestSchema = UploadPresignImageRequestSchema.extend({});
96
- var MemberResponseSchema = MemberCoreSchema.pick({
97
- memberId: true,
98
- username: true,
99
- profileImageUrl: true
100
- });
101
- var MemberSearchQuerySchema = import_zod4.z.object({
102
- email: import_zod4.z.string().email().optional(),
103
- username: import_zod4.z.string().optional()
104
- });
105
- var MemberSerachResponseSchema = import_zod4.z.array(MemberCoreSchema);
106
- var MemberDetailSchema = MemberCoreSchema.extend({
107
- bio: import_zod4.z.string().nullable(),
108
- friendConunt: import_zod4.z.number().int().min(0).default(0),
109
- completedPlans: import_zod4.z.number().int().min(0).default(0),
110
- uncompletedPlans: import_zod4.z.number().int().min(0).default(0)
111
- });
112
- var FoodPreferenceItemSchema = FoodSchema.extend({});
113
- var MemberFoodPreferenceSchema = import_zod4.z.object({
114
- liked: import_zod4.z.array(FoodPreferenceItemSchema).optional(),
115
- disliked: import_zod4.z.array(FoodPreferenceItemSchema).optional(),
116
- allergy: import_zod4.z.array(FoodPreferenceItemSchema).optional()
117
- });
118
- var UpdateProfileRequestSchema = import_zod4.z.object({
119
- username: import_zod4.z.string().min(1).max(50),
120
- profileImageUrl: import_zod4.z.string().url().nullable(),
121
- bio: import_zod4.z.string().max(500).nullable()
122
- });
123
- var UpdatePreferenceRequestSchema = MemberFoodPreferenceSchema;
124
- var CreateProfileRequestSchema = UpdateProfileRequestSchema.merge(
125
- UpdatePreferenceRequestSchema
126
- );
127
-
128
- // src/domain/restaurant/restaurant.schema.ts
129
- var import_zod5 = require("zod");
130
- var RestaurantSchema = import_zod5.z.object({
131
- restaurantId: RestaurantIdSchema,
132
- placeName: import_zod5.z.string(),
133
- categoryName: import_zod5.z.string(),
134
- categoryGroupName: import_zod5.z.string(),
135
- distance: import_zod5.z.string().optional(),
136
- roadAddressName: import_zod5.z.string(),
137
- addressName: import_zod5.z.string(),
138
- phone: import_zod5.z.string().nullable(),
139
- placeUrl: import_zod5.z.string().url().nullable(),
140
- lat: import_zod5.z.number(),
141
- lng: import_zod5.z.number()
142
- });
143
- var KakaoPlaceRawSchema = import_zod5.z.object({
144
- id: RestaurantIdSchema,
145
- place_name: import_zod5.z.string(),
146
- category_name: import_zod5.z.string(),
147
- category_group_name: import_zod5.z.string(),
148
- distance: import_zod5.z.string(),
149
- road_address_name: import_zod5.z.string(),
150
- address_name: import_zod5.z.string(),
151
- phone: import_zod5.z.string(),
152
- place_url: import_zod5.z.string().url().optional(),
153
- lat: import_zod5.z.number(),
154
- lng: import_zod5.z.number()
155
- });
156
-
157
- // src/domain/room/schema/room.schema.ts
158
- var import_zod6 = require("zod");
159
- var MenuCodeSchema = FoodCodeSchema;
160
- var LocationIdSchema = import_zod6.z.string().min(1).brand();
161
- var MenuSchema = FoodSchema.extend({});
162
- var LocationCandidateSchema = import_zod6.z.object({
163
- locationId: LocationIdSchema,
164
- placeName: import_zod6.z.string(),
165
- lat: import_zod6.z.number(),
166
- lng: import_zod6.z.number(),
167
- address: import_zod6.z.string()
168
- });
169
- var ParticipantSchema = MemberCoreSchema.extend({
170
- ready: import_zod6.z.boolean()
171
- });
172
- var RecruitRoomStageSchema = import_zod6.z.enum([
173
- "waiting",
174
- "location",
175
- "location-vote",
176
- "exclude-menu",
177
- "menu",
178
- "restaurant",
179
- "finish"
180
- ]);
181
- var RoomTypeSchema = import_zod6.z.enum(["recruit", "invitation"]);
182
- var InvitationRoomStageSchema = import_zod6.z.enum([
183
- "waiting",
184
- "date",
185
- "time",
186
- "location",
187
- "location-vote",
188
- "exclude-menu",
189
- "menu",
190
- "restaurant",
191
- "finish"
192
- ]);
193
- var ReadyStateRequestSchema = import_zod6.z.object({
194
- isReady: import_zod6.z.boolean()
195
- });
196
- var ChatMessageRequestSchema = import_zod6.z.object({
197
- message: import_zod6.z.string().min(1).max(500)
198
- });
199
- var VoteLocationRequestSchema = import_zod6.z.object({ locationId: LocationIdSchema });
200
- var ExcludeMenuRequestSchema = import_zod6.z.object({ menu: MenuSchema });
201
- var PickMenuRequestSchema = import_zod6.z.object({ menuCode: MenuCodeSchema });
202
- var PickRestaurantRequestSchema = import_zod6.z.object({ restaurantId: RestaurantIdSchema });
203
- var PickTimesRequestSchema = import_zod6.z.object({ times: import_zod6.z.array(import_zod6.z.string().min(1)).min(1) });
204
- var PickDateRequestSchema = import_zod6.z.object({ dates: import_zod6.z.array(ISODateStringSchema).min(1) });
205
- var RoomAssignedResponseSchema = import_zod6.z.object({
206
- roomId: RoomIdSchema
207
- });
208
- var RoomAccessResponseSchema = import_zod6.z.object({
209
- roomId: RoomIdSchema,
210
- roomType: RoomTypeSchema,
211
- stage: import_zod6.z.union([RecruitRoomStageSchema, InvitationRoomStageSchema]),
212
- canJoin: import_zod6.z.boolean()
213
- });
214
- var MatchingNotificationKindSchema = import_zod6.z.enum(["recruit", "invitation"]);
215
- var MatchingNotificationSchema = import_zod6.z.object({
216
- notificationId: import_zod6.z.string().min(1),
217
- kind: MatchingNotificationKindSchema,
218
- roomId: RoomIdSchema,
219
- roomType: RoomTypeSchema,
220
- title: import_zod6.z.string().min(1),
221
- message: import_zod6.z.string().min(1),
222
- createdAt: ISODateTimeStringSchema,
223
- readAt: ISODateTimeStringSchema.nullable()
224
- });
225
- var RoomSocketErrorSchema = import_zod6.z.object({
226
- code: import_zod6.z.string(),
227
- message: import_zod6.z.string()
228
- });
229
- var ChatMessageResponseSchema = import_zod6.z.object({
230
- messageId: import_zod6.z.string(),
231
- user: MemberCoreSchema,
232
- message: import_zod6.z.string(),
233
- createdAt: ISODateTimeStringSchema
234
- });
235
- var ReadyStateChangedSchema = import_zod6.z.object({
236
- readyCount: import_zod6.z.number().int().min(0),
237
- participantCount: import_zod6.z.number().int().min(0)
238
- });
239
- var FinalStateSchema = import_zod6.z.object({
240
- location: LocationCandidateSchema.optional(),
241
- excludeMenu: import_zod6.z.array(MenuSchema).optional(),
242
- menu: MenuSchema.optional(),
243
- restaurant: RestaurantSchema.optional(),
244
- time: import_zod6.z.string().optional(),
245
- date: ISODateStringSchema.optional()
246
- });
247
- var RoomInitialStateSchema = import_zod6.z.object({
248
- participants: import_zod6.z.array(ParticipantSchema),
249
- chat: import_zod6.z.array(ChatMessageResponseSchema),
250
- final: FinalStateSchema
251
- });
252
- var TimePicksUpdateResponseSchema = import_zod6.z.array(
253
- import_zod6.z.object({ memberId: MemberIdSchema, times: import_zod6.z.array(import_zod6.z.string()) })
254
- );
255
- var DatePicksUpdateResponseSchema = import_zod6.z.array(
256
- import_zod6.z.object({ memberId: MemberIdSchema, dates: import_zod6.z.array(ISODateStringSchema) })
257
- );
258
- var LocationCandidateAddUpdateResponseSchema = import_zod6.z.array(
259
- LocationCandidateSchema.extend({ authorMemberId: MemberIdSchema })
260
- );
261
- var LocationCandidateVoteUpdateResponseSchema = import_zod6.z.array(
262
- import_zod6.z.object({ locationId: LocationIdSchema, votes: import_zod6.z.array(MemberIdSchema) })
263
- );
264
- var ExcludeMenuUpdateResponseSchema = import_zod6.z.array(
265
- import_zod6.z.object({ memberId: MemberIdSchema, exclusions: import_zod6.z.array(MenuSchema) })
266
- );
267
- var MenuPickUpdateResponseSchema = import_zod6.z.array(
268
- import_zod6.z.object({ menuCode: MenuCodeSchema, selectedMembers: import_zod6.z.array(MemberIdSchema) })
269
- );
270
- var RestaurantPickUpdateResponseSchema = import_zod6.z.array(
271
- import_zod6.z.object({ restaurantId: RestaurantIdSchema, selectedMembers: import_zod6.z.array(MemberIdSchema) })
272
- );
273
- var WaitingPhaseDataSchema = import_zod6.z.object({
274
- locationInitial: import_zod6.z.string().optional(),
275
- meetingAt: ISODateTimeStringSchema.optional()
276
- });
277
- var LocationVotePhaseDataSchema = import_zod6.z.object({
278
- locations: LocationCandidateAddUpdateResponseSchema,
279
- votes: LocationCandidateVoteUpdateResponseSchema
280
- });
281
- var ExcludeMenuPhaseDataSchema = import_zod6.z.object({
282
- recentMenus: import_zod6.z.array(import_zod6.z.object({ userId: import_zod6.z.string(), menuList: import_zod6.z.array(MenuSchema) })),
283
- excludedMenuList: ExcludeMenuUpdateResponseSchema
284
- });
285
- var MenuPhaseDataSchema = import_zod6.z.object({
286
- initialMenus: import_zod6.z.array(MenuSchema),
287
- menuPick: MenuPickUpdateResponseSchema
288
- });
289
- var RestaurantPhaseDataSchema = import_zod6.z.object({
290
- initialRestaurants: import_zod6.z.array(RestaurantSchema),
291
- restaurantUserList: RestaurantPickUpdateResponseSchema
292
- });
293
- var PhaseDataBroadcastSchema = import_zod6.z.discriminatedUnion("phase", [
294
- import_zod6.z.object({ phase: import_zod6.z.literal("waiting"), data: WaitingPhaseDataSchema }),
295
- import_zod6.z.object({ phase: import_zod6.z.literal("date"), data: DatePicksUpdateResponseSchema }),
296
- import_zod6.z.object({ phase: import_zod6.z.literal("time"), data: TimePicksUpdateResponseSchema }),
297
- import_zod6.z.object({ phase: import_zod6.z.literal("location"), data: WaitingPhaseDataSchema }),
298
- import_zod6.z.object({ phase: import_zod6.z.literal("location-vote"), data: LocationVotePhaseDataSchema }),
299
- import_zod6.z.object({ phase: import_zod6.z.literal("exclude-menu"), data: ExcludeMenuPhaseDataSchema }),
300
- import_zod6.z.object({ phase: import_zod6.z.literal("menu"), data: MenuPhaseDataSchema }),
301
- import_zod6.z.object({ phase: import_zod6.z.literal("restaurant"), data: RestaurantPhaseDataSchema }),
302
- import_zod6.z.object({ phase: import_zod6.z.literal("finish"), data: WaitingPhaseDataSchema })
303
- ]);
304
-
305
- // src/domain/plan/plan.schema.ts
306
- var PlanStatusSchema = import_zod7.z.enum(["PLANNING", "COMPLETED"]);
307
- var PlanTypeSchema = import_zod7.z.enum(["RECRUIT", "INVITATION"]);
308
- var PlanResponseSchema = import_zod7.z.object({
309
- planId: PlanIdSchema,
310
- meetingAt: ISODateTimeStringSchema,
311
- location: LocationCandidateSchema.nullable(),
312
- restaurant: RestaurantSchema.nullable(),
313
- author: MemberCoreSchema,
314
- participants: import_zod7.z.array(MemberCoreSchema),
315
- status: PlanStatusSchema,
316
- type: PlanTypeSchema,
317
- createdAt: ISODateTimeStringSchema,
318
- updatedAt: ISODateTimeStringSchema
319
- });
320
- var PlanListQuerySchema = import_zod7.z.object({});
321
- // Annotate the CommonJS export names for ESM import in node:
322
- 0 && (module.exports = {
323
- PlanListQuerySchema,
324
- PlanResponseSchema,
325
- PlanStatusSchema,
326
- PlanTypeSchema
327
- });
@@ -1,178 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const PlanStatusSchema: z.ZodEnum<["PLANNING", "COMPLETED"]>;
4
- declare const PlanTypeSchema: z.ZodEnum<["RECRUIT", "INVITATION"]>;
5
- declare const PlanResponseSchema: z.ZodObject<{
6
- planId: z.ZodBranded<z.ZodNumber, "PlanId">;
7
- meetingAt: z.ZodString;
8
- location: z.ZodNullable<z.ZodObject<{
9
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
10
- placeName: z.ZodString;
11
- lat: z.ZodNumber;
12
- lng: z.ZodNumber;
13
- address: z.ZodString;
14
- }, "strip", z.ZodTypeAny, {
15
- placeName: string;
16
- lat: number;
17
- lng: number;
18
- locationId: string & z.BRAND<"LocationId">;
19
- address: string;
20
- }, {
21
- placeName: string;
22
- lat: number;
23
- lng: number;
24
- locationId: string;
25
- address: string;
26
- }>>;
27
- restaurant: z.ZodNullable<z.ZodObject<{
28
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
29
- placeName: z.ZodString;
30
- categoryName: z.ZodString;
31
- categoryGroupName: z.ZodString;
32
- distance: z.ZodOptional<z.ZodString>;
33
- roadAddressName: z.ZodString;
34
- addressName: z.ZodString;
35
- phone: z.ZodNullable<z.ZodString>;
36
- placeUrl: z.ZodNullable<z.ZodString>;
37
- lat: z.ZodNumber;
38
- lng: z.ZodNumber;
39
- }, "strip", z.ZodTypeAny, {
40
- restaurantId: string & z.BRAND<"RestaurantId">;
41
- placeName: string;
42
- categoryName: string;
43
- categoryGroupName: string;
44
- roadAddressName: string;
45
- addressName: string;
46
- phone: string | null;
47
- placeUrl: string | null;
48
- lat: number;
49
- lng: number;
50
- distance?: string | undefined;
51
- }, {
52
- restaurantId: string;
53
- placeName: string;
54
- categoryName: string;
55
- categoryGroupName: string;
56
- roadAddressName: string;
57
- addressName: string;
58
- phone: string | null;
59
- placeUrl: string | null;
60
- lat: number;
61
- lng: number;
62
- distance?: string | undefined;
63
- }>>;
64
- author: z.ZodObject<{
65
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
66
- username: z.ZodString;
67
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- }, "strip", z.ZodTypeAny, {
69
- memberId: number & z.BRAND<"MemberId">;
70
- username: string;
71
- profileImageUrl?: string | null | undefined;
72
- }, {
73
- memberId: number;
74
- username: string;
75
- profileImageUrl?: string | null | undefined;
76
- }>;
77
- participants: z.ZodArray<z.ZodObject<{
78
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
79
- username: z.ZodString;
80
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- }, "strip", z.ZodTypeAny, {
82
- memberId: number & z.BRAND<"MemberId">;
83
- username: string;
84
- profileImageUrl?: string | null | undefined;
85
- }, {
86
- memberId: number;
87
- username: string;
88
- profileImageUrl?: string | null | undefined;
89
- }>, "many">;
90
- status: z.ZodEnum<["PLANNING", "COMPLETED"]>;
91
- type: z.ZodEnum<["RECRUIT", "INVITATION"]>;
92
- createdAt: z.ZodString;
93
- updatedAt: z.ZodString;
94
- }, "strip", z.ZodTypeAny, {
95
- type: "RECRUIT" | "INVITATION";
96
- status: "PLANNING" | "COMPLETED";
97
- createdAt: string;
98
- restaurant: {
99
- restaurantId: string & z.BRAND<"RestaurantId">;
100
- placeName: string;
101
- categoryName: string;
102
- categoryGroupName: string;
103
- roadAddressName: string;
104
- addressName: string;
105
- phone: string | null;
106
- placeUrl: string | null;
107
- lat: number;
108
- lng: number;
109
- distance?: string | undefined;
110
- } | null;
111
- author: {
112
- memberId: number & z.BRAND<"MemberId">;
113
- username: string;
114
- profileImageUrl?: string | null | undefined;
115
- };
116
- updatedAt: string;
117
- location: {
118
- placeName: string;
119
- lat: number;
120
- lng: number;
121
- locationId: string & z.BRAND<"LocationId">;
122
- address: string;
123
- } | null;
124
- participants: {
125
- memberId: number & z.BRAND<"MemberId">;
126
- username: string;
127
- profileImageUrl?: string | null | undefined;
128
- }[];
129
- meetingAt: string;
130
- planId: number & z.BRAND<"PlanId">;
131
- }, {
132
- type: "RECRUIT" | "INVITATION";
133
- status: "PLANNING" | "COMPLETED";
134
- createdAt: string;
135
- restaurant: {
136
- restaurantId: string;
137
- placeName: string;
138
- categoryName: string;
139
- categoryGroupName: string;
140
- roadAddressName: string;
141
- addressName: string;
142
- phone: string | null;
143
- placeUrl: string | null;
144
- lat: number;
145
- lng: number;
146
- distance?: string | undefined;
147
- } | null;
148
- author: {
149
- memberId: number;
150
- username: string;
151
- profileImageUrl?: string | null | undefined;
152
- };
153
- updatedAt: string;
154
- location: {
155
- placeName: string;
156
- lat: number;
157
- lng: number;
158
- locationId: string;
159
- address: string;
160
- } | null;
161
- participants: {
162
- memberId: number;
163
- username: string;
164
- profileImageUrl?: string | null | undefined;
165
- }[];
166
- meetingAt: string;
167
- planId: number;
168
- }>;
169
- declare const PlanListQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
170
-
171
- type PlanStatus = z.infer<typeof PlanStatusSchema>;
172
- type PlanType = z.infer<typeof PlanTypeSchema>;
173
- type PlanResponse = z.infer<typeof PlanResponseSchema>;
174
- type PlanListQuery = z.infer<typeof PlanListQuerySchema>;
175
- /** @deprecated Use PlanResponse. */
176
- type MeetingResponse = PlanResponse;
177
-
178
- export { type MeetingResponse, type PlanListQuery, PlanListQuerySchema, type PlanResponse, PlanResponseSchema, type PlanStatus, PlanStatusSchema, type PlanType, PlanTypeSchema };
@@ -1,178 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const PlanStatusSchema: z.ZodEnum<["PLANNING", "COMPLETED"]>;
4
- declare const PlanTypeSchema: z.ZodEnum<["RECRUIT", "INVITATION"]>;
5
- declare const PlanResponseSchema: z.ZodObject<{
6
- planId: z.ZodBranded<z.ZodNumber, "PlanId">;
7
- meetingAt: z.ZodString;
8
- location: z.ZodNullable<z.ZodObject<{
9
- locationId: z.ZodBranded<z.ZodString, "LocationId">;
10
- placeName: z.ZodString;
11
- lat: z.ZodNumber;
12
- lng: z.ZodNumber;
13
- address: z.ZodString;
14
- }, "strip", z.ZodTypeAny, {
15
- placeName: string;
16
- lat: number;
17
- lng: number;
18
- locationId: string & z.BRAND<"LocationId">;
19
- address: string;
20
- }, {
21
- placeName: string;
22
- lat: number;
23
- lng: number;
24
- locationId: string;
25
- address: string;
26
- }>>;
27
- restaurant: z.ZodNullable<z.ZodObject<{
28
- restaurantId: z.ZodBranded<z.ZodString, "RestaurantId">;
29
- placeName: z.ZodString;
30
- categoryName: z.ZodString;
31
- categoryGroupName: z.ZodString;
32
- distance: z.ZodOptional<z.ZodString>;
33
- roadAddressName: z.ZodString;
34
- addressName: z.ZodString;
35
- phone: z.ZodNullable<z.ZodString>;
36
- placeUrl: z.ZodNullable<z.ZodString>;
37
- lat: z.ZodNumber;
38
- lng: z.ZodNumber;
39
- }, "strip", z.ZodTypeAny, {
40
- restaurantId: string & z.BRAND<"RestaurantId">;
41
- placeName: string;
42
- categoryName: string;
43
- categoryGroupName: string;
44
- roadAddressName: string;
45
- addressName: string;
46
- phone: string | null;
47
- placeUrl: string | null;
48
- lat: number;
49
- lng: number;
50
- distance?: string | undefined;
51
- }, {
52
- restaurantId: string;
53
- placeName: string;
54
- categoryName: string;
55
- categoryGroupName: string;
56
- roadAddressName: string;
57
- addressName: string;
58
- phone: string | null;
59
- placeUrl: string | null;
60
- lat: number;
61
- lng: number;
62
- distance?: string | undefined;
63
- }>>;
64
- author: z.ZodObject<{
65
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
66
- username: z.ZodString;
67
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- }, "strip", z.ZodTypeAny, {
69
- memberId: number & z.BRAND<"MemberId">;
70
- username: string;
71
- profileImageUrl?: string | null | undefined;
72
- }, {
73
- memberId: number;
74
- username: string;
75
- profileImageUrl?: string | null | undefined;
76
- }>;
77
- participants: z.ZodArray<z.ZodObject<{
78
- memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
79
- username: z.ZodString;
80
- profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- }, "strip", z.ZodTypeAny, {
82
- memberId: number & z.BRAND<"MemberId">;
83
- username: string;
84
- profileImageUrl?: string | null | undefined;
85
- }, {
86
- memberId: number;
87
- username: string;
88
- profileImageUrl?: string | null | undefined;
89
- }>, "many">;
90
- status: z.ZodEnum<["PLANNING", "COMPLETED"]>;
91
- type: z.ZodEnum<["RECRUIT", "INVITATION"]>;
92
- createdAt: z.ZodString;
93
- updatedAt: z.ZodString;
94
- }, "strip", z.ZodTypeAny, {
95
- type: "RECRUIT" | "INVITATION";
96
- status: "PLANNING" | "COMPLETED";
97
- createdAt: string;
98
- restaurant: {
99
- restaurantId: string & z.BRAND<"RestaurantId">;
100
- placeName: string;
101
- categoryName: string;
102
- categoryGroupName: string;
103
- roadAddressName: string;
104
- addressName: string;
105
- phone: string | null;
106
- placeUrl: string | null;
107
- lat: number;
108
- lng: number;
109
- distance?: string | undefined;
110
- } | null;
111
- author: {
112
- memberId: number & z.BRAND<"MemberId">;
113
- username: string;
114
- profileImageUrl?: string | null | undefined;
115
- };
116
- updatedAt: string;
117
- location: {
118
- placeName: string;
119
- lat: number;
120
- lng: number;
121
- locationId: string & z.BRAND<"LocationId">;
122
- address: string;
123
- } | null;
124
- participants: {
125
- memberId: number & z.BRAND<"MemberId">;
126
- username: string;
127
- profileImageUrl?: string | null | undefined;
128
- }[];
129
- meetingAt: string;
130
- planId: number & z.BRAND<"PlanId">;
131
- }, {
132
- type: "RECRUIT" | "INVITATION";
133
- status: "PLANNING" | "COMPLETED";
134
- createdAt: string;
135
- restaurant: {
136
- restaurantId: string;
137
- placeName: string;
138
- categoryName: string;
139
- categoryGroupName: string;
140
- roadAddressName: string;
141
- addressName: string;
142
- phone: string | null;
143
- placeUrl: string | null;
144
- lat: number;
145
- lng: number;
146
- distance?: string | undefined;
147
- } | null;
148
- author: {
149
- memberId: number;
150
- username: string;
151
- profileImageUrl?: string | null | undefined;
152
- };
153
- updatedAt: string;
154
- location: {
155
- placeName: string;
156
- lat: number;
157
- lng: number;
158
- locationId: string;
159
- address: string;
160
- } | null;
161
- participants: {
162
- memberId: number;
163
- username: string;
164
- profileImageUrl?: string | null | undefined;
165
- }[];
166
- meetingAt: string;
167
- planId: number;
168
- }>;
169
- declare const PlanListQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
170
-
171
- type PlanStatus = z.infer<typeof PlanStatusSchema>;
172
- type PlanType = z.infer<typeof PlanTypeSchema>;
173
- type PlanResponse = z.infer<typeof PlanResponseSchema>;
174
- type PlanListQuery = z.infer<typeof PlanListQuerySchema>;
175
- /** @deprecated Use PlanResponse. */
176
- type MeetingResponse = PlanResponse;
177
-
178
- export { type MeetingResponse, type PlanListQuery, PlanListQuerySchema, type PlanResponse, PlanResponseSchema, type PlanStatus, PlanStatusSchema, type PlanType, PlanTypeSchema };
@@ -1,18 +0,0 @@
1
- import {
2
- PlanListQuerySchema,
3
- PlanResponseSchema,
4
- PlanStatusSchema,
5
- PlanTypeSchema
6
- } from "../../chunk-W4TUW2GY.js";
7
- import "../../chunk-PQMEXOPZ.js";
8
- import "../../chunk-GTVEQYJW.js";
9
- import "../../chunk-HRM3FQPL.js";
10
- import "../../chunk-NJTV6DRT.js";
11
- import "../../chunk-ZH7D7B2Y.js";
12
- import "../../chunk-H77ISYYC.js";
13
- export {
14
- PlanListQuerySchema,
15
- PlanResponseSchema,
16
- PlanStatusSchema,
17
- PlanTypeSchema
18
- };