From 280f22114108392a020ff4d66ce5e79043cbd8fa Mon Sep 17 00:00:00 2001 From: przeq piciel Date: Sun, 1 Sep 2024 09:33:29 +0000 Subject: [PATCH] update interface --- app/components/Pterodactyl/interfaces.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/components/Pterodactyl/interfaces.tsx b/app/components/Pterodactyl/interfaces.tsx index 1f9cb59..ab1e9e0 100644 --- a/app/components/Pterodactyl/interfaces.tsx +++ b/app/components/Pterodactyl/interfaces.tsx @@ -1,10 +1,15 @@ export interface File { + object: string; // "file_object" or "list" in the provided JSON attributes: { name: string; - modified_at: string; + mode: string; // e.g., "-rw-r--r--" + mode_bits: string; // e.g., "644" size: number; is_file: boolean; - directory: string; + is_symlink: boolean; + mimetype: string; // e.g., "application/json" + created_at: string; // e.g., "2024-08-29T22:31:59+00:00" + modified_at: string; // e.g., "2024-08-29T22:31:59+00:00" }; }