mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 02:34:28 +11:00
Created the type graph
This commit is contained in:
14
server/schema.js
Normal file
14
server/schema.js
Normal file
@@ -0,0 +1,14 @@
|
||||
module.exports = `
|
||||
scalar Date
|
||||
|
||||
type Book {
|
||||
String title
|
||||
Author author
|
||||
Date published
|
||||
}
|
||||
|
||||
type Author {
|
||||
!String name
|
||||
!Book[] books
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user