@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.
Files changed (32) hide show
  1. package/auth/catalog_generated.go +2 -2
  2. package/auth/permission-catalog.json +81 -1
  3. package/compat/json-schema-ecosystem-0.1.0.json +1 -1
  4. package/compat/openapi-loose-boundaries-0.1.0.json +1 -1
  5. package/fixtures/json-schema/network-ingest-event/invalid/proxy-runtime-negative-total.json +19 -0
  6. package/fixtures/json-schema/network-ingest-event/valid/proxy-runtime-sample.json +20 -0
  7. package/fixtures/json-schema/proxy-runtime/invalid/v2ray-connection-snapshot.json +10 -0
  8. package/fixtures/json-schema/proxy-runtime/valid/mihomo-observation.json +16 -0
  9. package/fixtures/openapi/KubernetesCustomResourceDefinition/invalid/empty-uid.json +1 -0
  10. package/fixtures/openapi/KubernetesCustomResourceDefinition/valid/deleting-definition.json +1 -0
  11. package/fixtures/openapi/KubernetesResourceUpdatePlanRequest/valid/range-kind.json +5 -0
  12. package/fixtures/openapi/KubernetesResourceYaml/valid/range-kind.json +5 -0
  13. package/fixtures/openapi/NetworkProxyConfigurationInput/invalid/empty-content.json +1 -0
  14. package/fixtures/openapi/NetworkProxyConfigurationInput/valid/enabled.json +1 -0
  15. package/fixtures/openapi/NetworkProxyInstanceInput/invalid/unknown-engine.json +1 -0
  16. package/fixtures/openapi/NetworkProxyInstanceInput/valid/mihomo.json +1 -0
  17. package/gen/go/sohaapi/client.go +1 -1
  18. package/gen/go/sohaapi/client_test.go +25 -0
  19. package/gen/go/sohaapi/types.go +40 -11
  20. package/gen/ts/sohaapi/index.ts +264 -156
  21. package/go.mod +4 -4
  22. package/go.sum +4 -4
  23. package/network/README.md +12 -0
  24. package/network/network-ingest-event.schema.json +21 -3
  25. package/network/network-runtime-protocol.schema.json +2 -2
  26. package/network/proxy-runtime.schema.json +113 -0
  27. package/network/schema.go +7 -0
  28. package/openapi/soha-api.json +412 -4
  29. package/openapi/soha-api.yaml +381 -251
  30. package/openapi/spec_generated.go +3 -3
  31. package/package.json +2 -1
  32. 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.20",
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",
@@ -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"`