mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add filesystem based blob storage (#3187)
* Refactor transaction hooks. Add preCommit * Add BlobStore * Use blobStore for tag images * Use blobStore for studio images * Use blobStore for performer images * Use blobStore for scene covers * Don't generate screenshots in legacy directory * Run post-hooks outside original transaction * Use blobStore for movie images * Remove unnecessary DestroyImage methods * Add missing filter for scene cover * Add covers to generate options * Add generate cover option to UI * Add screenshot migration * Delete thumb files as part of screenshot migration
This commit is contained in:
@@ -1215,6 +1215,20 @@ export const mutateMigrateHashNaming = () =>
|
||||
mutation: GQL.MigrateHashNamingDocument,
|
||||
});
|
||||
|
||||
export const mutateMigrateSceneScreenshots = (
|
||||
input: GQL.MigrateSceneScreenshotsInput
|
||||
) =>
|
||||
client.mutate<GQL.MigrateSceneScreenshotsMutation>({
|
||||
mutation: GQL.MigrateSceneScreenshotsDocument,
|
||||
variables: { input },
|
||||
});
|
||||
|
||||
export const mutateMigrateBlobs = (input: GQL.MigrateBlobsInput) =>
|
||||
client.mutate<GQL.MigrateBlobsMutation>({
|
||||
mutation: GQL.MigrateBlobsDocument,
|
||||
variables: { input },
|
||||
});
|
||||
|
||||
export const mutateMetadataExport = () =>
|
||||
client.mutate<GQL.MetadataExportMutation>({
|
||||
mutation: GQL.MetadataExportDocument,
|
||||
|
||||
Reference in New Issue
Block a user