diff --git a/main/graphql/schema.py b/main/graphql/schema.py index f72e77b..37d83af 100644 --- a/main/graphql/schema.py +++ b/main/graphql/schema.py @@ -44,6 +44,7 @@ class PrivateQuery( @strawberry.type class PublicMutation( user_mutations.PublicMutation, + subscription_mutations.PublicMutation, ): id: strawberry.ID = strawberry.ID('public') diff --git a/schema.graphql b/schema.graphql index 2f126b1..2509bb1 100644 --- a/schema.graphql +++ b/schema.graphql @@ -627,6 +627,7 @@ type PublicMutation { accountActivation(data: UserActivationInput!): MutationEmptyResponseType! passwordResetTrigger(data: UserPasswordResetTriggerInput!): MutationEmptyResponseType! passwordResetConfirm(data: UserPasswordResetConfirmInput!): MutationEmptyResponseType! + unsubscribeUserAlertSubscription(data: UserAlertSubscriptionUnsubscribeInput!): MutationEmptyResponseType! id: ID! } @@ -762,6 +763,11 @@ type UserAlertSubscriptionTypeMutationResponseType { result: UserAlertSubscriptionType } +input UserAlertSubscriptionUnsubscribeInput { + uuid: String! + token: String! +} + input UserLoginInput { email: String! password: String!