Summary
Create a falcor route to delete a new book within a world.
Depends on #11, #12.
See also #8.
Authentication & Authorization
The current user must have write or owner permissions for the world in which the book is to be deleted.
Spec
Route (call): worldsById[id: string].books.remove
Function Signature
function ( id : string ) : JSONGraphEnvelope
MongoDB
Archive the document per #13.
Neo4j
Archive the node per #12 and archive the relationship between the world and the book per #11.
Return Paths
Return an invalidated path for each book in worldsById[key: string].books (per #9) that have the same or greater index values as this book had.
Summary
Create a falcor route to delete a new book within a world.
Depends on #11, #12.
See also #8.
Authentication & Authorization
The current user must have write or owner permissions for the world in which the book is to be deleted.
Spec
Route (call):
worldsById[id: string].books.removeFunction Signature
MongoDB
Archive the document per #13.
Neo4j
Archive the node per #12 and archive the relationship between the world and the book per #11.
Return Paths
Return an invalidated path for each book in
worldsById[key: string].books(per #9) that have the same or greater index values as this book had.