Hook up reactions data
This commit is contained in:
@@ -15,7 +15,7 @@ export const schema = gql`
|
||||
partReaction(id: String!): PartReaction
|
||||
}
|
||||
|
||||
input CreatePartReactionInput {
|
||||
input TogglePartReactionInput {
|
||||
emote: String!
|
||||
userId: String!
|
||||
partId: String!
|
||||
@@ -28,7 +28,7 @@ export const schema = gql`
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
createPartReaction(input: CreatePartReactionInput!): PartReaction!
|
||||
togglePartReaction(input: TogglePartReactionInput!): PartReaction!
|
||||
updatePartReaction(
|
||||
id: String!
|
||||
input: UpdatePartReactionInput!
|
||||
|
||||
@@ -10,7 +10,7 @@ export const schema = gql`
|
||||
user: User!
|
||||
userId: String!
|
||||
Comment: [Comment]!
|
||||
Reaction: [PartReaction]!
|
||||
Reaction(userId: String): [PartReaction]!
|
||||
}
|
||||
|
||||
type Query {
|
||||
|
||||
Reference in New Issue
Block a user