@modern-js/bff-runtime 3.8.3 → 3.9.1

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.
@@ -1,5 +1,5 @@
1
1
  export * from 'farrow-schema';
2
- export { match, isHandler, isSchemaHandler } from './match';
3
- export type { Handler, SchemaHandler } from './match';
4
- export type { RequestSchema, TypeOfRequestSchema, InputType } from './request';
5
- export type { HandleResult, HandleSuccess, InputValidationError, OutputValidationError, } from './response';
2
+ export { match, isHandler, isSchemaHandler } from './match.js';
3
+ export type { Handler, SchemaHandler } from './match.js';
4
+ export type { RequestSchema, TypeOfRequestSchema, InputType } from './request.js';
5
+ export type { HandleResult, HandleSuccess, InputValidationError, OutputValidationError, } from './response.js';
@@ -1,8 +1,8 @@
1
1
  import type { MaybeAsync } from 'farrow-pipeline';
2
2
  import { type SchemaCtorInput } from 'farrow-schema';
3
- import type { TypeOfRouterRequestField } from './types';
4
- import type { PureTypeOfRequestSchema, RequestSchema, TypeOfRequestSchema } from './request';
5
- import { type HandleResult } from './response';
3
+ import type { TypeOfRouterRequestField } from './types.js';
4
+ import type { PureTypeOfRequestSchema, RequestSchema, TypeOfRequestSchema } from './request.js';
5
+ import { type HandleResult } from './response.js';
6
6
  export type NormalHandler = (...args: any[]) => any;
7
7
  export type Handler<I, O> = (input: I) => MaybeAsync<O>;
8
8
  export type Schema<Req extends RequestSchema, Res extends SchemaCtorInput> = {
@@ -1,5 +1,5 @@
1
1
  import type { FieldDescriptor, FieldDescriptors, TypeOfFieldDescriptor, TypeOfFieldDescriptors } from 'farrow-schema';
2
- import type { MarkReadOnlyDeep, RouterSchemaDescriptor } from './types';
2
+ import type { MarkReadOnlyDeep, RouterSchemaDescriptor } from './types.js';
3
3
  export type RequestBaseSchema = {
4
4
  params?: RouterSchemaDescriptor;
5
5
  query?: RouterSchemaDescriptor;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.8.3",
18
+ "version": "3.9.1",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "main": "./dist/cjs/index.js",
21
21
  "exports": {
@@ -35,7 +35,7 @@
35
35
  "farrow-schema": "^1.12.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@rslib/core": "0.23.2",
38
+ "@rslib/core": "1.0.0",
39
39
  "@types/node": "^20",
40
40
  "typescript": "^5",
41
41
  "@modern-js/rslib": "2.68.10"