Fix deleting folder-based gallery file deleting (#1872)

* Fix deleting gallery image files
* Clarify delete file documentation
This commit is contained in:
WithoutPants
2021-10-25 09:29:03 +11:00
committed by GitHub
parent 0ab8d32687
commit d292ed0b34
5 changed files with 17 additions and 6 deletions

View File

@@ -74,6 +74,11 @@ input BulkGalleryUpdateInput {
input GalleryDestroyInput {
ids: [ID!]!
"""
If true, then the zip file will be deleted if the gallery is zip-file-based.
If gallery is folder-based, then any files not associated with other
galleries will be deleted, along with the folder, if it is not empty.
"""
delete_file: Boolean
delete_generated: Boolean
}