@lsby/net-core 0.0.5-beta.2 → 0.0.5-beta.4
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/dist/bin/gen-test/bin.cjs +2 -2
- package/dist/bin/gen-test/index.cjs +2 -2
- package/dist/cjs/bin/gen-test/bin.cjs +2 -2
- package/dist/cjs/bin/gen-test/index.cjs +2 -2
- package/dist/cjs/index.d.cts +1 -1
- package/dist/cjs/interface/interface-type.d.cts +2 -1
- package/dist/cjs/test/test.d.cts +4 -6
- package/dist/esm/bin/gen-test/bin.js +1 -1
- package/dist/esm/bin/gen-test/index.js +1 -1
- package/dist/esm/{chunk-FKPKFLIZ.js → chunk-AVF3VYFR.js} +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/interface/interface-type.d.ts +2 -1
- package/dist/esm/test/test.d.ts +4 -6
- package/package.json +1 -1
|
@@ -203055,10 +203055,10 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
203055
203055
|
for (const node of testSourceFile.statements) {
|
|
203056
203056
|
if (import_typescript.default.isExportAssignment(node) && node.isExportEquals === void 0) {
|
|
203057
203057
|
const expression = node.expression;
|
|
203058
|
-
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\
|
|
203058
|
+
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\u6D4B\u8BD5") {
|
|
203059
203059
|
break;
|
|
203060
203060
|
}
|
|
203061
|
-
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \
|
|
203061
|
+
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \u6D4B\u8BD5`);
|
|
203062
203062
|
}
|
|
203063
203063
|
}
|
|
203064
203064
|
importCode.push(`import ${importName} from '${importPath}'`);
|
|
@@ -203060,10 +203060,10 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
203060
203060
|
for (const node of testSourceFile.statements) {
|
|
203061
203061
|
if (import_typescript.default.isExportAssignment(node) && node.isExportEquals === void 0) {
|
|
203062
203062
|
const expression = node.expression;
|
|
203063
|
-
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\
|
|
203063
|
+
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\u6D4B\u8BD5") {
|
|
203064
203064
|
break;
|
|
203065
203065
|
}
|
|
203066
|
-
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \
|
|
203066
|
+
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \u6D4B\u8BD5`);
|
|
203067
203067
|
}
|
|
203068
203068
|
}
|
|
203069
203069
|
importCode.push(`import ${importName} from '${importPath}'`);
|
|
@@ -203055,10 +203055,10 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
203055
203055
|
for (const node of testSourceFile.statements) {
|
|
203056
203056
|
if (import_typescript.default.isExportAssignment(node) && node.isExportEquals === void 0) {
|
|
203057
203057
|
const expression = node.expression;
|
|
203058
|
-
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\
|
|
203058
|
+
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\u6D4B\u8BD5") {
|
|
203059
203059
|
break;
|
|
203060
203060
|
}
|
|
203061
|
-
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \
|
|
203061
|
+
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \u6D4B\u8BD5`);
|
|
203062
203062
|
}
|
|
203063
203063
|
}
|
|
203064
203064
|
importCode.push(`import ${importName} from '${importPath}'`);
|
|
@@ -203060,10 +203060,10 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
203060
203060
|
for (const node of testSourceFile.statements) {
|
|
203061
203061
|
if (import_typescript.default.isExportAssignment(node) && node.isExportEquals === void 0) {
|
|
203062
203062
|
const expression = node.expression;
|
|
203063
|
-
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\
|
|
203063
|
+
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\u6D4B\u8BD5") {
|
|
203064
203064
|
break;
|
|
203065
203065
|
}
|
|
203066
|
-
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \
|
|
203066
|
+
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \u6D4B\u8BD5`);
|
|
203067
203067
|
}
|
|
203068
203068
|
}
|
|
203069
203069
|
importCode.push(`import ${importName} from '${importPath}'`);
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -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';
|
package/dist/cjs/test/test.d.cts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { Task } from '@lsby/ts-fp-data';
|
|
2
|
-
import {
|
|
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
|
|
8
|
+
declare class 测试 {
|
|
11
9
|
private 接口类型;
|
|
12
10
|
private 前置;
|
|
13
11
|
private 中置;
|
|
14
12
|
private 后置;
|
|
15
|
-
constructor(接口类型:
|
|
13
|
+
constructor(接口类型: ______, 前置: Task<void>, 中置: Task<object>, 后置: (中置结果: object) => Task<void>);
|
|
16
14
|
运行(): Promise<void>;
|
|
17
15
|
}
|
|
18
16
|
|
|
@@ -59,10 +59,10 @@ function main(tsconfigPath, interfaceFolderPath, outFilePath, filter) {
|
|
|
59
59
|
for (const node of testSourceFile.statements) {
|
|
60
60
|
if (import_typescript.default.isExportAssignment(node) && node.isExportEquals === void 0) {
|
|
61
61
|
const expression = node.expression;
|
|
62
|
-
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\
|
|
62
|
+
if (import_typescript.default.isNewExpression(expression) && expression.expression.getText() === "\u6D4B\u8BD5") {
|
|
63
63
|
break;
|
|
64
64
|
}
|
|
65
|
-
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \
|
|
65
|
+
throw new Error(`${testSourceFile.fileName}\uFF1A\u9ED8\u8BA4\u5BFC\u51FA\u4E0D\u662F \u6D4B\u8BD5`);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
importCode.push(`import ${importName} from '${importPath}'`);
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
表单解析插件
|
|
3
3
|
} from "./chunk-FBQ7H3IE.js";
|
|
4
|
+
import {
|
|
5
|
+
服务器
|
|
6
|
+
} from "./chunk-VIPMPMTG.js";
|
|
4
7
|
import {
|
|
5
8
|
正确JSON结果,
|
|
6
9
|
正确结果,
|
|
@@ -9,9 +12,6 @@ import {
|
|
|
9
12
|
错误JSON结果,
|
|
10
13
|
错误结果
|
|
11
14
|
} from "./chunk-6MRTDFSR.js";
|
|
12
|
-
import {
|
|
13
|
-
服务器
|
|
14
|
-
} from "./chunk-VIPMPMTG.js";
|
|
15
15
|
import {
|
|
16
16
|
测试
|
|
17
17
|
} from "./chunk-ET2XZBZD.js";
|
package/dist/esm/test/test.d.ts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { Task } from '@lsby/ts-fp-data';
|
|
2
|
-
import {
|
|
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
|
|
8
|
+
declare class 测试 {
|
|
11
9
|
private 接口类型;
|
|
12
10
|
private 前置;
|
|
13
11
|
private 中置;
|
|
14
12
|
private 后置;
|
|
15
|
-
constructor(接口类型:
|
|
13
|
+
constructor(接口类型: ______, 前置: Task<void>, 中置: Task<object>, 后置: (中置结果: object) => Task<void>);
|
|
16
14
|
运行(): Promise<void>;
|
|
17
15
|
}
|
|
18
16
|
|