@modern-js/types 2.19.1 → 2.20.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @modern-js/types
2
2
 
3
+ ## 2.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5f055ab: feat(app-tools): route.json add `isStream` field.
8
+ feat(app-tools): route.json 添加 `isStream` 字段.
9
+
3
10
  ## 2.19.1
4
11
 
5
12
  ## 2.19.0
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.19.1",
18
+ "version": "2.20.0",
19
19
  "types": "./index.d.ts",
20
20
  "exports": {
21
21
  ".": {
@@ -45,8 +45,8 @@
45
45
  "http-proxy-middleware": "^2.0.4",
46
46
  "jest": "^29",
47
47
  "type-fest": "2.15.0",
48
- "@scripts/build": "2.19.1",
49
- "@scripts/jest-config": "2.19.1"
48
+ "@scripts/build": "2.20.0",
49
+ "@scripts/jest-config": "2.20.0"
50
50
  },
51
51
  "sideEffects": false,
52
52
  "publishConfig": {
package/server/route.d.ts CHANGED
@@ -9,6 +9,8 @@ export interface ServerRoute {
9
9
  isSPA?: boolean;
10
10
  // if route is ssr page
11
11
  isSSR?: boolean;
12
+ // if route is stream response
13
+ isStream?: boolean;
12
14
  // if route is api service
13
15
  isApi?: boolean;
14
16
  // worker js bundle for ssr page