selfprivacy-rest-api/selfprivacy_api/graphql/mutations/mutation_interface.py
2022-07-07 15:53:19 +02:00

14 lines
204 B
Python

import strawberry
@strawberry.interface
class MutationReturnInterface:
success: bool
message: str
code: int
@strawberry.type
class GenericMutationReturn(MutationReturnInterface):
pass