Add options to delete file and generated files

This commit is contained in:
WithoutPants
2019-08-16 07:21:35 +10:00
parent cfe2636837
commit 7ee1b3f052
7 changed files with 141 additions and 19 deletions

View File

@@ -26,6 +26,6 @@ mutation SceneUpdate(
}
}
mutation SceneDestroy($id: ID!, $delete_file: Boolean) {
sceneDestroy(input: {id: $id, delete_file: $delete_file})
mutation SceneDestroy($id: ID!, $delete_file: Boolean, $delete_generated : Boolean) {
sceneDestroy(input: {id: $id, delete_file: $delete_file, delete_generated: $delete_generated})
}

View File

@@ -56,6 +56,7 @@ input SceneUpdateInput {
input SceneDestroyInput {
id: ID!
delete_file: Boolean
delete_generated: Boolean
}
type FindScenesResultType {