|
|
@ -45,12 +45,12 @@ export default gql`
|
|
|
|
numberOfWheels: Int
|
|
|
|
numberOfWheels: Int
|
|
|
|
forCargo: Boolean
|
|
|
|
forCargo: Boolean
|
|
|
|
forChildren: Boolean
|
|
|
|
forChildren: Boolean
|
|
|
|
numberOfChildren: Int!
|
|
|
|
numberOfChildren: Int
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Safety is a custom type, that stores information about security features.
|
|
|
|
Safety is a custom type, that stores information about security features.
|
|
|
|
TODO: Should this be called Security?
|
|
|
|
TODO: Should this be called Security?
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
security: Security!
|
|
|
|
security: Security
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Does not refer to an extra table in the database.
|
|
|
|
Does not refer to an extra table in the database.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
@ -102,15 +102,15 @@ export default gql`
|
|
|
|
group: Group!
|
|
|
|
group: Group!
|
|
|
|
name: String!
|
|
|
|
name: String!
|
|
|
|
state: BikeState
|
|
|
|
state: BikeState
|
|
|
|
modelName: String!
|
|
|
|
modelName: String
|
|
|
|
numberOfWheels: Int!
|
|
|
|
numberOfWheels: Int
|
|
|
|
forCargo: Boolean!
|
|
|
|
forCargo: Boolean
|
|
|
|
forChildren: Boolean!
|
|
|
|
forChildren: Boolean
|
|
|
|
numberOfChildren: Int!
|
|
|
|
numberOfChildren: Int
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Safety is a custom type, that stores information about security features.
|
|
|
|
Safety is a custom type, that stores information about security features.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
security: SecurityCreateInput!
|
|
|
|
security: SecurityCreateInput
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Does not refer to an extra table in the database.
|
|
|
|
Does not refer to an extra table in the database.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
@ -360,7 +360,7 @@ export default gql`
|
|
|
|
So no id needed for mutation. One Mutation for the CargoBike will be enough.
|
|
|
|
So no id needed for mutation. One Mutation for the CargoBike will be enough.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
type Security {
|
|
|
|
type Security {
|
|
|
|
frameNumber: String!
|
|
|
|
frameNumber: String
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
policeCoding: String
|
|
|
|
policeCoding: String
|
|
|
@ -368,7 +368,7 @@ export default gql`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input SecurityCreateInput {
|
|
|
|
input SecurityCreateInput {
|
|
|
|
frameNumber: String!
|
|
|
|
frameNumber: String
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
policeCoding: String
|
|
|
|
policeCoding: String
|
|
|
@ -550,8 +550,7 @@ export default gql`
|
|
|
|
type Engagement {
|
|
|
|
type Engagement {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
engagementType: EngagementType!
|
|
|
|
engagementType: EngagementType!
|
|
|
|
from: Date!
|
|
|
|
dateRange: DateRange!
|
|
|
|
to: Date
|
|
|
|
|
|
|
|
participant: Participant!
|
|
|
|
participant: Participant!
|
|
|
|
cargoBike: CargoBike!
|
|
|
|
cargoBike: CargoBike!
|
|
|
|
isLocked: Boolean!
|
|
|
|
isLocked: Boolean!
|
|
|
@ -563,18 +562,14 @@ export default gql`
|
|
|
|
|
|
|
|
|
|
|
|
input EngagementCreateInput {
|
|
|
|
input EngagementCreateInput {
|
|
|
|
engagementTypeId: ID!
|
|
|
|
engagementTypeId: ID!
|
|
|
|
"will use CURRENT_DATE if not set"
|
|
|
|
dateRange: DateRangeInput
|
|
|
|
from: Date
|
|
|
|
|
|
|
|
"will use infinit if not set"
|
|
|
|
|
|
|
|
to: Date
|
|
|
|
|
|
|
|
participantId: ID!
|
|
|
|
participantId: ID!
|
|
|
|
cargoBikeId: ID!
|
|
|
|
cargoBikeId: ID!
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input EngagementUpdateInput {
|
|
|
|
input EngagementUpdateInput {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
engagementTypeId: ID
|
|
|
|
engagementTypeId: ID
|
|
|
|
from: Date
|
|
|
|
dateRange: DateRangeInput
|
|
|
|
to: Date
|
|
|
|
|
|
|
|
participantId: ID
|
|
|
|
participantId: ID
|
|
|
|
cargoBikeId: ID
|
|
|
|
cargoBikeId: ID
|
|
|
|
keepLock: Boolean
|
|
|
|
keepLock: Boolean
|
|
|
|