@daocloud-proto/ghippo 0.10.0 → 0.10.2
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
package/v1alpha1/audit.pb.ts
CHANGED
|
@@ -88,6 +88,13 @@ export type GetAutoClearAuditTimeResponse = {
|
|
|
88
88
|
ghippoDays?: number
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
export type GetLimitRangeTimeRequest = {
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export type GetLimitRangeTimeResponse = {
|
|
95
|
+
day?: number
|
|
96
|
+
}
|
|
97
|
+
|
|
91
98
|
export class Audit {
|
|
92
99
|
static ListAudit(req: ListAuditRequest, initReq?: fm.InitReq): Promise<ListAuditResponse> {
|
|
93
100
|
return fm.fetchReq<ListAuditRequest, ListAuditResponse>(`/apis/ghippo.io/v1alpha1/audits?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
@@ -104,4 +111,7 @@ export class Audit {
|
|
|
104
111
|
static GetAutoClearAuditTime(req: GetAutoClearAuditTimeRequest, initReq?: fm.InitReq): Promise<GetAutoClearAuditTimeResponse> {
|
|
105
112
|
return fm.fetchReq<GetAutoClearAuditTimeRequest, GetAutoClearAuditTimeResponse>(`/apis/ghippo.io/v1alpha1/audits/clear?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
106
113
|
}
|
|
114
|
+
static GetLimitRangeTime(req: GetLimitRangeTimeRequest, initReq?: fm.InitReq): Promise<GetLimitRangeTimeResponse> {
|
|
115
|
+
return fm.fetchReq<GetLimitRangeTimeRequest, GetLimitRangeTimeResponse>(`/apis/ghippo.io/v1alpha1/audits/limit-range?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
116
|
+
}
|
|
107
117
|
}
|
package/v1alpha1/group.pb.ts
CHANGED
package/v1alpha1/user.pb.ts
CHANGED
package/v1alpha1/workspace.pb.ts
CHANGED
|
@@ -376,6 +376,7 @@ export type User = {
|
|
|
376
376
|
lastname?: string
|
|
377
377
|
source?: string
|
|
378
378
|
enabled?: boolean
|
|
379
|
+
canAuthorize?: boolean
|
|
379
380
|
}
|
|
380
381
|
|
|
381
382
|
export type FolderListGroupsRequest = {
|
|
@@ -396,6 +397,7 @@ export type Group = {
|
|
|
396
397
|
userCount?: number
|
|
397
398
|
description?: string
|
|
398
399
|
createdAt?: string
|
|
400
|
+
canAuthorize?: boolean
|
|
399
401
|
}
|
|
400
402
|
|
|
401
403
|
export class Workspace {
|