@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
package/dist/index.d.cts CHANGED
@@ -3,14 +3,12 @@ import './domain/article/index.cjs';
3
3
  import 'zod';
4
4
  import './domain/auth/index.cjs';
5
5
  import './domain/common/index.cjs';
6
- import './id-dAYxfjZn.cjs';
7
6
  import './domain/friend/index.cjs';
8
- import './domain/invitation/index.cjs';
7
+ import './domain/food/index.cjs';
9
8
  import './domain/meal/index.cjs';
9
+ import './domain/meal-plan/index.cjs';
10
10
  import './domain/member/index.cjs';
11
- import './domain/plan/index.cjs';
12
- import './domain/recruit/index.cjs';
13
- import './domain/restaurant/index.cjs';
14
- import './restaurant.schema-CuEcX3S3.cjs';
15
- import './domain/room/index.cjs';
16
11
  import './domain/promotion/index.cjs';
12
+ import './domain/push/index.cjs';
13
+ import './domain/restaurant/index.cjs';
14
+ import './domain/live-activity/index.cjs';
package/dist/index.d.ts CHANGED
@@ -3,14 +3,12 @@ import './domain/article/index.js';
3
3
  import 'zod';
4
4
  import './domain/auth/index.js';
5
5
  import './domain/common/index.js';
6
- import './id-dAYxfjZn.js';
7
6
  import './domain/friend/index.js';
8
- import './domain/invitation/index.js';
7
+ import './domain/food/index.js';
9
8
  import './domain/meal/index.js';
9
+ import './domain/meal-plan/index.js';
10
10
  import './domain/member/index.js';
11
- import './domain/plan/index.js';
12
- import './domain/recruit/index.js';
13
- import './domain/restaurant/index.js';
14
- import './restaurant.schema-CuEcX3S3.js';
15
- import './domain/room/index.js';
16
11
  import './domain/promotion/index.js';
12
+ import './domain/push/index.js';
13
+ import './domain/restaurant/index.js';
14
+ import './domain/live-activity/index.js';
package/dist/index.js CHANGED
@@ -1,22 +1,23 @@
1
1
  import {
2
2
  domain_exports
3
- } from "./chunk-WNYCCQM4.js";
3
+ } from "./chunk-IPANLE7B.js";
4
4
  import "./chunk-NCVWB52E.js";
5
- import "./chunk-YM7YU7IR.js";
6
- import "./chunk-W4TUW2GY.js";
7
- import "./chunk-W4C7XHTX.js";
8
- import "./chunk-AI2YMBJX.js";
9
- import "./chunk-PFSZSKD5.js";
10
- import "./chunk-PQMEXOPZ.js";
11
- import "./chunk-K3CZKI2F.js";
12
- import "./chunk-GTVEQYJW.js";
13
- import "./chunk-OJVXYCSH.js";
14
- import "./chunk-4E5E3PFW.js";
15
- import "./chunk-HRM3FQPL.js";
16
- import "./chunk-YGFAVC5N.js";
5
+ import "./chunk-KREAZLLH.js";
6
+ import "./chunk-QUAG5LF5.js";
17
7
  import "./chunk-NJTV6DRT.js";
18
- import "./chunk-ZH7D7B2Y.js";
19
- import "./chunk-H77ISYYC.js";
8
+ import "./chunk-65DWKLP6.js";
9
+ import "./chunk-P3MYMK34.js";
10
+ import "./chunk-G7TITUHT.js";
11
+ import "./chunk-Q4BPFDVB.js";
12
+ import "./chunk-DRCY5UNQ.js";
13
+ import "./chunk-EX7S5FI5.js";
14
+ import "./chunk-3BLXZW4U.js";
15
+ import "./chunk-GESEM4IA.js";
16
+ import "./chunk-TIOX7OHA.js";
17
+ import "./chunk-TOXRHSD6.js";
18
+ import "./chunk-YV734GYZ.js";
19
+ import "./chunk-EYZU5HPG.js";
20
+ import "./chunk-6R5CCY5Q.js";
20
21
  export {
21
22
  domain_exports as domain
22
23
  };
