schema: added scalar type for project allowance

pull/17/head
leonnicolas 4 years ago
parent 123d8159da
commit bba78c5688
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -25,7 +25,14 @@ export default gql`
scalar Date scalar Date
"only time hh-mm-ss" "only time hh-mm-ss"
scalar Time scalar Time
"""
is of american format [-]$[0-9]+.[0-9][0-9]
commas every three digits and . for decimals with 2 digits after the .
There can be a leading -.
There is a currency signe at the first position or second position if - is set.
The kind of currency depends on the database.
"""
scalar Money
"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 {
id: ID! id: ID!
@ -171,7 +178,7 @@ export default gql`
There is a currency signe at the first position or second position if - is set. There is a currency signe at the first position or second position if - is set.
The kind of currency depends on the database. The kind of currency depends on the database.
""" """
projectAllowance: String projectAllowance: Money
notes: String notes: String
} }
@ -197,7 +204,7 @@ export default gql`
You can pass a currency signe at the first position or second position of + or - is set. You can pass a currency signe at the first position or second position of + or - is set.
The kind of currency depends on the database. The kind of currency depends on the database.
""" """
projectAllowance: String projectAllowance: Money
notes: String notes: String
} }
@ -223,7 +230,7 @@ export default gql`
You can pass a currency signe at the first position or second position of + or - is set. You can pass a currency signe at the first position or second position of + or - is set.
The kind of currency depends on the database. The kind of currency depends on the database.
""" """
projectAllowance: String projectAllowance: Money
notes: String notes: String
} }

Loading…
Cancel
Save