|
|
@ -31,7 +31,7 @@ type CargoBike {
|
|
|
|
Does not refer to an extra table in the database.
|
|
|
|
Does not refer to an extra table in the database.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
dimensionsAndLoad: DimensionsAndLoad!
|
|
|
|
dimensionsAndLoad: DimensionsAndLoad!
|
|
|
|
bikeEvents: [BikeEvent]
|
|
|
|
bikeEvents(offset: Int, limit: Int): [BikeEvent]
|
|
|
|
equipment(offset: Int!, limit: Int!): [Equipment]
|
|
|
|
equipment(offset: Int!, limit: Int!): [Equipment]
|
|
|
|
"Refers to equipment that is not unique. See kommentierte info tabelle -> Fragen -> Frage 2"
|
|
|
|
"Refers to equipment that is not unique. See kommentierte info tabelle -> Fragen -> Frage 2"
|
|
|
|
equipmentType: [EquipmentType]
|
|
|
|
equipmentType: [EquipmentType]
|
|
|
@ -184,6 +184,116 @@ input InsuranceDataUpdateInput {
|
|
|
|
notes: String
|
|
|
|
notes: String
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"How are the dimensions and how much weight can handle a bike. This data is merged in the CargoBike table and the BikeModel table."
|
|
|
|
|
|
|
|
type DimensionsAndLoad {
|
|
|
|
|
|
|
|
hasCoverBox: Boolean!
|
|
|
|
|
|
|
|
lockable: Boolean!
|
|
|
|
|
|
|
|
boxLength: Float!
|
|
|
|
|
|
|
|
boxWidth: Float!
|
|
|
|
|
|
|
|
boxHeight: Float!
|
|
|
|
|
|
|
|
maxWeightBox: Float!
|
|
|
|
|
|
|
|
maxWeightLuggageRack: Float!
|
|
|
|
|
|
|
|
maxWeightTotal: Float!
|
|
|
|
|
|
|
|
bikeLength: Float!
|
|
|
|
|
|
|
|
bikeWidth: Float
|
|
|
|
|
|
|
|
bikeHeight: Float
|
|
|
|
|
|
|
|
bikeWeight: Float
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input DimensionsAndLoadCreateInput {
|
|
|
|
|
|
|
|
hasCoverBox: Boolean!
|
|
|
|
|
|
|
|
lockable: Boolean!
|
|
|
|
|
|
|
|
boxLength: Float!
|
|
|
|
|
|
|
|
boxWidth: Float!
|
|
|
|
|
|
|
|
boxHeight: Float!
|
|
|
|
|
|
|
|
maxWeightBox: Float!
|
|
|
|
|
|
|
|
maxWeightLuggageRack: Float!
|
|
|
|
|
|
|
|
maxWeightTotal: Float!
|
|
|
|
|
|
|
|
bikeLength: Float!
|
|
|
|
|
|
|
|
bikeWidth: Float
|
|
|
|
|
|
|
|
bikeHeight: Float
|
|
|
|
|
|
|
|
bikeWeight: Float
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input DimensionsAndLoadUpdateInput {
|
|
|
|
|
|
|
|
hasCoverBox: Boolean
|
|
|
|
|
|
|
|
lockable: Boolean
|
|
|
|
|
|
|
|
boxLength: Float
|
|
|
|
|
|
|
|
boxWidth: Float
|
|
|
|
|
|
|
|
boxHeight: Float
|
|
|
|
|
|
|
|
maxWeightBox: Float
|
|
|
|
|
|
|
|
maxWeightLuggageRack: Float
|
|
|
|
|
|
|
|
maxWeightTotal: Float
|
|
|
|
|
|
|
|
bikeLength: Float
|
|
|
|
|
|
|
|
bikeWidth: Float
|
|
|
|
|
|
|
|
bikeHeight: Float
|
|
|
|
|
|
|
|
bikeWeight: Float
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
Some Technical Info about the bike.
|
|
|
|
|
|
|
|
This should be 1-1 Relation with the CargoBike.
|
|
|
|
|
|
|
|
So no id needed for mutation. One Mutation for the CargoBike will be enough.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
type TechnicalEquipment {
|
|
|
|
|
|
|
|
bicycleShift: String!
|
|
|
|
|
|
|
|
isEBike: Boolean!
|
|
|
|
|
|
|
|
hasLightSystem: Boolean!
|
|
|
|
|
|
|
|
specialFeatures: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input TechnicalEquipmentCreateInput {
|
|
|
|
|
|
|
|
bicycleShift: String!
|
|
|
|
|
|
|
|
isEBike: Boolean!
|
|
|
|
|
|
|
|
hasLightSystem: Boolean!
|
|
|
|
|
|
|
|
specialFeatures: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input TechnicalEquipmentUpdateInput {
|
|
|
|
|
|
|
|
bicycleShift: String
|
|
|
|
|
|
|
|
isEBike: Boolean
|
|
|
|
|
|
|
|
hasLightSystem: Boolean
|
|
|
|
|
|
|
|
specialFeatures: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
The Security Info about the bike.
|
|
|
|
|
|
|
|
his should be 1-1 Relation with the CargoBike.
|
|
|
|
|
|
|
|
So no id needed for mutation. One Mutation for the CargoBike will be enough.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
type Security {
|
|
|
|
|
|
|
|
frameNumber: String!
|
|
|
|
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
|
|
|
|
policeCoding: String
|
|
|
|
|
|
|
|
adfcCoding: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input SecurityCreateInput {
|
|
|
|
|
|
|
|
frameNumber: String!
|
|
|
|
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
|
|
|
|
policeCoding: String
|
|
|
|
|
|
|
|
adfcCoding: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input SecurityUpdateInput {
|
|
|
|
|
|
|
|
frameNumber: String
|
|
|
|
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
|
|
|
|
policeCoding: String
|
|
|
|
|
|
|
|
adfcCoding: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum StickerBikeNameState {
|
|
|
|
|
|
|
|
OK
|
|
|
|
|
|
|
|
IMPROVE
|
|
|
|
|
|
|
|
PRODUCED
|
|
|
|
|
|
|
|
NONEED
|
|
|
|
|
|
|
|
MISSING
|
|
|
|
|
|
|
|
UNKNOWN
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
enum Group{
|
|
|
|
enum Group{
|
|
|
|
KL
|
|
|
|
KL
|
|
|
|
LI
|
|
|
|
LI
|
|
|
@ -195,18 +305,6 @@ enum Group{
|
|
|
|
TK
|
|
|
|
TK
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
The BikeModel can be used for instantiate new bikes with a given model.
|
|
|
|
|
|
|
|
It should only be used to fill in default values.
|
|
|
|
|
|
|
|
Even bikes of the same model can have different properties.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
type BikeModel {
|
|
|
|
|
|
|
|
id: ID!
|
|
|
|
|
|
|
|
name: String!
|
|
|
|
|
|
|
|
dimensionsAndLoad: DimensionsAndLoad!
|
|
|
|
|
|
|
|
technicalEquipment: TechnicalEquipment!
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type Participant {
|
|
|
|
type Participant {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
start: Date!
|
|
|
|
start: Date!
|
|
|
@ -225,6 +323,10 @@ type Participant {
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
distributedActiveBikeParte: Boolean!
|
|
|
|
distributedActiveBikeParte: Boolean!
|
|
|
|
engagement: [Engagement]
|
|
|
|
engagement: [Engagement]
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input ParticipantCreateInput {
|
|
|
|
input ParticipantCreateInput {
|
|
|
@ -250,6 +352,10 @@ type Workshop {
|
|
|
|
workshopType: WorkshopType!
|
|
|
|
workshopType: WorkshopType!
|
|
|
|
trainer1: Participant!
|
|
|
|
trainer1: Participant!
|
|
|
|
trainer2: Participant
|
|
|
|
trainer2: Participant
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input WorkshopCreateInput {
|
|
|
|
input WorkshopCreateInput {
|
|
|
@ -264,6 +370,10 @@ input WorkshopCreateInput {
|
|
|
|
type WorkshopType {
|
|
|
|
type WorkshopType {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
name: String!
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input WorkshopTypeCreateInput {
|
|
|
|
input WorkshopTypeCreateInput {
|
|
|
@ -274,6 +384,10 @@ type EngagementType {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
name: String!
|
|
|
|
description: String!
|
|
|
|
description: String!
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input EngagementTypeCreateInput {
|
|
|
|
input EngagementTypeCreateInput {
|
|
|
@ -296,6 +410,10 @@ type Engagement {
|
|
|
|
roleMentor: Boolean!
|
|
|
|
roleMentor: Boolean!
|
|
|
|
roleAmbulance: Boolean!
|
|
|
|
roleAmbulance: Boolean!
|
|
|
|
roleBringer: Boolean!
|
|
|
|
roleBringer: Boolean!
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input EngagementCreateInput {
|
|
|
|
input EngagementCreateInput {
|
|
|
@ -341,16 +459,6 @@ enum OrganisationArea {
|
|
|
|
ZB
|
|
|
|
ZB
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ChainSwap {
|
|
|
|
|
|
|
|
id: ID!
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
TODO why is this a string"
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
mechanic: String
|
|
|
|
|
|
|
|
timeOfSwap: Date
|
|
|
|
|
|
|
|
keyNumberOldAXAChain: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
This type represents a piece of equipment that represents a real physical object.
|
|
|
|
This type represents a piece of equipment that represents a real physical object.
|
|
|
|
The object must be unique. So it is possible to tell it apart from similar objects by a serial number.
|
|
|
|
The object must be unique. So it is possible to tell it apart from similar objects by a serial number.
|
|
|
@ -358,35 +466,27 @@ The object must be unique. So it is possible to tell it apart from similar objec
|
|
|
|
type Equipment {
|
|
|
|
type Equipment {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
serialNo: String!
|
|
|
|
serialNo: String!
|
|
|
|
"""
|
|
|
|
|
|
|
|
TODO unclear what this means. tomy fragen
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
investable: Boolean
|
|
|
|
|
|
|
|
title: String!
|
|
|
|
title: String!
|
|
|
|
description: String
|
|
|
|
description: String
|
|
|
|
cargoBike: CargoBike
|
|
|
|
cargoBike: CargoBike
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input EquipmentCreateInput {
|
|
|
|
input EquipmentCreateInput {
|
|
|
|
serialNo: String!
|
|
|
|
serialNo: String!
|
|
|
|
"""
|
|
|
|
|
|
|
|
TODO unclear what this means. tomy fragen
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
title: String!
|
|
|
|
title: String!
|
|
|
|
description: String
|
|
|
|
description: String
|
|
|
|
investable: Boolean
|
|
|
|
|
|
|
|
cargoBikeId: ID
|
|
|
|
cargoBikeId: ID
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input EquipmentUpdateInput {
|
|
|
|
input EquipmentUpdateInput {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
serialNo: String
|
|
|
|
serialNo: String
|
|
|
|
"""
|
|
|
|
|
|
|
|
TODO unclear what this means. tomy fragen
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
title: String
|
|
|
|
title: String
|
|
|
|
description: String
|
|
|
|
description: String
|
|
|
|
investable: Boolean
|
|
|
|
|
|
|
|
cargoBikeId: ID
|
|
|
|
cargoBikeId: ID
|
|
|
|
"will keep Bike locked if set to true, default = false"
|
|
|
|
"will keep Bike locked if set to true, default = false"
|
|
|
|
keepLock: Boolean
|
|
|
|
keepLock: Boolean
|
|
|
@ -396,6 +496,10 @@ type EquipmentType {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
name: String!
|
|
|
|
description: String!
|
|
|
|
description: String!
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input EquipmentTypeCreateInput {
|
|
|
|
input EquipmentTypeCreateInput {
|
|
|
@ -423,6 +527,10 @@ type BikeEvent {
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
documents: [String]!
|
|
|
|
documents: [String]!
|
|
|
|
remark: String
|
|
|
|
remark: String
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input BikeEventCreateInput {
|
|
|
|
input BikeEventCreateInput {
|
|
|
@ -442,6 +550,8 @@ input BikeEventCreateInput {
|
|
|
|
type BikeEventType {
|
|
|
|
type BikeEventType {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
name: String!
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input BikeEventTypeInput {
|
|
|
|
input BikeEventTypeInput {
|
|
|
@ -449,116 +559,6 @@ input BikeEventTypeInput {
|
|
|
|
name: String
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
"How are the dimensions and how much weight can handle a bike. This data is merged in the CargoBike table and the BikeModel table."
|
|
|
|
|
|
|
|
type DimensionsAndLoad {
|
|
|
|
|
|
|
|
hasCoverBox: Boolean!
|
|
|
|
|
|
|
|
lockable: Boolean!
|
|
|
|
|
|
|
|
boxLength: Float!
|
|
|
|
|
|
|
|
boxWidth: Float!
|
|
|
|
|
|
|
|
boxHeight: Float!
|
|
|
|
|
|
|
|
maxWeightBox: Float!
|
|
|
|
|
|
|
|
maxWeightLuggageRack: Float!
|
|
|
|
|
|
|
|
maxWeightTotal: Float!
|
|
|
|
|
|
|
|
bikeLength: Float!
|
|
|
|
|
|
|
|
bikeWidth: Float
|
|
|
|
|
|
|
|
bikeHeight: Float
|
|
|
|
|
|
|
|
bikeWeight: Float
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input DimensionsAndLoadCreateInput {
|
|
|
|
|
|
|
|
hasCoverBox: Boolean!
|
|
|
|
|
|
|
|
lockable: Boolean!
|
|
|
|
|
|
|
|
boxLength: Float!
|
|
|
|
|
|
|
|
boxWidth: Float!
|
|
|
|
|
|
|
|
boxHeight: Float!
|
|
|
|
|
|
|
|
maxWeightBox: Float!
|
|
|
|
|
|
|
|
maxWeightLuggageRack: Float!
|
|
|
|
|
|
|
|
maxWeightTotal: Float!
|
|
|
|
|
|
|
|
bikeLength: Float!
|
|
|
|
|
|
|
|
bikeWidth: Float
|
|
|
|
|
|
|
|
bikeHeight: Float
|
|
|
|
|
|
|
|
bikeWeight: Float
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input DimensionsAndLoadUpdateInput {
|
|
|
|
|
|
|
|
hasCoverBox: Boolean
|
|
|
|
|
|
|
|
lockable: Boolean
|
|
|
|
|
|
|
|
boxLength: Float
|
|
|
|
|
|
|
|
boxWidth: Float
|
|
|
|
|
|
|
|
boxHeight: Float
|
|
|
|
|
|
|
|
maxWeightBox: Float
|
|
|
|
|
|
|
|
maxWeightLuggageRack: Float
|
|
|
|
|
|
|
|
maxWeightTotal: Float
|
|
|
|
|
|
|
|
bikeLength: Float
|
|
|
|
|
|
|
|
bikeWidth: Float
|
|
|
|
|
|
|
|
bikeHeight: Float
|
|
|
|
|
|
|
|
bikeWeight: Float
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
Some Technical Info about the bike.
|
|
|
|
|
|
|
|
This should be 1-1 Relation with the CargoBike.
|
|
|
|
|
|
|
|
So no id needed for mutation. One Mutation for the CargoBike will be enough.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
type TechnicalEquipment {
|
|
|
|
|
|
|
|
bicycleShift: String!
|
|
|
|
|
|
|
|
isEBike: Boolean!
|
|
|
|
|
|
|
|
hasLightSystem: Boolean!
|
|
|
|
|
|
|
|
specialFeatures: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input TechnicalEquipmentCreateInput {
|
|
|
|
|
|
|
|
bicycleShift: String!
|
|
|
|
|
|
|
|
isEBike: Boolean!
|
|
|
|
|
|
|
|
hasLightSystem: Boolean!
|
|
|
|
|
|
|
|
specialFeatures: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input TechnicalEquipmentUpdateInput {
|
|
|
|
|
|
|
|
bicycleShift: String
|
|
|
|
|
|
|
|
isEBike: Boolean
|
|
|
|
|
|
|
|
hasLightSystem: Boolean
|
|
|
|
|
|
|
|
specialFeatures: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
The Security Info about the bike.
|
|
|
|
|
|
|
|
his should be 1-1 Relation with the CargoBike.
|
|
|
|
|
|
|
|
So no id needed for mutation. One Mutation for the CargoBike will be enough.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
type Security {
|
|
|
|
|
|
|
|
frameNumber: String!
|
|
|
|
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
|
|
|
|
policeCoding: String
|
|
|
|
|
|
|
|
adfcCoding: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input SecurityCreateInput {
|
|
|
|
|
|
|
|
frameNumber: String!
|
|
|
|
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
|
|
|
|
policeCoding: String
|
|
|
|
|
|
|
|
adfcCoding: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input SecurityUpdateInput {
|
|
|
|
|
|
|
|
frameNumber: String
|
|
|
|
|
|
|
|
keyNumberFrameLock: String
|
|
|
|
|
|
|
|
keyNumberAXAChain: String
|
|
|
|
|
|
|
|
policeCoding: String
|
|
|
|
|
|
|
|
adfcCoding: String
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum StickerBikeNameState {
|
|
|
|
|
|
|
|
OK
|
|
|
|
|
|
|
|
IMPROVE
|
|
|
|
|
|
|
|
PRODUCED
|
|
|
|
|
|
|
|
NONEED
|
|
|
|
|
|
|
|
MISSING
|
|
|
|
|
|
|
|
UNKNOWN
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"(dt. Anbieter) bezieht sich auf die Beziehung einer Person oder Organisation zum Lastenrad"
|
|
|
|
"(dt. Anbieter) bezieht sich auf die Beziehung einer Person oder Organisation zum Lastenrad"
|
|
|
|
type Provider {
|
|
|
|
type Provider {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
@ -566,6 +566,10 @@ type Provider {
|
|
|
|
privatePerson: ContactInformation
|
|
|
|
privatePerson: ContactInformation
|
|
|
|
organisation: Organisation
|
|
|
|
organisation: Organisation
|
|
|
|
cargoBikes: [CargoBike]
|
|
|
|
cargoBikes: [CargoBike]
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
"(dt. Anbieter)"
|
|
|
|
"(dt. Anbieter)"
|
|
|
@ -585,6 +589,10 @@ type Person {
|
|
|
|
name: String!
|
|
|
|
name: String!
|
|
|
|
firstName: String!
|
|
|
|
firstName: String!
|
|
|
|
contactInformation: [ContactInformation]
|
|
|
|
contactInformation: [ContactInformation]
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input PersonCreateInput {
|
|
|
|
input PersonCreateInput {
|
|
|
@ -600,6 +608,10 @@ type ContactInformation {
|
|
|
|
email: String
|
|
|
|
email: String
|
|
|
|
email2: String
|
|
|
|
email2: String
|
|
|
|
note: String
|
|
|
|
note: String
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input ContactInformationCreateInput {
|
|
|
|
input ContactInformationCreateInput {
|
|
|
@ -626,6 +638,10 @@ type ContactPerson {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
intern: Boolean!
|
|
|
|
intern: Boolean!
|
|
|
|
contactInformation: ContactInformation!
|
|
|
|
contactInformation: ContactInformation!
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input ContactPersonCreateInput {
|
|
|
|
input ContactPersonCreateInput {
|
|
|
@ -652,6 +668,10 @@ type Organisation {
|
|
|
|
provider: Provider
|
|
|
|
provider: Provider
|
|
|
|
contactInformation: ContactInformation
|
|
|
|
contactInformation: ContactInformation
|
|
|
|
otherData: String
|
|
|
|
otherData: String
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input OrganisationCreateInput {
|
|
|
|
input OrganisationCreateInput {
|
|
|
@ -680,6 +700,10 @@ type LendingStation {
|
|
|
|
cargoBikes: [CargoBike]
|
|
|
|
cargoBikes: [CargoBike]
|
|
|
|
"Total amount of cargoBikes currently assigned to the lending station"
|
|
|
|
"Total amount of cargoBikes currently assigned to the lending station"
|
|
|
|
numCargoBikes: Int!
|
|
|
|
numCargoBikes: Int!
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
"""
|
|
|
@ -715,7 +739,7 @@ type LoanPeriod {
|
|
|
|
Loan times from and until for each day of the week.
|
|
|
|
Loan times from and until for each day of the week.
|
|
|
|
Starting with Monday from, Monday to, Tuesday from, ..., Sunday to
|
|
|
|
Starting with Monday from, Monday to, Tuesday from, ..., Sunday to
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
times: [String]
|
|
|
|
loanTimes: [String]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
"""
|
|
|
@ -729,7 +753,7 @@ input LoanPeriodInput {
|
|
|
|
Loan times from and until for each day of the week.
|
|
|
|
Loan times from and until for each day of the week.
|
|
|
|
Starting with Monday from, Monday to, Tuesday from, ..., Sunday to
|
|
|
|
Starting with Monday from, Monday to, Tuesday from, ..., Sunday to
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
times: [String]
|
|
|
|
loanTimes: [String]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
"(dt. Zeitscheibe) When was a bike where"
|
|
|
|
"(dt. Zeitscheibe) When was a bike where"
|
|
|
@ -742,6 +766,10 @@ type TimeFrame {
|
|
|
|
note: String
|
|
|
|
note: String
|
|
|
|
lendingStation: LendingStation!
|
|
|
|
lendingStation: LendingStation!
|
|
|
|
cargoBike: CargoBike!
|
|
|
|
cargoBike: CargoBike!
|
|
|
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
|
|
|
lockedUntil: Date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
input TimeFrameCreateInput {
|
|
|
|
input TimeFrameCreateInput {
|
|
|
@ -828,7 +856,7 @@ type Mutation {
|
|
|
|
"lock equipment returns true if bike is not locked or if it doesnt exist"
|
|
|
|
"lock equipment returns true if bike is not locked or if it doesnt exist"
|
|
|
|
lockEquipmentById(id: ID!): Equipment!
|
|
|
|
lockEquipmentById(id: ID!): Equipment!
|
|
|
|
"unlock Equipment, returns true if Bike does not exist"
|
|
|
|
"unlock Equipment, returns true if Bike does not exist"
|
|
|
|
unlockEquipment(id: ID!): Boolean!
|
|
|
|
unlockEquipmentById(id: ID!): Boolean!
|
|
|
|
"update Equipment, returns updated equipment. CargoBike will be null, if cargoBikeId is not set. Pass null for cargoBikeIs to delete the relation"
|
|
|
|
"update Equipment, returns updated equipment. CargoBike will be null, if cargoBikeId is not set. Pass null for cargoBikeIs to delete the relation"
|
|
|
|
updateEquipment(equipment: EquipmentUpdateInput!): Equipment!
|
|
|
|
updateEquipment(equipment: EquipmentUpdateInput!): Equipment!
|
|
|
|
createEquipmentType(equipmentType: EquipmentTypeCreateInput!): EquipmentType!
|
|
|
|
createEquipmentType(equipmentType: EquipmentTypeCreateInput!): EquipmentType!
|
|
|
@ -837,15 +865,20 @@ type Mutation {
|
|
|
|
creates new lendingStation and returns lendingStation with new ID
|
|
|
|
creates new lendingStation and returns lendingStation with new ID
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
createLendingStation(lendingStation: LendingStationCreateInput): LendingStation!
|
|
|
|
createLendingStation(lendingStation: LendingStationCreateInput): LendingStation!
|
|
|
|
|
|
|
|
lockLendingStationById(id: ID!): LendingStation
|
|
|
|
|
|
|
|
unlockLendingStationById(id: ID!): Boolean!
|
|
|
|
"updates lendingStation of given ID with supplied fields and returns updated lendingStation"
|
|
|
|
"updates lendingStation of given ID with supplied fields and returns updated lendingStation"
|
|
|
|
updateLendingStation(lendingStation: LendingStationUpdateInput!): LendingStation!
|
|
|
|
updateLendingStation(lendingStation: LendingStationUpdateInput!): LendingStation!
|
|
|
|
createTimeFrame(timeFrame: TimeFrameCreateInput!): TimeFrame!
|
|
|
|
createTimeFrame(timeFrame: TimeFrameCreateInput!): TimeFrame!
|
|
|
|
|
|
|
|
lockTimeFrame(id: ID!): TimeFrame
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
BIKEEVENT
|
|
|
|
BIKEEVENT
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
createBikeEventType(name: String!): BikeEventType!
|
|
|
|
createBikeEventType(name: String!): BikeEventType!
|
|
|
|
"creates new BikeEvent"
|
|
|
|
"creates new BikeEvent"
|
|
|
|
createBikeEvent(bikeEvent: BikeEventCreateInput!): BikeEvent!
|
|
|
|
createBikeEvent(bikeEvent: BikeEventCreateInput!): BikeEvent!
|
|
|
|
|
|
|
|
lockBikeEventById(id: ID!): BikeEvent
|
|
|
|
|
|
|
|
unlockBikeEventById(id: ID!): Boolean!
|
|
|
|
"create participant"
|
|
|
|
"create participant"
|
|
|
|
createParticipant(participant: ParticipantCreateInput!): Participant!
|
|
|
|
createParticipant(participant: ParticipantCreateInput!): Participant!
|
|
|
|
createWorkshopType(workshopType: WorkshopTypeCreateInput!): WorkshopType!
|
|
|
|
createWorkshopType(workshopType: WorkshopTypeCreateInput!): WorkshopType!
|
|
|
|