13 lines
253 B
TypeScript
13 lines
253 B
TypeScript
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
|
|
} |