package/package.json CHANGED
@@ -1,55 +1,52 @@
1
- {
2
- "name": "@kimdaegyu/babmukdang-shared",
3
- "version": "1.1.11",
4
- "private": false,
5
- "type": "module",
6
- "main": "./dist/index.cjs",
7
- "module": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
14
- },
15
- "./types/*": "./dist/types/*.d.ts",
16
- "./schemas/*": "./dist/schemas/*.js",
17
- "./nest-adapters/*": "./dist/nest-adapters/*.js",
18
- "./domain/*": {
19
- "types": "./dist/domain/*/index.d.ts",
20
- "import": "./dist/domain/*/index.js",
21
- "require": "./dist/domain/*/index.cjs"
22
- },
23
- "./domain": {
24
- "types": "./dist/domain/index.d.ts",
25
- "import": "./dist/domain/index.js",
26
- "require": "./dist/domain/index.cjs"
27
- }
28
- },
29
- "files": [
30
- "dist"
31
- ],
32
- "sideEffects": false,
33
- "scripts": {
34
- "build": "tsup src/index.ts src/domain/index.ts src/domain/*/index.ts --dts --format esm,cjs --clean",
35
- "release": "changesets version && pnpm -w i && pnpm build && changesets publish",
36
- "format": "prettier --write \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\"",
37
- "format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\""
38
- },
39
- "devDependencies": {
40
- "@changesets/cli": "^2.27.0",
41
- "prettier": "^3.8.4",
42
- "tsup": "^8.0.0",
43
- "typescript": "^5.5.0",
44
- "tsc-alias": "^1.8.16",
45
- "tsconfig-paths": "^4.2.0"
46
- },
47
- "peerDependencies": {
48
- "zod": "^3.25.0"
49
- },
50
- "dependencies": {
51
- "class-transformer": "^0.5.1",
52
- "class-validator": "^0.14.2",
53
- "zod": "^3.25.0"
54
- }
55
- }
1
+ {
2
+ "name": "@kimdaegyu/babmukdang-shared",
3
+ "version": "2.0.2",
4
+ "private": false,
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ },
15
+ "./types/*": "./dist/types/*.d.ts",
16
+ "./schemas/*": "./dist/schemas/*.js",
17
+ "./nest-adapters/*": "./dist/nest-adapters/*.js",
18
+ "./domain/*": {
19
+ "types": "./dist/domain/*/index.d.ts",
20
+ "import": "./dist/domain/*/index.js",
21
+ "require": "./dist/domain/*/index.cjs"
22
+ },
23
+ "./domain": {
24
+ "types": "./dist/domain/index.d.ts",
25
+ "import": "./dist/domain/index.js",
26
+ "require": "./dist/domain/index.cjs"
27
+ }
28
+ },
29
+ "files": [
30
+ "dist"
31
+ ],
32
+ "sideEffects": false,
33
+ "scripts": {
34
+ "build": "tsup src/index.ts src/domain/index.ts src/domain/*/index.ts --dts --format esm,cjs --clean",
35
+ "release": "changesets version && pnpm -w i && pnpm build && changesets publish",
36
+ "format": "prettier --write \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\"",
37
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\""
38
+ },
39
+ "devDependencies": {
40
+ "@changesets/cli": "^2.27.0",
41
+ "prettier": "^3.8.4",
42
+ "tsup": "^8.0.0",
43
+ "typescript": "^5.5.0",
44
+ "tsc-alias": "^1.8.16",
45
+ "tsconfig-paths": "^4.2.0"
46
+ },
47
+ "dependencies": {
48
+ "class-transformer": "^0.5.1",
49
+ "class-validator": "^0.14.2",
50
+ "zod": "^4.4.3"
51
+ }
52
+ }
File without changes
@@ -1,232 +0,0 @@
1
- import {
2
- RestaurantSchema
3
- } from "./chunk-GTVEQYJW.js";
4
- import {
5
- ISODateStringSchema,
6
- ISODateTimeStringSchema
7
- } from "./chunk-HRM3FQPL.js";
8
- import {
9
- MemberCoreSchema
10
- } from "./chunk-ZH7D7B2Y.js";
11
- import {
12
- FoodCodeSchema,
13
- FoodSchema,
14
- MemberIdSchema,
15
- RestaurantIdSchema,
16
- RoomIdSchema
17
- } from "./chunk-H77ISYYC.js";
18
-
19
- // src/domain/room/schema/room.schema.ts
20
- import { z } from "zod";
21
- var MenuCodeSchema = FoodCodeSchema;
22
- var LocationIdSchema = z.string().min(1).brand();
23
- var MenuSchema = FoodSchema.extend({});
24
- var LocationCandidateSchema = z.object({
25
- locationId: LocationIdSchema,
26
- placeName: z.string(),
27
- lat: z.number(),
28
- lng: z.number(),
29
- address: z.string()
30
- });
31
- var ParticipantSchema = MemberCoreSchema.extend({
32
- ready: z.boolean()
33
- });
34
- var RecruitRoomStageSchema = z.enum([
35
- "waiting",
36
- "location",
37
- "location-vote",
38
- "exclude-menu",
39
- "menu",
40
- "restaurant",
41
- "finish"
42
- ]);
43
- var RoomTypeSchema = z.enum(["recruit", "invitation"]);
44
- var InvitationRoomStageSchema = z.enum([
45
- "waiting",
46
- "date",
47
- "time",
48
- "location",
49
- "location-vote",
50
- "exclude-menu",
51
- "menu",
52
- "restaurant",
53
- "finish"
54
- ]);
55
- var ReadyStateRequestSchema = z.object({
56
- isReady: z.boolean()
57
- });
58
- var ChatMessageRequestSchema = z.object({
59
- message: z.string().min(1).max(500)
60
- });
61
- var AddLocationCandidateRequestSchema = LocationCandidateSchema;
62
- var VoteLocationRequestSchema = z.object({ locationId: LocationIdSchema });
63
- var ExcludeMenuRequestSchema = z.object({ menu: MenuSchema });
64
- var PickMenuRequestSchema = z.object({ menuCode: MenuCodeSchema });
65
- var PickRestaurantRequestSchema = z.object({ restaurantId: RestaurantIdSchema });
66
- var PickTimesRequestSchema = z.object({ times: z.array(z.string().min(1)).min(1) });
67
- var PickDateRequestSchema = z.object({ dates: z.array(ISODateStringSchema).min(1) });
68
- var RoomAssignedResponseSchema = z.object({
69
- roomId: RoomIdSchema
70
- });
71
- var RoomAccessResponseSchema = z.object({
72
- roomId: RoomIdSchema,
73
- roomType: RoomTypeSchema,
74
- stage: z.union([RecruitRoomStageSchema, InvitationRoomStageSchema]),
75
- canJoin: z.boolean()
76
- });
77
- var MatchingNotificationKindSchema = z.enum(["recruit", "invitation"]);
78
- var MatchingNotificationSchema = z.object({
79
- notificationId: z.string().min(1),
80
- kind: MatchingNotificationKindSchema,
81
- roomId: RoomIdSchema,
82
- roomType: RoomTypeSchema,
83
- title: z.string().min(1),
84
- message: z.string().min(1),
85
- createdAt: ISODateTimeStringSchema,
86
- readAt: ISODateTimeStringSchema.nullable()
87
- });
88
- var RoomSocketErrorSchema = z.object({
89
- code: z.string(),
90
- message: z.string()
91
- });
92
- var ChatMessageResponseSchema = z.object({
93
- messageId: z.string(),
94
- user: MemberCoreSchema,
95
- message: z.string(),
96
- createdAt: ISODateTimeStringSchema
97
- });
98
- var ReadyStateChangedSchema = z.object({
99
- readyCount: z.number().int().min(0),
100
- participantCount: z.number().int().min(0)
101
- });
102
- var FinalStateSchema = z.object({
103
- location: LocationCandidateSchema.optional(),
104
- excludeMenu: z.array(MenuSchema).optional(),
105
- menu: MenuSchema.optional(),
106
- restaurant: RestaurantSchema.optional(),
107
- time: z.string().optional(),
108
- date: ISODateStringSchema.optional()
109
- });
110
- var RoomInitialStateSchema = z.object({
111
- participants: z.array(ParticipantSchema),
112
- chat: z.array(ChatMessageResponseSchema),
113
- final: FinalStateSchema
114
- });
115
- var TimePicksUpdateResponseSchema = z.array(
116
- z.object({ memberId: MemberIdSchema, times: z.array(z.string()) })
117
- );
118
- var DatePicksUpdateResponseSchema = z.array(
119
- z.object({ memberId: MemberIdSchema, dates: z.array(ISODateStringSchema) })
120
- );
121
- var LocationCandidateAddUpdateResponseSchema = z.array(
122
- LocationCandidateSchema.extend({ authorMemberId: MemberIdSchema })
123
- );
124
- var LocationCandidateVoteUpdateResponseSchema = z.array(
125
- z.object({ locationId: LocationIdSchema, votes: z.array(MemberIdSchema) })
126
- );
127
- var ExcludeMenuUpdateResponseSchema = z.array(
128
- z.object({ memberId: MemberIdSchema, exclusions: z.array(MenuSchema) })
129
- );
130
- var MenuPickUpdateResponseSchema = z.array(
131
- z.object({ menuCode: MenuCodeSchema, selectedMembers: z.array(MemberIdSchema) })
132
- );
133
- var RestaurantPickUpdateResponseSchema = z.array(
134
- z.object({ restaurantId: RestaurantIdSchema, selectedMembers: z.array(MemberIdSchema) })
135
- );
136
- var WaitingPhaseDataSchema = z.object({
137
- locationInitial: z.string().optional(),
138
- meetingAt: ISODateTimeStringSchema.optional()
139
- });
140
- var LocationVotePhaseDataSchema = z.object({
141
- locations: LocationCandidateAddUpdateResponseSchema,
142
- votes: LocationCandidateVoteUpdateResponseSchema
143
- });
144
- var ExcludeMenuPhaseDataSchema = z.object({
145
- recentMenus: z.array(z.object({ userId: z.string(), menuList: z.array(MenuSchema) })),
146
- excludedMenuList: ExcludeMenuUpdateResponseSchema
147
- });
148
- var MenuPhaseDataSchema = z.object({
149
- initialMenus: z.array(MenuSchema),
150
- menuPick: MenuPickUpdateResponseSchema
151
- });
152
- var RestaurantPhaseDataSchema = z.object({
153
- initialRestaurants: z.array(RestaurantSchema),
154
- restaurantUserList: RestaurantPickUpdateResponseSchema
155
- });
156
- var PhaseDataBroadcastSchema = z.discriminatedUnion("phase", [
157
- z.object({ phase: z.literal("waiting"), data: WaitingPhaseDataSchema }),
158
- z.object({ phase: z.literal("date"), data: DatePicksUpdateResponseSchema }),
159
- z.object({ phase: z.literal("time"), data: TimePicksUpdateResponseSchema }),
160
- z.object({ phase: z.literal("location"), data: WaitingPhaseDataSchema }),
161
- z.object({ phase: z.literal("location-vote"), data: LocationVotePhaseDataSchema }),
162
- z.object({ phase: z.literal("exclude-menu"), data: ExcludeMenuPhaseDataSchema }),
163
- z.object({ phase: z.literal("menu"), data: MenuPhaseDataSchema }),
164
- z.object({ phase: z.literal("restaurant"), data: RestaurantPhaseDataSchema }),
165
- z.object({ phase: z.literal("finish"), data: WaitingPhaseDataSchema })
166
- ]);
167
- var RoomSocketClientEventSchemas = {
168
- "ready-state": ReadyStateRequestSchema,
169
- "chat-message": ChatMessageRequestSchema,
170
- "add-location-candidate": AddLocationCandidateRequestSchema,
171
- "vote-location": VoteLocationRequestSchema,
172
- "exclude-menu": ExcludeMenuRequestSchema,
173
- "pick-menu": PickMenuRequestSchema,
174
- "pick-restaurant": PickRestaurantRequestSchema,
175
- "pick-times": PickTimesRequestSchema,
176
- "pick-date": PickDateRequestSchema
177
- };
178
- var RoomSocketServerEventSchemas = {
179
- "room-assigned": RoomAssignedResponseSchema,
180
- "stage-changed": PhaseDataBroadcastSchema,
181
- "chat-message": ChatMessageResponseSchema,
182
- "room-error": RoomSocketErrorSchema,
183
- "ready-state-changed": ReadyStateChangedSchema,
184
- "join-room": RoomInitialStateSchema,
185
- "time-updated": TimePicksUpdateResponseSchema,
186
- "date-updated": DatePicksUpdateResponseSchema,
187
- "location-add-updated": LocationCandidateAddUpdateResponseSchema,
188
- "location-vote-updated": LocationCandidateVoteUpdateResponseSchema,
189
- "exclude-menu-updated": ExcludeMenuUpdateResponseSchema,
190
- "menu-pick-updated": MenuPickUpdateResponseSchema,
191
- "restaurant-pick-updated": RestaurantPickUpdateResponseSchema,
192
- "final-state-response": FinalStateSchema
193
- };
194
-
195
- export {
196
- MenuCodeSchema,
197
- LocationIdSchema,
198
- MenuSchema,
199
- LocationCandidateSchema,
200
- ParticipantSchema,
201
- RecruitRoomStageSchema,
202
- RoomTypeSchema,
203
- InvitationRoomStageSchema,
204
- ReadyStateRequestSchema,
205
- ChatMessageRequestSchema,
206
- AddLocationCandidateRequestSchema,
207
- VoteLocationRequestSchema,
208
- ExcludeMenuRequestSchema,
209
- PickMenuRequestSchema,
210
- PickRestaurantRequestSchema,
211
- PickTimesRequestSchema,
212
- PickDateRequestSchema,
213
- RoomAssignedResponseSchema,
214
- RoomAccessResponseSchema,
215
- MatchingNotificationKindSchema,
216
- MatchingNotificationSchema,
217
- RoomSocketErrorSchema,
218
- ChatMessageResponseSchema,
219
- ReadyStateChangedSchema,
220
- FinalStateSchema,
221
- RoomInitialStateSchema,
222
- TimePicksUpdateResponseSchema,
223
- DatePicksUpdateResponseSchema,
224
- LocationCandidateAddUpdateResponseSchema,
225
- LocationCandidateVoteUpdateResponseSchema,
226
- ExcludeMenuUpdateResponseSchema,
227
- MenuPickUpdateResponseSchema,
228
- RestaurantPickUpdateResponseSchema,
229
- PhaseDataBroadcastSchema,
230
- RoomSocketClientEventSchemas,
231
- RoomSocketServerEventSchemas
232
- };
@@ -1,40 +0,0 @@
1
- import {
2
- LocationCandidateSchema
3
- } from "./chunk-PQMEXOPZ.js";
4
- import {
5
- RestaurantSchema
6
- } from "./chunk-GTVEQYJW.js";
7
- import {
8
- ISODateTimeStringSchema
9
- } from "./chunk-HRM3FQPL.js";
10
- import {
11
- MemberCoreSchema
12
- } from "./chunk-ZH7D7B2Y.js";
13
- import {
14
- PlanIdSchema
15
- } from "./chunk-H77ISYYC.js";
16
-
17
- // src/domain/plan/plan.schema.ts
18
- import { z } from "zod";
19
- var PlanStatusSchema = z.enum(["PLANNING", "COMPLETED"]);
20
- var PlanTypeSchema = z.enum(["RECRUIT", "INVITATION"]);
21
- var PlanResponseSchema = z.object({
22
- planId: PlanIdSchema,
23
- meetingAt: ISODateTimeStringSchema,
24
- location: LocationCandidateSchema.nullable(),
25
- restaurant: RestaurantSchema.nullable(),
26
- author: MemberCoreSchema,
27
- participants: z.array(MemberCoreSchema),
28
- status: PlanStatusSchema,
29
- type: PlanTypeSchema,
30
- createdAt: ISODateTimeStringSchema,
31
- updatedAt: ISODateTimeStringSchema
32
- });
33
- var PlanListQuerySchema = z.object({});
34
-
35
- export {
36
- PlanStatusSchema,
37
- PlanTypeSchema,
38
- PlanResponseSchema,
39
- PlanListQuerySchema
40
- };