add functionality and refactor the code
This commit is contained in:
17
app/components/Pterodactyl/interfaces.tsx
Normal file
17
app/components/Pterodactyl/interfaces.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
export interface File {
|
||||
attributes: {
|
||||
name: string;
|
||||
modified_at: string;
|
||||
size: number;
|
||||
is_file: boolean;
|
||||
directory: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface Pterodactyl {
|
||||
server_id: string;
|
||||
api_key: string;
|
||||
files: any;
|
||||
|
||||
constructor(server_id: string, api_key: string): void;
|
||||
}
|
||||
Reference in New Issue
Block a user