misc_pterodactyl-panel/resources/scripts/api/definitions/user/models.d.ts

19 lines
384 B
TypeScript
Raw Normal View History

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