@daocloud-proto/zestu 0.9.0-dev-e1307050 → 0.9.0-dev-c4828c4f

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/zestu",
3
- "version":"v0.9.0-dev-e1307050",
3
+ "version":"v0.9.0-dev-c4828c4f",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,4 +21,14 @@ export type ListSupportedNetworksRequest = {
21
21
 
22
22
  export type ListSupportedNetworksResponse = {
23
23
  item?: Region
24
+ }
25
+
26
+ export type GetFeatureGatesRequest = {
27
+ regionId?: string
28
+ }
29
+
30
+ export type GetFeatureGatesResponse = {
31
+ enableLocalStorage?: boolean
32
+ enableImageRegistry?: boolean
33
+ enableCertification?: boolean
24
34
  }
@@ -77,6 +77,7 @@ export type ResourceDetail = {
77
77
  gpuCore?: string
78
78
  gpuVendor?: string
79
79
  dataDiskSize?: string
80
+ maxDataDiskSize?: string
80
81
  }
81
82
 
82
83
  export type ResourceGPU = {
@@ -68,6 +68,9 @@ export class Region {
68
68
  static ListSupportedNetworks(req: ZestuIoApiRegionV1alpha1Region.ListSupportedNetworksRequest, initReq?: fm.InitReq): Promise<ZestuIoApiRegionV1alpha1Region.ListSupportedNetworksResponse> {
69
69
  return fm.fetchReq<ZestuIoApiRegionV1alpha1Region.ListSupportedNetworksRequest, ZestuIoApiRegionV1alpha1Region.ListSupportedNetworksResponse>(`/apis/zestu.io/v1/region/${req["regionId"]}/supportednetworks?${fm.renderURLSearchParams(req, ["regionId"])}`, {...initReq, method: "GET"})
70
70
  }
71
+ static GetFeatureGates(req: ZestuIoApiRegionV1alpha1Region.GetFeatureGatesRequest, initReq?: fm.InitReq): Promise<ZestuIoApiRegionV1alpha1Region.GetFeatureGatesResponse> {
72
+ return fm.fetchReq<ZestuIoApiRegionV1alpha1Region.GetFeatureGatesRequest, ZestuIoApiRegionV1alpha1Region.GetFeatureGatesResponse>(`/apis/zestu.io/v1/region/${req["regionId"]}/featuregates?${fm.renderURLSearchParams(req, ["regionId"])}`, {...initReq, method: "GET"})
73
+ }
71
74
  }
72
75
  export class Resources {
73
76
  static ListResources(req: ZestuIoApiResourcesV1alpha1Resources.ListResourcesRequest, initReq?: fm.InitReq): Promise<ZestuIoApiResourcesV1alpha1Resources.ListResourcesResponse> {