@daocloud-proto/zestu 0.2.0-rc2-dev-50ef37fc → 0.2.0-rc2-dev-38f80ecb
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
|
@@ -97,4 +97,13 @@ export type GenerateFileDownloadSignatureRequest = {
|
|
|
97
97
|
|
|
98
98
|
export type GenerateFileDownloadSignatureResponse = {
|
|
99
99
|
signatureUrl?: string
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type UpdateQuotaRequest = {
|
|
103
|
+
regionId?: string
|
|
104
|
+
quota?: string
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export type UpdateQuotaResponse = {
|
|
108
|
+
quota?: string
|
|
100
109
|
}
|
|
@@ -77,6 +77,9 @@ export class FileStorage {
|
|
|
77
77
|
static DeleteFile(req: ZestuIoApiFile_storageV1alpha1Storage.DeleteFileRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
78
78
|
return fm.fetchReq<ZestuIoApiFile_storageV1alpha1Storage.DeleteFileRequest, GoogleProtobufEmpty.Empty>(`/apis/zestu.io/v1/region/${req["regionId"]}/filestorage/file`, {...initReq, method: "DELETE", body: JSON.stringify(req)})
|
|
79
79
|
}
|
|
80
|
+
static UpdateQuota(req: ZestuIoApiFile_storageV1alpha1Storage.UpdateQuotaRequest, initReq?: fm.InitReq): Promise<ZestuIoApiFile_storageV1alpha1Storage.UpdateQuotaResponse> {
|
|
81
|
+
return fm.fetchReq<ZestuIoApiFile_storageV1alpha1Storage.UpdateQuotaRequest, ZestuIoApiFile_storageV1alpha1Storage.UpdateQuotaResponse>(`/apis/zestu.io/v1/region/${req["regionId"]}/filestorage/quota`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
82
|
+
}
|
|
80
83
|
}
|
|
81
84
|
export class Image {
|
|
82
85
|
static ListPublicImages(req: ZestuIoApiImageV1alpha1Image.ListPublicImagesRequest, initReq?: fm.InitReq): Promise<ZestuIoApiImageV1alpha1Image.ListPublicImagesResponse> {
|