@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.
- package/dist/chunk-3TY6OPD3.js +91 -0
- package/dist/{chunk-W4C7XHTX.js → chunk-6O2YTBVC.js} +3 -3
- package/dist/{chunk-GTVEQYJW.js → chunk-7JYVBXKQ.js} +1 -1
- package/dist/chunk-7UZD4LBQ.js +459 -0
- package/dist/chunk-BSJC7OVV.js +10 -0
- package/dist/chunk-C63TN7L3.js +148 -0
- package/dist/chunk-CGFW5LYV.js +143 -0
- package/dist/chunk-GOOH2LGN.js +829 -0
- package/dist/chunk-LEH6UFL7.js +314 -0
- package/dist/{chunk-K3CZKI2F.js → chunk-NENVUHL5.js} +11 -8
- package/dist/chunk-OPMBGBYS.js +632 -0
- package/dist/{chunk-OJVXYCSH.js → chunk-QFPVAJ2U.js} +1 -1
- package/dist/{chunk-AI2YMBJX.js → chunk-RZPNVRRS.js} +5 -5
- package/dist/{chunk-4E5E3PFW.js → chunk-VD3VGLBQ.js} +13 -5
- package/dist/chunk-WYBFBLQC.js +111 -0
- package/dist/{chunk-H77ISYYC.js → chunk-XMRYAG3V.js} +20 -8
- package/dist/domain/article/index.cjs +71 -7
- package/dist/domain/article/index.d.cts +79 -796
- package/dist/domain/article/index.d.ts +79 -796
- package/dist/domain/article/index.js +4 -4
- package/dist/domain/auth/index.cjs +68 -6
- package/dist/domain/auth/index.d.cts +6 -46
- package/dist/domain/auth/index.d.ts +6 -46
- package/dist/domain/auth/index.js +3 -3
- package/dist/domain/common/index.cjs +1438 -330
- package/dist/domain/common/index.d.cts +212 -3037
- package/dist/domain/common/index.d.ts +212 -3037
- package/dist/domain/common/index.js +65 -30
- package/dist/domain/food/index.cjs +225 -0
- package/dist/domain/food/index.d.cts +321 -0
- package/dist/domain/food/index.d.ts +321 -0
- package/dist/domain/food/index.js +46 -0
- package/dist/domain/friend/index.cjs +78 -7
- package/dist/domain/friend/index.d.cts +39 -98
- package/dist/domain/friend/index.d.ts +39 -98
- package/dist/domain/friend/index.js +5 -3
- package/dist/domain/index.cjs +1930 -456
- package/dist/domain/index.d.cts +382 -123
- package/dist/domain/index.d.ts +382 -123
- package/dist/domain/index.js +429 -140
- package/dist/domain/live-activity/index.cjs +1112 -0
- package/dist/domain/live-activity/index.d.cts +177 -0
- package/dist/domain/live-activity/index.d.ts +177 -0
- package/dist/domain/live-activity/index.js +28 -0
- package/dist/domain/meal/index.cjs +68 -6
- package/dist/domain/meal/index.d.cts +21 -40
- package/dist/domain/meal/index.d.ts +21 -40
- package/dist/domain/meal/index.js +4 -4
- package/dist/domain/meal-plan/index.cjs +1540 -0
- package/dist/domain/meal-plan/index.d.cts +4523 -0
- package/dist/domain/meal-plan/index.d.ts +4523 -0
- package/dist/domain/meal-plan/index.js +255 -0
- package/dist/domain/member/index.cjs +94 -6
- package/dist/domain/member/index.d.cts +263 -273
- package/dist/domain/member/index.d.ts +263 -273
- package/dist/domain/member/index.js +26 -2
- package/dist/domain/promotion/index.cjs +10 -4
- package/dist/domain/promotion/index.d.cts +35 -112
- package/dist/domain/promotion/index.d.ts +35 -112
- package/dist/domain/promotion/index.js +2 -2
- package/dist/domain/push/index.cjs +1055 -0
- package/dist/domain/push/index.d.cts +169 -0
- package/dist/domain/push/index.d.ts +169 -0
- package/dist/domain/push/index.js +36 -0
- package/dist/domain/restaurant/index.cjs +10 -4
- package/dist/domain/restaurant/index.d.cts +27 -1
- package/dist/domain/restaurant/index.d.ts +27 -1
- package/dist/domain/restaurant/index.js +2 -2
- package/dist/index.cjs +1731 -399
- package/dist/index.d.cts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.js +17 -15
- package/package.json +52 -55
- package/dist/chunk-PFSZSKD5.js +0 -0
- package/dist/chunk-PQMEXOPZ.js +0 -232
- package/dist/chunk-W4TUW2GY.js +0 -40
- package/dist/chunk-WNYCCQM4.js +0 -342
- package/dist/chunk-YGFAVC5N.js +0 -34
- package/dist/chunk-YM7YU7IR.js +0 -319
- package/dist/chunk-ZH7D7B2Y.js +0 -78
- package/dist/domain/invitation/index.cjs +0 -82
- package/dist/domain/invitation/index.d.cts +0 -64
- package/dist/domain/invitation/index.d.ts +0 -64
- package/dist/domain/invitation/index.js +0 -13
- package/dist/domain/plan/index.cjs +0 -327
- package/dist/domain/plan/index.d.cts +0 -178
- package/dist/domain/plan/index.d.ts +0 -178
- package/dist/domain/plan/index.js +0 -18
- package/dist/domain/recruit/index.cjs +0 -189
- package/dist/domain/recruit/index.d.cts +0 -214
- package/dist/domain/recruit/index.d.ts +0 -214
- package/dist/domain/recruit/index.js +0 -30
- package/dist/domain/room/index.cjs +0 -401
- package/dist/domain/room/index.d.cts +0 -2643
- package/dist/domain/room/index.d.ts +0 -2643
- package/dist/domain/room/index.js +0 -82
- package/dist/id-dAYxfjZn.d.cts +0 -64
- package/dist/id-dAYxfjZn.d.ts +0 -64
- package/dist/restaurant.schema-CuEcX3S3.d.cts +0 -78
- package/dist/restaurant.schema-CuEcX3S3.d.ts +0 -78
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const MealPlanLiveActivityPlatformSchema: z.ZodEnum<{
|
|
4
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
5
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
6
|
+
}>;
|
|
7
|
+
declare const MealPlanLiveActivitySessionStatusSchema: z.ZodEnum<{
|
|
8
|
+
EXPIRED: "EXPIRED";
|
|
9
|
+
ACTIVE: "ACTIVE";
|
|
10
|
+
DISABLED: "DISABLED";
|
|
11
|
+
ENDED: "ENDED";
|
|
12
|
+
}>;
|
|
13
|
+
declare const MealPlanLiveActivityUpdateStatusSchema: z.ZodEnum<{
|
|
14
|
+
PENDING: "PENDING";
|
|
15
|
+
FAILED: "FAILED";
|
|
16
|
+
SENT: "SENT";
|
|
17
|
+
SKIPPED: "SKIPPED";
|
|
18
|
+
}>;
|
|
19
|
+
declare const RegisterMealPlanLiveActivitySessionRequestSchema: z.ZodObject<{
|
|
20
|
+
platform: z.ZodEnum<{
|
|
21
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
22
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
23
|
+
}>;
|
|
24
|
+
deviceId: z.ZodString;
|
|
25
|
+
activityId: z.ZodString;
|
|
26
|
+
pushToken: z.ZodOptional<z.ZodString>;
|
|
27
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
28
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const EndMealPlanLiveActivitySessionRequestSchema: z.ZodObject<{
|
|
31
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
33
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
34
|
+
}>>;
|
|
35
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
36
|
+
activityId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const MealPlanLiveActivityStateSchema: z.ZodObject<{
|
|
39
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
40
|
+
title: z.ZodString;
|
|
41
|
+
status: z.ZodString;
|
|
42
|
+
scheduledAt: z.ZodNullable<z.ZodString>;
|
|
43
|
+
restaurantName: z.ZodNullable<z.ZodString>;
|
|
44
|
+
placeName: z.ZodNullable<z.ZodString>;
|
|
45
|
+
deepLink: z.ZodString;
|
|
46
|
+
progressLabel: z.ZodString;
|
|
47
|
+
updatedAt: z.ZodString;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const MealPlanLiveActivitySessionResponseSchema: z.ZodObject<{
|
|
50
|
+
sessionId: z.ZodString;
|
|
51
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
52
|
+
memberId: z.ZodNumber;
|
|
53
|
+
platform: z.ZodEnum<{
|
|
54
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
55
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
56
|
+
}>;
|
|
57
|
+
devicePlatform: z.ZodEnum<{
|
|
58
|
+
WEB: "WEB";
|
|
59
|
+
IOS: "IOS";
|
|
60
|
+
ANDROID: "ANDROID";
|
|
61
|
+
}>;
|
|
62
|
+
deviceId: z.ZodString;
|
|
63
|
+
activityId: z.ZodString;
|
|
64
|
+
status: z.ZodEnum<{
|
|
65
|
+
EXPIRED: "EXPIRED";
|
|
66
|
+
ACTIVE: "ACTIVE";
|
|
67
|
+
DISABLED: "DISABLED";
|
|
68
|
+
ENDED: "ENDED";
|
|
69
|
+
}>;
|
|
70
|
+
appVersion: z.ZodNullable<z.ZodString>;
|
|
71
|
+
buildNumber: z.ZodNullable<z.ZodString>;
|
|
72
|
+
lastEventKind: z.ZodNullable<z.ZodEnum<{
|
|
73
|
+
MEAL_PLAN_INVITE_RECEIVED: "MEAL_PLAN_INVITE_RECEIVED";
|
|
74
|
+
MEAL_PLAN_INVITE_ACCEPTED: "MEAL_PLAN_INVITE_ACCEPTED";
|
|
75
|
+
MEAL_PLAN_JOIN_REQUESTED: "MEAL_PLAN_JOIN_REQUESTED";
|
|
76
|
+
MEAL_PLAN_JOIN_REQUEST_ACCEPTED: "MEAL_PLAN_JOIN_REQUEST_ACCEPTED";
|
|
77
|
+
MEAL_PLAN_NEARBY_FRIEND_EXPOSED: "MEAL_PLAN_NEARBY_FRIEND_EXPOSED";
|
|
78
|
+
MEAL_PLAN_PARTICIPANT_JOINED: "MEAL_PLAN_PARTICIPANT_JOINED";
|
|
79
|
+
MEAL_PLAN_READY_COMPLETED: "MEAL_PLAN_READY_COMPLETED";
|
|
80
|
+
MEAL_PLAN_CONFIRMED: "MEAL_PLAN_CONFIRMED";
|
|
81
|
+
MEAL_PLAN_LOCKED: "MEAL_PLAN_LOCKED";
|
|
82
|
+
MEAL_PLAN_RECORD_NEEDED: "MEAL_PLAN_RECORD_NEEDED";
|
|
83
|
+
}>>;
|
|
84
|
+
lastBehavior: z.ZodNullable<z.ZodEnum<{
|
|
85
|
+
NONE: "NONE";
|
|
86
|
+
START_OR_UPDATE: "START_OR_UPDATE";
|
|
87
|
+
UPDATE: "UPDATE";
|
|
88
|
+
END: "END";
|
|
89
|
+
}>>;
|
|
90
|
+
lastUpdateStatus: z.ZodNullable<z.ZodEnum<{
|
|
91
|
+
PENDING: "PENDING";
|
|
92
|
+
FAILED: "FAILED";
|
|
93
|
+
SENT: "SENT";
|
|
94
|
+
SKIPPED: "SKIPPED";
|
|
95
|
+
}>>;
|
|
96
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
97
|
+
startedAt: z.ZodString;
|
|
98
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
99
|
+
updatedAt: z.ZodString;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
declare const MealPlanLiveActivitySessionListResponseSchema: z.ZodObject<{
|
|
102
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
103
|
+
state: z.ZodObject<{
|
|
104
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
105
|
+
title: z.ZodString;
|
|
106
|
+
status: z.ZodString;
|
|
107
|
+
scheduledAt: z.ZodNullable<z.ZodString>;
|
|
108
|
+
restaurantName: z.ZodNullable<z.ZodString>;
|
|
109
|
+
placeName: z.ZodNullable<z.ZodString>;
|
|
110
|
+
deepLink: z.ZodString;
|
|
111
|
+
progressLabel: z.ZodString;
|
|
112
|
+
updatedAt: z.ZodString;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
115
|
+
sessionId: z.ZodString;
|
|
116
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
117
|
+
memberId: z.ZodNumber;
|
|
118
|
+
platform: z.ZodEnum<{
|
|
119
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
120
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
121
|
+
}>;
|
|
122
|
+
devicePlatform: z.ZodEnum<{
|
|
123
|
+
WEB: "WEB";
|
|
124
|
+
IOS: "IOS";
|
|
125
|
+
ANDROID: "ANDROID";
|
|
126
|
+
}>;
|
|
127
|
+
deviceId: z.ZodString;
|
|
128
|
+
activityId: z.ZodString;
|
|
129
|
+
status: z.ZodEnum<{
|
|
130
|
+
EXPIRED: "EXPIRED";
|
|
131
|
+
ACTIVE: "ACTIVE";
|
|
132
|
+
DISABLED: "DISABLED";
|
|
133
|
+
ENDED: "ENDED";
|
|
134
|
+
}>;
|
|
135
|
+
appVersion: z.ZodNullable<z.ZodString>;
|
|
136
|
+
buildNumber: z.ZodNullable<z.ZodString>;
|
|
137
|
+
lastEventKind: z.ZodNullable<z.ZodEnum<{
|
|
138
|
+
MEAL_PLAN_INVITE_RECEIVED: "MEAL_PLAN_INVITE_RECEIVED";
|
|
139
|
+
MEAL_PLAN_INVITE_ACCEPTED: "MEAL_PLAN_INVITE_ACCEPTED";
|
|
140
|
+
MEAL_PLAN_JOIN_REQUESTED: "MEAL_PLAN_JOIN_REQUESTED";
|
|
141
|
+
MEAL_PLAN_JOIN_REQUEST_ACCEPTED: "MEAL_PLAN_JOIN_REQUEST_ACCEPTED";
|
|
142
|
+
MEAL_PLAN_NEARBY_FRIEND_EXPOSED: "MEAL_PLAN_NEARBY_FRIEND_EXPOSED";
|
|
143
|
+
MEAL_PLAN_PARTICIPANT_JOINED: "MEAL_PLAN_PARTICIPANT_JOINED";
|
|
144
|
+
MEAL_PLAN_READY_COMPLETED: "MEAL_PLAN_READY_COMPLETED";
|
|
145
|
+
MEAL_PLAN_CONFIRMED: "MEAL_PLAN_CONFIRMED";
|
|
146
|
+
MEAL_PLAN_LOCKED: "MEAL_PLAN_LOCKED";
|
|
147
|
+
MEAL_PLAN_RECORD_NEEDED: "MEAL_PLAN_RECORD_NEEDED";
|
|
148
|
+
}>>;
|
|
149
|
+
lastBehavior: z.ZodNullable<z.ZodEnum<{
|
|
150
|
+
NONE: "NONE";
|
|
151
|
+
START_OR_UPDATE: "START_OR_UPDATE";
|
|
152
|
+
UPDATE: "UPDATE";
|
|
153
|
+
END: "END";
|
|
154
|
+
}>>;
|
|
155
|
+
lastUpdateStatus: z.ZodNullable<z.ZodEnum<{
|
|
156
|
+
PENDING: "PENDING";
|
|
157
|
+
FAILED: "FAILED";
|
|
158
|
+
SENT: "SENT";
|
|
159
|
+
SKIPPED: "SKIPPED";
|
|
160
|
+
}>>;
|
|
161
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
162
|
+
startedAt: z.ZodString;
|
|
163
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
164
|
+
updatedAt: z.ZodString;
|
|
165
|
+
}, z.core.$strip>>;
|
|
166
|
+
}, z.core.$strip>;
|
|
167
|
+
|
|
168
|
+
type MealPlanLiveActivityPlatform = z.infer<typeof MealPlanLiveActivityPlatformSchema>;
|
|
169
|
+
type MealPlanLiveActivitySessionStatus = z.infer<typeof MealPlanLiveActivitySessionStatusSchema>;
|
|
170
|
+
type MealPlanLiveActivityUpdateStatus = z.infer<typeof MealPlanLiveActivityUpdateStatusSchema>;
|
|
171
|
+
type RegisterMealPlanLiveActivitySessionRequest = z.infer<typeof RegisterMealPlanLiveActivitySessionRequestSchema>;
|
|
172
|
+
type EndMealPlanLiveActivitySessionRequest = z.infer<typeof EndMealPlanLiveActivitySessionRequestSchema>;
|
|
173
|
+
type MealPlanLiveActivityState = z.infer<typeof MealPlanLiveActivityStateSchema>;
|
|
174
|
+
type MealPlanLiveActivitySessionResponse = z.infer<typeof MealPlanLiveActivitySessionResponseSchema>;
|
|
175
|
+
type MealPlanLiveActivitySessionListResponse = z.infer<typeof MealPlanLiveActivitySessionListResponseSchema>;
|
|
176
|
+
|
|
177
|
+
export { type EndMealPlanLiveActivitySessionRequest, EndMealPlanLiveActivitySessionRequestSchema, type MealPlanLiveActivityPlatform, MealPlanLiveActivityPlatformSchema, type MealPlanLiveActivitySessionListResponse, MealPlanLiveActivitySessionListResponseSchema, type MealPlanLiveActivitySessionResponse, MealPlanLiveActivitySessionResponseSchema, type MealPlanLiveActivitySessionStatus, MealPlanLiveActivitySessionStatusSchema, type MealPlanLiveActivityState, MealPlanLiveActivityStateSchema, type MealPlanLiveActivityUpdateStatus, MealPlanLiveActivityUpdateStatusSchema, type RegisterMealPlanLiveActivitySessionRequest, RegisterMealPlanLiveActivitySessionRequestSchema };
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const MealPlanLiveActivityPlatformSchema: z.ZodEnum<{
|
|
4
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
5
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
6
|
+
}>;
|
|
7
|
+
declare const MealPlanLiveActivitySessionStatusSchema: z.ZodEnum<{
|
|
8
|
+
EXPIRED: "EXPIRED";
|
|
9
|
+
ACTIVE: "ACTIVE";
|
|
10
|
+
DISABLED: "DISABLED";
|
|
11
|
+
ENDED: "ENDED";
|
|
12
|
+
}>;
|
|
13
|
+
declare const MealPlanLiveActivityUpdateStatusSchema: z.ZodEnum<{
|
|
14
|
+
PENDING: "PENDING";
|
|
15
|
+
FAILED: "FAILED";
|
|
16
|
+
SENT: "SENT";
|
|
17
|
+
SKIPPED: "SKIPPED";
|
|
18
|
+
}>;
|
|
19
|
+
declare const RegisterMealPlanLiveActivitySessionRequestSchema: z.ZodObject<{
|
|
20
|
+
platform: z.ZodEnum<{
|
|
21
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
22
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
23
|
+
}>;
|
|
24
|
+
deviceId: z.ZodString;
|
|
25
|
+
activityId: z.ZodString;
|
|
26
|
+
pushToken: z.ZodOptional<z.ZodString>;
|
|
27
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
28
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const EndMealPlanLiveActivitySessionRequestSchema: z.ZodObject<{
|
|
31
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
33
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
34
|
+
}>>;
|
|
35
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
36
|
+
activityId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const MealPlanLiveActivityStateSchema: z.ZodObject<{
|
|
39
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
40
|
+
title: z.ZodString;
|
|
41
|
+
status: z.ZodString;
|
|
42
|
+
scheduledAt: z.ZodNullable<z.ZodString>;
|
|
43
|
+
restaurantName: z.ZodNullable<z.ZodString>;
|
|
44
|
+
placeName: z.ZodNullable<z.ZodString>;
|
|
45
|
+
deepLink: z.ZodString;
|
|
46
|
+
progressLabel: z.ZodString;
|
|
47
|
+
updatedAt: z.ZodString;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const MealPlanLiveActivitySessionResponseSchema: z.ZodObject<{
|
|
50
|
+
sessionId: z.ZodString;
|
|
51
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
52
|
+
memberId: z.ZodNumber;
|
|
53
|
+
platform: z.ZodEnum<{
|
|
54
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
55
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
56
|
+
}>;
|
|
57
|
+
devicePlatform: z.ZodEnum<{
|
|
58
|
+
WEB: "WEB";
|
|
59
|
+
IOS: "IOS";
|
|
60
|
+
ANDROID: "ANDROID";
|
|
61
|
+
}>;
|
|
62
|
+
deviceId: z.ZodString;
|
|
63
|
+
activityId: z.ZodString;
|
|
64
|
+
status: z.ZodEnum<{
|
|
65
|
+
EXPIRED: "EXPIRED";
|
|
66
|
+
ACTIVE: "ACTIVE";
|
|
67
|
+
DISABLED: "DISABLED";
|
|
68
|
+
ENDED: "ENDED";
|
|
69
|
+
}>;
|
|
70
|
+
appVersion: z.ZodNullable<z.ZodString>;
|
|
71
|
+
buildNumber: z.ZodNullable<z.ZodString>;
|
|
72
|
+
lastEventKind: z.ZodNullable<z.ZodEnum<{
|
|
73
|
+
MEAL_PLAN_INVITE_RECEIVED: "MEAL_PLAN_INVITE_RECEIVED";
|
|
74
|
+
MEAL_PLAN_INVITE_ACCEPTED: "MEAL_PLAN_INVITE_ACCEPTED";
|
|
75
|
+
MEAL_PLAN_JOIN_REQUESTED: "MEAL_PLAN_JOIN_REQUESTED";
|
|
76
|
+
MEAL_PLAN_JOIN_REQUEST_ACCEPTED: "MEAL_PLAN_JOIN_REQUEST_ACCEPTED";
|
|
77
|
+
MEAL_PLAN_NEARBY_FRIEND_EXPOSED: "MEAL_PLAN_NEARBY_FRIEND_EXPOSED";
|
|
78
|
+
MEAL_PLAN_PARTICIPANT_JOINED: "MEAL_PLAN_PARTICIPANT_JOINED";
|
|
79
|
+
MEAL_PLAN_READY_COMPLETED: "MEAL_PLAN_READY_COMPLETED";
|
|
80
|
+
MEAL_PLAN_CONFIRMED: "MEAL_PLAN_CONFIRMED";
|
|
81
|
+
MEAL_PLAN_LOCKED: "MEAL_PLAN_LOCKED";
|
|
82
|
+
MEAL_PLAN_RECORD_NEEDED: "MEAL_PLAN_RECORD_NEEDED";
|
|
83
|
+
}>>;
|
|
84
|
+
lastBehavior: z.ZodNullable<z.ZodEnum<{
|
|
85
|
+
NONE: "NONE";
|
|
86
|
+
START_OR_UPDATE: "START_OR_UPDATE";
|
|
87
|
+
UPDATE: "UPDATE";
|
|
88
|
+
END: "END";
|
|
89
|
+
}>>;
|
|
90
|
+
lastUpdateStatus: z.ZodNullable<z.ZodEnum<{
|
|
91
|
+
PENDING: "PENDING";
|
|
92
|
+
FAILED: "FAILED";
|
|
93
|
+
SENT: "SENT";
|
|
94
|
+
SKIPPED: "SKIPPED";
|
|
95
|
+
}>>;
|
|
96
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
97
|
+
startedAt: z.ZodString;
|
|
98
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
99
|
+
updatedAt: z.ZodString;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
declare const MealPlanLiveActivitySessionListResponseSchema: z.ZodObject<{
|
|
102
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
103
|
+
state: z.ZodObject<{
|
|
104
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
105
|
+
title: z.ZodString;
|
|
106
|
+
status: z.ZodString;
|
|
107
|
+
scheduledAt: z.ZodNullable<z.ZodString>;
|
|
108
|
+
restaurantName: z.ZodNullable<z.ZodString>;
|
|
109
|
+
placeName: z.ZodNullable<z.ZodString>;
|
|
110
|
+
deepLink: z.ZodString;
|
|
111
|
+
progressLabel: z.ZodString;
|
|
112
|
+
updatedAt: z.ZodString;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
115
|
+
sessionId: z.ZodString;
|
|
116
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
117
|
+
memberId: z.ZodNumber;
|
|
118
|
+
platform: z.ZodEnum<{
|
|
119
|
+
IOS_LIVE_ACTIVITY: "IOS_LIVE_ACTIVITY";
|
|
120
|
+
ANDROID_LIVE_UPDATE: "ANDROID_LIVE_UPDATE";
|
|
121
|
+
}>;
|
|
122
|
+
devicePlatform: z.ZodEnum<{
|
|
123
|
+
WEB: "WEB";
|
|
124
|
+
IOS: "IOS";
|
|
125
|
+
ANDROID: "ANDROID";
|
|
126
|
+
}>;
|
|
127
|
+
deviceId: z.ZodString;
|
|
128
|
+
activityId: z.ZodString;
|
|
129
|
+
status: z.ZodEnum<{
|
|
130
|
+
EXPIRED: "EXPIRED";
|
|
131
|
+
ACTIVE: "ACTIVE";
|
|
132
|
+
DISABLED: "DISABLED";
|
|
133
|
+
ENDED: "ENDED";
|
|
134
|
+
}>;
|
|
135
|
+
appVersion: z.ZodNullable<z.ZodString>;
|
|
136
|
+
buildNumber: z.ZodNullable<z.ZodString>;
|
|
137
|
+
lastEventKind: z.ZodNullable<z.ZodEnum<{
|
|
138
|
+
MEAL_PLAN_INVITE_RECEIVED: "MEAL_PLAN_INVITE_RECEIVED";
|
|
139
|
+
MEAL_PLAN_INVITE_ACCEPTED: "MEAL_PLAN_INVITE_ACCEPTED";
|
|
140
|
+
MEAL_PLAN_JOIN_REQUESTED: "MEAL_PLAN_JOIN_REQUESTED";
|
|
141
|
+
MEAL_PLAN_JOIN_REQUEST_ACCEPTED: "MEAL_PLAN_JOIN_REQUEST_ACCEPTED";
|
|
142
|
+
MEAL_PLAN_NEARBY_FRIEND_EXPOSED: "MEAL_PLAN_NEARBY_FRIEND_EXPOSED";
|
|
143
|
+
MEAL_PLAN_PARTICIPANT_JOINED: "MEAL_PLAN_PARTICIPANT_JOINED";
|
|
144
|
+
MEAL_PLAN_READY_COMPLETED: "MEAL_PLAN_READY_COMPLETED";
|
|
145
|
+
MEAL_PLAN_CONFIRMED: "MEAL_PLAN_CONFIRMED";
|
|
146
|
+
MEAL_PLAN_LOCKED: "MEAL_PLAN_LOCKED";
|
|
147
|
+
MEAL_PLAN_RECORD_NEEDED: "MEAL_PLAN_RECORD_NEEDED";
|
|
148
|
+
}>>;
|
|
149
|
+
lastBehavior: z.ZodNullable<z.ZodEnum<{
|
|
150
|
+
NONE: "NONE";
|
|
151
|
+
START_OR_UPDATE: "START_OR_UPDATE";
|
|
152
|
+
UPDATE: "UPDATE";
|
|
153
|
+
END: "END";
|
|
154
|
+
}>>;
|
|
155
|
+
lastUpdateStatus: z.ZodNullable<z.ZodEnum<{
|
|
156
|
+
PENDING: "PENDING";
|
|
157
|
+
FAILED: "FAILED";
|
|
158
|
+
SENT: "SENT";
|
|
159
|
+
SKIPPED: "SKIPPED";
|
|
160
|
+
}>>;
|
|
161
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
162
|
+
startedAt: z.ZodString;
|
|
163
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
164
|
+
updatedAt: z.ZodString;
|
|
165
|
+
}, z.core.$strip>>;
|
|
166
|
+
}, z.core.$strip>;
|
|
167
|
+
|
|
168
|
+
type MealPlanLiveActivityPlatform = z.infer<typeof MealPlanLiveActivityPlatformSchema>;
|
|
169
|
+
type MealPlanLiveActivitySessionStatus = z.infer<typeof MealPlanLiveActivitySessionStatusSchema>;
|
|
170
|
+
type MealPlanLiveActivityUpdateStatus = z.infer<typeof MealPlanLiveActivityUpdateStatusSchema>;
|
|
171
|
+
type RegisterMealPlanLiveActivitySessionRequest = z.infer<typeof RegisterMealPlanLiveActivitySessionRequestSchema>;
|
|
172
|
+
type EndMealPlanLiveActivitySessionRequest = z.infer<typeof EndMealPlanLiveActivitySessionRequestSchema>;
|
|
173
|
+
type MealPlanLiveActivityState = z.infer<typeof MealPlanLiveActivityStateSchema>;
|
|
174
|
+
type MealPlanLiveActivitySessionResponse = z.infer<typeof MealPlanLiveActivitySessionResponseSchema>;
|
|
175
|
+
type MealPlanLiveActivitySessionListResponse = z.infer<typeof MealPlanLiveActivitySessionListResponseSchema>;
|
|
176
|
+
|
|
177
|
+
export { type EndMealPlanLiveActivitySessionRequest, EndMealPlanLiveActivitySessionRequestSchema, type MealPlanLiveActivityPlatform, MealPlanLiveActivityPlatformSchema, type MealPlanLiveActivitySessionListResponse, MealPlanLiveActivitySessionListResponseSchema, type MealPlanLiveActivitySessionResponse, MealPlanLiveActivitySessionResponseSchema, type MealPlanLiveActivitySessionStatus, MealPlanLiveActivitySessionStatusSchema, type MealPlanLiveActivityState, MealPlanLiveActivityStateSchema, type MealPlanLiveActivityUpdateStatus, MealPlanLiveActivityUpdateStatusSchema, type RegisterMealPlanLiveActivitySessionRequest, RegisterMealPlanLiveActivitySessionRequestSchema };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EndMealPlanLiveActivitySessionRequestSchema,
|
|
3
|
+
MealPlanLiveActivityPlatformSchema,
|
|
4
|
+
MealPlanLiveActivitySessionListResponseSchema,
|
|
5
|
+
MealPlanLiveActivitySessionResponseSchema,
|
|
6
|
+
MealPlanLiveActivitySessionStatusSchema,
|
|
7
|
+
MealPlanLiveActivityStateSchema,
|
|
8
|
+
MealPlanLiveActivityUpdateStatusSchema,
|
|
9
|
+
RegisterMealPlanLiveActivitySessionRequestSchema
|
|
10
|
+
} from "../../chunk-3TY6OPD3.js";
|
|
11
|
+
import "../../chunk-LEH6UFL7.js";
|
|
12
|
+
import "../../chunk-WYBFBLQC.js";
|
|
13
|
+
import "../../chunk-GOOH2LGN.js";
|
|
14
|
+
import "../../chunk-7JYVBXKQ.js";
|
|
15
|
+
import "../../chunk-CGFW5LYV.js";
|
|
16
|
+
import "../../chunk-C63TN7L3.js";
|
|
17
|
+
import "../../chunk-HRM3FQPL.js";
|
|
18
|
+
import "../../chunk-XMRYAG3V.js";
|
|
19
|
+
export {
|
|
20
|
+
EndMealPlanLiveActivitySessionRequestSchema,
|
|
21
|
+
MealPlanLiveActivityPlatformSchema,
|
|
22
|
+
MealPlanLiveActivitySessionListResponseSchema,
|
|
23
|
+
MealPlanLiveActivitySessionResponseSchema,
|
|
24
|
+
MealPlanLiveActivitySessionStatusSchema,
|
|
25
|
+
MealPlanLiveActivityStateSchema,
|
|
26
|
+
MealPlanLiveActivityUpdateStatusSchema,
|
|
27
|
+
RegisterMealPlanLiveActivitySessionRequestSchema
|
|
28
|
+
};
|
|
@@ -59,10 +59,16 @@ var NonEmptyStringIdSchema = import_zod2.z.string().min(1);
|
|
|
59
59
|
var MemberIdSchema = PositiveIntIdSchema.brand();
|
|
60
60
|
var ArticleIdSchema = PositiveIntIdSchema.brand();
|
|
61
61
|
var CommentIdSchema = PositiveIntIdSchema.brand();
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
65
|
-
var
|
|
62
|
+
var MealPlanIdSchema = import_zod2.z.string().uuid().brand();
|
|
63
|
+
var MealPlanInviteIdSchema = import_zod2.z.string().uuid().brand();
|
|
64
|
+
var MealPlanJoinRequestIdSchema = import_zod2.z.string().uuid().brand();
|
|
65
|
+
var MealPlanNearbyFriendExposureBatchIdSchema = import_zod2.z.string().uuid().brand();
|
|
66
|
+
var MealPlanChangeRequestIdSchema = import_zod2.z.string().uuid().brand();
|
|
67
|
+
var MealPlanShareLinkIdSchema = import_zod2.z.string().uuid().brand();
|
|
68
|
+
var MealPlanShareLinkTokenSchema = import_zod2.z.string().min(8).max(128).brand();
|
|
69
|
+
var MealPlanChatRoomIdSchema = import_zod2.z.string().uuid().brand();
|
|
70
|
+
var MealPlanChatMessageIdSchema = import_zod2.z.string().uuid().brand();
|
|
71
|
+
var MealGroupIdSchema = import_zod2.z.string().uuid().brand();
|
|
66
72
|
var RestaurantIdSchema = NonEmptyStringIdSchema.brand();
|
|
67
73
|
var CouponIdSchema = PositiveIntIdSchema.brand();
|
|
68
74
|
var SubscriptionIdSchema = PositiveIntIdSchema.brand();
|
|
@@ -88,6 +94,45 @@ var UploadPresignImageRequestSchema = import_zod3.default.object({
|
|
|
88
94
|
|
|
89
95
|
// src/domain/member/member.schema.ts
|
|
90
96
|
var MemberRoleSchema = import_zod4.z.enum(["USER", "ADMIN"]);
|
|
97
|
+
var LocationConsentStatusSchema = import_zod4.z.enum(["UNKNOWN", "GRANTED", "DENIED"]);
|
|
98
|
+
var OnboardingStatusSchema = import_zod4.z.enum(["REQUIRED", "COMPLETED"]);
|
|
99
|
+
var PermissionKindSchema = import_zod4.z.enum(["LOCATION", "NOTIFICATION", "CAMERA"]);
|
|
100
|
+
var PermissionStatusSchema = import_zod4.z.enum([
|
|
101
|
+
"UNKNOWN",
|
|
102
|
+
"PROMPT",
|
|
103
|
+
"GRANTED",
|
|
104
|
+
"DENIED",
|
|
105
|
+
"LIMITED",
|
|
106
|
+
"UNSUPPORTED"
|
|
107
|
+
]);
|
|
108
|
+
var PermissionPlatformSchema = import_zod4.z.enum(["WEB", "IOS", "ANDROID", "UNKNOWN"]);
|
|
109
|
+
var DevicePermissionSnapshotSchema = import_zod4.z.object({
|
|
110
|
+
kind: PermissionKindSchema,
|
|
111
|
+
status: PermissionStatusSchema,
|
|
112
|
+
platform: PermissionPlatformSchema.default("UNKNOWN"),
|
|
113
|
+
canAskAgain: import_zod4.z.boolean().optional(),
|
|
114
|
+
checkedAt: import_zod4.z.string().datetime()
|
|
115
|
+
});
|
|
116
|
+
var MemberLocationSchema = import_zod4.z.object({
|
|
117
|
+
latitude: import_zod4.z.number().min(-90).max(90),
|
|
118
|
+
longitude: import_zod4.z.number().min(-180).max(180),
|
|
119
|
+
accuracyMeters: import_zod4.z.number().min(0).nullable().optional(),
|
|
120
|
+
capturedAt: import_zod4.z.string().datetime()
|
|
121
|
+
});
|
|
122
|
+
var UpdateMemberLocationConsentRequestSchema = import_zod4.z.object({
|
|
123
|
+
locationConsentStatus: LocationConsentStatusSchema,
|
|
124
|
+
nearbyMealPlanExposureAllowed: import_zod4.z.boolean().default(false),
|
|
125
|
+
mealSuggestionAllowed: import_zod4.z.boolean().optional(),
|
|
126
|
+
permissionSnapshot: DevicePermissionSnapshotSchema.optional()
|
|
127
|
+
});
|
|
128
|
+
var MemberLocationSettingsResponseSchema = import_zod4.z.object({
|
|
129
|
+
locationConsentStatus: LocationConsentStatusSchema,
|
|
130
|
+
nearbyMealPlanExposureAllowed: import_zod4.z.boolean(),
|
|
131
|
+
mealSuggestionAllowed: import_zod4.z.boolean(),
|
|
132
|
+
lastKnownLocation: MemberLocationSchema.nullable(),
|
|
133
|
+
permissionSnapshot: DevicePermissionSnapshotSchema.nullable().optional(),
|
|
134
|
+
updatedAt: import_zod4.z.string().datetime().nullable()
|
|
135
|
+
});
|
|
91
136
|
var MemberCoreSchema = import_zod4.z.object({
|
|
92
137
|
memberId: MemberIdSchema,
|
|
93
138
|
username: import_zod4.z.string().min(1).max(50),
|
|
@@ -99,6 +144,11 @@ var MemberResponseSchema = MemberCoreSchema.pick({
|
|
|
99
144
|
memberId: true,
|
|
100
145
|
username: true,
|
|
101
146
|
profileImageUrl: true
|
|
147
|
+
}).extend({
|
|
148
|
+
onboardingStatus: OnboardingStatusSchema.default("REQUIRED"),
|
|
149
|
+
onboardingCompletedAt: import_zod4.z.string().datetime().nullable().default(null),
|
|
150
|
+
locationConsentStatus: LocationConsentStatusSchema.optional(),
|
|
151
|
+
nearbyMealPlanExposureAllowed: import_zod4.z.boolean().optional()
|
|
102
152
|
});
|
|
103
153
|
var MemberSearchQuerySchema = import_zod4.z.object({
|
|
104
154
|
email: import_zod4.z.string().email().optional(),
|
|
@@ -109,7 +159,11 @@ var MemberDetailSchema = MemberCoreSchema.extend({
|
|
|
109
159
|
bio: import_zod4.z.string().nullable(),
|
|
110
160
|
friendConunt: import_zod4.z.number().int().min(0).default(0),
|
|
111
161
|
completedPlans: import_zod4.z.number().int().min(0).default(0),
|
|
112
|
-
uncompletedPlans: import_zod4.z.number().int().min(0).default(0)
|
|
162
|
+
uncompletedPlans: import_zod4.z.number().int().min(0).default(0),
|
|
163
|
+
onboardingStatus: OnboardingStatusSchema.default("REQUIRED"),
|
|
164
|
+
onboardingCompletedAt: import_zod4.z.string().datetime().nullable().default(null),
|
|
165
|
+
locationConsentStatus: LocationConsentStatusSchema.default("UNKNOWN"),
|
|
166
|
+
nearbyMealPlanExposureAllowed: import_zod4.z.boolean().default(false)
|
|
113
167
|
});
|
|
114
168
|
var FoodPreferenceItemSchema = FoodSchema.extend({});
|
|
115
169
|
var MemberFoodPreferenceSchema = import_zod4.z.object({
|
|
@@ -123,9 +177,17 @@ var UpdateProfileRequestSchema = import_zod4.z.object({
|
|
|
123
177
|
bio: import_zod4.z.string().max(500).nullable()
|
|
124
178
|
});
|
|
125
179
|
var UpdatePreferenceRequestSchema = MemberFoodPreferenceSchema;
|
|
126
|
-
var
|
|
180
|
+
var CompleteOnboardingRequestSchema = UpdateProfileRequestSchema.merge(
|
|
127
181
|
UpdatePreferenceRequestSchema
|
|
128
182
|
);
|
|
183
|
+
var OnboardingDraftSchema = import_zod4.z.object({
|
|
184
|
+
username: import_zod4.z.string().min(1).max(50).optional(),
|
|
185
|
+
profileImageUrl: import_zod4.z.string().url().nullable().optional(),
|
|
186
|
+
bio: import_zod4.z.string().max(500).nullable().optional(),
|
|
187
|
+
liked: import_zod4.z.array(FoodPreferenceItemSchema).optional(),
|
|
188
|
+
disliked: import_zod4.z.array(FoodPreferenceItemSchema).optional(),
|
|
189
|
+
allergy: import_zod4.z.array(FoodPreferenceItemSchema).optional()
|
|
190
|
+
});
|
|
129
191
|
|
|
130
192
|
// src/domain/meal/meal.schema.ts
|
|
131
193
|
var MealStatusResponseSchema = import_zod5.z.object({
|
|
@@ -5,56 +5,37 @@ declare const MealStatusResponseSchema: z.ZodObject<{
|
|
|
5
5
|
label: z.ZodString;
|
|
6
6
|
updatedAt: z.ZodString;
|
|
7
7
|
secondsToAutoOff: z.ZodNumber;
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
secondsToAutoOff: number;
|
|
13
|
-
}, {
|
|
14
|
-
label: string;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
hungry: boolean;
|
|
17
|
-
secondsToAutoOff: number;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MealStatusActionSchema: z.ZodEnum<{
|
|
10
|
+
ARTICLE_UPLOAD: "ARTICLE_UPLOAD";
|
|
11
|
+
SET_MANNUALY: "SET_MANNUALY";
|
|
18
12
|
}>;
|
|
19
|
-
declare const MealStatusActionSchema: z.ZodEnum<["ARTICLE_UPLOAD", "SET_MANNUALY"]>;
|
|
20
13
|
declare const UpdateMealStatusRequestSchema: z.ZodObject<{
|
|
21
|
-
action: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
14
|
+
action: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
ARTICLE_UPLOAD: "ARTICLE_UPLOAD";
|
|
16
|
+
SET_MANNUALY: "SET_MANNUALY";
|
|
17
|
+
}>>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const MealStatusSchema: z.ZodEnum<{
|
|
20
|
+
ALL: "ALL";
|
|
21
|
+
HUNGRY: "HUNGRY";
|
|
22
|
+
NOT_HUNGRY: "NOT_HUNGRY";
|
|
26
23
|
}>;
|
|
27
|
-
declare const MealStatusSchema: z.ZodEnum<["ALL", "HUNGRY", "NOT_HUNGRY"]>;
|
|
28
24
|
declare const FriendMealQuerySchema: z.ZodObject<{
|
|
29
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}>;
|
|
25
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
ALL: "ALL";
|
|
27
|
+
HUNGRY: "HUNGRY";
|
|
28
|
+
NOT_HUNGRY: "NOT_HUNGRY";
|
|
29
|
+
}>>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
35
31
|
declare const FriendMealItemResponseSchema: z.ZodObject<{
|
|
36
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
32
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
37
33
|
username: z.ZodString;
|
|
38
34
|
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
} & {
|
|
40
35
|
hungry: z.ZodBoolean;
|
|
41
36
|
label: z.ZodString;
|
|
42
37
|
updatedAt: z.ZodString;
|
|
43
|
-
},
|
|
44
|
-
label: string;
|
|
45
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
46
|
-
username: string;
|
|
47
|
-
updatedAt: string;
|
|
48
|
-
hungry: boolean;
|
|
49
|
-
profileImageUrl?: string | null | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
label: string;
|
|
52
|
-
memberId: number;
|
|
53
|
-
username: string;
|
|
54
|
-
updatedAt: string;
|
|
55
|
-
hungry: boolean;
|
|
56
|
-
profileImageUrl?: string | null | undefined;
|
|
57
|
-
}>;
|
|
38
|
+
}, z.core.$strip>;
|
|
58
39
|
|
|
59
40
|
type UpdateMealStatusRequest = z.infer<typeof UpdateMealStatusRequestSchema>;
|
|
60
41
|
type MealStatus = z.infer<typeof MealStatusSchema>;
|
|
@@ -5,56 +5,37 @@ declare const MealStatusResponseSchema: z.ZodObject<{
|
|
|
5
5
|
label: z.ZodString;
|
|
6
6
|
updatedAt: z.ZodString;
|
|
7
7
|
secondsToAutoOff: z.ZodNumber;
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
secondsToAutoOff: number;
|
|
13
|
-
}, {
|
|
14
|
-
label: string;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
hungry: boolean;
|
|
17
|
-
secondsToAutoOff: number;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MealStatusActionSchema: z.ZodEnum<{
|
|
10
|
+
ARTICLE_UPLOAD: "ARTICLE_UPLOAD";
|
|
11
|
+
SET_MANNUALY: "SET_MANNUALY";
|
|
18
12
|
}>;
|
|
19
|
-
declare const MealStatusActionSchema: z.ZodEnum<["ARTICLE_UPLOAD", "SET_MANNUALY"]>;
|
|
20
13
|
declare const UpdateMealStatusRequestSchema: z.ZodObject<{
|
|
21
|
-
action: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
14
|
+
action: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
ARTICLE_UPLOAD: "ARTICLE_UPLOAD";
|
|
16
|
+
SET_MANNUALY: "SET_MANNUALY";
|
|
17
|
+
}>>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const MealStatusSchema: z.ZodEnum<{
|
|
20
|
+
ALL: "ALL";
|
|
21
|
+
HUNGRY: "HUNGRY";
|
|
22
|
+
NOT_HUNGRY: "NOT_HUNGRY";
|
|
26
23
|
}>;
|
|
27
|
-
declare const MealStatusSchema: z.ZodEnum<["ALL", "HUNGRY", "NOT_HUNGRY"]>;
|
|
28
24
|
declare const FriendMealQuerySchema: z.ZodObject<{
|
|
29
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}>;
|
|
25
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
ALL: "ALL";
|
|
27
|
+
HUNGRY: "HUNGRY";
|
|
28
|
+
NOT_HUNGRY: "NOT_HUNGRY";
|
|
29
|
+
}>>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
35
31
|
declare const FriendMealItemResponseSchema: z.ZodObject<{
|
|
36
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
32
|
+
memberId: z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">;
|
|
37
33
|
username: z.ZodString;
|
|
38
34
|
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
} & {
|
|
40
35
|
hungry: z.ZodBoolean;
|
|
41
36
|
label: z.ZodString;
|
|
42
37
|
updatedAt: z.ZodString;
|
|
43
|
-
},
|
|
44
|
-
label: string;
|
|
45
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
46
|
-
username: string;
|
|
47
|
-
updatedAt: string;
|
|
48
|
-
hungry: boolean;
|
|
49
|
-
profileImageUrl?: string | null | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
label: string;
|
|
52
|
-
memberId: number;
|
|
53
|
-
username: string;
|
|
54
|
-
updatedAt: string;
|
|
55
|
-
hungry: boolean;
|
|
56
|
-
profileImageUrl?: string | null | undefined;
|
|
57
|
-
}>;
|
|
38
|
+
}, z.core.$strip>;
|
|
58
39
|
|
|
59
40
|
type UpdateMealStatusRequest = z.infer<typeof UpdateMealStatusRequestSchema>;
|
|
60
41
|
type MealStatus = z.infer<typeof MealStatusSchema>;
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
MealStatusResponseSchema,
|
|
6
6
|
MealStatusSchema,
|
|
7
7
|
UpdateMealStatusRequestSchema
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-HRM3FQPL.js";
|
|
8
|
+
} from "../../chunk-6O2YTBVC.js";
|
|
10
9
|
import "../../chunk-NJTV6DRT.js";
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-C63TN7L3.js";
|
|
11
|
+
import "../../chunk-HRM3FQPL.js";
|
|
12
|
+
import "../../chunk-XMRYAG3V.js";
|
|
13
13
|
export {
|
|
14
14
|
FriendMealItemResponseSchema,
|
|
15
15
|
FriendMealQuerySchema,
|