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

20 lines
429 B
TypeScript
Raw Normal View History

2022-02-13 20:44:19 +00:00
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface Model {}
interface SecurityKey extends Model {
uuid: string;
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;
}