From f6fc945fcd7eebf318219bc647f6f46d5daf1dc8 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 5 Sep 2024 10:23:32 -0400 Subject: [PATCH] chore: Updated types for upload response and group_idf --- src/core/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/types.ts b/src/core/types.ts index c8d4fd5..225696e 100644 --- a/src/core/types.ts +++ b/src/core/types.ts @@ -16,9 +16,11 @@ export type UploadResponse = { name: string; cid: string; size: number; + created_at: string; number_of_files: number; mime_type: string; user_id: string; + group_id: string | null; }; export type FileObject = { @@ -61,7 +63,7 @@ export type FileListItem = { size: number; number_of_files: number; mime_type: string; - group_id: string; + group_id: string | null; created_at: string; };