@daocloud-proto/skoala 0.4.1-89 → 0.4.1-91

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.
@@ -134,4 +134,14 @@ export type DatabaseParam = {
134
134
  username?: string
135
135
  password?: string
136
136
  db?: string
137
+ }
138
+
139
+ export type ListNacosServiceReq = {
140
+ workspaceId?: string
141
+ clusterName?: string
142
+ nacosName?: string
143
+ namespaceName?: string
144
+ }
145
+
146
+ export type ListNacosServiceRes = {
137
147
  }
@@ -95,6 +95,9 @@ export class Nacos {
95
95
  static Delete(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
96
96
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/nacoses/${req["nacosName"]}`, {...initReq, method: "DELETE"})
97
97
  }
98
+ static ListService(req: SkoalaApiHostedV1alpha1Nacos.ListNacosServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceRes> {
99
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceReq, SkoalaApiHostedV1alpha1Nacos.ListNacosServiceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/nacoses/${req["nacosName"]}/services?${fm.renderURLSearchParams(req, ["workspaceId", "nacosName"])}`, {...initReq, method: "GET"})
100
+ }
98
101
  }
99
102
  export class Sentinel {
100
103
  static List(req: SkoalaApiHostedV1alpha1Sentinel.ListSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListSentinelRes> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.4.1-89",
3
+ "version": "0.4.1-91",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {