2022-02-27 16:26:13 +00:00
|
|
|
import { Model, UUID } from '@/api/definitions';
|
2022-02-13 20:44:19 +00:00
|
|
|
|
|
|
|
interface SecurityKey extends Model {
|
2022-02-27 16:26:13 +00:00
|
|
|
uuid: UUID;
|
2022-02-13 20:44:19 +00:00
|
|
|
name: string;
|
|
|
|
type: 'public-key';
|
|
|
|
publicKeyId: string;
|
|
|
|
createdAt: Date;
|
|
|
|
updatedAt: Date;
|
|
|
|
}
|
2022-02-20 18:07:12 +00:00
|
|
|
|
|
|
|
interface PersonalAccessToken extends Model {
|
|
|
|
identifier: string;
|
|
|
|
description: string;
|
|
|
|
createdAt: Date;
|
|
|
|
updatedAt: Date;
|
|
|
|
lastUsedAt: Date | null;
|
|
|
|
}
|