@tsed/common 8.0.0-alpha.8 → 8.0.0-alpha.9

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.
@@ -3,8 +3,8 @@ import { MulterOptions } from "./multerOptions.js";
3
3
  * Define file size limit.
4
4
  *
5
5
  * ```typescript
6
- * import {Controller, Post} from "@tsed/common";
7
- * import {MulterOptions, MultipartFile} from "@tsed/common";
6
+ * import {Post} from "@tsed/schema";
7
+ * import {Controller, MulterOptions, MultipartFile} from "@tsed/common";
8
8
  * import {Multer} from "@types/multer";
9
9
  *
10
10
  * type MulterFile = Express.Multer.File;
@@ -4,7 +4,8 @@ import { PlatformMulterMiddleware } from "../../middlewares/PlatformMulterMiddle
4
4
  * Define multer option for all MultipartFile
5
5
  *
6
6
  * ```typescript
7
- * import {Controller, Post, PlatformMulterFile, MultipartFile, MulterOptions} from "@tsed/common";
7
+ * import {Controller, PlatformMulterFile, MultipartFile, MulterOptions} from "@tsed/common";
8
+ * import {Post} from "@tsed/schema";
8
9
  *
9
10
  * @Controller('/')
10
11
  * class MyCtrl {
@@ -1 +1 @@
1
- {"version":3,"file":"multerOptions.js","sourceRoot":"","sources":["../../../../src/decorators/multer/multerOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AAEvF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,UAAU,aAAa,CAAC,OAA+B;IAC3D,OAAO,CAAC,MAAW,EAAE,WAAmB,EAAE,UAA8B,EAAE,EAAE;QAC1E,UAAU,CAAC,wBAAwB,EAAE,EAAC,OAAO,EAAC,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;QAEjF,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"multerOptions.js","sourceRoot":"","sources":["../../../../src/decorators/multer/multerOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AAEvF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,UAAU,aAAa,CAAC,OAA+B;IAC3D,OAAO,CAAC,MAAW,EAAE,WAAmB,EAAE,UAA8B,EAAE,EAAE;QAC1E,UAAU,CAAC,wBAAwB,EAAE,EAAC,OAAO,EAAC,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;QAEjF,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC"}
@@ -16,8 +16,8 @@ function mapOptions(name, maxCount) {
16
16
  * Define a parameter as Multipart file.
17
17
  *
18
18
  * ```typescript
19
- * import {Controller, Post} from "@tsed/common";
20
- * import {MulterOptions, MultipartFile} from "@tsed/common";
19
+ * import {Post} from "@tsed/schema";
20
+ * import {Controller, MulterOptions, MultipartFile} from "@tsed/common";
21
21
  * import {Multer} from "@types/multer";
22
22
  *
23
23
  * type MulterFile = Express.Multer.File;
@@ -7,5 +7,4 @@ export * from "@tsed/platform-middlewares";
7
7
  export * from "@tsed/platform-params";
8
8
  export * from "@tsed/platform-response-filter";
9
9
  export * from "@tsed/platform-router";
10
- export { AcceptMime, All, Delete, Get, Head, Location, Options, Patch, Post, Put, Redirect, View } from "@tsed/schema";
11
10
  //# sourceMappingURL=exports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,mBAAmB,CAAC;AAE3B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAC,IAAI,EAAE,MAAM,EAAC,MAAM,cAAc,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAC,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,mBAAmB,CAAC;AAE3B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAC,IAAI,EAAE,MAAM,EAAC,MAAM,cAAc,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC"}
@@ -2,8 +2,8 @@
2
2
  * Define file size limit.
3
3
  *
4
4
  * ```typescript
5
- * import {Controller, Post} from "@tsed/common";
6
- * import {MulterOptions, MultipartFile} from "@tsed/common";
5
+ * import {Post} from "@tsed/schema";
6
+ * import {Controller, MulterOptions, MultipartFile} from "@tsed/common";
7
7
  * import {Multer} from "@types/multer";
8
8
  *
9
9
  * type MulterFile = Express.Multer.File;
@@ -3,7 +3,8 @@ import { PlatformMulterSettings } from "../../config/interfaces/PlatformMulterSe
3
3
  * Define multer option for all MultipartFile
4
4
  *
5
5
  * ```typescript
6
- * import {Controller, Post, PlatformMulterFile, MultipartFile, MulterOptions} from "@tsed/common";
6
+ * import {Controller, PlatformMulterFile, MultipartFile, MulterOptions} from "@tsed/common";
7
+ * import {Post} from "@tsed/schema";
7
8
  *
8
9
  * @Controller('/')
9
10
  * class MyCtrl {
@@ -3,8 +3,8 @@ import { PlatformMulterFile } from "../../config/interfaces/PlatformMulterSettin
3
3
  * Define a parameter as Multipart file.
4
4
  *
5
5
  * ```typescript
6
- * import {Controller, Post} from "@tsed/common";
7
- * import {MulterOptions, MultipartFile} from "@tsed/common";
6
+ * import {Post} from "@tsed/schema";
7
+ * import {Controller, MulterOptions, MultipartFile} from "@tsed/common";
8
8
  * import {Multer} from "@types/multer";
9
9
  *
10
10
  * type MulterFile = Express.Multer.File;
@@ -7,4 +7,3 @@ export * from "@tsed/platform-middlewares";
7
7
  export * from "@tsed/platform-params";
8
8
  export * from "@tsed/platform-response-filter";
9
9
  export * from "@tsed/platform-router";
10
- export { AcceptMime, All, Delete, Get, Head, Location, Options, Patch, Post, Put, Redirect, View } from "@tsed/schema";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/common",
3
3
  "description": "A TypeScript Framework on top of Express",
4
4
  "type": "module",
5
- "version": "8.0.0-alpha.8",
5
+ "version": "8.0.0-alpha.9",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -11,7 +11,7 @@
11
11
  ".": {
12
12
  "types": "./lib/types/index.d.ts",
13
13
  "import": "./lib/esm/index.js",
14
- "default": "./lib/cjs/index.js"
14
+ "default": "./lib/esm/index.js"
15
15
  }
16
16
  },
17
17
  "scripts": {
@@ -63,30 +63,30 @@
63
63
  }
64
64
  ],
65
65
  "dependencies": {
66
- "@tsed/core": "8.0.0-alpha.8",
67
- "@tsed/di": "8.0.0-alpha.8",
68
- "@tsed/exceptions": "8.0.0-alpha.8",
69
- "@tsed/json-mapper": "8.0.0-alpha.8",
66
+ "@tsed/core": "8.0.0-alpha.9",
67
+ "@tsed/di": "8.0.0-alpha.9",
68
+ "@tsed/exceptions": "8.0.0-alpha.9",
69
+ "@tsed/json-mapper": "8.0.0-alpha.9",
70
70
  "@tsed/logger": ">=6.7.5",
71
71
  "@tsed/logger-file": ">=6.7.5",
72
- "@tsed/platform-exceptions": "8.0.0-alpha.8",
73
- "@tsed/platform-log-middleware": "8.0.0-alpha.8",
74
- "@tsed/platform-middlewares": "8.0.0-alpha.8",
75
- "@tsed/platform-params": "8.0.0-alpha.8",
76
- "@tsed/platform-response-filter": "8.0.0-alpha.8",
77
- "@tsed/platform-router": "8.0.0-alpha.8",
78
- "@tsed/platform-views": "8.0.0-alpha.8",
79
- "@tsed/schema": "8.0.0-alpha.8",
72
+ "@tsed/platform-exceptions": "8.0.0-alpha.9",
73
+ "@tsed/platform-log-middleware": "8.0.0-alpha.9",
74
+ "@tsed/platform-middlewares": "8.0.0-alpha.9",
75
+ "@tsed/platform-params": "8.0.0-alpha.9",
76
+ "@tsed/platform-response-filter": "8.0.0-alpha.9",
77
+ "@tsed/platform-router": "8.0.0-alpha.9",
78
+ "@tsed/platform-views": "8.0.0-alpha.9",
79
+ "@tsed/schema": "8.0.0-alpha.9",
80
80
  "@types/json-schema": "7.0.15",
81
81
  "accepts": "^1.3.8",
82
82
  "tslib": "2.7.0",
83
83
  "uuid": "9.0.1"
84
84
  },
85
85
  "devDependencies": {
86
- "@tsed/barrels": "8.0.0-alpha.8",
87
- "@tsed/components-scan": "8.0.0-alpha.8",
88
- "@tsed/engines": "8.0.0-alpha.8",
89
- "@tsed/typescript": "8.0.0-alpha.8",
86
+ "@tsed/barrels": "8.0.0-alpha.9",
87
+ "@tsed/components-scan": "8.0.0-alpha.9",
88
+ "@tsed/engines": "8.0.0-alpha.9",
89
+ "@tsed/typescript": "8.0.0-alpha.9",
90
90
  "cross-env": "7.0.3",
91
91
  "eslint": "9.11.1",
92
92
  "typescript": "5.4.5",