@kimdaegyu/babmukdang-shared 1.0.7 → 1.1.0

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.
Files changed (106) hide show
  1. package/dist/chunk-2GRWCRTV.js +328 -0
  2. package/dist/chunk-2SJCUQNN.js +40 -0
  3. package/dist/chunk-34EKPNPX.js +0 -0
  4. package/dist/chunk-35QGRA2X.js +0 -0
  5. package/dist/chunk-3YMV26OY.js +0 -0
  6. package/dist/chunk-4DAOP35P.js +74 -0
  7. package/dist/chunk-6NZPEF4K.js +34 -0
  8. package/dist/chunk-7MGHUZXI.js +25 -0
  9. package/dist/chunk-BVTYAILQ.js +0 -0
  10. package/dist/chunk-EJKRR2MZ.js +184 -0
  11. package/dist/chunk-F24BT6H4.js +23 -0
  12. package/dist/chunk-FCE6KXNO.js +30 -0
  13. package/dist/chunk-HRM3FQPL.js +12 -0
  14. package/dist/chunk-IJMADVK5.js +27 -0
  15. package/dist/chunk-IYCA6KHR.js +0 -0
  16. package/dist/chunk-JCN37ARR.js +52 -0
  17. package/dist/chunk-JXYRJKRV.js +0 -0
  18. package/dist/chunk-LCMNVWSP.js +0 -0
  19. package/dist/chunk-MP7TEKEI.js +72 -0
  20. package/dist/chunk-NCVWB52E.js +0 -0
  21. package/dist/chunk-NW5O4R7M.js +37 -0
  22. package/dist/chunk-O6DYRCFN.js +0 -0
  23. package/dist/chunk-PDGMGLYH.js +0 -0
  24. package/dist/chunk-PFSZSKD5.js +0 -0
  25. package/dist/chunk-TA4BB3UC.js +0 -0
  26. package/dist/chunk-UFVPFUMI.js +35 -0
  27. package/dist/chunk-UN7KYFMV.js +0 -0
  28. package/dist/chunk-UXA4FHST.js +19 -0
  29. package/dist/chunk-WNY6POLW.js +0 -0
  30. package/dist/chunk-YVACD5IG.js +127 -0
  31. package/dist/chunk-Z2UFF3MA.js +212 -0
  32. package/dist/chunk-ZNAAA53X.js +45 -0
  33. package/dist/chunk-ZSZ3ETY7.js +32 -0
  34. package/dist/domain/article/index.cjs +250 -0
  35. package/dist/domain/article/index.d.cts +1026 -0
  36. package/dist/domain/article/index.d.ts +1026 -0
  37. package/dist/domain/article/index.js +32 -0
  38. package/dist/domain/auth/index.cjs +135 -0
  39. package/dist/domain/auth/index.d.cts +73 -0
  40. package/dist/domain/auth/index.d.ts +73 -0
  41. package/dist/domain/auth/index.js +17 -0
  42. package/dist/domain/challenge/index.cjs +65 -0
  43. package/dist/domain/challenge/index.d.cts +104 -0
  44. package/dist/domain/challenge/index.d.ts +104 -0
  45. package/dist/domain/challenge/index.js +18 -0
  46. package/dist/domain/common/index.cjs +769 -0
  47. package/dist/domain/common/index.d.cts +2576 -0
  48. package/dist/domain/common/index.d.ts +2576 -0
  49. package/dist/domain/common/index.js +107 -0
  50. package/dist/domain/coupon/index.cjs +74 -0
  51. package/dist/domain/coupon/index.d.cts +38 -0
  52. package/dist/domain/coupon/index.d.ts +38 -0
  53. package/dist/domain/coupon/index.js +14 -0
  54. package/dist/domain/friend/index.cjs +152 -0
  55. package/dist/domain/friend/index.d.cts +148 -0
  56. package/dist/domain/friend/index.d.ts +148 -0
  57. package/dist/domain/friend/index.js +25 -0
  58. package/dist/domain/index.cjs +997 -0
  59. package/dist/domain/index.d.cts +17 -0
  60. package/dist/domain/index.d.ts +17 -0
  61. package/dist/domain/index.js +334 -0
  62. package/dist/domain/invitation/index.cjs +104 -0
  63. package/dist/domain/invitation/index.d.cts +67 -0
  64. package/dist/domain/invitation/index.d.ts +67 -0
  65. package/dist/domain/invitation/index.js +17 -0
  66. package/dist/domain/meal/index.cjs +59 -0
  67. package/dist/domain/meal/index.d.cts +38 -0
  68. package/dist/domain/meal/index.d.ts +38 -0
  69. package/dist/domain/meal/index.js +15 -0
  70. package/dist/domain/member/index.cjs +127 -0
  71. package/dist/domain/member/index.d.cts +225 -0
  72. package/dist/domain/member/index.d.ts +225 -0
  73. package/dist/domain/member/index.js +30 -0
  74. package/dist/domain/plan/index.cjs +269 -0
  75. package/dist/domain/plan/index.d.cts +189 -0
  76. package/dist/domain/plan/index.d.ts +189 -0
  77. package/dist/domain/plan/index.js +19 -0
  78. package/dist/domain/preference/index.cjs +69 -0
  79. package/dist/domain/preference/index.d.cts +31 -0
  80. package/dist/domain/preference/index.d.ts +31 -0
  81. package/dist/domain/preference/index.js +12 -0
  82. package/dist/domain/recruit/index.cjs +138 -0
  83. package/dist/domain/recruit/index.d.cts +130 -0
  84. package/dist/domain/recruit/index.d.ts +130 -0
  85. package/dist/domain/recruit/index.js +19 -0
  86. package/dist/domain/referral/index.cjs +78 -0
  87. package/dist/domain/referral/index.d.cts +51 -0
  88. package/dist/domain/referral/index.d.ts +51 -0
  89. package/dist/domain/referral/index.js +14 -0
  90. package/dist/domain/restaurant/index.cjs +79 -0
  91. package/dist/domain/restaurant/index.d.cts +85 -0
  92. package/dist/domain/restaurant/index.d.ts +85 -0
  93. package/dist/domain/restaurant/index.js +11 -0
  94. package/dist/domain/room/index.cjs +332 -0
  95. package/dist/domain/room/index.d.cts +1482 -0
  96. package/dist/domain/room/index.d.ts +1482 -0
  97. package/dist/domain/room/index.js +74 -0
  98. package/dist/id-B-8M90Ef.d.cts +43 -0
  99. package/dist/id-B-8M90Ef.d.ts +43 -0
  100. package/dist/index-BuInbhtG.d.cts +305 -0
  101. package/dist/index-CKRUOupn.d.ts +305 -0
  102. package/dist/index.cjs +845 -21
  103. package/dist/index.d.cts +113 -569
  104. package/dist/index.d.ts +113 -569
  105. package/dist/index.js +50 -30
  106. package/package.json +50 -39
