Skip to content

Commit

Permalink
Revert "GH-54: Removed Comments From GraphQL Schema File"
Browse files Browse the repository at this point in the history
This reverts commit 85282e4.
  • Loading branch information
johnnyhchen committed Jul 26, 2021
1 parent 262e640 commit b4d9e4d
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion amplify/backend/api/rms/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#schema {
# query:Query
#}

#type Query {

# listMainSchema: [MainSchema]
#}

#one to many from items field to Item
type Main @model {
name: ID!
description: String!
Expand Down Expand Up @@ -41,7 +51,34 @@ type History @model {
timestamp: AWSDateTime
}

#type Transactions @model {
# number: String
# type: String
# scratch: any
#}

enum Action {
borrow
return
}
}

#type MainSchema @model {
# name: String!
# description: String!
# tags: [String!]
# items: [IDItemSchema!]
#}
#
#type IDItemSchema {
# key: ID!
# value: ItemSchema!
#}
#
#type ItemSchema {
# owner: String!
# borrower: String!
# batch: [String!]
# history: [String!]
# schedule: [String!]
# notes: String!
#}

0 comments on commit b4d9e4d

Please sign in to comment.