mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-27 18:19:21 +08:00
21 lines
326 B
TypeScript
21 lines
326 B
TypeScript
declare namespace Api {
|
|
/**
|
|
* namespace Auth
|
|
*
|
|
* backend api module: "auth"
|
|
*/
|
|
namespace Auth {
|
|
interface LoginToken {
|
|
token: string;
|
|
refreshToken: string;
|
|
}
|
|
|
|
interface UserInfo {
|
|
userId: string;
|
|
userName: string;
|
|
roles: string[];
|
|
buttons: string[];
|
|
}
|
|
}
|
|
}
|