@black-duty/sing-box-schema 1.13.0 → 1.13.13
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/README.md +7 -7
- package/dist/index.cjs +189 -222
- package/dist/index.d.cts +6242 -9317
- package/dist/index.d.ts +6242 -9317
- package/dist/index.js +188 -219
- package/package.json +1 -1
- package/schema.json +3052 -2709
- package/schema.zh.json +3053 -2710
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> Provides type-safe [**sing-box**](https://sing-box.sagernet.org/) configuration syntax support for code editors / TypeScript projects
|
|
6
6
|
|
|
7
|
-
[](https://github.com/SagerNet/sing-box/tree/v1.13.13) [](https://json-schema.org/draft/2020-12) [](<[https://](https://www.typescriptlang.org/)>) [](https://zod.dev)
|
|
8
8
|
|
|
9
9
|
**English** | [**中文**](/README_ZH.md)
|
|
10
10
|
|
|
@@ -36,7 +36,7 @@ You can use it in Visual Studio Code or other JSON Schema-supported editors. Ope
|
|
|
36
36
|
|
|
37
37
|
```json
|
|
38
38
|
{
|
|
39
|
-
"$schema": "https://unpkg.com/@black-duty/sing-box-schema@1.13.
|
|
39
|
+
"$schema": "https://unpkg.com/@black-duty/sing-box-schema@1.13.13/schema.json"
|
|
40
40
|
}
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Or use the Chinese version:
|
|
|
44
44
|
|
|
45
45
|
```json
|
|
46
46
|
{
|
|
47
|
-
"$schema": "https://unpkg.com/@black-duty/sing-box-schema@1.13.
|
|
47
|
+
"$schema": "https://unpkg.com/@black-duty/sing-box-schema@1.13.13/schema.zh.json"
|
|
48
48
|
}
|
|
49
49
|
```
|
|
50
50
|
|
|
@@ -55,7 +55,7 @@ In addition to Unpkg's npm mirror, you can use:
|
|
|
55
55
|
|
|
56
56
|
```json
|
|
57
57
|
{
|
|
58
|
-
"$schema": "https://raw.githubusercontent.com/BlackDuty/sing-box-schema/refs/tags/v1.13.
|
|
58
|
+
"$schema": "https://raw.githubusercontent.com/BlackDuty/sing-box-schema/refs/tags/v1.13.13/schema.json"
|
|
59
59
|
}
|
|
60
60
|
```
|
|
61
61
|
|
|
@@ -63,7 +63,7 @@ Or use the Chinese version:
|
|
|
63
63
|
|
|
64
64
|
```json
|
|
65
65
|
{
|
|
66
|
-
"$schema": "https://raw.githubusercontent.com/BlackDuty/sing-box-schema/refs/tags/v1.13.
|
|
66
|
+
"$schema": "https://raw.githubusercontent.com/BlackDuty/sing-box-schema/refs/tags/v1.13.13/schema.zh.json"
|
|
67
67
|
}
|
|
68
68
|
```
|
|
69
69
|
|
|
@@ -73,7 +73,7 @@ Or use the Chinese version:
|
|
|
73
73
|
|
|
74
74
|
```json
|
|
75
75
|
{
|
|
76
|
-
"$schema": "https://github.com/BlackDuty/sing-box-schema/releases/download/v1.13.
|
|
76
|
+
"$schema": "https://github.com/BlackDuty/sing-box-schema/releases/download/v1.13.13/schema.json"
|
|
77
77
|
}
|
|
78
78
|
```
|
|
79
79
|
|
|
@@ -81,7 +81,7 @@ Or use the Chinese version:
|
|
|
81
81
|
|
|
82
82
|
```json
|
|
83
83
|
{
|
|
84
|
-
"$schema": "https://github.com/BlackDuty/sing-box-schema/releases/download/v1.13.
|
|
84
|
+
"$schema": "https://github.com/BlackDuty/sing-box-schema/releases/download/v1.13.13/schema.zh.json"
|
|
85
85
|
}
|
|
86
86
|
```
|
|
87
87
|
|