2023-11-18 20:09:27 +00:00
|
|
|
import graphene
|
|
|
|
|
2023-11-29 20:58:33 +00:00
|
|
|
from games.graphql.mutations import GameMutation
|
|
|
|
from games.graphql.queries import (
|
|
|
|
DeviceQuery,
|
|
|
|
EditionQuery,
|
|
|
|
GameQuery,
|
|
|
|
PlatformQuery,
|
|
|
|
PurchaseQuery,
|
|
|
|
SessionQuery,
|
|
|
|
)
|
2023-11-18 20:09:27 +00:00
|
|
|
|
|
|
|
|
2023-11-29 20:58:33 +00:00
|
|
|
class Query(
|
|
|
|
GameQuery,
|
|
|
|
EditionQuery,
|
|
|
|
DeviceQuery,
|
|
|
|
PlatformQuery,
|
|
|
|
PurchaseQuery,
|
|
|
|
SessionQuery,
|
|
|
|
graphene.ObjectType,
|
|
|
|
):
|
|
|
|
pass
|
2023-11-18 20:09:27 +00:00
|
|
|
|
|
|
|
|
2023-11-29 20:58:33 +00:00
|
|
|
class Mutation(GameMutation, graphene.ObjectType):
|
|
|
|
pass
|
2023-11-18 20:09:27 +00:00
|
|
|
|
|
|
|
|
2023-11-29 20:58:33 +00:00
|
|
|
schema = graphene.Schema(query=Query, mutation=Mutation)
|