feat(api tokens): add basic api token overview
This commit is contained in:
13
src/modelTypes/IApiToken.ts
Normal file
13
src/modelTypes/IApiToken.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import type {IAbstract} from '@/modelTypes/IAbstract'
|
||||
|
||||
export interface IApiPermission {
|
||||
[key: string]: string[]
|
||||
}
|
||||
|
||||
export interface IApiToken extends IAbstract {
|
||||
id: number
|
||||
token: string
|
||||
permissions: IApiPermission
|
||||
expiresAt: Date
|
||||
created: Date
|
||||
}
|
Reference in New Issue
Block a user