@daocloud-proto/hydra 0.11.0-dev-36 → 0.11.0-dev-38

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.
@@ -142,6 +142,13 @@ export type ListSecretsResponse = {
142
142
  items?: Secret[]
143
143
  }
144
144
 
145
+ export type DetectKangarooRequest = {
146
+ }
147
+
148
+ export type DetectKangarooResponse = {
149
+ enabled?: boolean
150
+ }
151
+
145
152
  export class Image {
146
153
  static ListRegistries(req: ListRegistriesRequest, initReq?: fm.InitReq): Promise<ListRegistriesResponse> {
147
154
  return fm.fetchReq<ListRegistriesRequest, ListRegistriesResponse>(`/apis/hydra.io/v1alpha1/workspaces/${req["workspace"]}/registries?${fm.renderURLSearchParams(req, ["workspace"])}`, {...initReq, method: "GET"})
@@ -161,4 +168,7 @@ export class Image {
161
168
  static GetImageInfo(req: GetImageInfoRequest, initReq?: fm.InitReq): Promise<GetImageInfoResponse> {
162
169
  return fm.fetchReq<GetImageInfoRequest, GetImageInfoResponse>(`/apis/hydra.io/v1alpha1/workspaces/${req["workspace"]}/imageinfo?${fm.renderURLSearchParams(req, ["workspace"])}`, {...initReq, method: "GET"})
163
170
  }
171
+ static DetectKangaroo(req: DetectKangarooRequest, initReq?: fm.InitReq): Promise<DetectKangarooResponse> {
172
+ return fm.fetchReq<DetectKangarooRequest, DetectKangarooResponse>(`/apis/hydra.io/v1alpha1/registries/kangaroo?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
173
+ }
164
174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.11.0-dev-36",
3
+ "version": "v0.11.0-dev-38",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"