Skip to content

Commit

Permalink
added form versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ELiuHub committed Sep 15, 2022
1 parent 24ae47b commit e0ab561
Show file tree
Hide file tree
Showing 10 changed files with 1,285 additions and 4,217 deletions.
10 changes: 3 additions & 7 deletions amplify/backend/api/b4hGraphQL/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@

type Form @model @auth(rules: [{ allow: owner }, { allow: private, operations: [read] }]) {
id: ID!
name: String @index(name: "byFormName", queryField: "getFormByName")
name: String @index(name: "byFormName", queryField: "getFormByName", sortKeyFields: ["version"])
version: Int
otherUser: String
owner: String
file: S3Object
formID: ID
}

type S3Object {
bucket: String!
region: String!
key: String!
}

File renamed without changes.
Loading

0 comments on commit e0ab561

Please sign in to comment.