@daocloud-proto/ghippo 0.24.0-dev3 → 0.24.0-rc1
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 +1 -1
- package/v1alpha1/workspace.pb.ts +0 -10
package/package.json
CHANGED
package/v1alpha1/workspace.pb.ts
CHANGED
|
@@ -327,13 +327,6 @@ export type ListSharedResourceTypesResponse = {
|
|
|
327
327
|
items?: string[]
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
export type GetSharedResourceTypeRequest = {
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export type GetSharedResourceTypeResponse = {
|
|
334
|
-
sharedResource?: string
|
|
335
|
-
}
|
|
336
|
-
|
|
337
330
|
export type SetQuotaHardForWorkspaceSharedResourceRequest = {
|
|
338
331
|
workspaceResourceId?: number
|
|
339
332
|
quotaHard?: {[key: string]: string}
|
|
@@ -600,9 +593,6 @@ export class Workspace {
|
|
|
600
593
|
static ListSharedResourceTypes(req: ListSharedResourceTypesRequest, initReq?: fm.InitReq): Promise<ListSharedResourceTypesResponse> {
|
|
601
594
|
return fm.fetchReq<ListSharedResourceTypesRequest, ListSharedResourceTypesResponse>(`/apis/ghippo.io/v1alpha1/sharedresource-types?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
602
595
|
}
|
|
603
|
-
static GetSharedResourceType(req: GetSharedResourceTypeRequest, initReq?: fm.InitReq): Promise<GetSharedResourceTypeResponse> {
|
|
604
|
-
return fm.fetchReq<GetSharedResourceTypeRequest, GetSharedResourceTypeResponse>(`/apis/ghippo.io/v1alpha1/sharedresource-type?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
605
|
-
}
|
|
606
596
|
static BindSharedResourceAndSetQuotaHardToWorkspace(req: BindSharedResourceAndSetQuotaHardToWorkspaceRequest, initReq?: fm.InitReq): Promise<BindSharedResourceAndSetQuotaHardToWorkspaceResponse> {
|
|
607
597
|
return fm.fetchReq<BindSharedResourceAndSetQuotaHardToWorkspaceRequest, BindSharedResourceAndSetQuotaHardToWorkspaceResponse>(`/apis/ghippo.io/v1alpha1/workspaces/${req["workspaceId"]}/bind-sharedresource-setquota`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
608
598
|
}
|