This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
|
import type {IAbstract} from '@/modelTypes/IAbstract'
|
|
|
|
export interface IApiPermission {
|
|
[key: string]: string[]
|
|
}
|
|
|
|
export interface IApiToken extends IAbstract {
|
|
id: number
|
|
title: string
|
|
token: string
|
|
permissions: IApiPermission
|
|
expiresAt: Date
|
|
created: Date
|
|
}
|