package/dist/index.js CHANGED
@@ -1,25 +1,43 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __decorateClass = (decorators, target, key, kind) => {
4
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
6
- if (decorator = decorators[i])
7
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
- if (kind && result) __defProp(target, key, result);
9
- return result;
10
- };
11
-
12
- // src/types/plan/plan.ts
13
- var PlanStatus = /* @__PURE__ */ ((PlanStatus2) => {
14
- PlanStatus2["PLANNING"] = "PLANNING";
15
- PlanStatus2["COMPLETED"] = "COMPLETED";
16
- return PlanStatus2;
17
- })(PlanStatus || {});
18
- var PlanType = /* @__PURE__ */ ((PlanType2) => {
19
- PlanType2["ANNOUNCEMENT"] = "ANNOUNCEMENT";
20
- PlanType2["INVITATION"] = "INVITATION";
21
- return PlanType2;
22
- })(PlanType || {});
1
+ import {
2
+ domain_exports
3
+ } from "./chunk-2GRWCRTV.js";
4
+ import "./chunk-NCVWB52E.js";
5
+ import "./chunk-LCMNVWSP.js";
6
+ import "./chunk-PDGMGLYH.js";
7
+ import "./chunk-BVTYAILQ.js";
8
+ import "./chunk-34EKPNPX.js";
9
+ import "./chunk-TA4BB3UC.js";
10
+ import "./chunk-O6DYRCFN.js";
11
+ import "./chunk-JXYRJKRV.js";
12
+ import "./chunk-PFSZSKD5.js";
13
+ import "./chunk-IYCA6KHR.js";
14
+ import "./chunk-WNY6POLW.js";
15
+ import "./chunk-Z2UFF3MA.js";
16
+ import "./chunk-4DAOP35P.js";
17
+ import "./chunk-7MGHUZXI.js";
18
+ import "./chunk-ZNAAA53X.js";
19
+ import "./chunk-F24BT6H4.js";
20
+ import "./chunk-2SJCUQNN.js";
21
+ import "./chunk-ZSZ3ETY7.js";
22
+ import {
23
+ RoomSocketClientEventSchemas,
24
+ RoomSocketServerEventSchemas
25
+ } from "./chunk-EJKRR2MZ.js";
26
+ import "./chunk-YVACD5IG.js";
27
+ import "./chunk-NW5O4R7M.js";
28
+ import "./chunk-FCE6KXNO.js";
29
+ import "./chunk-UN7KYFMV.js";
30
+ import "./chunk-6NZPEF4K.js";
31
+ import "./chunk-3YMV26OY.js";
32
+ import "./chunk-JCN37ARR.js";
33
+ import "./chunk-MP7TEKEI.js";
34
+ import "./chunk-35QGRA2X.js";
35
+ import "./chunk-IJMADVK5.js";
36
+ import "./chunk-UFVPFUMI.js";
37
+ import "./chunk-HRM3FQPL.js";
38
+ import {
39
+ __decorateClass
40
+ } from "./chunk-UXA4FHST.js";
23
41
 
