@lsby/net-core 0.0.5-beta.2 → 0.0.5-beta.3

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 './interface/interface.cjs';
2
- export { 接口类型 } from './interface/interface-type.cjs';
2
+ export { 任意接口类型, 接口类型 } from './interface/interface-type.cjs';
3
3
  export { 合并插件结果, 插件 } from './interface/plug.cjs';
4
4
  export { 中文路径支持插件 } from './plug/chinese-path.cjs';
5
5
  export { 自定义数据插件 } from './plug/custom-data.cjs';
@@ -18,5 +18,6 @@ declare class 接口类型<路径 extends string, 方法 extends 'get' | 'post',
18
18
  获得正确结果类型(): 正确结果类型;
19
19
  获得错误结果类型(): 错误结果类型;
20
20
  }
21
+ type 任意接口类型 = 接口类型<any, any, any, any, any>;
21
22
 
22
- export { 接口类型 };
23
+ export { type 任意接口类型, 接口类型 };
@@ -1,18 +1,16 @@
1
1
  import { Task } from '@lsby/ts-fp-data';
2
- import { 任意接口 as ____ } from '../interface/interface.cjs';
2
+ import { 任意接口类型 as ______ } from '../interface/interface-type.cjs';
3
3
  import 'zod';
4
- import '../result/result.cjs';
5
- import 'express';
6
4
  import '../types/type-hold.cjs';
7
- import '../interface/interface-type.cjs';
8
5
  import '../interface/plug.cjs';
6
+ import 'express';
9
7
 
10
- declare class 测试<接口类型 extends ____> {
8
+ declare class 测试 {
11
9
  private 接口类型;
12
10
  private 前置;
13
11
  private 中置;
14
12
  private 后置;
15
- constructor(接口类型: 接口类型, 前置: Task<void>, 中置: Task<object>, 后置: (中置结果: object) => Task<void>);
13
+ constructor(接口类型: ______, 前置: Task<void>, 中置: Task<object>, 后置: (中置结果: object) => Task<void>);
16
14
  运行(): Promise<void>;
17
15
  }
18
16
 
@@ -1,5 +1,5 @@
1
1
  export { 任意接口, 接口 } from './interface/interface.js';
2
- export { 接口类型 } from './interface/interface-type.js';
2
+ export { 任意接口类型, 接口类型 } from './interface/interface-type.js';
3
3
  export { 合并插件结果, 插件 } from './interface/plug.js';
4
4
  export { 中文路径支持插件 } from './plug/chinese-path.js';
5
5
  export { 自定义数据插件 } from './plug/custom-data.js';
@@ -18,5 +18,6 @@ declare class 接口类型<路径 extends string, 方法 extends 'get' | 'post',
18
18
  获得正确结果类型(): 正确结果类型;
19
19
  获得错误结果类型(): 错误结果类型;
20
20
  }
21
+ type 任意接口类型 = 接口类型<any, any, any, any, any>;
21
22
 
22
- export { 接口类型 };
23
+ export { type 任意接口类型, 接口类型 };
@@ -1,18 +1,16 @@
1
1
  import { Task } from '@lsby/ts-fp-data';
2
- import { 任意接口 as ____ } from '../interface/interface.js';
2
+ import { 任意接口类型 as ______ } from '../interface/interface-type.js';
3
3
  import 'zod';
4
- import '../result/result.js';
5
- import 'express';
6
4
  import '../types/type-hold.js';
7
- import '../interface/interface-type.js';
8
5
  import '../interface/plug.js';
6
+ import 'express';
9
7
 
10
- declare class 测试<接口类型 extends ____> {
8
+ declare class 测试 {
11
9
  private 接口类型;
12
10
  private 前置;
13
11
  private 中置;
14
12
  private 后置;
15
- constructor(接口类型: 接口类型, 前置: Task<void>, 中置: Task<object>, 后置: (中置结果: object) => Task<void>);
13
+ constructor(接口类型: ______, 前置: Task<void>, 中置: Task<object>, 后置: (中置结果: object) => Task<void>);
16
14
  运行(): Promise<void>;
17
15
  }
18
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsby/net-core",
3
- "version": "0.0.5-beta.2",
3
+ "version": "0.0.5-beta.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "require": "./dist/cjs/index.cjs",