@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.
- package/dist/chunk-3BLXZW4U.js +338 -0
- package/dist/{chunk-AI2YMBJX.js → chunk-65DWKLP6.js} +18 -9
- package/dist/{chunk-H77ISYYC.js → chunk-6R5CCY5Q.js} +22 -8
- package/dist/{chunk-4E5E3PFW.js → chunk-DRCY5UNQ.js} +20 -7
- package/dist/chunk-EX7S5FI5.js +91 -0
- package/dist/{chunk-HRM3FQPL.js → chunk-EYZU5HPG.js} +4 -1
- package/dist/{chunk-OJVXYCSH.js → chunk-G7TITUHT.js} +1 -1
- package/dist/chunk-GESEM4IA.js +122 -0
- package/dist/chunk-IPANLE7B.js +632 -0
- package/dist/chunk-KREAZLLH.js +1062 -0
- package/dist/{chunk-K3CZKI2F.js → chunk-P3MYMK34.js} +24 -13
- package/dist/chunk-Q4BPFDVB.js +171 -0
- package/dist/{chunk-W4C7XHTX.js → chunk-QUAG5LF5.js} +13 -6
- package/dist/chunk-TIOX7OHA.js +863 -0
- package/dist/{chunk-GTVEQYJW.js → chunk-TOXRHSD6.js} +1 -1
- package/dist/chunk-YV734GYZ.js +165 -0
- package/dist/domain/article/index.cjs +107 -15
- package/dist/domain/article/index.d.cts +79 -796
- package/dist/domain/article/index.d.ts +79 -796
- package/dist/domain/article/index.js +5 -5
- package/dist/domain/auth/index.cjs +88 -9
- 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 +2100 -395
- 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 -31
- package/dist/domain/food/index.cjs +248 -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 +44 -0
- package/dist/domain/friend/index.cjs +108 -12
- package/dist/domain/friend/index.d.cts +39 -98
- package/dist/domain/friend/index.d.ts +39 -98
- package/dist/domain/friend/index.js +6 -4
- package/dist/domain/index.cjs +2736 -522
- package/dist/domain/index.d.cts +383 -123
- package/dist/domain/index.d.ts +383 -123
- package/dist/domain/index.js +429 -140
- package/dist/domain/live-activity/index.cjs +1061 -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 +27 -0
- package/dist/domain/meal/index.cjs +101 -12
- 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 +1504 -0
- package/dist/domain/meal-plan/index.d.cts +4424 -0
- package/dist/domain/meal-plan/index.d.ts +4424 -0
- package/dist/domain/meal-plan/index.js +256 -0
- package/dist/domain/member/index.cjs +114 -9
- 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 +26 -8
- package/dist/domain/promotion/index.d.cts +35 -112
- package/dist/domain/promotion/index.d.ts +35 -112
- package/dist/domain/promotion/index.js +3 -3
- package/dist/domain/push/index.cjs +1004 -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 +35 -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 +2535 -464
- package/dist/index.d.cts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.js +16 -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,169 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const PushProviderSchema: z.ZodEnum<{
|
|
4
|
+
FCM: "FCM";
|
|
5
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
6
|
+
}>;
|
|
7
|
+
declare const PushPlatformSchema: z.ZodEnum<{
|
|
8
|
+
WEB: "WEB";
|
|
9
|
+
IOS: "IOS";
|
|
10
|
+
ANDROID: "ANDROID";
|
|
11
|
+
}>;
|
|
12
|
+
declare const PushPermissionStatusSchema: z.ZodEnum<{
|
|
13
|
+
UNKNOWN: "UNKNOWN";
|
|
14
|
+
GRANTED: "GRANTED";
|
|
15
|
+
DENIED: "DENIED";
|
|
16
|
+
PROMPT: "PROMPT";
|
|
17
|
+
}>;
|
|
18
|
+
declare const PushTokenStatusSchema: z.ZodEnum<{
|
|
19
|
+
ACTIVE: "ACTIVE";
|
|
20
|
+
REVOKED: "REVOKED";
|
|
21
|
+
DISABLED: "DISABLED";
|
|
22
|
+
}>;
|
|
23
|
+
declare const RegisterPushTokenRequestSchema: z.ZodObject<{
|
|
24
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
25
|
+
FCM: "FCM";
|
|
26
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
27
|
+
}>>;
|
|
28
|
+
platform: z.ZodEnum<{
|
|
29
|
+
WEB: "WEB";
|
|
30
|
+
IOS: "IOS";
|
|
31
|
+
ANDROID: "ANDROID";
|
|
32
|
+
}>;
|
|
33
|
+
token: z.ZodString;
|
|
34
|
+
deviceId: z.ZodString;
|
|
35
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
36
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
37
|
+
permissionStatus: z.ZodEnum<{
|
|
38
|
+
UNKNOWN: "UNKNOWN";
|
|
39
|
+
GRANTED: "GRANTED";
|
|
40
|
+
DENIED: "DENIED";
|
|
41
|
+
PROMPT: "PROMPT";
|
|
42
|
+
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
declare const RevokePushTokenRequestSchema: z.ZodObject<{
|
|
45
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
46
|
+
FCM: "FCM";
|
|
47
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
48
|
+
}>>;
|
|
49
|
+
token: z.ZodOptional<z.ZodString>;
|
|
50
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const PushTokenResponseSchema: z.ZodObject<{
|
|
53
|
+
pushTokenId: z.ZodString;
|
|
54
|
+
provider: z.ZodEnum<{
|
|
55
|
+
FCM: "FCM";
|
|
56
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
57
|
+
}>;
|
|
58
|
+
platform: z.ZodEnum<{
|
|
59
|
+
WEB: "WEB";
|
|
60
|
+
IOS: "IOS";
|
|
61
|
+
ANDROID: "ANDROID";
|
|
62
|
+
}>;
|
|
63
|
+
deviceId: z.ZodString;
|
|
64
|
+
status: z.ZodEnum<{
|
|
65
|
+
ACTIVE: "ACTIVE";
|
|
66
|
+
REVOKED: "REVOKED";
|
|
67
|
+
DISABLED: "DISABLED";
|
|
68
|
+
}>;
|
|
69
|
+
permissionStatus: z.ZodEnum<{
|
|
70
|
+
UNKNOWN: "UNKNOWN";
|
|
71
|
+
GRANTED: "GRANTED";
|
|
72
|
+
DENIED: "DENIED";
|
|
73
|
+
PROMPT: "PROMPT";
|
|
74
|
+
}>;
|
|
75
|
+
appVersion: z.ZodNullable<z.ZodString>;
|
|
76
|
+
buildNumber: z.ZodNullable<z.ZodString>;
|
|
77
|
+
lastSeenAt: z.ZodString;
|
|
78
|
+
revokedAt: z.ZodNullable<z.ZodString>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
declare const PushPayloadSchemaVersionSchema: z.ZodLiteral<"2026-06-17">;
|
|
81
|
+
declare const MealPlanPushPayloadDataSchema: z.ZodObject<{
|
|
82
|
+
schemaVersion: z.ZodLiteral<"2026-06-17">;
|
|
83
|
+
notificationId: z.ZodString;
|
|
84
|
+
kind: z.ZodEnum<{
|
|
85
|
+
MEAL_PLAN_INVITE_RECEIVED: "MEAL_PLAN_INVITE_RECEIVED";
|
|
86
|
+
MEAL_PLAN_INVITE_ACCEPTED: "MEAL_PLAN_INVITE_ACCEPTED";
|
|
87
|
+
MEAL_PLAN_JOIN_REQUESTED: "MEAL_PLAN_JOIN_REQUESTED";
|
|
88
|
+
MEAL_PLAN_JOIN_REQUEST_ACCEPTED: "MEAL_PLAN_JOIN_REQUEST_ACCEPTED";
|
|
89
|
+
MEAL_PLAN_NEARBY_FRIEND_EXPOSED: "MEAL_PLAN_NEARBY_FRIEND_EXPOSED";
|
|
90
|
+
MEAL_PLAN_PARTICIPANT_JOINED: "MEAL_PLAN_PARTICIPANT_JOINED";
|
|
91
|
+
MEAL_PLAN_READY_COMPLETED: "MEAL_PLAN_READY_COMPLETED";
|
|
92
|
+
MEAL_PLAN_CONFIRMED: "MEAL_PLAN_CONFIRMED";
|
|
93
|
+
MEAL_PLAN_LOCKED: "MEAL_PLAN_LOCKED";
|
|
94
|
+
MEAL_PLAN_RECORD_NEEDED: "MEAL_PLAN_RECORD_NEEDED";
|
|
95
|
+
}>;
|
|
96
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
97
|
+
deepLink: z.ZodString;
|
|
98
|
+
title: z.ZodString;
|
|
99
|
+
body: z.ZodString;
|
|
100
|
+
fcmPriority: z.ZodCoercedNumber<unknown>;
|
|
101
|
+
liveActivityPriority: z.ZodCoercedNumber<unknown>;
|
|
102
|
+
liveActivityBehavior: z.ZodEnum<{
|
|
103
|
+
NONE: "NONE";
|
|
104
|
+
START_OR_UPDATE: "START_OR_UPDATE";
|
|
105
|
+
UPDATE: "UPDATE";
|
|
106
|
+
END: "END";
|
|
107
|
+
}>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
declare const PushDeliveryStatusSchema: z.ZodEnum<{
|
|
110
|
+
PENDING: "PENDING";
|
|
111
|
+
FAILED: "FAILED";
|
|
112
|
+
SENT: "SENT";
|
|
113
|
+
SKIPPED: "SKIPPED";
|
|
114
|
+
}>;
|
|
115
|
+
declare const PushDeliveryAttemptResultSchema: z.ZodEnum<{
|
|
116
|
+
FAILED: "FAILED";
|
|
117
|
+
SENT: "SENT";
|
|
118
|
+
SKIPPED: "SKIPPED";
|
|
119
|
+
}>;
|
|
120
|
+
declare const PushDeliveryAttemptSummarySchema: z.ZodObject<{
|
|
121
|
+
attemptId: z.ZodString;
|
|
122
|
+
outboxId: z.ZodString;
|
|
123
|
+
pushTokenId: z.ZodNullable<z.ZodString>;
|
|
124
|
+
provider: z.ZodEnum<{
|
|
125
|
+
FCM: "FCM";
|
|
126
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
127
|
+
}>;
|
|
128
|
+
result: z.ZodEnum<{
|
|
129
|
+
FAILED: "FAILED";
|
|
130
|
+
SENT: "SENT";
|
|
131
|
+
SKIPPED: "SKIPPED";
|
|
132
|
+
}>;
|
|
133
|
+
providerMessageId: z.ZodNullable<z.ZodString>;
|
|
134
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
135
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
136
|
+
invalidToken: z.ZodBoolean;
|
|
137
|
+
createdAt: z.ZodString;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
declare const PushDeliveryOutboxSummarySchema: z.ZodObject<{
|
|
140
|
+
outboxId: z.ZodString;
|
|
141
|
+
notificationId: z.ZodString;
|
|
142
|
+
memberId: z.ZodNumber;
|
|
143
|
+
status: z.ZodEnum<{
|
|
144
|
+
PENDING: "PENDING";
|
|
145
|
+
FAILED: "FAILED";
|
|
146
|
+
SENT: "SENT";
|
|
147
|
+
SKIPPED: "SKIPPED";
|
|
148
|
+
}>;
|
|
149
|
+
attemptCount: z.ZodNumber;
|
|
150
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
151
|
+
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
152
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
153
|
+
createdAt: z.ZodString;
|
|
154
|
+
}, z.core.$strip>;
|
|
155
|
+
|
|
156
|
+
type PushProvider = z.infer<typeof PushProviderSchema>;
|
|
157
|
+
type PushPlatform = z.infer<typeof PushPlatformSchema>;
|
|
158
|
+
type PushPermissionStatus = z.infer<typeof PushPermissionStatusSchema>;
|
|
159
|
+
type PushTokenStatus = z.infer<typeof PushTokenStatusSchema>;
|
|
160
|
+
type RegisterPushTokenRequest = z.infer<typeof RegisterPushTokenRequestSchema>;
|
|
161
|
+
type RevokePushTokenRequest = z.infer<typeof RevokePushTokenRequestSchema>;
|
|
162
|
+
type PushTokenResponse = z.infer<typeof PushTokenResponseSchema>;
|
|
163
|
+
type MealPlanPushPayloadData = z.infer<typeof MealPlanPushPayloadDataSchema>;
|
|
164
|
+
type PushDeliveryStatus = z.infer<typeof PushDeliveryStatusSchema>;
|
|
165
|
+
type PushDeliveryAttemptResult = z.infer<typeof PushDeliveryAttemptResultSchema>;
|
|
166
|
+
type PushDeliveryAttemptSummary = z.infer<typeof PushDeliveryAttemptSummarySchema>;
|
|
167
|
+
type PushDeliveryOutboxSummary = z.infer<typeof PushDeliveryOutboxSummarySchema>;
|
|
168
|
+
|
|
169
|
+
export { type MealPlanPushPayloadData, MealPlanPushPayloadDataSchema, type PushDeliveryAttemptResult, PushDeliveryAttemptResultSchema, type PushDeliveryAttemptSummary, PushDeliveryAttemptSummarySchema, type PushDeliveryOutboxSummary, PushDeliveryOutboxSummarySchema, type PushDeliveryStatus, PushDeliveryStatusSchema, PushPayloadSchemaVersionSchema, type PushPermissionStatus, PushPermissionStatusSchema, type PushPlatform, PushPlatformSchema, type PushProvider, PushProviderSchema, type PushTokenResponse, PushTokenResponseSchema, type PushTokenStatus, PushTokenStatusSchema, type RegisterPushTokenRequest, RegisterPushTokenRequestSchema, type RevokePushTokenRequest, RevokePushTokenRequestSchema };
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const PushProviderSchema: z.ZodEnum<{
|
|
4
|
+
FCM: "FCM";
|
|
5
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
6
|
+
}>;
|
|
7
|
+
declare const PushPlatformSchema: z.ZodEnum<{
|
|
8
|
+
WEB: "WEB";
|
|
9
|
+
IOS: "IOS";
|
|
10
|
+
ANDROID: "ANDROID";
|
|
11
|
+
}>;
|
|
12
|
+
declare const PushPermissionStatusSchema: z.ZodEnum<{
|
|
13
|
+
UNKNOWN: "UNKNOWN";
|
|
14
|
+
GRANTED: "GRANTED";
|
|
15
|
+
DENIED: "DENIED";
|
|
16
|
+
PROMPT: "PROMPT";
|
|
17
|
+
}>;
|
|
18
|
+
declare const PushTokenStatusSchema: z.ZodEnum<{
|
|
19
|
+
ACTIVE: "ACTIVE";
|
|
20
|
+
REVOKED: "REVOKED";
|
|
21
|
+
DISABLED: "DISABLED";
|
|
22
|
+
}>;
|
|
23
|
+
declare const RegisterPushTokenRequestSchema: z.ZodObject<{
|
|
24
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
25
|
+
FCM: "FCM";
|
|
26
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
27
|
+
}>>;
|
|
28
|
+
platform: z.ZodEnum<{
|
|
29
|
+
WEB: "WEB";
|
|
30
|
+
IOS: "IOS";
|
|
31
|
+
ANDROID: "ANDROID";
|
|
32
|
+
}>;
|
|
33
|
+
token: z.ZodString;
|
|
34
|
+
deviceId: z.ZodString;
|
|
35
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
36
|
+
buildNumber: z.ZodOptional<z.ZodString>;
|
|
37
|
+
permissionStatus: z.ZodEnum<{
|
|
38
|
+
UNKNOWN: "UNKNOWN";
|
|
39
|
+
GRANTED: "GRANTED";
|
|
40
|
+
DENIED: "DENIED";
|
|
41
|
+
PROMPT: "PROMPT";
|
|
42
|
+
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
declare const RevokePushTokenRequestSchema: z.ZodObject<{
|
|
45
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
46
|
+
FCM: "FCM";
|
|
47
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
48
|
+
}>>;
|
|
49
|
+
token: z.ZodOptional<z.ZodString>;
|
|
50
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const PushTokenResponseSchema: z.ZodObject<{
|
|
53
|
+
pushTokenId: z.ZodString;
|
|
54
|
+
provider: z.ZodEnum<{
|
|
55
|
+
FCM: "FCM";
|
|
56
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
57
|
+
}>;
|
|
58
|
+
platform: z.ZodEnum<{
|
|
59
|
+
WEB: "WEB";
|
|
60
|
+
IOS: "IOS";
|
|
61
|
+
ANDROID: "ANDROID";
|
|
62
|
+
}>;
|
|
63
|
+
deviceId: z.ZodString;
|
|
64
|
+
status: z.ZodEnum<{
|
|
65
|
+
ACTIVE: "ACTIVE";
|
|
66
|
+
REVOKED: "REVOKED";
|
|
67
|
+
DISABLED: "DISABLED";
|
|
68
|
+
}>;
|
|
69
|
+
permissionStatus: z.ZodEnum<{
|
|
70
|
+
UNKNOWN: "UNKNOWN";
|
|
71
|
+
GRANTED: "GRANTED";
|
|
72
|
+
DENIED: "DENIED";
|
|
73
|
+
PROMPT: "PROMPT";
|
|
74
|
+
}>;
|
|
75
|
+
appVersion: z.ZodNullable<z.ZodString>;
|
|
76
|
+
buildNumber: z.ZodNullable<z.ZodString>;
|
|
77
|
+
lastSeenAt: z.ZodString;
|
|
78
|
+
revokedAt: z.ZodNullable<z.ZodString>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
declare const PushPayloadSchemaVersionSchema: z.ZodLiteral<"2026-06-17">;
|
|
81
|
+
declare const MealPlanPushPayloadDataSchema: z.ZodObject<{
|
|
82
|
+
schemaVersion: z.ZodLiteral<"2026-06-17">;
|
|
83
|
+
notificationId: z.ZodString;
|
|
84
|
+
kind: z.ZodEnum<{
|
|
85
|
+
MEAL_PLAN_INVITE_RECEIVED: "MEAL_PLAN_INVITE_RECEIVED";
|
|
86
|
+
MEAL_PLAN_INVITE_ACCEPTED: "MEAL_PLAN_INVITE_ACCEPTED";
|
|
87
|
+
MEAL_PLAN_JOIN_REQUESTED: "MEAL_PLAN_JOIN_REQUESTED";
|
|
88
|
+
MEAL_PLAN_JOIN_REQUEST_ACCEPTED: "MEAL_PLAN_JOIN_REQUEST_ACCEPTED";
|
|
89
|
+
MEAL_PLAN_NEARBY_FRIEND_EXPOSED: "MEAL_PLAN_NEARBY_FRIEND_EXPOSED";
|
|
90
|
+
MEAL_PLAN_PARTICIPANT_JOINED: "MEAL_PLAN_PARTICIPANT_JOINED";
|
|
91
|
+
MEAL_PLAN_READY_COMPLETED: "MEAL_PLAN_READY_COMPLETED";
|
|
92
|
+
MEAL_PLAN_CONFIRMED: "MEAL_PLAN_CONFIRMED";
|
|
93
|
+
MEAL_PLAN_LOCKED: "MEAL_PLAN_LOCKED";
|
|
94
|
+
MEAL_PLAN_RECORD_NEEDED: "MEAL_PLAN_RECORD_NEEDED";
|
|
95
|
+
}>;
|
|
96
|
+
mealPlanId: z.core.$ZodBranded<z.ZodString, "MealPlanId", "out">;
|
|
97
|
+
deepLink: z.ZodString;
|
|
98
|
+
title: z.ZodString;
|
|
99
|
+
body: z.ZodString;
|
|
100
|
+
fcmPriority: z.ZodCoercedNumber<unknown>;
|
|
101
|
+
liveActivityPriority: z.ZodCoercedNumber<unknown>;
|
|
102
|
+
liveActivityBehavior: z.ZodEnum<{
|
|
103
|
+
NONE: "NONE";
|
|
104
|
+
START_OR_UPDATE: "START_OR_UPDATE";
|
|
105
|
+
UPDATE: "UPDATE";
|
|
106
|
+
END: "END";
|
|
107
|
+
}>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
declare const PushDeliveryStatusSchema: z.ZodEnum<{
|
|
110
|
+
PENDING: "PENDING";
|
|
111
|
+
FAILED: "FAILED";
|
|
112
|
+
SENT: "SENT";
|
|
113
|
+
SKIPPED: "SKIPPED";
|
|
114
|
+
}>;
|
|
115
|
+
declare const PushDeliveryAttemptResultSchema: z.ZodEnum<{
|
|
116
|
+
FAILED: "FAILED";
|
|
117
|
+
SENT: "SENT";
|
|
118
|
+
SKIPPED: "SKIPPED";
|
|
119
|
+
}>;
|
|
120
|
+
declare const PushDeliveryAttemptSummarySchema: z.ZodObject<{
|
|
121
|
+
attemptId: z.ZodString;
|
|
122
|
+
outboxId: z.ZodString;
|
|
123
|
+
pushTokenId: z.ZodNullable<z.ZodString>;
|
|
124
|
+
provider: z.ZodEnum<{
|
|
125
|
+
FCM: "FCM";
|
|
126
|
+
APNS_LIVE_ACTIVITY: "APNS_LIVE_ACTIVITY";
|
|
127
|
+
}>;
|
|
128
|
+
result: z.ZodEnum<{
|
|
129
|
+
FAILED: "FAILED";
|
|
130
|
+
SENT: "SENT";
|
|
131
|
+
SKIPPED: "SKIPPED";
|
|
132
|
+
}>;
|
|
133
|
+
providerMessageId: z.ZodNullable<z.ZodString>;
|
|
134
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
135
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
136
|
+
invalidToken: z.ZodBoolean;
|
|
137
|
+
createdAt: z.ZodString;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
declare const PushDeliveryOutboxSummarySchema: z.ZodObject<{
|
|
140
|
+
outboxId: z.ZodString;
|
|
141
|
+
notificationId: z.ZodString;
|
|
142
|
+
memberId: z.ZodNumber;
|
|
143
|
+
status: z.ZodEnum<{
|
|
144
|
+
PENDING: "PENDING";
|
|
145
|
+
FAILED: "FAILED";
|
|
146
|
+
SENT: "SENT";
|
|
147
|
+
SKIPPED: "SKIPPED";
|
|
148
|
+
}>;
|
|
149
|
+
attemptCount: z.ZodNumber;
|
|
150
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
151
|
+
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
152
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
153
|
+
createdAt: z.ZodString;
|
|
154
|
+
}, z.core.$strip>;
|
|
155
|
+
|
|
156
|
+
type PushProvider = z.infer<typeof PushProviderSchema>;
|
|
157
|
+
type PushPlatform = z.infer<typeof PushPlatformSchema>;
|
|
158
|
+
type PushPermissionStatus = z.infer<typeof PushPermissionStatusSchema>;
|
|
159
|
+
type PushTokenStatus = z.infer<typeof PushTokenStatusSchema>;
|
|
160
|
+
type RegisterPushTokenRequest = z.infer<typeof RegisterPushTokenRequestSchema>;
|
|
161
|
+
type RevokePushTokenRequest = z.infer<typeof RevokePushTokenRequestSchema>;
|
|
162
|
+
type PushTokenResponse = z.infer<typeof PushTokenResponseSchema>;
|
|
163
|
+
type MealPlanPushPayloadData = z.infer<typeof MealPlanPushPayloadDataSchema>;
|
|
164
|
+
type PushDeliveryStatus = z.infer<typeof PushDeliveryStatusSchema>;
|
|
165
|
+
type PushDeliveryAttemptResult = z.infer<typeof PushDeliveryAttemptResultSchema>;
|
|
166
|
+
type PushDeliveryAttemptSummary = z.infer<typeof PushDeliveryAttemptSummarySchema>;
|
|
167
|
+
type PushDeliveryOutboxSummary = z.infer<typeof PushDeliveryOutboxSummarySchema>;
|
|
168
|
+
|
|
169
|
+
export { type MealPlanPushPayloadData, MealPlanPushPayloadDataSchema, type PushDeliveryAttemptResult, PushDeliveryAttemptResultSchema, type PushDeliveryAttemptSummary, PushDeliveryAttemptSummarySchema, type PushDeliveryOutboxSummary, PushDeliveryOutboxSummarySchema, type PushDeliveryStatus, PushDeliveryStatusSchema, PushPayloadSchemaVersionSchema, type PushPermissionStatus, PushPermissionStatusSchema, type PushPlatform, PushPlatformSchema, type PushProvider, PushProviderSchema, type PushTokenResponse, PushTokenResponseSchema, type PushTokenStatus, PushTokenStatusSchema, type RegisterPushTokenRequest, RegisterPushTokenRequestSchema, type RevokePushTokenRequest, RevokePushTokenRequestSchema };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MealPlanPushPayloadDataSchema,
|
|
3
|
+
PushDeliveryAttemptResultSchema,
|
|
4
|
+
PushDeliveryAttemptSummarySchema,
|
|
5
|
+
PushDeliveryOutboxSummarySchema,
|
|
6
|
+
PushDeliveryStatusSchema,
|
|
7
|
+
PushPayloadSchemaVersionSchema,
|
|
8
|
+
PushPermissionStatusSchema,
|
|
9
|
+
PushPlatformSchema,
|
|
10
|
+
PushProviderSchema,
|
|
11
|
+
PushTokenResponseSchema,
|
|
12
|
+
PushTokenStatusSchema,
|
|
13
|
+
RegisterPushTokenRequestSchema,
|
|
14
|
+
RevokePushTokenRequestSchema
|
|
15
|
+
} from "../../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";
|
|
21
|
+
export {
|
|
22
|
+
MealPlanPushPayloadDataSchema,
|
|
23
|
+
PushDeliveryAttemptResultSchema,
|
|
24
|
+
PushDeliveryAttemptSummarySchema,
|
|
25
|
+
PushDeliveryOutboxSummarySchema,
|
|
26
|
+
PushDeliveryStatusSchema,
|
|
27
|
+
PushPayloadSchemaVersionSchema,
|
|
28
|
+
PushPermissionStatusSchema,
|
|
29
|
+
PushPlatformSchema,
|
|
30
|
+
PushProviderSchema,
|
|
31
|
+
PushTokenResponseSchema,
|
|
32
|
+
PushTokenStatusSchema,
|
|
33
|
+
RegisterPushTokenRequestSchema,
|
|
34
|
+
RevokePushTokenRequestSchema
|
|
35
|
+
};
|
|
@@ -35,10 +35,16 @@ var NonEmptyStringIdSchema = import_zod.z.string().min(1);
|
|
|
35
35
|
var MemberIdSchema = PositiveIntIdSchema.brand();
|
|
36
36
|
var ArticleIdSchema = PositiveIntIdSchema.brand();
|
|
37
37
|
var CommentIdSchema = PositiveIntIdSchema.brand();
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
38
|
+
var MealPlanIdSchema = import_zod.z.string().uuid().brand();
|
|
39
|
+
var MealPlanInviteIdSchema = import_zod.z.string().uuid().brand();
|
|
40
|
+
var MealPlanJoinRequestIdSchema = import_zod.z.string().uuid().brand();
|
|
41
|
+
var MealPlanNearbyFriendExposureBatchIdSchema = import_zod.z.string().uuid().brand();
|
|
42
|
+
var MealPlanChangeRequestIdSchema = import_zod.z.string().uuid().brand();
|
|
43
|
+
var MealPlanShareLinkIdSchema = import_zod.z.string().uuid().brand();
|
|
44
|
+
var MealPlanShareLinkTokenSchema = import_zod.z.string().min(8).max(128).brand();
|
|
45
|
+
var MealPlanChatRoomIdSchema = import_zod.z.string().uuid().brand();
|
|
46
|
+
var MealPlanChatMessageIdSchema = import_zod.z.string().uuid().brand();
|
|
47
|
+
var MealGroupIdSchema = import_zod.z.string().uuid().brand();
|
|
42
48
|
var RestaurantIdSchema = NonEmptyStringIdSchema.brand();
|
|
43
49
|
var CouponIdSchema = PositiveIntIdSchema.brand();
|
|
44
50
|
var SubscriptionIdSchema = PositiveIntIdSchema.brand();
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
declare const RestaurantSchema: z.ZodObject<{
|
|
4
|
+
restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
|
|
5
|
+
placeName: z.ZodString;
|
|
6
|
+
categoryName: z.ZodString;
|
|
7
|
+
categoryGroupName: z.ZodString;
|
|
8
|
+
distance: z.ZodOptional<z.ZodString>;
|
|
9
|
+
roadAddressName: z.ZodString;
|
|
10
|
+
addressName: z.ZodString;
|
|
11
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
12
|
+
placeUrl: z.ZodNullable<z.ZodString>;
|
|
13
|
+
lat: z.ZodNumber;
|
|
14
|
+
lng: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const KakaoPlaceRawSchema: z.ZodObject<{
|
|
17
|
+
id: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
|
|
18
|
+
place_name: z.ZodString;
|
|
19
|
+
category_name: z.ZodString;
|
|
20
|
+
category_group_name: z.ZodString;
|
|
21
|
+
distance: z.ZodString;
|
|
22
|
+
road_address_name: z.ZodString;
|
|
23
|
+
address_name: z.ZodString;
|
|
24
|
+
phone: z.ZodString;
|
|
25
|
+
place_url: z.ZodOptional<z.ZodString>;
|
|
26
|
+
lat: z.ZodNumber;
|
|
27
|
+
lng: z.ZodNumber;
|
|
28
|
+
}, z.core.$strip>;
|
|
3
29
|
|
|
4
30
|
type RestaurantResponse = z.infer<typeof RestaurantSchema>;
|
|
5
31
|
/** External Kakao adapter boundary only. Do not use inside app DTOs. */
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
declare const RestaurantSchema: z.ZodObject<{
|
|
4
|
+
restaurantId: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
|
|
5
|
+
placeName: z.ZodString;
|
|
6
|
+
categoryName: z.ZodString;
|
|
7
|
+
categoryGroupName: z.ZodString;
|
|
8
|
+
distance: z.ZodOptional<z.ZodString>;
|
|
9
|
+
roadAddressName: z.ZodString;
|
|
10
|
+
addressName: z.ZodString;
|
|
11
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
12
|
+
placeUrl: z.ZodNullable<z.ZodString>;
|
|
13
|
+
lat: z.ZodNumber;
|
|
14
|
+
lng: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const KakaoPlaceRawSchema: z.ZodObject<{
|
|
17
|
+
id: z.core.$ZodBranded<z.ZodString, "RestaurantId", "out">;
|
|
18
|
+
place_name: z.ZodString;
|
|
19
|
+
category_name: z.ZodString;
|
|
20
|
+
category_group_name: z.ZodString;
|
|
21
|
+
distance: z.ZodString;
|
|
22
|
+
road_address_name: z.ZodString;
|
|
23
|
+
address_name: z.ZodString;
|
|
24
|
+
phone: z.ZodString;
|
|
25
|
+
place_url: z.ZodOptional<z.ZodString>;
|
|
26
|
+
lat: z.ZodNumber;
|
|
27
|
+
lng: z.ZodNumber;
|
|
28
|
+
}, z.core.$strip>;
|
|
3
29
|
|
|
4
30
|
type RestaurantResponse = z.infer<typeof RestaurantSchema>;
|
|
5
31
|
/** External Kakao adapter boundary only. Do not use inside app DTOs. */
|
|
@@ -2,8 +2,8 @@ import "../../chunk-NCVWB52E.js";
|
|
|
2
2
|
import {
|
|
3
3
|
KakaoPlaceRawSchema,
|
|
4
4
|
RestaurantSchema
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-TOXRHSD6.js";
|
|
6
|
+
import "../../chunk-6R5CCY5Q.js";
|
|
7
7
|
export {
|
|
8
8
|
KakaoPlaceRawSchema,
|
|
9
9
|
RestaurantSchema
|