1
0

feat(api tokens): add basic api token overview

This commit is contained in:
kolaente
2023-09-01 11:15:48 +02:00
parent 7b57b10804
commit a20eef2453
7 changed files with 148 additions and 0 deletions

View 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
}