@daocloud-proto/kant
Advanced tools
Comparing version 0.4.0-alpha1 to 0.4.0-alpha2
{ | ||
"name":"@daocloud-proto/kant", | ||
"version":"0.4.0-alpha1", | ||
"version":"0.4.0-alpha2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,5 +21,5 @@ /* eslint-disable */ | ||
export class User { | ||
static Permissions(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<KantIoApiSystemV1alpha1Types.UserPermissionsResponse> { | ||
return fm.fetchReq<GoogleProtobufEmpty.Empty, KantIoApiSystemV1alpha1Types.UserPermissionsResponse>(`/apis/system.kant.io/v1alpha1/user-permissions?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"}) | ||
static Permissions(req: KantIoApiSystemV1alpha1Types.UserPermissionsRequest, initReq?: fm.InitReq): Promise<KantIoApiSystemV1alpha1Types.UserPermissionsResponse> { | ||
return fm.fetchReq<KantIoApiSystemV1alpha1Types.UserPermissionsRequest, KantIoApiSystemV1alpha1Types.UserPermissionsResponse>(`/apis/system.kant.io/v1alpha1/user-permissions?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"}) | ||
} | ||
} |
@@ -41,2 +41,7 @@ /* eslint-disable */ | ||
export type UserPermissionsRequest = { | ||
cluster?: string | ||
namespace?: string | ||
} | ||
export type UserPermissionsResponse = { | ||
@@ -43,0 +48,0 @@ admin?: boolean |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
159362
5000