@kimdaegyu/babmukdang-shared 1.1.1 → 1.1.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-ET2Z5ZYA.js → chunk-GTVEQYJW.js} +1 -1
- package/dist/{chunk-4XAGRJUM.js → chunk-H77ISYYC.js} +0 -10
- package/dist/{chunk-JNJRBUKR.js → chunk-J76VB5SE.js} +1 -1
- package/dist/{chunk-XTBVYY5B.js → chunk-JEUH3JDZ.js} +31 -18
- package/dist/{chunk-ADIREWTX.js → chunk-KRVEQVRC.js} +1 -1
- package/dist/{chunk-NAPCX4Q6.js → chunk-M5OSCHMV.js} +3 -3
- package/dist/{chunk-XWTMYXPO.js → chunk-TY4WZEIZ.js} +3 -3
- package/dist/{chunk-YJ7RUOEJ.js → chunk-U6OQQOPN.js} +2 -2
- package/dist/{chunk-O56CI56W.js → chunk-UJJMW7II.js} +1 -1
- package/dist/{chunk-RHQHBUO4.js → chunk-VAWYU5JG.js} +1 -1
- package/dist/{chunk-AATETFLU.js → chunk-VWPUBTMV.js} +38 -26
- package/dist/{chunk-M7HH7FMO.js → chunk-W3YQYI4R.js} +4 -4
- package/dist/{chunk-5QLCZOPJ.js → chunk-YGFAVC5N.js} +1 -1
- package/dist/domain/article/index.js +4 -4
- package/dist/domain/auth/index.js +3 -3
- package/dist/domain/common/index.cjs +20 -2
- package/dist/domain/common/index.d.cts +1 -1
- package/dist/domain/common/index.d.ts +1 -1
- package/dist/domain/common/index.js +27 -15
- package/dist/domain/friend/index.js +3 -3
- package/dist/domain/index.cjs +20 -2
- package/dist/domain/index.d.cts +1 -1
- package/dist/domain/index.d.ts +1 -1
- package/dist/domain/index.js +39 -27
- package/dist/domain/invitation/index.js +2 -2
- package/dist/domain/meal/index.js +4 -4
- package/dist/domain/member/index.d.cts +1 -1
- package/dist/domain/member/index.d.ts +1 -1
- package/dist/domain/member/index.js +2 -2
- package/dist/domain/plan/index.js +6 -6
- package/dist/domain/promotion/index.js +2 -2
- package/dist/domain/recruit/index.js +13 -13
- package/dist/domain/restaurant/index.js +2 -2
- package/dist/domain/room/index.js +5 -5
- package/dist/{id-_a-oManb.d.cts → id-dAYxfjZn.d.cts} +7 -1
- package/dist/{id-_a-oManb.d.ts → id-dAYxfjZn.d.ts} +7 -1
- package/dist/{index-CqcSqpDV.d.ts → index-DAcw_a8p.d.ts} +8 -2
- package/dist/{index-HEHaDbrV.d.cts → index-DJJo4ejN.d.cts} +8 -2
- package/dist/index.cjs +13 -187
- package/dist/index.d.cts +9 -72
- package/dist/index.d.ts +9 -72
- package/dist/index.js +14 -181
- package/package.json +55 -55
package/dist/index.js
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
domain_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VWPUBTMV.js";
|
|
4
4
|
import "./chunk-NCVWB52E.js";
|
|
5
5
|
import "./chunk-PFSZSKD5.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-JEUH3JDZ.js";
|
|
7
|
+
import "./chunk-UJJMW7II.js";
|
|
8
|
+
import "./chunk-W3YQYI4R.js";
|
|
9
|
+
import "./chunk-VAWYU5JG.js";
|
|
9
10
|
import {
|
|
10
11
|
RoomSocketClientEventSchemas,
|
|
11
12
|
RoomSocketServerEventSchemas
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-5QLCZOPJ.js";
|
|
18
|
-
import "./chunk-O56CI56W.js";
|
|
19
|
-
import "./chunk-NJTV6DRT.js";
|
|
13
|
+
} from "./chunk-M5OSCHMV.js";
|
|
14
|
+
import "./chunk-TY4WZEIZ.js";
|
|
15
|
+
import "./chunk-GTVEQYJW.js";
|
|
16
|
+
import "./chunk-J76VB5SE.js";
|
|
17
|
+
import "./chunk-U6OQQOPN.js";
|
|
20
18
|
import "./chunk-HRM3FQPL.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
import "./chunk-YGFAVC5N.js";
|
|
20
|
+
import "./chunk-NJTV6DRT.js";
|
|
21
|
+
import "./chunk-KRVEQVRC.js";
|
|
22
|
+
import "./chunk-H77ISYYC.js";
|
|
25
23
|
|
|
26
24
|
// src/types/matching/types.ts
|
|
27
25
|
var AnnouncementStageMap = {
|
|
@@ -190,176 +188,11 @@ var MenuRecommendationAIResponseDto = {
|
|
|
190
188
|
top_k: 10
|
|
191
189
|
}
|
|
192
190
|
};
|
|
193
|
-
|
|
194
|
-
// src/nest-adapters/matching/request.dto.ts
|
|
195
|
-
import { IsArray, IsBoolean, IsNotEmpty, IsNumber, IsString, MaxLength } from "class-validator";
|
|
196
|
-
var RestaurantPickRequestDtoServer = class {
|
|
197
|
-
};
|
|
198
|
-
__decorateClass([
|
|
199
|
-
IsString(),
|
|
200
|
-
IsNotEmpty()
|
|
201
|
-
], RestaurantPickRequestDtoServer.prototype, "restaurantId", 2);
|
|
202
|
-
var DatePicksRequestDtoServer = class {
|
|
203
|
-
};
|
|
204
|
-
__decorateClass([
|
|
205
|
-
IsArray(),
|
|
206
|
-
IsNotEmpty()
|
|
207
|
-
], DatePicksRequestDtoServer.prototype, "dates", 2);
|
|
208
|
-
var TimePicksRequestDtoServer = class {
|
|
209
|
-
};
|
|
210
|
-
__decorateClass([
|
|
211
|
-
IsArray(),
|
|
212
|
-
IsNotEmpty()
|
|
213
|
-
], TimePicksRequestDtoServer.prototype, "times", 2);
|
|
214
|
-
var LocationCandidateAddRequestDtoServer = class {
|
|
215
|
-
};
|
|
216
|
-
__decorateClass([
|
|
217
|
-
IsString(),
|
|
218
|
-
IsNotEmpty()
|
|
219
|
-
], LocationCandidateAddRequestDtoServer.prototype, "locationId", 2);
|
|
220
|
-
__decorateClass([
|
|
221
|
-
IsString(),
|
|
222
|
-
IsNotEmpty()
|
|
223
|
-
], LocationCandidateAddRequestDtoServer.prototype, "placeName", 2);
|
|
224
|
-
__decorateClass([
|
|
225
|
-
IsNumber(),
|
|
226
|
-
IsNotEmpty()
|
|
227
|
-
], LocationCandidateAddRequestDtoServer.prototype, "lat", 2);
|
|
228
|
-
__decorateClass([
|
|
229
|
-
IsNumber(),
|
|
230
|
-
IsNotEmpty()
|
|
231
|
-
], LocationCandidateAddRequestDtoServer.prototype, "lng", 2);
|
|
232
|
-
__decorateClass([
|
|
233
|
-
IsString(),
|
|
234
|
-
IsNotEmpty()
|
|
235
|
-
], LocationCandidateAddRequestDtoServer.prototype, "address", 2);
|
|
236
|
-
var LocationCandidateVoteRequestDtoServer = class {
|
|
237
|
-
};
|
|
238
|
-
__decorateClass([
|
|
239
|
-
IsString(),
|
|
240
|
-
IsNotEmpty()
|
|
241
|
-
], LocationCandidateVoteRequestDtoServer.prototype, "locationId", 2);
|
|
242
|
-
var ExcludeMenuRequestDtoServer = class {
|
|
243
|
-
};
|
|
244
|
-
__decorateClass([
|
|
245
|
-
IsNotEmpty()
|
|
246
|
-
], ExcludeMenuRequestDtoServer.prototype, "menu", 2);
|
|
247
|
-
var MenuPickRequestDtoServer = class {
|
|
248
|
-
};
|
|
249
|
-
__decorateClass([
|
|
250
|
-
IsString(),
|
|
251
|
-
IsNotEmpty()
|
|
252
|
-
], MenuPickRequestDtoServer.prototype, "menuCode", 2);
|
|
253
|
-
var ChatMessageRequestDtoServer = class {
|
|
254
|
-
};
|
|
255
|
-
__decorateClass([
|
|
256
|
-
IsString(),
|
|
257
|
-
IsNotEmpty(),
|
|
258
|
-
MaxLength(500)
|
|
259
|
-
], ChatMessageRequestDtoServer.prototype, "message", 2);
|
|
260
|
-
var ReadyStateRequestDtoServer = class {
|
|
261
|
-
};
|
|
262
|
-
__decorateClass([
|
|
263
|
-
IsBoolean(),
|
|
264
|
-
IsNotEmpty()
|
|
265
|
-
], ReadyStateRequestDtoServer.prototype, "isReady", 2);
|
|
266
|
-
|
|
267
|
-
// src/nest-adapters/matching/server-server.dto.ts
|
|
268
|
-
import { IsArray as IsArray2, IsNotEmpty as IsNotEmpty2, IsObject, IsString as IsString2 } from "class-validator";
|
|
269
|
-
var AnnouncementRequestDto = class {
|
|
270
|
-
};
|
|
271
|
-
__decorateClass([
|
|
272
|
-
IsString2(),
|
|
273
|
-
IsNotEmpty2()
|
|
274
|
-
], AnnouncementRequestDto.prototype, "announcementId", 2);
|
|
275
|
-
__decorateClass([
|
|
276
|
-
IsString2(),
|
|
277
|
-
IsNotEmpty2()
|
|
278
|
-
], AnnouncementRequestDto.prototype, "location", 2);
|
|
279
|
-
__decorateClass([
|
|
280
|
-
IsString2(),
|
|
281
|
-
IsNotEmpty2()
|
|
282
|
-
], AnnouncementRequestDto.prototype, "meetingAt", 2);
|
|
283
|
-
__decorateClass([
|
|
284
|
-
IsArray2(),
|
|
285
|
-
IsNotEmpty2()
|
|
286
|
-
], AnnouncementRequestDto.prototype, "participants", 2);
|
|
287
|
-
__decorateClass([
|
|
288
|
-
IsArray2(),
|
|
289
|
-
IsNotEmpty2()
|
|
290
|
-
], AnnouncementRequestDto.prototype, "recentMenu", 2);
|
|
291
|
-
var InvitationRequestDto = class {
|
|
292
|
-
};
|
|
293
|
-
__decorateClass([
|
|
294
|
-
IsString2(),
|
|
295
|
-
IsNotEmpty2()
|
|
296
|
-
], InvitationRequestDto.prototype, "invitationId", 2);
|
|
297
|
-
__decorateClass([
|
|
298
|
-
IsArray2(),
|
|
299
|
-
IsNotEmpty2()
|
|
300
|
-
], InvitationRequestDto.prototype, "participants", 2);
|
|
301
|
-
__decorateClass([
|
|
302
|
-
IsArray2(),
|
|
303
|
-
IsNotEmpty2()
|
|
304
|
-
], InvitationRequestDto.prototype, "recentMenu", 2);
|
|
305
|
-
var AnnouncementResultRequestDto = class {
|
|
306
|
-
};
|
|
307
|
-
__decorateClass([
|
|
308
|
-
IsString2(),
|
|
309
|
-
IsNotEmpty2()
|
|
310
|
-
], AnnouncementResultRequestDto.prototype, "announcementId", 2);
|
|
311
|
-
__decorateClass([
|
|
312
|
-
IsObject(),
|
|
313
|
-
IsNotEmpty2()
|
|
314
|
-
], AnnouncementResultRequestDto.prototype, "location", 2);
|
|
315
|
-
__decorateClass([
|
|
316
|
-
IsObject(),
|
|
317
|
-
IsNotEmpty2()
|
|
318
|
-
], AnnouncementResultRequestDto.prototype, "menu", 2);
|
|
319
|
-
__decorateClass([
|
|
320
|
-
IsObject(),
|
|
321
|
-
IsNotEmpty2()
|
|
322
|
-
], AnnouncementResultRequestDto.prototype, "restaurant", 2);
|
|
323
|
-
var InvitationResultRequestDto = class {
|
|
324
|
-
};
|
|
325
|
-
__decorateClass([
|
|
326
|
-
IsString2(),
|
|
327
|
-
IsNotEmpty2()
|
|
328
|
-
], InvitationResultRequestDto.prototype, "invitationId", 2);
|
|
329
|
-
__decorateClass([
|
|
330
|
-
IsObject(),
|
|
331
|
-
IsNotEmpty2()
|
|
332
|
-
], InvitationResultRequestDto.prototype, "location", 2);
|
|
333
|
-
__decorateClass([
|
|
334
|
-
IsObject(),
|
|
335
|
-
IsNotEmpty2()
|
|
336
|
-
], InvitationResultRequestDto.prototype, "menu", 2);
|
|
337
|
-
__decorateClass([
|
|
338
|
-
IsString2(),
|
|
339
|
-
IsNotEmpty2()
|
|
340
|
-
], InvitationResultRequestDto.prototype, "meetingAt", 2);
|
|
341
|
-
__decorateClass([
|
|
342
|
-
IsObject(),
|
|
343
|
-
IsNotEmpty2()
|
|
344
|
-
], InvitationResultRequestDto.prototype, "restaurant", 2);
|
|
345
191
|
export {
|
|
346
|
-
AnnouncementRequestDto,
|
|
347
|
-
AnnouncementResultRequestDto,
|
|
348
192
|
AnnouncementStageMap,
|
|
349
|
-
ChatMessageRequestDtoServer,
|
|
350
|
-
DatePicksRequestDtoServer,
|
|
351
|
-
ExcludeMenuRequestDtoServer,
|
|
352
|
-
InvitationRequestDto,
|
|
353
|
-
InvitationResultRequestDto,
|
|
354
193
|
InvitationStageMap,
|
|
355
|
-
LocationCandidateAddRequestDtoServer,
|
|
356
|
-
LocationCandidateVoteRequestDtoServer,
|
|
357
|
-
MenuPickRequestDtoServer,
|
|
358
194
|
MenuRecommendationAIResponseDto,
|
|
359
|
-
ReadyStateRequestDtoServer,
|
|
360
|
-
RestaurantPickRequestDtoServer,
|
|
361
195
|
RoomSocketClientEventSchemas,
|
|
362
196
|
RoomSocketServerEventSchemas,
|
|
363
|
-
TimePicksRequestDtoServer,
|
|
364
197
|
domain_exports as domain
|
|
365
198
|
};
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kimdaegyu/babmukdang-shared",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.cjs",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.js",
|
|
13
|
-
"require": "./dist/index.cjs"
|
|
14
|
-
},
|
|
15
|
-
"./types/*": "./dist/types/*.d.ts",
|
|
16
|
-
"./schemas/*": "./dist/schemas/*.js",
|
|
17
|
-
"./nest-adapters/*": "./dist/nest-adapters/*.js",
|
|
18
|
-
"./domain/*": {
|
|
19
|
-
"types": "./dist/domain/*/index.d.ts",
|
|
20
|
-
"import": "./dist/domain/*/index.js",
|
|
21
|
-
"require": "./dist/domain/*/index.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./domain": {
|
|
24
|
-
"types": "./dist/domain/index.d.ts",
|
|
25
|
-
"import": "./dist/domain/index.js",
|
|
26
|
-
"require": "./dist/domain/index.cjs"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist"
|
|
31
|
-
],
|
|
32
|
-
"sideEffects": false,
|
|
33
|
-
"scripts": {
|
|
34
|
-
"build": "tsup src/index.ts src/domain/index.ts src/domain/*/index.ts --dts --format esm,cjs --clean",
|
|
35
|
-
"release": "changesets version && pnpm -w i && pnpm build && changesets publish",
|
|
36
|
-
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\"",
|
|
37
|
-
"format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\""
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@changesets/cli": "^2.27.0",
|
|
41
|
-
"prettier": "^3.8.4",
|
|
42
|
-
"tsup": "^8.0.0",
|
|
43
|
-
"typescript": "^5.5.0",
|
|
44
|
-
"tsc-alias": "^1.8.16",
|
|
45
|
-
"tsconfig-paths": "^4.2.0"
|
|
46
|
-
},
|
|
47
|
-
"peerDependencies": {
|
|
48
|
-
"zod": "^3.25.0"
|
|
49
|
-
},
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"class-transformer": "^0.5.1",
|
|
52
|
-
"class-validator": "^0.14.2",
|
|
53
|
-
"zod": "^3.25.0"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@kimdaegyu/babmukdang-shared",
|
|
3
|
+
"version": "1.1.3",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./types/*": "./dist/types/*.d.ts",
|
|
16
|
+
"./schemas/*": "./dist/schemas/*.js",
|
|
17
|
+
"./nest-adapters/*": "./dist/nest-adapters/*.js",
|
|
18
|
+
"./domain/*": {
|
|
19
|
+
"types": "./dist/domain/*/index.d.ts",
|
|
20
|
+
"import": "./dist/domain/*/index.js",
|
|
21
|
+
"require": "./dist/domain/*/index.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./domain": {
|
|
24
|
+
"types": "./dist/domain/index.d.ts",
|
|
25
|
+
"import": "./dist/domain/index.js",
|
|
26
|
+
"require": "./dist/domain/index.cjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"sideEffects": false,
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsup src/index.ts src/domain/index.ts src/domain/*/index.ts --dts --format esm,cjs --clean",
|
|
35
|
+
"release": "changesets version && pnpm -w i && pnpm build && changesets publish",
|
|
36
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\"",
|
|
37
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\" \"*.{json,md}\""
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@changesets/cli": "^2.27.0",
|
|
41
|
+
"prettier": "^3.8.4",
|
|
42
|
+
"tsup": "^8.0.0",
|
|
43
|
+
"typescript": "^5.5.0",
|
|
44
|
+
"tsc-alias": "^1.8.16",
|
|
45
|
+
"tsconfig-paths": "^4.2.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"zod": "^3.25.0"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"class-transformer": "^0.5.1",
|
|
52
|
+
"class-validator": "^0.14.2",
|
|
53
|
+
"zod": "^3.25.0"
|
|
54
|
+
}
|
|
55
|
+
}
|