@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
|
@@ -49,10 +49,16 @@ var NonEmptyStringIdSchema = import_zod2.z.string().min(1);
|
|
|
49
49
|
var MemberIdSchema = PositiveIntIdSchema.brand();
|
|
50
50
|
var ArticleIdSchema = PositiveIntIdSchema.brand();
|
|
51
51
|
var CommentIdSchema = PositiveIntIdSchema.brand();
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
52
|
+
var MealPlanIdSchema = import_zod2.z.string().uuid().brand();
|
|
53
|
+
var MealPlanInviteIdSchema = import_zod2.z.string().uuid().brand();
|
|
54
|
+
var MealPlanJoinRequestIdSchema = import_zod2.z.string().uuid().brand();
|
|
55
|
+
var MealPlanNearbyFriendExposureBatchIdSchema = import_zod2.z.string().uuid().brand();
|
|
56
|
+
var MealPlanChangeRequestIdSchema = import_zod2.z.string().uuid().brand();
|
|
57
|
+
var MealPlanShareLinkIdSchema = import_zod2.z.string().uuid().brand();
|
|
58
|
+
var MealPlanShareLinkTokenSchema = import_zod2.z.string().min(8).max(128).brand();
|
|
59
|
+
var MealPlanChatRoomIdSchema = import_zod2.z.string().uuid().brand();
|
|
60
|
+
var MealPlanChatMessageIdSchema = import_zod2.z.string().uuid().brand();
|
|
61
|
+
var MealGroupIdSchema = import_zod2.z.string().uuid().brand();
|
|
56
62
|
var RestaurantIdSchema = NonEmptyStringIdSchema.brand();
|
|
57
63
|
var CouponIdSchema = PositiveIntIdSchema.brand();
|
|
58
64
|
var SubscriptionIdSchema = PositiveIntIdSchema.brand();
|
|
@@ -1,82 +1,47 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const ReferralCreateResponseSchema: z.ZodObject<{
|
|
4
|
-
code: z.ZodBranded<z.ZodString, "ReferralCode">;
|
|
4
|
+
code: z.core.$ZodBranded<z.ZodString, "ReferralCode", "out">;
|
|
5
5
|
link: z.ZodString;
|
|
6
6
|
expiresAt: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
code: string & z.BRAND<"ReferralCode">;
|
|
9
|
-
expiresAt: string;
|
|
10
|
-
link: string;
|
|
11
|
-
}, {
|
|
12
|
-
code: string;
|
|
13
|
-
expiresAt: string;
|
|
14
|
-
link: string;
|
|
15
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
16
8
|
declare const ReferralItemResponseSchema: z.ZodObject<{
|
|
17
|
-
code: z.ZodBranded<z.ZodString, "ReferralCode">;
|
|
9
|
+
code: z.core.$ZodBranded<z.ZodString, "ReferralCode", "out">;
|
|
18
10
|
createdAt: z.ZodString;
|
|
19
11
|
expiresAt: z.ZodString;
|
|
20
12
|
used: z.ZodBoolean;
|
|
21
|
-
usedByMemberId: z.ZodNullable<z.ZodBranded<z.ZodNumber, "MemberId">>;
|
|
13
|
+
usedByMemberId: z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
|
|
22
14
|
usedByUsername: z.ZodNullable<z.ZodString>;
|
|
23
|
-
},
|
|
24
|
-
code: string & z.BRAND<"ReferralCode">;
|
|
25
|
-
createdAt: string;
|
|
26
|
-
expiresAt: string;
|
|
27
|
-
used: boolean;
|
|
28
|
-
usedByMemberId: (number & z.BRAND<"MemberId">) | null;
|
|
29
|
-
usedByUsername: string | null;
|
|
30
|
-
}, {
|
|
31
|
-
code: string;
|
|
32
|
-
createdAt: string;
|
|
33
|
-
expiresAt: string;
|
|
34
|
-
used: boolean;
|
|
35
|
-
usedByMemberId: number | null;
|
|
36
|
-
usedByUsername: string | null;
|
|
37
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
38
16
|
declare const RedeemReferralRequestSchema: z.ZodObject<{
|
|
39
|
-
code: z.ZodBranded<z.ZodString, "ReferralCode">;
|
|
40
|
-
},
|
|
41
|
-
code: string & z.BRAND<"ReferralCode">;
|
|
42
|
-
}, {
|
|
43
|
-
code: string;
|
|
44
|
-
}>;
|
|
17
|
+
code: z.core.$ZodBranded<z.ZodString, "ReferralCode", "out">;
|
|
18
|
+
}, z.core.$strip>;
|
|
45
19
|
|
|
46
20
|
type RedeemReferralRequest = z.infer<typeof RedeemReferralRequestSchema>;
|
|
47
21
|
type ReferralCreateResponse = z.infer<typeof ReferralCreateResponseSchema>;
|
|
48
22
|
type ReferralItemResponse = z.infer<typeof ReferralItemResponseSchema>;
|
|
49
23
|
|
|
50
|
-
declare const CouponTypeSchema: z.ZodEnum<
|
|
51
|
-
|
|
24
|
+
declare const CouponTypeSchema: z.ZodEnum<{
|
|
25
|
+
DISCOUNT: "DISCOUNT";
|
|
26
|
+
SERVICE: "SERVICE";
|
|
27
|
+
}>;
|
|
28
|
+
declare const CouponStatusSchema: z.ZodEnum<{
|
|
29
|
+
UNUSED: "UNUSED";
|
|
30
|
+
USED: "USED";
|
|
31
|
+
}>;
|
|
52
32
|
declare const CouponResponseSchema: z.ZodObject<{
|
|
53
|
-
couponId: z.ZodBranded<z.ZodNumber, "CouponId">;
|
|
33
|
+
couponId: z.core.$ZodBranded<z.ZodNumber, "CouponId", "out">;
|
|
54
34
|
title: z.ZodString;
|
|
55
35
|
shopName: z.ZodString;
|
|
56
|
-
type: z.ZodEnum<
|
|
36
|
+
type: z.ZodEnum<{
|
|
37
|
+
DISCOUNT: "DISCOUNT";
|
|
38
|
+
SERVICE: "SERVICE";
|
|
39
|
+
}>;
|
|
57
40
|
condition: z.ZodString;
|
|
58
41
|
expiresAt: z.ZodString;
|
|
59
42
|
used: z.ZodBoolean;
|
|
60
43
|
thumbnailUrl: z.ZodString;
|
|
61
|
-
},
|
|
62
|
-
type: "DISCOUNT" | "SERVICE";
|
|
63
|
-
expiresAt: string;
|
|
64
|
-
title: string;
|
|
65
|
-
used: boolean;
|
|
66
|
-
couponId: number & z.BRAND<"CouponId">;
|
|
67
|
-
shopName: string;
|
|
68
|
-
condition: string;
|
|
69
|
-
thumbnailUrl: string;
|
|
70
|
-
}, {
|
|
71
|
-
type: "DISCOUNT" | "SERVICE";
|
|
72
|
-
expiresAt: string;
|
|
73
|
-
title: string;
|
|
74
|
-
used: boolean;
|
|
75
|
-
couponId: number;
|
|
76
|
-
shopName: string;
|
|
77
|
-
condition: string;
|
|
78
|
-
thumbnailUrl: string;
|
|
79
|
-
}>;
|
|
44
|
+
}, z.core.$strip>;
|
|
80
45
|
|
|
81
46
|
type CouponType = z.infer<typeof CouponTypeSchema>;
|
|
82
47
|
type CouponStatus = z.infer<typeof CouponStatusSchema>;
|
|
@@ -84,72 +49,30 @@ type CouponResponse = z.infer<typeof CouponResponseSchema>;
|
|
|
84
49
|
|
|
85
50
|
declare const ChallengeStatusResponseSchema: z.ZodObject<{
|
|
86
51
|
week: z.ZodObject<{
|
|
87
|
-
days: z.ZodArray<z.ZodBoolean
|
|
52
|
+
days: z.ZodArray<z.ZodBoolean>;
|
|
88
53
|
completed: z.ZodNumber;
|
|
89
54
|
goal: z.ZodNumber;
|
|
90
|
-
},
|
|
91
|
-
days: boolean[];
|
|
92
|
-
completed: number;
|
|
93
|
-
goal: number;
|
|
94
|
-
}, {
|
|
95
|
-
days: boolean[];
|
|
96
|
-
completed: number;
|
|
97
|
-
goal: number;
|
|
98
|
-
}>;
|
|
55
|
+
}, z.core.$strip>;
|
|
99
56
|
month: z.ZodObject<{
|
|
100
57
|
count: z.ZodNumber;
|
|
101
58
|
goal: z.ZodNumber;
|
|
102
|
-
},
|
|
103
|
-
goal: number;
|
|
104
|
-
count: number;
|
|
105
|
-
}, {
|
|
106
|
-
goal: number;
|
|
107
|
-
count: number;
|
|
108
|
-
}>;
|
|
59
|
+
}, z.core.$strip>;
|
|
109
60
|
weekRewardAvailable: z.ZodBoolean;
|
|
110
61
|
monthRewardAvailable: z.ZodBoolean;
|
|
111
|
-
},
|
|
112
|
-
week: {
|
|
113
|
-
days: boolean[];
|
|
114
|
-
completed: number;
|
|
115
|
-
goal: number;
|
|
116
|
-
};
|
|
117
|
-
month: {
|
|
118
|
-
goal: number;
|
|
119
|
-
count: number;
|
|
120
|
-
};
|
|
121
|
-
weekRewardAvailable: boolean;
|
|
122
|
-
monthRewardAvailable: boolean;
|
|
123
|
-
}, {
|
|
124
|
-
week: {
|
|
125
|
-
days: boolean[];
|
|
126
|
-
completed: number;
|
|
127
|
-
goal: number;
|
|
128
|
-
};
|
|
129
|
-
month: {
|
|
130
|
-
goal: number;
|
|
131
|
-
count: number;
|
|
132
|
-
};
|
|
133
|
-
weekRewardAvailable: boolean;
|
|
134
|
-
monthRewardAvailable: boolean;
|
|
135
|
-
}>;
|
|
62
|
+
}, z.core.$strip>;
|
|
136
63
|
declare const ClaimChallengeRewardRequestSchema: z.ZodObject<{
|
|
137
|
-
type: z.ZodEnum<
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
}>;
|
|
64
|
+
type: z.ZodEnum<{
|
|
65
|
+
WEEK: "WEEK";
|
|
66
|
+
MONTH: "MONTH";
|
|
67
|
+
}>;
|
|
68
|
+
}, z.core.$strip>;
|
|
143
69
|
declare const ClaimChallengeRewardResponseSchema: z.ZodObject<{
|
|
144
|
-
rewardType: z.ZodEnum<
|
|
70
|
+
rewardType: z.ZodEnum<{
|
|
71
|
+
WEEK: "WEEK";
|
|
72
|
+
MONTH: "MONTH";
|
|
73
|
+
}>;
|
|
145
74
|
claimed: z.ZodBoolean;
|
|
146
|
-
},
|
|
147
|
-
rewardType: "WEEK" | "MONTH";
|
|
148
|
-
claimed: boolean;
|
|
149
|
-
}, {
|
|
150
|
-
rewardType: "WEEK" | "MONTH";
|
|
151
|
-
claimed: boolean;
|
|
152
|
-
}>;
|
|
75
|
+
}, z.core.$strip>;
|
|
153
76
|
|
|
154
77
|
type ClaimChallengeRewardRequest = z.infer<typeof ClaimChallengeRewardRequestSchema>;
|
|
155
78
|
type ChallengeStatusResponse = z.infer<typeof ChallengeStatusResponseSchema>;
|
|
@@ -1,82 +1,47 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const ReferralCreateResponseSchema: z.ZodObject<{
|
|
4
|
-
code: z.ZodBranded<z.ZodString, "ReferralCode">;
|
|
4
|
+
code: z.core.$ZodBranded<z.ZodString, "ReferralCode", "out">;
|
|
5
5
|
link: z.ZodString;
|
|
6
6
|
expiresAt: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
code: string & z.BRAND<"ReferralCode">;
|
|
9
|
-
expiresAt: string;
|
|
10
|
-
link: string;
|
|
11
|
-
}, {
|
|
12
|
-
code: string;
|
|
13
|
-
expiresAt: string;
|
|
14
|
-
link: string;
|
|
15
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
16
8
|
declare const ReferralItemResponseSchema: z.ZodObject<{
|
|
17
|
-
code: z.ZodBranded<z.ZodString, "ReferralCode">;
|
|
9
|
+
code: z.core.$ZodBranded<z.ZodString, "ReferralCode", "out">;
|
|
18
10
|
createdAt: z.ZodString;
|
|
19
11
|
expiresAt: z.ZodString;
|
|
20
12
|
used: z.ZodBoolean;
|
|
21
|
-
usedByMemberId: z.ZodNullable<z.ZodBranded<z.ZodNumber, "MemberId">>;
|
|
13
|
+
usedByMemberId: z.ZodNullable<z.core.$ZodBranded<z.ZodNumber, "MemberId", "out">>;
|
|
22
14
|
usedByUsername: z.ZodNullable<z.ZodString>;
|
|
23
|
-
},
|
|
24
|
-
code: string & z.BRAND<"ReferralCode">;
|
|
25
|
-
createdAt: string;
|
|
26
|
-
expiresAt: string;
|
|
27
|
-
used: boolean;
|
|
28
|
-
usedByMemberId: (number & z.BRAND<"MemberId">) | null;
|
|
29
|
-
usedByUsername: string | null;
|
|
30
|
-
}, {
|
|
31
|
-
code: string;
|
|
32
|
-
createdAt: string;
|
|
33
|
-
expiresAt: string;
|
|
34
|
-
used: boolean;
|
|
35
|
-
usedByMemberId: number | null;
|
|
36
|
-
usedByUsername: string | null;
|
|
37
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
38
16
|
declare const RedeemReferralRequestSchema: z.ZodObject<{
|
|
39
|
-
code: z.ZodBranded<z.ZodString, "ReferralCode">;
|
|
40
|
-
},
|
|
41
|
-
code: string & z.BRAND<"ReferralCode">;
|
|
42
|
-
}, {
|
|
43
|
-
code: string;
|
|
44
|
-
}>;
|
|
17
|
+
code: z.core.$ZodBranded<z.ZodString, "ReferralCode", "out">;
|
|
18
|
+
}, z.core.$strip>;
|
|
45
19
|
|
|
46
20
|
type RedeemReferralRequest = z.infer<typeof RedeemReferralRequestSchema>;
|
|
47
21
|
type ReferralCreateResponse = z.infer<typeof ReferralCreateResponseSchema>;
|
|
48
22
|
type ReferralItemResponse = z.infer<typeof ReferralItemResponseSchema>;
|
|
49
23
|
|
|
50
|
-
declare const CouponTypeSchema: z.ZodEnum<
|
|
51
|
-
|
|
24
|
+
declare const CouponTypeSchema: z.ZodEnum<{
|
|
25
|
+
DISCOUNT: "DISCOUNT";
|
|
26
|
+
SERVICE: "SERVICE";
|
|
27
|
+
}>;
|
|
28
|
+
declare const CouponStatusSchema: z.ZodEnum<{
|
|
29
|
+
UNUSED: "UNUSED";
|
|
30
|
+
USED: "USED";
|
|
31
|
+
}>;
|
|
52
32
|
declare const CouponResponseSchema: z.ZodObject<{
|
|
53
|
-
couponId: z.ZodBranded<z.ZodNumber, "CouponId">;
|
|
33
|
+
couponId: z.core.$ZodBranded<z.ZodNumber, "CouponId", "out">;
|
|
54
34
|
title: z.ZodString;
|
|
55
35
|
shopName: z.ZodString;
|
|
56
|
-
type: z.ZodEnum<
|
|
36
|
+
type: z.ZodEnum<{
|
|
37
|
+
DISCOUNT: "DISCOUNT";
|
|
38
|
+
SERVICE: "SERVICE";
|
|
39
|
+
}>;
|
|
57
40
|
condition: z.ZodString;
|
|
58
41
|
expiresAt: z.ZodString;
|
|
59
42
|
used: z.ZodBoolean;
|
|
60
43
|
thumbnailUrl: z.ZodString;
|
|
61
|
-
},
|
|
62
|
-
type: "DISCOUNT" | "SERVICE";
|
|
63
|
-
expiresAt: string;
|
|
64
|
-
title: string;
|
|
65
|
-
used: boolean;
|
|
66
|
-
couponId: number & z.BRAND<"CouponId">;
|
|
67
|
-
shopName: string;
|
|
68
|
-
condition: string;
|
|
69
|
-
thumbnailUrl: string;
|
|
70
|
-
}, {
|
|
71
|
-
type: "DISCOUNT" | "SERVICE";
|
|
72
|
-
expiresAt: string;
|
|
73
|
-
title: string;
|
|
74
|
-
used: boolean;
|
|
75
|
-
couponId: number;
|
|
76
|
-
shopName: string;
|
|
77
|
-
condition: string;
|
|
78
|
-
thumbnailUrl: string;
|
|
79
|
-
}>;
|
|
44
|
+
}, z.core.$strip>;
|
|
80
45
|
|
|
81
46
|
type CouponType = z.infer<typeof CouponTypeSchema>;
|
|
82
47
|
type CouponStatus = z.infer<typeof CouponStatusSchema>;
|
|
@@ -84,72 +49,30 @@ type CouponResponse = z.infer<typeof CouponResponseSchema>;
|
|
|
84
49
|
|
|
85
50
|
declare const ChallengeStatusResponseSchema: z.ZodObject<{
|
|
86
51
|
week: z.ZodObject<{
|
|
87
|
-
days: z.ZodArray<z.ZodBoolean
|
|
52
|
+
days: z.ZodArray<z.ZodBoolean>;
|
|
88
53
|
completed: z.ZodNumber;
|
|
89
54
|
goal: z.ZodNumber;
|
|
90
|
-
},
|
|
91
|
-
days: boolean[];
|
|
92
|
-
completed: number;
|
|
93
|
-
goal: number;
|
|
94
|
-
}, {
|
|
95
|
-
days: boolean[];
|
|
96
|
-
completed: number;
|
|
97
|
-
goal: number;
|
|
98
|
-
}>;
|
|
55
|
+
}, z.core.$strip>;
|
|
99
56
|
month: z.ZodObject<{
|
|
100
57
|
count: z.ZodNumber;
|
|
101
58
|
goal: z.ZodNumber;
|
|
102
|
-
},
|
|
103
|
-
goal: number;
|
|
104
|
-
count: number;
|
|
105
|
-
}, {
|
|
106
|
-
goal: number;
|
|
107
|
-
count: number;
|
|
108
|
-
}>;
|
|
59
|
+
}, z.core.$strip>;
|
|
109
60
|
weekRewardAvailable: z.ZodBoolean;
|
|
110
61
|
monthRewardAvailable: z.ZodBoolean;
|
|
111
|
-
},
|
|
112
|
-
week: {
|
|
113
|
-
days: boolean[];
|
|
114
|
-
completed: number;
|
|
115
|
-
goal: number;
|
|
116
|
-
};
|
|
117
|
-
month: {
|
|
118
|
-
goal: number;
|
|
119
|
-
count: number;
|
|
120
|
-
};
|
|
121
|
-
weekRewardAvailable: boolean;
|
|
122
|
-
monthRewardAvailable: boolean;
|
|
123
|
-
}, {
|
|
124
|
-
week: {
|
|
125
|
-
days: boolean[];
|
|
126
|
-
completed: number;
|
|
127
|
-
goal: number;
|
|
128
|
-
};
|
|
129
|
-
month: {
|
|
130
|
-
goal: number;
|
|
131
|
-
count: number;
|
|
132
|
-
};
|
|
133
|
-
weekRewardAvailable: boolean;
|
|
134
|
-
monthRewardAvailable: boolean;
|
|
135
|
-
}>;
|
|
62
|
+
}, z.core.$strip>;
|
|
136
63
|
declare const ClaimChallengeRewardRequestSchema: z.ZodObject<{
|
|
137
|
-
type: z.ZodEnum<
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
}>;
|
|
64
|
+
type: z.ZodEnum<{
|
|
65
|
+
WEEK: "WEEK";
|
|
66
|
+
MONTH: "MONTH";
|
|
67
|
+
}>;
|
|
68
|
+
}, z.core.$strip>;
|
|
143
69
|
declare const ClaimChallengeRewardResponseSchema: z.ZodObject<{
|
|
144
|
-
rewardType: z.ZodEnum<
|
|
70
|
+
rewardType: z.ZodEnum<{
|
|
71
|
+
WEEK: "WEEK";
|
|
72
|
+
MONTH: "MONTH";
|
|
73
|
+
}>;
|
|
145
74
|
claimed: z.ZodBoolean;
|
|
146
|
-
},
|
|
147
|
-
rewardType: "WEEK" | "MONTH";
|
|
148
|
-
claimed: boolean;
|
|
149
|
-
}, {
|
|
150
|
-
rewardType: "WEEK" | "MONTH";
|
|
151
|
-
claimed: boolean;
|
|
152
|
-
}>;
|
|
75
|
+
}, z.core.$strip>;
|
|
153
76
|
|
|
154
77
|
type ClaimChallengeRewardRequest = z.infer<typeof ClaimChallengeRewardRequestSchema>;
|
|
155
78
|
type ChallengeStatusResponse = z.infer<typeof ChallengeStatusResponseSchema>;
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
RedeemReferralRequestSchema,
|
|
9
9
|
ReferralCreateResponseSchema,
|
|
10
10
|
ReferralItemResponseSchema
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-RZPNVRRS.js";
|
|
12
12
|
import "../../chunk-HRM3FQPL.js";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-XMRYAG3V.js";
|
|
14
14
|
export {
|
|
15
15
|
ChallengeStatusResponseSchema,
|
|
16
16
|
ClaimChallengeRewardRequestSchema,
|