@modern-js/bff-runtime 2.20.0 → 2.21.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,13 @@
1
1
  # @modern-js/bff-runtime
2
2
 
3
+ ## 2.21.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 26dcf3a: chore: bump typescript to v5 in devDependencies
8
+
9
+ chore: 升级 devDependencies 中的 typescript 版本到 v5
10
+
3
11
  ## 2.20.0
4
12
 
5
13
  ### Patch Changes
@@ -22,10 +22,6 @@ export type SchemaHandler<Req extends RequestSchema, Res extends SchemaCtorInput
22
22
  };
23
23
  export declare const isSchemaHandler: (input: any) => input is SchemaHandler<any, any>;
24
24
  export declare const isHandler: (input: any) => input is Handler<any, any>;
25
- export declare const baseMatch: <Req extends RequestSchema, Res extends SchemaCtorInput>(schema: Schema<Req, Res>, handler: Handler<import("./types").MarkReadOnlyDeep<Omit<{ [key in keyof Req]: import("./request").TypeOfRequestField<Req[key]> }, "data"> & import("./types").MarkReadOnlyDeep<Req extends {
26
- data: any;
27
- } ? Pick<Req extends infer T extends {
28
- data: any;
29
- } ? { [key_1 in keyof T]: import("./request").TypeOfRequestField<Req[key_1]> } : never, "data"> : import("./request").RequestExtraType>>, TypeOfRouterRequestField<Res>>) => BaseSchemaHandler<Req, Res>;
25
+ export declare const baseMatch: <Req extends RequestSchema, Res extends SchemaCtorInput>(schema: Schema<Req, Res>, handler: Handler<TypeOfRequestSchema<Req>, TypeOfRouterRequestField<Res>>) => BaseSchemaHandler<Req, Res>;
30
26
  export declare const match: <Req extends RequestSchema, Res extends SchemaCtorInput>(schema: Schema<Req, Res>, handler: Handler<PureTypeOfRequestSchema<Req>, TypeOfRouterRequestField<Res>>) => SchemaHandler<Req, Res>;
31
27
  export {};
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.20.0",
18
+ "version": "2.21.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -40,10 +40,10 @@
40
40
  "@types/jest": "^29",
41
41
  "@types/node": "^14",
42
42
  "jest": "^29",
43
- "ts-jest": "^29.0.5",
44
- "typescript": "^4",
45
- "@scripts/build": "2.20.0",
46
- "@scripts/jest-config": "2.20.0"
43
+ "ts-jest": "^29.1.0",
44
+ "typescript": "^5",
45
+ "@scripts/build": "2.21.0",
46
+ "@scripts/jest-config": "2.21.0"
47
47
  },
48
48
  "publishConfig": {
49
49
  "registry": "https://registry.npmjs.org/",