@daocloud-proto/ghippo 0.10.6-dev-3 → 0.10.6-dev-5
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/audit.pb.ts +4 -0
- package/v1alpha1/topnav.pb.ts +4 -4
- package/v1alpha1/workspace.pb.ts +2 -0
- package/v1alpha2/auditv2.pb.ts +18 -0
package/package.json
CHANGED
package/v1alpha1/audit.pb.ts
CHANGED
package/v1alpha1/topnav.pb.ts
CHANGED
|
@@ -14,13 +14,13 @@ export type TopNavResponse = {
|
|
|
14
14
|
tabName?: string
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export type
|
|
17
|
+
export type SetTopNavRequest = {
|
|
18
18
|
icon?: string
|
|
19
19
|
favicon?: string
|
|
20
20
|
tabName?: string
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export type
|
|
23
|
+
export type SetTopNavResponse = {
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export type ResetTopNavRequest = {
|
|
@@ -33,8 +33,8 @@ export class TopNavigator {
|
|
|
33
33
|
static Info(req: TopNavRequest, initReq?: fm.InitReq): Promise<TopNavResponse> {
|
|
34
34
|
return fm.fetchReq<TopNavRequest, TopNavResponse>(`/apis/ghippo.io/v1alpha1/top-nav/info?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
35
35
|
}
|
|
36
|
-
static
|
|
37
|
-
return fm.fetchReq<
|
|
36
|
+
static SetTopNav(req: SetTopNavRequest, initReq?: fm.InitReq): Promise<SetTopNavResponse> {
|
|
37
|
+
return fm.fetchReq<SetTopNavRequest, SetTopNavResponse>(`/apis/ghippo.io/v1alpha1/top-nav`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
38
38
|
}
|
|
39
39
|
static ResetTopNav(req: ResetTopNavRequest, initReq?: fm.InitReq): Promise<ResetTopNavResponse> {
|
|
40
40
|
return fm.fetchReq<ResetTopNavRequest, ResetTopNavResponse>(`/apis/ghippo.io/v1alpha1/top-nav/reset`, {...initReq, method: "POST"})
|
package/v1alpha1/workspace.pb.ts
CHANGED
|
@@ -69,6 +69,7 @@ export type WorkspacesResourceInfo = {
|
|
|
69
69
|
gproduct?: string
|
|
70
70
|
workspaceId?: number
|
|
71
71
|
workspaceResourceId?: number
|
|
72
|
+
module?: string
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
export type ListResourcesRequest = {
|
|
@@ -297,6 +298,7 @@ export type ResourceInfo = {
|
|
|
297
298
|
resourceType?: string
|
|
298
299
|
gproduct?: string
|
|
299
300
|
resourceScope?: string
|
|
301
|
+
bound?: boolean
|
|
300
302
|
}
|
|
301
303
|
|
|
302
304
|
export type ListExclusiveResourceTypesRequest = {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as fm from "../fetch.pb"
|
|
8
|
+
import * as GoogleApiHttpbody from "../google/api/httpbody.pb"
|
|
9
|
+
export type ExportAuditRequest = {
|
|
10
|
+
start?: string
|
|
11
|
+
end?: string
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export class AuditV1alpha2 {
|
|
15
|
+
static ExportAudit(req: ExportAuditRequest, initReq?: fm.InitReq): Promise<GoogleApiHttpbody.HttpBody> {
|
|
16
|
+
return fm.fetchReq<ExportAuditRequest, GoogleApiHttpbody.HttpBody>(`/apis/ghippo.io/v1alpha2/audits/export?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
17
|
+
}
|
|
18
|
+
}
|