@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
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/domain/recruit/index.ts
|
|
31
|
-
var recruit_exports = {};
|
|
32
|
-
__export(recruit_exports, {
|
|
33
|
-
CreateRecruitRequestSchema: () => CreateRecruitRequestSchema,
|
|
34
|
-
CreateRecruitResponseSchema: () => CreateRecruitResponseSchema,
|
|
35
|
-
RecruitListQuerySchema: () => RecruitListQuerySchema,
|
|
36
|
-
RecruitListResponseSchema: () => RecruitListResponseSchema,
|
|
37
|
-
RecruitSortBySchema: () => RecruitSortBySchema,
|
|
38
|
-
RecruitStatusSchema: () => RecruitStatusSchema
|
|
39
|
-
});
|
|
40
|
-
module.exports = __toCommonJS(recruit_exports);
|
|
41
|
-
|
|
42
|
-
// src/domain/recruit/recruit.schema.ts
|
|
43
|
-
var import_zod6 = require("zod");
|
|
44
|
-
|
|
45
|
-
// src/domain/common/schema/date.schema.ts
|
|
46
|
-
var import_zod = require("zod");
|
|
47
|
-
var isoDateRegex = /^\d{4}-\d{2}-\d{2}$/;
|
|
48
|
-
var ISODateStringSchema = import_zod.z.string().regex(isoDateRegex, "Expected ISO date string in YYYY-MM-DD format");
|
|
49
|
-
var ISODateTimeStringSchema = import_zod.z.string().datetime({ offset: true, message: "Expected ISO datetime string" });
|
|
50
|
-
var TimeHHmmStringSchema = import_zod.z.string().regex(/^\d{2}:\d{2}$/, "Expected time string in HH:mm format");
|
|
51
|
-
|
|
52
|
-
// src/domain/common/schema/id.schema.ts
|
|
53
|
-
var import_zod2 = require("zod");
|
|
54
|
-
var PositiveIntIdSchema = import_zod2.z.number().int().positive();
|
|
55
|
-
var NonEmptyStringIdSchema = import_zod2.z.string().min(1);
|
|
56
|
-
var MemberIdSchema = PositiveIntIdSchema.brand();
|
|
57
|
-
var ArticleIdSchema = PositiveIntIdSchema.brand();
|
|
58
|
-
var CommentIdSchema = PositiveIntIdSchema.brand();
|
|
59
|
-
var RecruitIdSchema = PositiveIntIdSchema.brand();
|
|
60
|
-
var PlanIdSchema = PositiveIntIdSchema.brand();
|
|
61
|
-
var InvitationIdSchema = PositiveIntIdSchema.brand();
|
|
62
|
-
var RoomIdSchema = NonEmptyStringIdSchema.brand();
|
|
63
|
-
var RestaurantIdSchema = NonEmptyStringIdSchema.brand();
|
|
64
|
-
var CouponIdSchema = PositiveIntIdSchema.brand();
|
|
65
|
-
var SubscriptionIdSchema = PositiveIntIdSchema.brand();
|
|
66
|
-
var FriendRequestIdSchema = PositiveIntIdSchema.brand();
|
|
67
|
-
var ReferralCodeSchema = import_zod2.z.string().min(4).max(64).brand();
|
|
68
|
-
var FoodCodeSchema = NonEmptyStringIdSchema.brand();
|
|
69
|
-
var FoodLabelSchema = NonEmptyStringIdSchema.brand();
|
|
70
|
-
var FoodSchema = import_zod2.z.object({
|
|
71
|
-
code: FoodCodeSchema,
|
|
72
|
-
label: FoodLabelSchema
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
// src/domain/member/member.schema.ts
|
|
76
|
-
var import_zod4 = require("zod");
|
|
77
|
-
|
|
78
|
-
// src/domain/common/contracts/upload.ts
|
|
79
|
-
var import_zod3 = __toESM(require("zod"), 1);
|
|
80
|
-
var UploadPresignImageResponseSchema = import_zod3.default.object({
|
|
81
|
-
key: import_zod3.default.string(),
|
|
82
|
-
putUrl: import_zod3.default.string().url(),
|
|
83
|
-
cdnUrl: import_zod3.default.string().url()
|
|
84
|
-
});
|
|
85
|
-
var UploadPresignImageRequestSchema = import_zod3.default.object({
|
|
86
|
-
contentType: import_zod3.default.string()
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
// src/domain/member/member.schema.ts
|
|
90
|
-
var MemberRoleSchema = import_zod4.z.enum(["USER", "ADMIN"]);
|
|
91
|
-
var MemberCoreSchema = import_zod4.z.object({
|
|
92
|
-
memberId: MemberIdSchema,
|
|
93
|
-
username: import_zod4.z.string().min(1).max(50),
|
|
94
|
-
profileImageUrl: import_zod4.z.string().url().nullable().optional()
|
|
95
|
-
});
|
|
96
|
-
var UploadProfileImageResponseSchema = UploadPresignImageResponseSchema.extend({});
|
|
97
|
-
var UploadProfileImageRequestSchema = UploadPresignImageRequestSchema.extend({});
|
|
98
|
-
var MemberResponseSchema = MemberCoreSchema.pick({
|
|
99
|
-
memberId: true,
|
|
100
|
-
username: true,
|
|
101
|
-
profileImageUrl: true
|
|
102
|
-
});
|
|
103
|
-
var MemberSearchQuerySchema = import_zod4.z.object({
|
|
104
|
-
email: import_zod4.z.string().email().optional(),
|
|
105
|
-
username: import_zod4.z.string().optional()
|
|
106
|
-
});
|
|
107
|
-
var MemberSerachResponseSchema = import_zod4.z.array(MemberCoreSchema);
|
|
108
|
-
var MemberDetailSchema = MemberCoreSchema.extend({
|
|
109
|
-
bio: import_zod4.z.string().nullable(),
|
|
110
|
-
friendConunt: import_zod4.z.number().int().min(0).default(0),
|
|
111
|
-
completedPlans: import_zod4.z.number().int().min(0).default(0),
|
|
112
|
-
uncompletedPlans: import_zod4.z.number().int().min(0).default(0)
|
|
113
|
-
});
|
|
114
|
-
var FoodPreferenceItemSchema = FoodSchema.extend({});
|
|
115
|
-
var MemberFoodPreferenceSchema = import_zod4.z.object({
|
|
116
|
-
liked: import_zod4.z.array(FoodPreferenceItemSchema).optional(),
|
|
117
|
-
disliked: import_zod4.z.array(FoodPreferenceItemSchema).optional(),
|
|
118
|
-
allergy: import_zod4.z.array(FoodPreferenceItemSchema).optional()
|
|
119
|
-
});
|
|
120
|
-
var UpdateProfileRequestSchema = import_zod4.z.object({
|
|
121
|
-
username: import_zod4.z.string().min(1).max(50),
|
|
122
|
-
profileImageUrl: import_zod4.z.string().url().nullable(),
|
|
123
|
-
bio: import_zod4.z.string().max(500).nullable()
|
|
124
|
-
});
|
|
125
|
-
var UpdatePreferenceRequestSchema = MemberFoodPreferenceSchema;
|
|
126
|
-
var CreateProfileRequestSchema = UpdateProfileRequestSchema.merge(
|
|
127
|
-
UpdatePreferenceRequestSchema
|
|
128
|
-
);
|
|
129
|
-
|
|
130
|
-
// src/domain/common/schema/pagination.schema.ts
|
|
131
|
-
var import_zod5 = require("zod");
|
|
132
|
-
var PageQuerySchema = import_zod5.z.object({
|
|
133
|
-
page: import_zod5.z.number().int().min(0).optional().default(0),
|
|
134
|
-
size: import_zod5.z.number().int().min(1).max(100).optional().default(20)
|
|
135
|
-
});
|
|
136
|
-
var PageMetaSchema = import_zod5.z.object({
|
|
137
|
-
page: import_zod5.z.number().int().min(0),
|
|
138
|
-
size: import_zod5.z.number().int().min(1),
|
|
139
|
-
totalItems: import_zod5.z.number().int().min(0),
|
|
140
|
-
totalPages: import_zod5.z.number().int().min(0),
|
|
141
|
-
hasNext: import_zod5.z.boolean(),
|
|
142
|
-
hasPrevious: import_zod5.z.boolean()
|
|
143
|
-
});
|
|
144
|
-
var PageResponseSchema = (item) => import_zod5.z.object({
|
|
145
|
-
items: import_zod5.z.array(item),
|
|
146
|
-
meta: PageMetaSchema
|
|
147
|
-
});
|
|
148
|
-
var SortDirectionSchema = import_zod5.z.enum(["asc", "desc"]);
|
|
149
|
-
|
|
150
|
-
// src/domain/recruit/recruit.schema.ts
|
|
151
|
-
var RecruitStatusSchema = import_zod6.z.enum(["OPEN", "CLOSED", "EXPIRED"]);
|
|
152
|
-
var RecruitParticipantSchema = MemberCoreSchema.extend({});
|
|
153
|
-
var RecruitSortBySchema = import_zod6.z.enum(["createdAt", "deadline", "participantCount"]);
|
|
154
|
-
var RecruitListQuerySchema = PageQuerySchema.extend({
|
|
155
|
-
sortBy: RecruitSortBySchema.default("createdAt"),
|
|
156
|
-
direction: SortDirectionSchema.default("desc")
|
|
157
|
-
});
|
|
158
|
-
var RecruitResponseSchema = import_zod6.z.object({
|
|
159
|
-
targetCount: import_zod6.z.number().int().min(2),
|
|
160
|
-
meetingAt: ISODateTimeStringSchema,
|
|
161
|
-
location: import_zod6.z.string().min(1),
|
|
162
|
-
message: import_zod6.z.string().max(500),
|
|
163
|
-
recruitId: RecruitIdSchema,
|
|
164
|
-
status: RecruitStatusSchema,
|
|
165
|
-
createdAt: ISODateTimeStringSchema,
|
|
166
|
-
expiredAt: ISODateTimeStringSchema,
|
|
167
|
-
updatedAt: ISODateTimeStringSchema,
|
|
168
|
-
author: MemberCoreSchema,
|
|
169
|
-
participants: import_zod6.z.array(RecruitParticipantSchema)
|
|
170
|
-
});
|
|
171
|
-
var RecruitListResponseSchema = PageResponseSchema(RecruitResponseSchema);
|
|
172
|
-
var CreateRecruitRequestSchema = import_zod6.z.object({
|
|
173
|
-
targetCount: import_zod6.z.number().int().min(2),
|
|
174
|
-
meetingAt: ISODateTimeStringSchema,
|
|
175
|
-
location: import_zod6.z.string().min(1),
|
|
176
|
-
message: import_zod6.z.string().max(500)
|
|
177
|
-
});
|
|
178
|
-
var CreateRecruitResponseSchema = import_zod6.z.object({
|
|
179
|
-
recruitId: RecruitIdSchema
|
|
180
|
-
});
|
|
181
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
182
|
-
0 && (module.exports = {
|
|
183
|
-
CreateRecruitRequestSchema,
|
|
184
|
-
CreateRecruitResponseSchema,
|
|
185
|
-
RecruitListQuerySchema,
|
|
186
|
-
RecruitListResponseSchema,
|
|
187
|
-
RecruitSortBySchema,
|
|
188
|
-
RecruitStatusSchema
|
|
189
|
-
});
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import z$1, { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const RecruitStatusSchema: z.ZodEnum<["OPEN", "CLOSED", "EXPIRED"]>;
|
|
4
|
-
declare const RecruitSortBySchema: z.ZodEnum<["createdAt", "deadline", "participantCount"]>;
|
|
5
|
-
declare const RecruitListQuerySchema: z.ZodObject<{
|
|
6
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
-
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
|
-
} & {
|
|
9
|
-
sortBy: z.ZodDefault<z.ZodEnum<["createdAt", "deadline", "participantCount"]>>;
|
|
10
|
-
direction: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
page: number;
|
|
13
|
-
size: number;
|
|
14
|
-
sortBy: "createdAt" | "participantCount" | "deadline";
|
|
15
|
-
direction: "asc" | "desc";
|
|
16
|
-
}, {
|
|
17
|
-
page?: number | undefined;
|
|
18
|
-
size?: number | undefined;
|
|
19
|
-
sortBy?: "createdAt" | "participantCount" | "deadline" | undefined;
|
|
20
|
-
direction?: "asc" | "desc" | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
declare const RecruitListResponseSchema: z.ZodObject<{
|
|
23
|
-
items: z.ZodArray<z.ZodObject<{
|
|
24
|
-
targetCount: z.ZodNumber;
|
|
25
|
-
meetingAt: z.ZodString;
|
|
26
|
-
location: z.ZodString;
|
|
27
|
-
message: z.ZodString;
|
|
28
|
-
recruitId: z.ZodBranded<z.ZodNumber, "RecruitId">;
|
|
29
|
-
status: z.ZodEnum<["OPEN", "CLOSED", "EXPIRED"]>;
|
|
30
|
-
createdAt: z.ZodString;
|
|
31
|
-
expiredAt: z.ZodString;
|
|
32
|
-
updatedAt: z.ZodString;
|
|
33
|
-
author: z.ZodObject<{
|
|
34
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
35
|
-
username: z.ZodString;
|
|
36
|
-
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
39
|
-
username: string;
|
|
40
|
-
profileImageUrl?: string | null | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
memberId: number;
|
|
43
|
-
username: string;
|
|
44
|
-
profileImageUrl?: string | null | undefined;
|
|
45
|
-
}>;
|
|
46
|
-
participants: z.ZodArray<z.ZodObject<{
|
|
47
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
48
|
-
username: z.ZodString;
|
|
49
|
-
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
52
|
-
username: string;
|
|
53
|
-
profileImageUrl?: string | null | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
memberId: number;
|
|
56
|
-
username: string;
|
|
57
|
-
profileImageUrl?: string | null | undefined;
|
|
58
|
-
}>, "many">;
|
|
59
|
-
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
message: string;
|
|
61
|
-
status: "OPEN" | "CLOSED" | "EXPIRED";
|
|
62
|
-
createdAt: string;
|
|
63
|
-
author: {
|
|
64
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
65
|
-
username: string;
|
|
66
|
-
profileImageUrl?: string | null | undefined;
|
|
67
|
-
};
|
|
68
|
-
updatedAt: string;
|
|
69
|
-
location: string;
|
|
70
|
-
participants: {
|
|
71
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
72
|
-
username: string;
|
|
73
|
-
profileImageUrl?: string | null | undefined;
|
|
74
|
-
}[];
|
|
75
|
-
meetingAt: string;
|
|
76
|
-
targetCount: number;
|
|
77
|
-
recruitId: number & z.BRAND<"RecruitId">;
|
|
78
|
-
expiredAt: string;
|
|
79
|
-
}, {
|
|
80
|
-
message: string;
|
|
81
|
-
status: "OPEN" | "CLOSED" | "EXPIRED";
|
|
82
|
-
createdAt: string;
|
|
83
|
-
author: {
|
|
84
|
-
memberId: number;
|
|
85
|
-
username: string;
|
|
86
|
-
profileImageUrl?: string | null | undefined;
|
|
87
|
-
};
|
|
88
|
-
updatedAt: string;
|
|
89
|
-
location: string;
|
|
90
|
-
participants: {
|
|
91
|
-
memberId: number;
|
|
92
|
-
username: string;
|
|
93
|
-
profileImageUrl?: string | null | undefined;
|
|
94
|
-
}[];
|
|
95
|
-
meetingAt: string;
|
|
96
|
-
targetCount: number;
|
|
97
|
-
recruitId: number;
|
|
98
|
-
expiredAt: string;
|
|
99
|
-
}>, "many">;
|
|
100
|
-
meta: z.ZodObject<{
|
|
101
|
-
page: z.ZodNumber;
|
|
102
|
-
size: z.ZodNumber;
|
|
103
|
-
totalItems: z.ZodNumber;
|
|
104
|
-
totalPages: z.ZodNumber;
|
|
105
|
-
hasNext: z.ZodBoolean;
|
|
106
|
-
hasPrevious: z.ZodBoolean;
|
|
107
|
-
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
page: number;
|
|
109
|
-
size: number;
|
|
110
|
-
totalItems: number;
|
|
111
|
-
totalPages: number;
|
|
112
|
-
hasNext: boolean;
|
|
113
|
-
hasPrevious: boolean;
|
|
114
|
-
}, {
|
|
115
|
-
page: number;
|
|
116
|
-
size: number;
|
|
117
|
-
totalItems: number;
|
|
118
|
-
totalPages: number;
|
|
119
|
-
hasNext: boolean;
|
|
120
|
-
hasPrevious: boolean;
|
|
121
|
-
}>;
|
|
122
|
-
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
items: {
|
|
124
|
-
message: string;
|
|
125
|
-
status: "OPEN" | "CLOSED" | "EXPIRED";
|
|
126
|
-
createdAt: string;
|
|
127
|
-
author: {
|
|
128
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
129
|
-
username: string;
|
|
130
|
-
profileImageUrl?: string | null | undefined;
|
|
131
|
-
};
|
|
132
|
-
updatedAt: string;
|
|
133
|
-
location: string;
|
|
134
|
-
participants: {
|
|
135
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
136
|
-
username: string;
|
|
137
|
-
profileImageUrl?: string | null | undefined;
|
|
138
|
-
}[];
|
|
139
|
-
meetingAt: string;
|
|
140
|
-
targetCount: number;
|
|
141
|
-
recruitId: number & z.BRAND<"RecruitId">;
|
|
142
|
-
expiredAt: string;
|
|
143
|
-
}[];
|
|
144
|
-
meta: {
|
|
145
|
-
page: number;
|
|
146
|
-
size: number;
|
|
147
|
-
totalItems: number;
|
|
148
|
-
totalPages: number;
|
|
149
|
-
hasNext: boolean;
|
|
150
|
-
hasPrevious: boolean;
|
|
151
|
-
};
|
|
152
|
-
}, {
|
|
153
|
-
items: {
|
|
154
|
-
message: string;
|
|
155
|
-
status: "OPEN" | "CLOSED" | "EXPIRED";
|
|
156
|
-
createdAt: string;
|
|
157
|
-
author: {
|
|
158
|
-
memberId: number;
|
|
159
|
-
username: string;
|
|
160
|
-
profileImageUrl?: string | null | undefined;
|
|
161
|
-
};
|
|
162
|
-
updatedAt: string;
|
|
163
|
-
location: string;
|
|
164
|
-
participants: {
|
|
165
|
-
memberId: number;
|
|
166
|
-
username: string;
|
|
167
|
-
profileImageUrl?: string | null | undefined;
|
|
168
|
-
}[];
|
|
169
|
-
meetingAt: string;
|
|
170
|
-
targetCount: number;
|
|
171
|
-
recruitId: number;
|
|
172
|
-
expiredAt: string;
|
|
173
|
-
}[];
|
|
174
|
-
meta: {
|
|
175
|
-
page: number;
|
|
176
|
-
size: number;
|
|
177
|
-
totalItems: number;
|
|
178
|
-
totalPages: number;
|
|
179
|
-
hasNext: boolean;
|
|
180
|
-
hasPrevious: boolean;
|
|
181
|
-
};
|
|
182
|
-
}>;
|
|
183
|
-
declare const CreateRecruitRequestSchema: z.ZodObject<{
|
|
184
|
-
targetCount: z.ZodNumber;
|
|
185
|
-
meetingAt: z.ZodString;
|
|
186
|
-
location: z.ZodString;
|
|
187
|
-
message: z.ZodString;
|
|
188
|
-
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
message: string;
|
|
190
|
-
location: string;
|
|
191
|
-
meetingAt: string;
|
|
192
|
-
targetCount: number;
|
|
193
|
-
}, {
|
|
194
|
-
message: string;
|
|
195
|
-
location: string;
|
|
196
|
-
meetingAt: string;
|
|
197
|
-
targetCount: number;
|
|
198
|
-
}>;
|
|
199
|
-
declare const CreateRecruitResponseSchema: z.ZodObject<{
|
|
200
|
-
recruitId: z.ZodBranded<z.ZodNumber, "RecruitId">;
|
|
201
|
-
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
recruitId: number & z.BRAND<"RecruitId">;
|
|
203
|
-
}, {
|
|
204
|
-
recruitId: number;
|
|
205
|
-
}>;
|
|
206
|
-
|
|
207
|
-
type CreateRecruitRequest = z$1.infer<typeof CreateRecruitRequestSchema>;
|
|
208
|
-
type RecruitListQuery = z$1.infer<typeof RecruitListQuerySchema>;
|
|
209
|
-
type RecruitListResponse = z$1.infer<typeof RecruitListResponseSchema>;
|
|
210
|
-
type CreateRecruitResponse = z$1.infer<typeof CreateRecruitResponseSchema>;
|
|
211
|
-
type RecruitSortBy = z$1.infer<typeof RecruitSortBySchema>;
|
|
212
|
-
type RecruitStatus = z$1.infer<typeof RecruitStatusSchema>;
|
|
213
|
-
|
|
214
|
-
export { type CreateRecruitRequest, CreateRecruitRequestSchema, type CreateRecruitResponse, CreateRecruitResponseSchema, type RecruitListQuery, RecruitListQuerySchema, type RecruitListResponse, RecruitListResponseSchema, type RecruitSortBy, RecruitSortBySchema, type RecruitStatus, RecruitStatusSchema };
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import z$1, { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const RecruitStatusSchema: z.ZodEnum<["OPEN", "CLOSED", "EXPIRED"]>;
|
|
4
|
-
declare const RecruitSortBySchema: z.ZodEnum<["createdAt", "deadline", "participantCount"]>;
|
|
5
|
-
declare const RecruitListQuerySchema: z.ZodObject<{
|
|
6
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
-
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
|
-
} & {
|
|
9
|
-
sortBy: z.ZodDefault<z.ZodEnum<["createdAt", "deadline", "participantCount"]>>;
|
|
10
|
-
direction: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
page: number;
|
|
13
|
-
size: number;
|
|
14
|
-
sortBy: "createdAt" | "participantCount" | "deadline";
|
|
15
|
-
direction: "asc" | "desc";
|
|
16
|
-
}, {
|
|
17
|
-
page?: number | undefined;
|
|
18
|
-
size?: number | undefined;
|
|
19
|
-
sortBy?: "createdAt" | "participantCount" | "deadline" | undefined;
|
|
20
|
-
direction?: "asc" | "desc" | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
declare const RecruitListResponseSchema: z.ZodObject<{
|
|
23
|
-
items: z.ZodArray<z.ZodObject<{
|
|
24
|
-
targetCount: z.ZodNumber;
|
|
25
|
-
meetingAt: z.ZodString;
|
|
26
|
-
location: z.ZodString;
|
|
27
|
-
message: z.ZodString;
|
|
28
|
-
recruitId: z.ZodBranded<z.ZodNumber, "RecruitId">;
|
|
29
|
-
status: z.ZodEnum<["OPEN", "CLOSED", "EXPIRED"]>;
|
|
30
|
-
createdAt: z.ZodString;
|
|
31
|
-
expiredAt: z.ZodString;
|
|
32
|
-
updatedAt: z.ZodString;
|
|
33
|
-
author: z.ZodObject<{
|
|
34
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
35
|
-
username: z.ZodString;
|
|
36
|
-
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
39
|
-
username: string;
|
|
40
|
-
profileImageUrl?: string | null | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
memberId: number;
|
|
43
|
-
username: string;
|
|
44
|
-
profileImageUrl?: string | null | undefined;
|
|
45
|
-
}>;
|
|
46
|
-
participants: z.ZodArray<z.ZodObject<{
|
|
47
|
-
memberId: z.ZodBranded<z.ZodNumber, "MemberId">;
|
|
48
|
-
username: z.ZodString;
|
|
49
|
-
profileImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
52
|
-
username: string;
|
|
53
|
-
profileImageUrl?: string | null | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
memberId: number;
|
|
56
|
-
username: string;
|
|
57
|
-
profileImageUrl?: string | null | undefined;
|
|
58
|
-
}>, "many">;
|
|
59
|
-
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
message: string;
|
|
61
|
-
status: "OPEN" | "CLOSED" | "EXPIRED";
|
|
62
|
-
createdAt: string;
|
|
63
|
-
author: {
|
|
64
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
65
|
-
username: string;
|
|
66
|
-
profileImageUrl?: string | null | undefined;
|
|
67
|
-
};
|
|
68
|
-
updatedAt: string;
|
|
69
|
-
location: string;
|
|
70
|
-
participants: {
|
|
71
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
72
|
-
username: string;
|
|
73
|
-
profileImageUrl?: string | null | undefined;
|
|
74
|
-
}[];
|
|
75
|
-
meetingAt: string;
|
|
76
|
-
targetCount: number;
|
|
77
|
-
recruitId: number & z.BRAND<"RecruitId">;
|
|
78
|
-
expiredAt: string;
|
|
79
|
-
}, {
|
|
80
|
-
message: string;
|
|
81
|
-
status: "OPEN" | "CLOSED" | "EXPIRED";
|
|
82
|
-
createdAt: string;
|
|
83
|
-
author: {
|
|
84
|
-
memberId: number;
|
|
85
|
-
username: string;
|
|
86
|
-
profileImageUrl?: string | null | undefined;
|
|
87
|
-
};
|
|
88
|
-
updatedAt: string;
|
|
89
|
-
location: string;
|
|
90
|
-
participants: {
|
|
91
|
-
memberId: number;
|
|
92
|
-
username: string;
|
|
93
|
-
profileImageUrl?: string | null | undefined;
|
|
94
|
-
}[];
|
|
95
|
-
meetingAt: string;
|
|
96
|
-
targetCount: number;
|
|
97
|
-
recruitId: number;
|
|
98
|
-
expiredAt: string;
|
|
99
|
-
}>, "many">;
|
|
100
|
-
meta: z.ZodObject<{
|
|
101
|
-
page: z.ZodNumber;
|
|
102
|
-
size: z.ZodNumber;
|
|
103
|
-
totalItems: z.ZodNumber;
|
|
104
|
-
totalPages: z.ZodNumber;
|
|
105
|
-
hasNext: z.ZodBoolean;
|
|
106
|
-
hasPrevious: z.ZodBoolean;
|
|
107
|
-
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
page: number;
|
|
109
|
-
size: number;
|
|
110
|
-
totalItems: number;
|
|
111
|
-
totalPages: number;
|
|
112
|
-
hasNext: boolean;
|
|
113
|
-
hasPrevious: boolean;
|
|
114
|
-
}, {
|
|
115
|
-
page: number;
|
|
116
|
-
size: number;
|
|
117
|
-
totalItems: number;
|
|
118
|
-
totalPages: number;
|
|
119
|
-
hasNext: boolean;
|
|
120
|
-
hasPrevious: boolean;
|
|
121
|
-
}>;
|
|
122
|
-
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
items: {
|
|
124
|
-
message: string;
|
|
125
|
-
status: "OPEN" | "CLOSED" | "EXPIRED";
|
|
126
|
-
createdAt: string;
|
|
127
|
-
author: {
|
|
128
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
129
|
-
username: string;
|
|
130
|
-
profileImageUrl?: string | null | undefined;
|
|
131
|
-
};
|
|
132
|
-
updatedAt: string;
|
|
133
|
-
location: string;
|
|
134
|
-
participants: {
|
|
135
|
-
memberId: number & z.BRAND<"MemberId">;
|
|
136
|
-
username: string;
|
|
137
|
-
profileImageUrl?: string | null | undefined;
|
|
138
|
-
}[];
|
|
139
|
-
meetingAt: string;
|
|
140
|
-
targetCount: number;
|
|
141
|
-
recruitId: number & z.BRAND<"RecruitId">;
|
|
142
|
-
expiredAt: string;
|
|
143
|
-
}[];
|
|
144
|
-
meta: {
|
|
145
|
-
page: number;
|
|
146
|
-
size: number;
|
|
147
|
-
totalItems: number;
|
|
148
|
-
totalPages: number;
|
|
149
|
-
hasNext: boolean;
|
|
150
|
-
hasPrevious: boolean;
|
|
151
|
-
};
|
|
152
|
-
}, {
|
|
153
|
-
items: {
|
|
154
|
-
message: string;
|
|
155
|
-
status: "OPEN" | "CLOSED" | "EXPIRED";
|
|
156
|
-
createdAt: string;
|
|
157
|
-
author: {
|
|
158
|
-
memberId: number;
|
|
159
|
-
username: string;
|
|
160
|
-
profileImageUrl?: string | null | undefined;
|
|
161
|
-
};
|
|
162
|
-
updatedAt: string;
|
|
163
|
-
location: string;
|
|
164
|
-
participants: {
|
|
165
|
-
memberId: number;
|
|
166
|
-
username: string;
|
|
167
|
-
profileImageUrl?: string | null | undefined;
|
|
168
|
-
}[];
|
|
169
|
-
meetingAt: string;
|
|
170
|
-
targetCount: number;
|
|
171
|
-
recruitId: number;
|
|
172
|
-
expiredAt: string;
|
|
173
|
-
}[];
|
|
174
|
-
meta: {
|
|
175
|
-
page: number;
|
|
176
|
-
size: number;
|
|
177
|
-
totalItems: number;
|
|
178
|
-
totalPages: number;
|
|
179
|
-
hasNext: boolean;
|
|
180
|
-
hasPrevious: boolean;
|
|
181
|
-
};
|
|
182
|
-
}>;
|
|
183
|
-
declare const CreateRecruitRequestSchema: z.ZodObject<{
|
|
184
|
-
targetCount: z.ZodNumber;
|
|
185
|
-
meetingAt: z.ZodString;
|
|
186
|
-
location: z.ZodString;
|
|
187
|
-
message: z.ZodString;
|
|
188
|
-
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
message: string;
|
|
190
|
-
location: string;
|
|
191
|
-
meetingAt: string;
|
|
192
|
-
targetCount: number;
|
|
193
|
-
}, {
|
|
194
|
-
message: string;
|
|
195
|
-
location: string;
|
|
196
|
-
meetingAt: string;
|
|
197
|
-
targetCount: number;
|
|
198
|
-
}>;
|
|
199
|
-
declare const CreateRecruitResponseSchema: z.ZodObject<{
|
|
200
|
-
recruitId: z.ZodBranded<z.ZodNumber, "RecruitId">;
|
|
201
|
-
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
recruitId: number & z.BRAND<"RecruitId">;
|
|
203
|
-
}, {
|
|
204
|
-
recruitId: number;
|
|
205
|
-
}>;
|
|
206
|
-
|
|
207
|
-
type CreateRecruitRequest = z$1.infer<typeof CreateRecruitRequestSchema>;
|
|
208
|
-
type RecruitListQuery = z$1.infer<typeof RecruitListQuerySchema>;
|
|
209
|
-
type RecruitListResponse = z$1.infer<typeof RecruitListResponseSchema>;
|
|
210
|
-
type CreateRecruitResponse = z$1.infer<typeof CreateRecruitResponseSchema>;
|
|
211
|
-
type RecruitSortBy = z$1.infer<typeof RecruitSortBySchema>;
|
|
212
|
-
type RecruitStatus = z$1.infer<typeof RecruitStatusSchema>;
|
|
213
|
-
|
|
214
|
-
export { type CreateRecruitRequest, CreateRecruitRequestSchema, type CreateRecruitResponse, CreateRecruitResponseSchema, type RecruitListQuery, RecruitListQuerySchema, type RecruitListResponse, RecruitListResponseSchema, type RecruitSortBy, RecruitSortBySchema, type RecruitStatus, RecruitStatusSchema };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CreateRecruitRequestSchema,
|
|
3
|
-
CreateRecruitResponseSchema,
|
|
4
|
-
RecruitListQuerySchema,
|
|
5
|
-
RecruitListResponseSchema,
|
|
6
|
-
RecruitSortBySchema,
|
|
7
|
-
RecruitStatusSchema
|
|
8
|
-
} from "../../chunk-YM7YU7IR.js";
|
|
9
|
-
import "../../chunk-W4TUW2GY.js";
|
|
10
|
-
import "../../chunk-W4C7XHTX.js";
|
|
11
|
-
import "../../chunk-AI2YMBJX.js";
|
|
12
|
-
import "../../chunk-PFSZSKD5.js";
|
|
13
|
-
import "../../chunk-PQMEXOPZ.js";
|
|
14
|
-
import "../../chunk-K3CZKI2F.js";
|
|
15
|
-
import "../../chunk-GTVEQYJW.js";
|
|
16
|
-
import "../../chunk-OJVXYCSH.js";
|
|
17
|
-
import "../../chunk-4E5E3PFW.js";
|
|
18
|
-
import "../../chunk-HRM3FQPL.js";
|
|
19
|
-
import "../../chunk-YGFAVC5N.js";
|
|
20
|
-
import "../../chunk-NJTV6DRT.js";
|
|
21
|
-
import "../../chunk-ZH7D7B2Y.js";
|
|
22
|
-
import "../../chunk-H77ISYYC.js";
|
|
23
|
-
export {
|
|
24
|
-
CreateRecruitRequestSchema,
|
|
25
|
-
CreateRecruitResponseSchema,
|
|
26
|
-
RecruitListQuerySchema,
|
|
27
|
-
RecruitListResponseSchema,
|
|
28
|
-
RecruitSortBySchema,
|
|
29
|
-
RecruitStatusSchema
|
|
30
|
-
};
|