Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .graphqlconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ projects:
codeGenTarget: ''
generatedFileName: ''
docsFilePath: app/src/main/graphql/com/amazonaws/amplify/generated/graphql
extensions:
amplify:
version: 3
25 changes: 13 additions & 12 deletions amplify/backend/api/javatag/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
type Blog @model {
id: ID!
name: String!
posts: [Post] @connection(name: "BlogPosts")
}
type Post @model {
type Session @model {
id: ID!
title: String!
blog: Blog @connection(name: "BlogPosts")
comments: [Comment] @connection(name: "PostComments")
players: [Player] @connection(name: "Players")
lat: Float!
lon: Float!
radius: Int!
}
type Comment @model {

type Player @model {
id: ID!
content: String
post: Post @connection(name: "PostComments")
}
username: String!
session: Session @connection(name: "Players")
isIt: Boolean!
lat: Float!
lon: Float!
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,151 +1,115 @@
# this is an auto generated file. This will be overwritten
mutation CreateBlog($input: CreateBlogInput!) {
createBlog(input: $input) {
id
name
posts {
items {
id
title
}
nextToken
}
}
}
mutation UpdateBlog($input: UpdateBlogInput!) {
updateBlog(input: $input) {
id
name
posts {
items {
id
title
}
nextToken
}
}
}
mutation DeleteBlog($input: DeleteBlogInput!) {
deleteBlog(input: $input) {
id
name
posts {
items {
id
title
}
nextToken
}
}
}
mutation CreatePost($input: CreatePostInput!) {
createPost(input: $input) {
mutation CreateSession($input: CreateSessionInput!) {
createSession(input: $input) {
id
title
blog {
id
name
posts {
nextToken
}
}
comments {
players {
items {
id
content
username
isIt
lat
lon
}
nextToken
}
lat
lon
radius
}
}
mutation UpdatePost($input: UpdatePostInput!) {
updatePost(input: $input) {
mutation UpdateSession($input: UpdateSessionInput!) {
updateSession(input: $input) {
id
title
blog {
id
name
posts {
nextToken
}
}
comments {
players {
items {
id
content
username
isIt
lat
lon
}
nextToken
}
lat
lon
radius
}
}
mutation DeletePost($input: DeletePostInput!) {
deletePost(input: $input) {
mutation DeleteSession($input: DeleteSessionInput!) {
deleteSession(input: $input) {
id
title
blog {
id
name
posts {
nextToken
}
}
comments {
players {
items {
id
content
username
isIt
lat
lon
}
nextToken
}
lat
lon
radius
}
}
mutation CreateComment($input: CreateCommentInput!) {
createComment(input: $input) {
mutation CreatePlayer($input: CreatePlayerInput!) {
createPlayer(input: $input) {
id
content
post {
username
session {
id
title
blog {
id
name
}
comments {
players {
nextToken
}
lat
lon
radius
}
isIt
lat
lon
}
}
mutation UpdateComment($input: UpdateCommentInput!) {
updateComment(input: $input) {
mutation UpdatePlayer($input: UpdatePlayerInput!) {
updatePlayer(input: $input) {
id
content
post {
username
session {
id
title
blog {
id
name
}
comments {
players {
nextToken
}
lat
lon
radius
}
isIt
lat
lon
}
}
mutation DeleteComment($input: DeleteCommentInput!) {
deleteComment(input: $input) {
mutation DeletePlayer($input: DeletePlayerInput!) {
deletePlayer(input: $input) {
id
content
post {
username
session {
id
title
blog {
id
name
}
comments {
players {
nextToken
}
lat
lon
radius
}
isIt
lat
lon
}
}
Loading