@lsby/net-core 0.3.7 → 0.3.9
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-type/bin.cjs +2 -2
- package/dist/bin/gen-type/calc-code.cjs +2 -2
- package/dist/bin/gen-type/calc-code.d.cts +1 -1
- package/dist/bin/gen-type/index.cjs +2 -2
- package/dist/cjs/bin/gen-type/bin.cjs +2 -2
- package/dist/cjs/bin/gen-type/calc-code.cjs +2 -2
- package/dist/cjs/bin/gen-type/calc-code.d.cts +1 -1
- package/dist/cjs/bin/gen-type/index.cjs +2 -2
- package/dist/esm/bin/gen-type/bin.js +2 -2
- package/dist/esm/bin/gen-type/calc-code.d.ts +1 -1
- package/dist/esm/bin/gen-type/calc-code.js +1 -1
- package/dist/esm/bin/gen-type/index.js +2 -2
- package/dist/esm/{chunk-E3LVF7RJ.js → chunk-DQX4L6GK.js} +1 -1
- package/dist/esm/{chunk-IRKJYOPK.js → chunk-FLIKJZGI.js} +2 -2
- package/package.json +1 -1
|
@@ -37,11 +37,11 @@ var import_ts_log = require("@lsby/ts-log");
|
|
|
37
37
|
// src/bin/gen-type/calc-code.ts
|
|
38
38
|
var calcCode = `
|
|
39
39
|
import type { z } from 'zod'
|
|
40
|
-
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'
|
|
40
|
+
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'
|
|
41
41
|
import exportedApiSchema from './type'
|
|
42
42
|
|
|
43
43
|
type Api =
|
|
44
|
-
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<
|
|
44
|
+
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<
|
|
45
45
|
infer Path,
|
|
46
46
|
infer Method,
|
|
47
47
|
infer PreApis,
|
|
@@ -25,11 +25,11 @@ __export(calc_code_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(calc_code_exports);
|
|
26
26
|
var calcCode = `
|
|
27
27
|
import type { z } from 'zod'
|
|
28
|
-
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'
|
|
28
|
+
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'
|
|
29
29
|
import exportedApiSchema from './type'
|
|
30
30
|
|
|
31
31
|
type Api =
|
|
32
|
-
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<
|
|
32
|
+
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<
|
|
33
33
|
infer Path,
|
|
34
34
|
infer Method,
|
|
35
35
|
infer PreApis,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const calcCode = "\nimport type { z } from 'zod'\nimport type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'\nimport exportedApiSchema from './type'\n\ntype Api =\n typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<\n infer Path,\n infer Method,\n infer PreApis,\n infer SuccessSchema,\n infer ErrorSchema\n >\n ? {\n path: Path\n method: Method\n input: \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C<PreApis>\n successOutput: z.infer<SuccessSchema>\n errorOutput: z.infer<ErrorSchema>\n }\n : never\n\nexport default Api\n";
|
|
1
|
+
declare const calcCode = "\nimport type { z } from 'zod'\nimport type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'\nimport exportedApiSchema from './type'\n\ntype Api =\n typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<\n infer Path,\n infer Method,\n infer PreApis,\n infer SuccessSchema,\n infer ErrorSchema\n >\n ? {\n path: Path\n method: Method\n input: \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C<PreApis>\n successOutput: z.infer<SuccessSchema>\n errorOutput: z.infer<ErrorSchema>\n }\n : never\n\nexport default Api\n";
|
|
2
2
|
|
|
3
3
|
export { calcCode };
|
|
@@ -42,11 +42,11 @@ var import_ts_log = require("@lsby/ts-log");
|
|
|
42
42
|
// src/bin/gen-type/calc-code.ts
|
|
43
43
|
var calcCode = `
|
|
44
44
|
import type { z } from 'zod'
|
|
45
|
-
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'
|
|
45
|
+
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'
|
|
46
46
|
import exportedApiSchema from './type'
|
|
47
47
|
|
|
48
48
|
type Api =
|
|
49
|
-
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<
|
|
49
|
+
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<
|
|
50
50
|
infer Path,
|
|
51
51
|
infer Method,
|
|
52
52
|
infer PreApis,
|
|
@@ -37,11 +37,11 @@ var import_ts_log = require("@lsby/ts-log");
|
|
|
37
37
|
// src/bin/gen-type/calc-code.ts
|
|
38
38
|
var calcCode = `
|
|
39
39
|
import type { z } from 'zod'
|
|
40
|
-
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'
|
|
40
|
+
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'
|
|
41
41
|
import exportedApiSchema from './type'
|
|
42
42
|
|
|
43
43
|
type Api =
|
|
44
|
-
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<
|
|
44
|
+
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<
|
|
45
45
|
infer Path,
|
|
46
46
|
infer Method,
|
|
47
47
|
infer PreApis,
|
|
@@ -25,11 +25,11 @@ __export(calc_code_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(calc_code_exports);
|
|
26
26
|
var calcCode = `
|
|
27
27
|
import type { z } from 'zod'
|
|
28
|
-
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'
|
|
28
|
+
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'
|
|
29
29
|
import exportedApiSchema from './type'
|
|
30
30
|
|
|
31
31
|
type Api =
|
|
32
|
-
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<
|
|
32
|
+
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<
|
|
33
33
|
infer Path,
|
|
34
34
|
infer Method,
|
|
35
35
|
infer PreApis,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const calcCode = "\nimport type { z } from 'zod'\nimport type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'\nimport exportedApiSchema from './type'\n\ntype Api =\n typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<\n infer Path,\n infer Method,\n infer PreApis,\n infer SuccessSchema,\n infer ErrorSchema\n >\n ? {\n path: Path\n method: Method\n input: \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C<PreApis>\n successOutput: z.infer<SuccessSchema>\n errorOutput: z.infer<ErrorSchema>\n }\n : never\n\nexport default Api\n";
|
|
1
|
+
declare const calcCode = "\nimport type { z } from 'zod'\nimport type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'\nimport exportedApiSchema from './type'\n\ntype Api =\n typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<\n infer Path,\n infer Method,\n infer PreApis,\n infer SuccessSchema,\n infer ErrorSchema\n >\n ? {\n path: Path\n method: Method\n input: \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C<PreApis>\n successOutput: z.infer<SuccessSchema>\n errorOutput: z.infer<ErrorSchema>\n }\n : never\n\nexport default Api\n";
|
|
2
2
|
|
|
3
3
|
export { calcCode };
|
|
@@ -42,11 +42,11 @@ var import_ts_log = require("@lsby/ts-log");
|
|
|
42
42
|
// src/bin/gen-type/calc-code.ts
|
|
43
43
|
var calcCode = `
|
|
44
44
|
import type { z } from 'zod'
|
|
45
|
-
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'
|
|
45
|
+
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'
|
|
46
46
|
import exportedApiSchema from './type'
|
|
47
47
|
|
|
48
48
|
type Api =
|
|
49
|
-
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<
|
|
49
|
+
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<
|
|
50
50
|
infer Path,
|
|
51
51
|
infer Method,
|
|
52
52
|
infer PreApis,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const calcCode = "\nimport type { z } from 'zod'\nimport type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'\nimport exportedApiSchema from './type'\n\ntype Api =\n typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<\n infer Path,\n infer Method,\n infer PreApis,\n infer SuccessSchema,\n infer ErrorSchema\n >\n ? {\n path: Path\n method: Method\n input: \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C<PreApis>\n successOutput: z.infer<SuccessSchema>\n errorOutput: z.infer<ErrorSchema>\n }\n : never\n\nexport default Api\n";
|
|
1
|
+
declare const calcCode = "\nimport type { z } from 'zod'\nimport type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'\nimport exportedApiSchema from './type'\n\ntype Api =\n typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<\n infer Path,\n infer Method,\n infer PreApis,\n infer SuccessSchema,\n infer ErrorSchema\n >\n ? {\n path: Path\n method: Method\n input: \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C<PreApis>\n successOutput: z.infer<SuccessSchema>\n errorOutput: z.infer<ErrorSchema>\n }\n : never\n\nexport default Api\n";
|
|
2
2
|
|
|
3
3
|
export { calcCode };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// src/bin/gen-type/calc-code.ts
|
|
2
2
|
var calcCode = `
|
|
3
3
|
import type { z } from 'zod'
|
|
4
|
-
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B } from '@lsby/net-core'
|
|
4
|
+
import type { \u5408\u5E76JSON\u63D2\u4EF6\u7ED3\u679C, \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B } from '@lsby/net-core'
|
|
5
5
|
import exportedApiSchema from './type'
|
|
6
6
|
|
|
7
7
|
type Api =
|
|
8
|
-
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B<
|
|
8
|
+
typeof exportedApiSchema extends \u63A5\u53E3\u7C7B\u578B\u62BD\u8C61\u7C7B<
|
|
9
9
|
infer Path,
|
|
10
10
|
infer Method,
|
|
11
11
|
infer PreApis,
|