added book details, update, delete. fixes
This commit is contained in:
parent
d1da980501
commit
b5738c610d
12 changed files with 290 additions and 16 deletions
|
|
@ -16,6 +16,8 @@ type Mutation {
|
|||
login(input: LoginInput!): Session!
|
||||
logout: Void
|
||||
bookCreate(input: BookCreateInput!): Book!
|
||||
bookUpdate(input: BookUpdateInput!): Book!
|
||||
bookDelete(id: ID!): Void
|
||||
bookChapterCreate(input: BookChapterCreateInput!): BookChapter!
|
||||
bookChapterUpdate(input: BookChapterUpdateInput!): BookChapter!
|
||||
bookChapterDelete(id: ID!): Book!
|
||||
|
|
@ -97,7 +99,7 @@ type Book {
|
|||
personalRating: RatingType!
|
||||
}
|
||||
|
||||
input BookUpdate {
|
||||
input BookUpdateInput {
|
||||
id: ID!
|
||||
title: String
|
||||
description: String
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue