|
|
|
@ -38,7 +38,8 @@ export default gql`
|
|
|
|
|
id: ID!
|
|
|
|
|
"see column A in info tabelle"
|
|
|
|
|
group: Group
|
|
|
|
|
name: String
|
|
|
|
|
name: String!
|
|
|
|
|
state: BikeState
|
|
|
|
|
modelName: String
|
|
|
|
|
numberOfWheels: Int
|
|
|
|
|
forCargo: Boolean
|
|
|
|
@ -83,6 +84,15 @@ export default gql`
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
Status of the CargoBike. More fields will be added, or removed.
|
|
|
|
|
"""
|
|
|
|
|
enum BikeState {
|
|
|
|
|
ACTIVE
|
|
|
|
|
INACTIVE
|
|
|
|
|
INPREPARATION
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
if you want to add bike to a lending station, create a new timeFrame with to: Date = null
|
|
|
|
|
"""
|
|
|
|
@ -90,6 +100,7 @@ export default gql`
|
|
|
|
|
"see column A in info tabelle"
|
|
|
|
|
group: Group!
|
|
|
|
|
name: String!
|
|
|
|
|
state: BikeState
|
|
|
|
|
modelName: String!
|
|
|
|
|
numberOfWheels: Int!
|
|
|
|
|
forCargo: Boolean!
|
|
|
|
@ -134,6 +145,7 @@ export default gql`
|
|
|
|
|
"see column A in info tabelle"
|
|
|
|
|
group: Group
|
|
|
|
|
name: String
|
|
|
|
|
state: BikeState
|
|
|
|
|
modelName: String
|
|
|
|
|
numberOfWheels: Int
|
|
|
|
|
forCargo: Boolean
|
|
|
|
|