24
42
  // src/types/matching/types.ts
25
43
  var AnnouncementStageMap = {
@@ -195,7 +213,8 @@ import {
195
213
  IsBoolean,
196
214
  IsNotEmpty,
197
215
  IsNumber,
198
- IsString
216
+ IsString,
217
+ MaxLength
199
218
  } from "class-validator";
200
219
  var RestaurantPickRequestDtoServer = class {
201
220
  };
@@ -220,7 +239,7 @@ var LocationCandidateAddRequestDtoServer = class {
220
239
  __decorateClass([
221
240
  IsString(),
222
241
  IsNotEmpty()
223
- ], LocationCandidateAddRequestDtoServer.prototype, "id", 2);
242
+ ], LocationCandidateAddRequestDtoServer.prototype, "locationId", 2);
224
243
  __decorateClass([
225
244
  IsString(),
226
245
  IsNotEmpty()
@@ -246,7 +265,6 @@ __decorateClass([
246
265
  var ExcludeMenuRequestDtoServer = class {
247
266
  };
248
267
  __decorateClass([
249
- IsString(),
250
268
  IsNotEmpty()
251
269
  ], ExcludeMenuRequestDtoServer.prototype, "menu", 2);
252
270
  var MenuPickRequestDtoServer = class {
@@ -259,8 +277,9 @@ var ChatMessageRequestDtoServer = class {
259
277
  };
260
278
  __decorateClass([
261
279
  IsString(),
262
- IsNotEmpty()
263
- ], ChatMessageRequestDtoServer.prototype, "text", 2);
280
+ IsNotEmpty(),
281
+ MaxLength(500)
282
+ ], ChatMessageRequestDtoServer.prototype, "message", 2);
264
283
  var ReadyStateRequestDtoServer = class {
265
284
  };
266
285
  __decorateClass([
@@ -360,9 +379,10 @@ export {
360
379
  LocationCandidateVoteRequestDtoServer,
361
380
  MenuPickRequestDtoServer,
362
381
  MenuRecommendationAIResponseDto,
363
- PlanStatus,
364
- PlanType,
365
382
  ReadyStateRequestDtoServer,
366
383
  RestaurantPickRequestDtoServer,
367
- TimePicksRequestDtoServer
384
+ RoomSocketClientEventSchemas,
385
+ RoomSocketServerEventSchemas,
386
+ TimePicksRequestDtoServer,
387
+ domain_exports as domain
368
388
  };
package/package.json CHANGED
@@ -1,39 +1,50 @@
1
- {
2
- "name": "@kimdaegyu/babmukdang-shared",
3
- "version": "1.0.7",
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
- },
19
- "files": [
20
- "dist"
21
- ],
22
- "sideEffects": false,
23
- "scripts": {
24
- "build": "tsup src/index.ts --dts --format esm,cjs --clean",
25
- "release": "changesets version && pnpm -w i && pnpm build && changesets publish"
26
- },
27
- "devDependencies": {
28
- "@changesets/cli": "^2.27.0",
29
- "tsup": "^8.0.0",
30
- "typescript": "^5.5.0"
31
- },
32
- "peerDependencies": {
33
- "zod": "^3.23.0"
34
- },
35
- "dependencies": {
36
- "class-transformer": "^0.5.1",
37
- "class-validator": "^0.14.2"
38
- }
39
- }
1
+ {
2
+ "name": "@kimdaegyu/babmukdang-shared",
3
+ "version": "1.1.0",
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
+ },
37
+ "devDependencies": {
38
+ "@changesets/cli": "^2.27.0",
39
+ "tsup": "^8.0.0",
40
+ "typescript": "^5.5.0"
41
+ },
42
+ "peerDependencies": {
43
+ "zod": "^3.25.0"
44
+ },
45
+ "dependencies": {
46
+ "class-transformer": "^0.5.1",
47
+ "class-validator": "^0.14.2",
48
+ "zod": "^3.25.76"
49
+ }
50
+ }