@lsby/net-core 0.0.22 → 0.0.24-beta.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.
@@ -332,10 +332,7 @@ var \u670D\u52A1\u5668 = class {
332
332
  const \u63A5\u53E3\u7C7B\u578B2 = \u76EE\u6807\u63A5\u53E3.\u83B7\u5F97\u7C7B\u578B();
333
333
  const \u63A5\u53E3\u63D2\u4EF6 = \u63A5\u53E3\u7C7B\u578B2.\u83B7\u5F97\u63D2\u4EF6\u4EEC();
334
334
  await log.debug("\u627E\u5230 %o \u4E2A \u63D2\u4EF6\uFF0C\u51C6\u5907\u6267\u884C...", \u63A5\u53E3\u63D2\u4EF6.length);
335
- const \u63D2\u4EF6\u7ED3\u679C = (await Promise.all(\u63A5\u53E3\u63D2\u4EF6.map(async (\u63D2\u4EF62) => await \u63D2\u4EF62.\u83B7\u5F97\u5B9E\u73B0()(req, res)))).reduce(
336
- (s, a) => Object.assign(s, a),
337
- {}
338
- );
335
+ const \u63D2\u4EF6\u7ED3\u679C = (await Promise.all(\u63A5\u53E3\u63D2\u4EF6.map(async (\u63D2\u4EF62) => await (await \u63D2\u4EF62.run()).\u83B7\u5F97\u5B9E\u73B0()(req, res)))).reduce((s, a) => Object.assign(s, a), {});
339
336
  await log.debug("\u63D2\u4EF6 \u6267\u884C\u5B8C\u6BD5");
340
337
  const \u63A5\u53E3\u5B9E\u73B0 = \u76EE\u6807\u63A5\u53E3.\u83B7\u5F97\u5B9E\u73B0();
341
338
  await log.debug("\u51C6\u5907\u6267\u884C\u63A5\u53E3\u903B\u8F91...");
@@ -9,6 +9,6 @@ export { 正确JSON结果, 正确结果, 正确自定义结果, 结果, 错误JS
9
9
  export { 服务器 } from './server/server.cjs';
10
10
  export { 测试 } from './test/test.cjs';
11
11
  import 'zod';
12
- import './types/type-hold.cjs';
13
12
  import 'express';
13
+ import '@lsby/ts-fp-data';
14
14
  import 'node:http';
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { 类型保持符号 as ______ } from '../types/type-hold.cjs';
3
2
  import { 插件项类型 as _____ } from './plug.cjs';
4
3
  import 'express';
4
+ import '@lsby/ts-fp-data';
5
5
 
6
6
  declare class 接口类型<路径 extends string, 方法 extends 'get' | 'post', 插件们 extends Array<_____>, 正确结果类型 extends z.ZodTypeAny, 错误结果类型 extends z.ZodTypeAny> {
7
7
  private 路径;
@@ -9,7 +9,7 @@ declare class 接口类型<路径 extends string, 方法 extends 'get' | 'post',
9
9
  private 插件们;
10
10
  private 正确结果;
11
11
  private 错误结果;
12
- [______]: [路径, 方法, 插件们, 正确结果类型, 错误结果类型];
12
+ protected readonly __类型保持符号?: [路径, 方法, 插件们, 正确结果类型, 错误结果类型];
13
13
  constructor(路径: 路径, 方法: 方法, 插件们: [...插件们], 正确结果: 正确结果类型, 错误结果: 错误结果类型);
14
14
  获得路径(): 路径;
15
15
  获得方法(): 方法;
@@ -3,7 +3,7 @@ import { 正确结果 as ____$1, 错误结果 as ____$2 } from '../result/result
3
3
  import { 接口类型 as ____ } from './interface-type.cjs';
4
4
  import { 插件项类型 as _____, 合并插件结果 as ______ } from './plug.cjs';
5
5
  import 'express';
6
- import '../types/type-hold.cjs';
6
+ import '@lsby/ts-fp-data';
7
7
 
8
8
  declare class 接口<路径 extends string, 方法 extends 'get' | 'post', 插件们 extends Array<_____>, 正确返回类型 extends z.ZodTypeAny, 错误返回类型 extends z.ZodTypeAny> {
9
9
  private 接口类型;
@@ -1,18 +1,18 @@
1
1
  import { Request, Response } from 'express';
2
2
  import { z } from 'zod';
3
- import { 类型保持符号 as ______ } from '../types/type-hold.cjs';
3
+ import { Task } from '@lsby/ts-fp-data';
4
4
 
5
5
  declare class 插件<Obj extends z.AnyZodObject> {
6
6
  private 类型;
7
7
  private 实现;
8
- [______]: Obj;
8
+ protected readonly __类型保持符号?: Obj;
9
9
  constructor(类型: Obj, 实现: (req: Request, res: Response) => Promise<z.infer<Obj>>);
10
10
  获得类型(): typeof this.类型;
11
11
  获得实现(): typeof this.实现;
12
12
  }
13
13
  type 任意插件 = 插件<any>;
14
- type 插件项类型 = 插件<z.AnyZodObject>;
15
- type 取插件内部类型<A> = A extends 插件<infer x> ? x : never;
16
- type 合并插件结果<Arr extends Array<插件项类型>> = Arr extends [] ? {} : Arr extends [infer x, ...infer xs] ? x extends infer 插件 ? xs extends Array<插件项类型> ? z.infer<取插件内部类型<插件>> & 合并插件结果<xs> : {} : {} : {};
14
+ type 插件项类型 = Task<插件<z.AnyZodObject>>;
15
+ type 取插件内部类型<A> = A extends Task<插件<infer x>> ? x : never;
16
+ type 合并插件结果<Arr extends Array<插件项类型>> = Arr extends [] ? {} : Arr extends [infer x, ...infer xs] ? x extends infer 插件项 ? xs extends Array<插件项类型> ? z.infer<取插件内部类型<插件项>> & 合并插件结果<xs> : {} : {} : {};
17
17
 
18
18
  export { type 任意插件, type 取插件内部类型, type 合并插件结果, 插件, type 插件项类型 };
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { 插件 as __ } from '../interface/plug.cjs';
3
3
  import 'express';
4
- import '../types/type-hold.cjs';
4
+ import '@lsby/ts-fp-data';
5
5
 
6
6
  declare const zod类型表示: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
7
7
  declare class 中文路径支持插件 extends __<typeof zod类型表示> {
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { 插件 as __ } from '../interface/plug.cjs';
3
3
  import 'express';
4
- import '../types/type-hold.cjs';
4
+ import '@lsby/ts-fp-data';
5
5
 
6
6
  declare class 自定义数据插件<Data extends z.AnyZodObject> extends __<Data> {
7
7
  constructor(t: Data, data: z.infer<Data>);
@@ -2,7 +2,7 @@ import express from 'express';
2
2
  import { z } from 'zod';
3
3
  import { 获得接口插件们 as _______$1 } from '../interface/interface-type.cjs';
4
4
  import { 插件 as __, 插件项类型 as _____, 取插件内部类型 as _______, 合并插件结果 as ______ } from '../interface/plug.cjs';
5
- import '../types/type-hold.cjs';
5
+ import '@lsby/ts-fp-data';
6
6
 
7
7
  declare class JSON解析插件<Result extends z.ZodObject<{
8
8
  body: z.AnyZodObject;
@@ -11,7 +11,7 @@ declare class JSON解析插件<Result extends z.ZodObject<{
11
11
  constructor(t: Result, opt: Parameters<typeof express.json>[0]);
12
12
  }
13
13
  type 任意JSON解析插件 = JSON解析插件<any>;
14
- type 合并JSON插件结果<Arr extends Array<_____>> = Arr extends [] ? {} : Arr extends [infer x, ...infer xs] ? x extends infer 插件 ? xs extends Array<_____> ? 插件 extends 任意JSON解析插件 ? z.infer<_______<插件>>['body'] & ______<xs> : {} : {} : {} : {};
14
+ type 合并JSON插件结果<Arr extends Array<_____>> = Arr extends [] ? {} : Arr extends [infer x, ...infer xs] ? x extends infer 插件项 ? xs extends Array<_____> ? 插件项 extends 任意JSON解析插件 ? z.infer<_______<插件项>>['body'] & ______<xs> : {} : {} : {} : {};
15
15
  type 从接口类型获得JSON参数<接口类型描述> = 合并JSON插件结果<_______$1<接口类型描述>>;
16
16
 
17
17
  export { JSON解析插件, type 从接口类型获得JSON参数, type 任意JSON解析插件, type 合并JSON插件结果 };
@@ -1,7 +1,7 @@
1
1
  import express from 'express';
2
2
  import { z } from 'zod';
3
3
  import { 插件 as __ } from '../interface/plug.cjs';
4
- import '../types/type-hold.cjs';
4
+ import '@lsby/ts-fp-data';
5
5
 
6
6
  declare class 表单解析插件<Result extends z.ZodObject<{
7
7
  body: z.AnyZodObject;
@@ -1,8 +1,7 @@
1
1
  import { Request, Response } from 'express';
2
- import { 类型保持符号 as ______ } from '../types/type-hold.cjs';
3
2
 
4
3
  declare abstract class 结果<T> {
5
- [______]: T;
4
+ protected readonly __类型保持符号?: T;
6
5
  abstract run(req: Request, res: Response): Promise<void>;
7
6
  }
8
7
  declare abstract class 正确结果<T> extends 结果<T> {
@@ -153,10 +153,7 @@ var \u670D\u52A1\u5668 = class {
153
153
  const \u63A5\u53E3\u7C7B\u578B = \u76EE\u6807\u63A5\u53E3.\u83B7\u5F97\u7C7B\u578B();
154
154
  const \u63A5\u53E3\u63D2\u4EF6 = \u63A5\u53E3\u7C7B\u578B.\u83B7\u5F97\u63D2\u4EF6\u4EEC();
155
155
  await log.debug("\u627E\u5230 %o \u4E2A \u63D2\u4EF6\uFF0C\u51C6\u5907\u6267\u884C...", \u63A5\u53E3\u63D2\u4EF6.length);
156
- const \u63D2\u4EF6\u7ED3\u679C = (await Promise.all(\u63A5\u53E3\u63D2\u4EF6.map(async (\u63D2\u4EF6) => await \u63D2\u4EF6.\u83B7\u5F97\u5B9E\u73B0()(req, res)))).reduce(
157
- (s, a) => Object.assign(s, a),
158
- {}
159
- );
156
+ const \u63D2\u4EF6\u7ED3\u679C = (await Promise.all(\u63A5\u53E3\u63D2\u4EF6.map(async (\u63D2\u4EF6) => await (await \u63D2\u4EF6.run()).\u83B7\u5F97\u5B9E\u73B0()(req, res)))).reduce((s, a) => Object.assign(s, a), {});
160
157
  await log.debug("\u63D2\u4EF6 \u6267\u884C\u5B8C\u6BD5");
161
158
  const \u63A5\u53E3\u5B9E\u73B0 = \u76EE\u6807\u63A5\u53E3.\u83B7\u5F97\u5B9E\u73B0();
162
159
  await log.debug("\u51C6\u5907\u6267\u884C\u63A5\u53E3\u903B\u8F91...");
@@ -3,9 +3,9 @@ import { 任意接口 as ____ } from '../interface/interface.cjs';
3
3
  import 'zod';
4
4
  import '../result/result.cjs';
5
5
  import 'express';
6
- import '../types/type-hold.cjs';
7
6
  import '../interface/interface-type.cjs';
8
7
  import '../interface/plug.cjs';
8
+ import '@lsby/ts-fp-data';
9
9
 
10
10
  declare class 服务器 {
11
11
  private 接口们;
@@ -1,8 +1,8 @@
1
1
  import { 任意接口类型 as ______ } from '../interface/interface-type.cjs';
2
2
  import 'zod';
3
- import '../types/type-hold.cjs';
4
3
  import '../interface/plug.cjs';
5
4
  import 'express';
5
+ import '@lsby/ts-fp-data';
6
6
 
7
7
  declare class 测试 {
8
8
  private 接口类型;
@@ -29,10 +29,7 @@ var \u670D\u52A1\u5668 = class {
29
29
  const \u63A5\u53E3\u7C7B\u578B = \u76EE\u6807\u63A5\u53E3.\u83B7\u5F97\u7C7B\u578B();
30
30
  const \u63A5\u53E3\u63D2\u4EF6 = \u63A5\u53E3\u7C7B\u578B.\u83B7\u5F97\u63D2\u4EF6\u4EEC();
31
31
  await log.debug("\u627E\u5230 %o \u4E2A \u63D2\u4EF6\uFF0C\u51C6\u5907\u6267\u884C...", \u63A5\u53E3\u63D2\u4EF6.length);
32
- const \u63D2\u4EF6\u7ED3\u679C = (await Promise.all(\u63A5\u53E3\u63D2\u4EF6.map(async (\u63D2\u4EF6) => await \u63D2\u4EF6.\u83B7\u5F97\u5B9E\u73B0()(req, res)))).reduce(
33
- (s, a) => Object.assign(s, a),
34
- {}
35
- );
32
+ const \u63D2\u4EF6\u7ED3\u679C = (await Promise.all(\u63A5\u53E3\u63D2\u4EF6.map(async (\u63D2\u4EF6) => await (await \u63D2\u4EF6.run()).\u83B7\u5F97\u5B9E\u73B0()(req, res)))).reduce((s, a) => Object.assign(s, a), {});
36
33
  await log.debug("\u63D2\u4EF6 \u6267\u884C\u5B8C\u6BD5");
37
34
  const \u63A5\u53E3\u5B9E\u73B0 = \u76EE\u6807\u63A5\u53E3.\u83B7\u5F97\u5B9E\u73B0();
38
35
  await log.debug("\u51C6\u5907\u6267\u884C\u63A5\u53E3\u903B\u8F91...");
@@ -9,6 +9,6 @@ export { 正确JSON结果, 正确结果, 正确自定义结果, 结果, 错误JS
9
9
  export { 服务器 } from './server/server.js';
10
10
  export { 测试 } from './test/test.js';
11
11
  import 'zod';
12
- import './types/type-hold.js';
13
12
  import 'express';
13
+ import '@lsby/ts-fp-data';
14
14
  import 'node:http';
package/dist/esm/index.js CHANGED
@@ -1,38 +1,38 @@
1
- import {
2
- JSON解析插件
3
- } from "./chunk-B62YPABM.js";
4
1
  import {
5
2
  表单解析插件
6
3
  } from "./chunk-5UUMGDDD.js";
7
4
  import {
8
- 测试
9
- } from "./chunk-I4WZG5LK.js";
5
+ 正确JSON结果,
6
+ 正确结果,
7
+ 正确自定义结果,
8
+ 结果,
9
+ 错误JSON结果,
10
+ 错误结果
11
+ } from "./chunk-HARBKRRI.js";
10
12
  import {
11
13
  服务器
12
- } from "./chunk-S3ITAYKY.js";
14
+ } from "./chunk-VSYZY2NW.js";
15
+ import {
16
+ 测试
17
+ } from "./chunk-I4WZG5LK.js";
13
18
  import {
14
19
  接口类型
15
20
  } from "./chunk-SF5Z34AP.js";
16
21
  import {
17
22
  接口
18
23
  } from "./chunk-KRIDSMPV.js";
19
- import {
20
- 正确JSON结果,
21
- 正确结果,
22
- 正确自定义结果,
23
- 结果,
24
- 错误JSON结果,
25
- 错误结果
26
- } from "./chunk-HARBKRRI.js";
27
- import "./chunk-ZSY7VBEW.js";
28
- import "./chunk-LVYVPQ5V.js";
29
- import "./chunk-BZOQHDXK.js";
30
24
  import {
31
25
  中文路径支持插件
32
26
  } from "./chunk-XG4VZZOX.js";
33
27
  import {
34
28
  自定义数据插件
35
29
  } from "./chunk-P6PGPAMW.js";
30
+ import {
31
+ JSON解析插件
32
+ } from "./chunk-B62YPABM.js";
33
+ import "./chunk-ZSY7VBEW.js";
34
+ import "./chunk-LVYVPQ5V.js";
35
+ import "./chunk-BZOQHDXK.js";
36
36
  import {
37
37
  插件
38
38
  } from "./chunk-KSZE2DTR.js";
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { 类型保持符号 as ______ } from '../types/type-hold.js';
3
2
  import { 插件项类型 as _____ } from './plug.js';
4
3
  import 'express';
4
+ import '@lsby/ts-fp-data';
5
5
 
6
6
  declare class 接口类型<路径 extends string, 方法 extends 'get' | 'post', 插件们 extends Array<_____>, 正确结果类型 extends z.ZodTypeAny, 错误结果类型 extends z.ZodTypeAny> {
7
7
  private 路径;
@@ -9,7 +9,7 @@ declare class 接口类型<路径 extends string, 方法 extends 'get' | 'post',
9
9
  private 插件们;
10
10
  private 正确结果;
11
11
  private 错误结果;
12
- [______]: [路径, 方法, 插件们, 正确结果类型, 错误结果类型];
12
+ protected readonly __类型保持符号?: [路径, 方法, 插件们, 正确结果类型, 错误结果类型];
13
13
  constructor(路径: 路径, 方法: 方法, 插件们: [...插件们], 正确结果: 正确结果类型, 错误结果: 错误结果类型);
14
14
  获得路径(): 路径;
15
15
  获得方法(): 方法;
@@ -3,7 +3,7 @@ import { 正确结果 as ____$1, 错误结果 as ____$2 } from '../result/result
3
3
  import { 接口类型 as ____ } from './interface-type.js';
4
4
  import { 插件项类型 as _____, 合并插件结果 as ______ } from './plug.js';
5
5
  import 'express';
6
- import '../types/type-hold.js';
6
+ import '@lsby/ts-fp-data';
7
7
 
8
8
  declare class 接口<路径 extends string, 方法 extends 'get' | 'post', 插件们 extends Array<_____>, 正确返回类型 extends z.ZodTypeAny, 错误返回类型 extends z.ZodTypeAny> {
9
9
  private 接口类型;
@@ -1,18 +1,18 @@
1
1
  import { Request, Response } from 'express';
2
2
  import { z } from 'zod';
3
- import { 类型保持符号 as ______ } from '../types/type-hold.js';
3
+ import { Task } from '@lsby/ts-fp-data';
4
4
 
5
5
  declare class 插件<Obj extends z.AnyZodObject> {
6
6
  private 类型;
7
7
  private 实现;
8
- [______]: Obj;
8
+ protected readonly __类型保持符号?: Obj;
9
9
  constructor(类型: Obj, 实现: (req: Request, res: Response) => Promise<z.infer<Obj>>);
10
10
  获得类型(): typeof this.类型;
11
11
  获得实现(): typeof this.实现;
12
12
  }
13
13
  type 任意插件 = 插件<any>;
14
- type 插件项类型 = 插件<z.AnyZodObject>;
15
- type 取插件内部类型<A> = A extends 插件<infer x> ? x : never;
16
- type 合并插件结果<Arr extends Array<插件项类型>> = Arr extends [] ? {} : Arr extends [infer x, ...infer xs] ? x extends infer 插件 ? xs extends Array<插件项类型> ? z.infer<取插件内部类型<插件>> & 合并插件结果<xs> : {} : {} : {};
14
+ type 插件项类型 = Task<插件<z.AnyZodObject>>;
15
+ type 取插件内部类型<A> = A extends Task<插件<infer x>> ? x : never;
16
+ type 合并插件结果<Arr extends Array<插件项类型>> = Arr extends [] ? {} : Arr extends [infer x, ...infer xs] ? x extends infer 插件项 ? xs extends Array<插件项类型> ? z.infer<取插件内部类型<插件项>> & 合并插件结果<xs> : {} : {} : {};
17
17
 
18
18
  export { type 任意插件, type 取插件内部类型, type 合并插件结果, 插件, type 插件项类型 };
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { 插件 as __ } from '../interface/plug.js';
3
3
  import 'express';
4
- import '../types/type-hold.js';
4
+ import '@lsby/ts-fp-data';
5
5
 
6
6
  declare const zod类型表示: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
7
7
  declare class 中文路径支持插件 extends __<typeof zod类型表示> {
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { 插件 as __ } from '../interface/plug.js';
3
3
  import 'express';
4
- import '../types/type-hold.js';
4
+ import '@lsby/ts-fp-data';
5
5
 
6
6
  declare class 自定义数据插件<Data extends z.AnyZodObject> extends __<Data> {
7
7
  constructor(t: Data, data: z.infer<Data>);
@@ -2,7 +2,7 @@ import express from 'express';
2
2
  import { z } from 'zod';
3
3
  import { 获得接口插件们 as _______$1 } from '../interface/interface-type.js';
4
4
  import { 插件 as __, 插件项类型 as _____, 取插件内部类型 as _______, 合并插件结果 as ______ } from '../interface/plug.js';
5
- import '../types/type-hold.js';
5
+ import '@lsby/ts-fp-data';
6
6
 
7
7
  declare class JSON解析插件<Result extends z.ZodObject<{
8
8
  body: z.AnyZodObject;
@@ -11,7 +11,7 @@ declare class JSON解析插件<Result extends z.ZodObject<{
11
11
  constructor(t: Result, opt: Parameters<typeof express.json>[0]);
12
12
  }
13
13
  type 任意JSON解析插件 = JSON解析插件<any>;
14
- type 合并JSON插件结果<Arr extends Array<_____>> = Arr extends [] ? {} : Arr extends [infer x, ...infer xs] ? x extends infer 插件 ? xs extends Array<_____> ? 插件 extends 任意JSON解析插件 ? z.infer<_______<插件>>['body'] & ______<xs> : {} : {} : {} : {};
14
+ type 合并JSON插件结果<Arr extends Array<_____>> = Arr extends [] ? {} : Arr extends [infer x, ...infer xs] ? x extends infer 插件项 ? xs extends Array<_____> ? 插件项 extends 任意JSON解析插件 ? z.infer<_______<插件项>>['body'] & ______<xs> : {} : {} : {} : {};
15
15
  type 从接口类型获得JSON参数<接口类型描述> = 合并JSON插件结果<_______$1<接口类型描述>>;
16
16
 
17
17
  export { JSON解析插件, type 从接口类型获得JSON参数, type 任意JSON解析插件, type 合并JSON插件结果 };
@@ -1,7 +1,7 @@
1
1
  import express from 'express';
2
2
  import { z } from 'zod';
3
3
  import { 插件 as __ } from '../interface/plug.js';
4
- import '../types/type-hold.js';
4
+ import '@lsby/ts-fp-data';
5
5
 
6
6
  declare class 表单解析插件<Result extends z.ZodObject<{
7
7
  body: z.AnyZodObject;
@@ -1,8 +1,7 @@
1
1
  import { Request, Response } from 'express';
2
- import { 类型保持符号 as ______ } from '../types/type-hold.js';
3
2
 
4
3
  declare abstract class 结果<T> {
5
- [______]: T;
4
+ protected readonly __类型保持符号?: T;
6
5
  abstract run(req: Request, res: Response): Promise<void>;
7
6
  }
8
7
  declare abstract class 正确结果<T> extends 结果<T> {
@@ -3,9 +3,9 @@ import { 任意接口 as ____ } from '../interface/interface.js';
3
3
  import 'zod';
4
4
  import '../result/result.js';
5
5
  import 'express';
6
- import '../types/type-hold.js';
7
6
  import '../interface/interface-type.js';
8
7
  import '../interface/plug.js';
8
+ import '@lsby/ts-fp-data';
9
9
 
10
10
  declare class 服务器 {
11
11
  private 接口们;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  服务器
3
- } from "../chunk-S3ITAYKY.js";
3
+ } from "../chunk-VSYZY2NW.js";
4
4
  import "../chunk-ZSY7VBEW.js";
5
5
  import "../chunk-LVYVPQ5V.js";
6
6
  import "../chunk-BZOQHDXK.js";
@@ -1,8 +1,8 @@
1
1
  import { 任意接口类型 as ______ } from '../interface/interface-type.js';
2
2
  import 'zod';
3
- import '../types/type-hold.js';
4
3
  import '../interface/plug.js';
5
4
  import 'express';
5
+ import '@lsby/ts-fp-data';
6
6
 
7
7
  declare class 测试 {
8
8
  private 接口类型;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsby/net-core",
3
- "version": "0.0.22",
3
+ "version": "0.0.24-beta.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "require": "./dist/cjs/index.cjs",
@@ -29,6 +29,7 @@
29
29
  "test:coverage": "npm run check:all && vitest run --coverage && open-cli ./coverage/index.html"
30
30
  },
31
31
  "dependencies": {
32
+ "@lsby/ts-fp-data": "^0.0.9",
32
33
  "commander": "^12.1.0",
33
34
  "debug": "^4.3.5",
34
35
  "express": "^4.19.2",
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/types/type-hold.ts
21
- var type_hold_exports = {};
22
- __export(type_hold_exports, {
23
- \u7C7B\u578B\u4FDD\u6301\u7B26\u53F7: () => \u7C7B\u578B\u4FDD\u6301\u7B26\u53F7
24
- });
25
- module.exports = __toCommonJS(type_hold_exports);
26
- var \u7C7B\u578B\u4FDD\u6301\u7B26\u53F7 = Symbol();
27
- // Annotate the CommonJS export names for ESM import in node:
28
- 0 && (module.exports = {
29
- \u7C7B\u578B\u4FDD\u6301\u7B26\u53F7
30
- });
@@ -1,3 +0,0 @@
1
- declare const 类型保持符号: unique symbol;
2
-
3
- export { 类型保持符号 };
@@ -1,3 +0,0 @@
1
- declare const 类型保持符号: unique symbol;
2
-
3
- export { 类型保持符号 };
@@ -1,5 +0,0 @@
1
- // src/types/type-hold.ts
2
- var \u7C7B\u578B\u4FDD\u6301\u7B26\u53F7 = Symbol();
3
- export {
4
- \u7C7B\u578B\u4FDD\u6301\u7B26\u53F7
5
- };