casdoor-js-sdk
Advanced tools
Comparing version 0.13.0 to 0.14.0
@@ -29,2 +29,12 @@ import ITokenResponse from "js-pkce/dist/ITokenResponse"; | ||
} | ||
export interface Role { | ||
owner: string; | ||
name: string; | ||
createdTime: string; | ||
displayName: string; | ||
description: string; | ||
roles: string[]; | ||
domains: string[]; | ||
isEnabled: boolean; | ||
} | ||
export interface JwtPayload { | ||
@@ -99,3 +109,3 @@ owner: string; | ||
properties: Record<string, unknown>; | ||
roles: string[]; | ||
roles: Role[]; | ||
permissions: Permission[]; | ||
@@ -102,0 +112,0 @@ groups: string[]; |
@@ -29,2 +29,12 @@ import ITokenResponse from "js-pkce/dist/ITokenResponse"; | ||
} | ||
export interface Role { | ||
owner: string; | ||
name: string; | ||
createdTime: string; | ||
displayName: string; | ||
description: string; | ||
roles: string[]; | ||
domains: string[]; | ||
isEnabled: boolean; | ||
} | ||
export interface JwtPayload { | ||
@@ -99,3 +109,3 @@ owner: string; | ||
properties: Record<string, unknown>; | ||
roles: string[]; | ||
roles: Role[]; | ||
permissions: Permission[]; | ||
@@ -102,0 +112,0 @@ groups: string[]; |
{ | ||
"name": "casdoor-js-sdk", | ||
"version": "0.13.0", | ||
"version": "0.14.0", | ||
"description": "Javascript client SDK for Casdoor", | ||
@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js", |
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
47099
738