@daocloud-proto/ghippo 0.9.24 → 0.9.27
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 +2 -2
package/package.json
CHANGED
package/v1alpha1/workspace.pb.ts
CHANGED
|
@@ -182,7 +182,7 @@ export type ListFolderTreeRequest = {
|
|
|
182
182
|
|
|
183
183
|
export type ListFolderTreeResponse = {
|
|
184
184
|
folderTree?: FolderTree
|
|
185
|
-
|
|
185
|
+
defaultId?: number
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
export type CreateFolderRequest = {
|
|
@@ -403,7 +403,7 @@ export class Workspace {
|
|
|
403
403
|
return fm.fetchReq<ListWorkspacesRequest, ListWorkspacesResponse>(`/apis/ghippo.io/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
404
404
|
}
|
|
405
405
|
static ListResources(req: ListResourcesRequest, initReq?: fm.InitReq): Promise<ListResourcesResponse> {
|
|
406
|
-
return fm.fetchReq<ListResourcesRequest, ListResourcesResponse>(`/apis/ghippo.io/v1alpha1/
|
|
406
|
+
return fm.fetchReq<ListResourcesRequest, ListResourcesResponse>(`/apis/ghippo.io/v1alpha1/resources?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
407
407
|
}
|
|
408
408
|
static ListExclusiveResourcesByWorkspace(req: ListExclusiveResourcesByWorkspaceRequest, initReq?: fm.InitReq): Promise<ListExclusiveResourcesByWorkspaceResponse> {
|
|
409
409
|
return fm.fetchReq<ListExclusiveResourcesByWorkspaceRequest, ListExclusiveResourcesByWorkspaceResponse>(`/apis/ghippo.io/v1alpha1/workspaces/${req["workspaceId"]}/exclusiveresources?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
|