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

18 lines
384 B
TypeScript

import { Model, UUID } from '@/api/definitions';
interface SecurityKey extends Model {
uuid: UUID;
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;
}