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

@@ -2176,6 +2176,7 @@ input SceneUpdateInput {
input SceneDestroyInput {
id: ID!
delete_file: Boolean
delete_generated: Boolean
}
type FindScenesResultType {
@@ -8355,6 +8356,12 @@ func (ec *executionContext) unmarshalInputSceneDestroyInput(ctx context.Context,
if err != nil {
return it, err
}
case "delete_generated":
var err error
it.DeleteGenerated, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
if err != nil {
return it, err
}
}
}