chore: init read-star monorepo
This commit is contained in:
20
apps/admin/src/typings/api/auth.d.ts
vendored
Normal file
20
apps/admin/src/typings/api/auth.d.ts
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
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[]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user