-
Notifications
You must be signed in to change notification settings - Fork 0
GraphQL API Inputs
Murat Terzioğlu edited this page Jan 17, 2022
·
2 revisions
input CreateAuthorInput {
"""Firstname of the author"""
name: String!
"""Lastname of the author"""
surname: String!
"""E-Mail address of the author, should be unique"""
mail: String!
}
input CreateContentInput {
"""Type of the content, post or comment"""
type: String!
"""Author of the content"""
author: String!
"""Title of the content"""
title: String!
"""Full context of the content"""
relation: String
"""Full context of the content"""
context: String!
}
input CreateReactionInput {
"""Content of the reaction"""
content: String!
"""Author of the reaction"""
author: String!
"""Reaction for the content"""
reaction: String!
}