Kurt/rw 37 upgrade (#566)

* Update readme

* Upgrade redwood to 0.37.x
This commit was merged in pull request #566.
This commit is contained in:
Kurt Hutten
2021-10-20 14:10:19 +11:00
committed by GitHub
parent e26beda598
commit 219f341972
24 changed files with 5145 additions and 5549 deletions

View File

@@ -26,9 +26,10 @@ export const schema = gql`
}
type Query {
projects(userName: String): [Project!]!
project(id: String!): Project
projects(userName: String): [Project!]! @skipAuth
project(id: String!): Project @skipAuth
projectByUserAndTitle(userName: String!, projectTitle: String!): Project
@skipAuth
}
input CreateProjectInput {
@@ -55,14 +56,15 @@ export const schema = gql`
}
type Mutation {
createProject(input: CreateProjectInput!): Project!
forkProject(input: ForkProjectInput!): Project!
createProject(input: CreateProjectInput!): Project! @requireAuth
forkProject(input: ForkProjectInput!): Project! @requireAuth
updateProject(id: String!, input: UpdateProjectInput!): Project!
@requireAuth
updateProjectImages(
id: String!
mainImage64: String
socialCard64: String
): Project!
deleteProject(id: String!): Project!
): Project! @requireAuth
deleteProject(id: String!): Project! @requireAuth
}
`