src/schema/* use Link type for documents

pull/34/head
leonnicolas 4 years ago
parent 4b11ce46ae
commit 7429924913
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -35,6 +35,7 @@ export default gql`
The kind of currency depends on the database. The kind of currency depends on the database.
""" """
scalar Money scalar Money
scalar Link
"The CargoBike type is central to the graph. You could call it the root." "The CargoBike type is central to the graph. You could call it the root."
type CargoBike { type CargoBike {
@ -667,7 +668,7 @@ export default gql`
""" """
Path to documents Path to documents
""" """
documents: [String!]! documents: [Link!]!
remark: String remark: String
isLocked: Boolean! isLocked: Boolean!
isLockedByMe: Boolean! isLockedByMe: Boolean!
@ -686,7 +687,7 @@ export default gql`
""" """
Path to documents Path to documents
""" """
documents: [String] documents: [Link]
remark: String remark: String
} }
@ -701,7 +702,7 @@ export default gql`
""" """
Path to documents Path to documents
""" """
documents: [String] documents: [Link]
remark: String remark: String
keepLock: Boolean keepLock: Boolean
} }

Loading…
Cancel
Save