selfprivacy-rest-api/selfprivacy_api/graphql/mutations/mutation_interface.py

14 lines
204 B
Python
Raw Normal View History

2022-06-29 17:39:46 +00:00
import strawberry
2022-07-07 13:53:19 +00:00
2022-06-29 17:39:46 +00:00
@strawberry.interface
class MutationReturnInterface:
success: bool
message: str
code: int
2022-07-05 12:11:41 +00:00
2022-07-07 13:53:19 +00:00
2022-07-05 12:11:41 +00:00
@strawberry.type
class GenericMutationReturn(MutationReturnInterface):
pass