feat: import F95 screenshot galleries with AVIF support
This commit is contained in:
1 parent
5b911d1e3b
commit
69f71cb836
21 files changed
+513
-33
No files matched your search
@@ -25,6 +25,7 @@ interface UploadInput {
|
||||
description?: string;
|
||||
tags?: string[];
|
||||
coverHash?: string | null;
|
||||
galleryHashes?: string[];
|
||||
}
|
||||
|
||||
interface UploadContextValue {
|
||||
@@ -57,6 +58,7 @@ export function UploadProvider({ children }: { children: ReactNode }) {
|
||||
title: input.title?.trim() || file.name.replace(/\.(zip|7z|rar|tar.*)$/i, ""),
|
||||
description: input.description ?? "", tags: input.tags ?? [],
|
||||
cover_hash: input.coverHash ?? null,
|
||||
gallery_hashes: input.galleryHashes ?? [],
|
||||
});
|
||||
gameId = game.id;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user