@opensoha/contracts 0.1.20 → 0.1.21
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/auth/catalog_generated.go +2 -2
- package/auth/permission-catalog.json +81 -1
- package/compat/json-schema-ecosystem-0.1.0.json +1 -1
- package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
- package/fixtures/json-schema/network-ingest-event/invalid/proxy-runtime-negative-total.json +19 -0
- package/fixtures/json-schema/network-ingest-event/valid/proxy-runtime-sample.json +20 -0
- package/fixtures/json-schema/proxy-runtime/invalid/v2ray-connection-snapshot.json +10 -0
- package/fixtures/json-schema/proxy-runtime/valid/mihomo-observation.json +16 -0
- package/fixtures/openapi/KubernetesCustomResourceDefinition/invalid/empty-uid.json +1 -0
- package/fixtures/openapi/KubernetesCustomResourceDefinition/valid/deleting-definition.json +1 -0
- package/fixtures/openapi/KubernetesResourceUpdatePlanRequest/valid/range-kind.json +5 -0
- package/fixtures/openapi/KubernetesResourceYaml/valid/range-kind.json +5 -0
- package/fixtures/openapi/NetworkProxyConfigurationInput/invalid/empty-content.json +1 -0
- package/fixtures/openapi/NetworkProxyConfigurationInput/valid/enabled.json +1 -0
- package/fixtures/openapi/NetworkProxyInstanceInput/invalid/unknown-engine.json +1 -0
- package/fixtures/openapi/NetworkProxyInstanceInput/valid/mihomo.json +1 -0
- package/gen/go/sohaapi/client.go +1 -1
- package/gen/go/sohaapi/client_test.go +25 -0
- package/gen/go/sohaapi/types.go +40 -11
- package/gen/ts/sohaapi/index.ts +264 -156
- package/go.mod +4 -4
- package/go.sum +4 -4
- package/network/README.md +12 -0
- package/network/network-ingest-event.schema.json +21 -3
- package/network/network-runtime-protocol.schema.json +2 -2
- package/network/proxy-runtime.schema.json +113 -0
- package/network/schema.go +7 -0
- package/openapi/soha-api.json +412 -4
- package/openapi/soha-api.yaml +381 -251
- package/openapi/spec_generated.go +3 -3
- package/package.json +2 -1
- package/resource/models.go +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensoha/contracts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared OpenSoha API, agent, MCP, skill, event, and auth contracts.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"./network/network-runtime-protocol.schema.json": "./network/network-runtime-protocol.schema.json",
|
|
66
66
|
"./network/network-ingest-event.schema.json": "./network/network-ingest-event.schema.json",
|
|
67
67
|
"./network/network-radius-accounting.schema.json": "./network/network-radius-accounting.schema.json",
|
|
68
|
+
"./network/proxy-runtime.schema.json": "./network/proxy-runtime.schema.json",
|
|
68
69
|
"./knowledge/knowledge-base.schema.json": "./knowledge/knowledge-base.schema.json",
|
|
69
70
|
"./knowledge/knowledge-source.schema.json": "./knowledge/knowledge-source.schema.json",
|
|
70
71
|
"./knowledge/knowledge-search.schema.json": "./knowledge/knowledge-search.schema.json",
|
package/resource/models.go
CHANGED
|
@@ -1084,6 +1084,8 @@ type StorageClassDetailView struct {
|
|
|
1084
1084
|
}
|
|
1085
1085
|
|
|
1086
1086
|
type CRDView struct {
|
|
1087
|
+
UID string `json:"uid,omitempty"`
|
|
1088
|
+
DeletingAt string `json:"deletingAt,omitempty"`
|
|
1087
1089
|
Name string `json:"name"`
|
|
1088
1090
|
Group string `json:"group"`
|
|
1089
1091
|
Scope string `json:"scope"`
|