|
|
|
@ -31,7 +31,7 @@ type CargoBike {
|
|
|
|
|
Does not refer to an extra table in the database.
|
|
|
|
|
"""
|
|
|
|
|
dimensionsAndLoad: DimensionsAndLoad!
|
|
|
|
|
bikeEvents: [BikeEvent]
|
|
|
|
|
bikeEvents(offset: Int, limit: Int): [BikeEvent]
|
|
|
|
|
equipment(offset: Int!, limit: Int!): [Equipment]
|
|
|
|
|
"Refers to equipment that is not unique. See kommentierte info tabelle -> Fragen -> Frage 2"
|
|
|
|
|
equipmentType: [EquipmentType]
|
|
|
|
@ -184,6 +184,116 @@ input InsuranceDataUpdateInput {
|
|
|
|
|
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{
|
|
|
|
|
KL
|
|
|
|
|
LI
|
|
|
|
@ -195,18 +305,6 @@ enum Group{
|
|
|
|
|
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 {
|
|
|
|
|
id: ID!
|
|
|
|
|
start: Date!
|
|
|
|
@ -225,6 +323,10 @@ type Participant {
|
|
|
|
|
"""
|
|
|
|
|
distributedActiveBikeParte: Boolean!
|
|
|
|
|
engagement: [Engagement]
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input ParticipantCreateInput {
|
|
|
|
@ -250,6 +352,10 @@ type Workshop {
|
|
|
|
|
workshopType: WorkshopType!
|
|
|
|
|
trainer1: Participant!
|
|
|
|
|
trainer2: Participant
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input WorkshopCreateInput {
|
|
|
|
@ -264,6 +370,10 @@ input WorkshopCreateInput {
|
|
|
|
|
type WorkshopType {
|
|
|
|
|
id: ID!
|
|
|
|
|
name: String!
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input WorkshopTypeCreateInput {
|
|
|
|
@ -274,6 +384,10 @@ type EngagementType {
|
|
|
|
|
id: ID!
|
|
|
|
|
name: String!
|
|
|
|
|
description: String!
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input EngagementTypeCreateInput {
|
|
|
|
@ -296,6 +410,10 @@ type Engagement {
|
|
|
|
|
roleMentor: Boolean!
|
|
|
|
|
roleAmbulance: Boolean!
|
|
|
|
|
roleBringer: Boolean!
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input EngagementCreateInput {
|
|
|
|
@ -341,16 +459,6 @@ enum OrganisationArea {
|
|
|
|
|
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.
|
|
|
|
|
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 {
|
|
|
|
|
id: ID!
|
|
|
|
|
serialNo: String!
|
|
|
|
|
"""
|
|
|
|
|
TODO unclear what this means. tomy fragen
|
|
|
|
|
"""
|
|
|
|
|
investable: Boolean
|
|
|
|
|
title: String!
|
|
|
|
|
description: String
|
|
|
|
|
cargoBike: CargoBike
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input EquipmentCreateInput {
|
|
|
|
|
serialNo: String!
|
|
|
|
|
"""
|
|
|
|
|
TODO unclear what this means. tomy fragen
|
|
|
|
|
"""
|
|
|
|
|
title: String!
|
|
|
|
|
description: String
|
|
|
|
|
investable: Boolean
|
|
|
|
|
cargoBikeId: ID
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input EquipmentUpdateInput {
|
|
|
|
|
id: ID!
|
|
|
|
|
serialNo: String
|
|
|
|
|
"""
|
|
|
|
|
TODO unclear what this means. tomy fragen
|
|
|
|
|
"""
|
|
|
|
|
title: String
|
|
|
|
|
description: String
|
|
|
|
|
investable: Boolean
|
|
|
|
|
cargoBikeId: ID
|
|
|
|
|
"will keep Bike locked if set to true, default = false"
|
|
|
|
|
keepLock: Boolean
|
|
|
|
@ -396,6 +496,10 @@ type EquipmentType {
|
|
|
|
|
id: ID!
|
|
|
|
|
name: String!
|
|
|
|
|
description: String!
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input EquipmentTypeCreateInput {
|
|
|
|
@ -423,6 +527,10 @@ type BikeEvent {
|
|
|
|
|
"""
|
|
|
|
|
documents: [String]!
|
|
|
|
|
remark: String
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input BikeEventCreateInput {
|
|
|
|
@ -442,6 +550,8 @@ input BikeEventCreateInput {
|
|
|
|
|
type BikeEventType {
|
|
|
|
|
id: ID!
|
|
|
|
|
name: String!
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input BikeEventTypeInput {
|
|
|
|
@ -449,116 +559,6 @@ input BikeEventTypeInput {
|
|
|
|
|
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"
|
|
|
|
|
type Provider {
|
|
|
|
|
id: ID!
|
|
|
|
@ -566,6 +566,10 @@ type Provider {
|
|
|
|
|
privatePerson: ContactInformation
|
|
|
|
|
organisation: Organisation
|
|
|
|
|
cargoBikes: [CargoBike]
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
"(dt. Anbieter)"
|
|
|
|
@ -585,6 +589,10 @@ type Person {
|
|
|
|
|
name: String!
|
|
|
|
|
firstName: String!
|
|
|
|
|
contactInformation: [ContactInformation]
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input PersonCreateInput {
|
|
|
|
@ -600,6 +608,10 @@ type ContactInformation {
|
|
|
|
|
email: String
|
|
|
|
|
email2: String
|
|
|
|
|
note: String
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input ContactInformationCreateInput {
|
|
|
|
@ -626,6 +638,10 @@ type ContactPerson {
|
|
|
|
|
id: ID!
|
|
|
|
|
intern: Boolean!
|
|
|
|
|
contactInformation: ContactInformation!
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input ContactPersonCreateInput {
|
|
|
|
@ -652,6 +668,10 @@ type Organisation {
|
|
|
|
|
provider: Provider
|
|
|
|
|
contactInformation: ContactInformation
|
|
|
|
|
otherData: String
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input OrganisationCreateInput {
|
|
|
|
@ -680,6 +700,10 @@ type LendingStation {
|
|
|
|
|
cargoBikes: [CargoBike]
|
|
|
|
|
"Total amount of cargoBikes currently assigned to the lending station"
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
Starting with Monday from, Monday to, Tuesday from, ..., Sunday to
|
|
|
|
|
"""
|
|
|
|
|
times: [String]
|
|
|
|
|
loanTimes: [String]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
"(dt. Zeitscheibe) When was a bike where"
|
|
|
|
@ -742,6 +766,10 @@ type TimeFrame {
|
|
|
|
|
note: String
|
|
|
|
|
lendingStation: LendingStation!
|
|
|
|
|
cargoBike: CargoBike!
|
|
|
|
|
isLocked: Boolean!
|
|
|
|
|
"null if not locked by other user"
|
|
|
|
|
lockedBy: ID
|
|
|
|
|
lockedUntil: Date
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input TimeFrameCreateInput {
|
|
|
|
@ -828,7 +856,7 @@ type Mutation {
|
|
|
|
|
"lock equipment returns true if bike is not locked or if it doesnt exist"
|
|
|
|
|
lockEquipmentById(id: ID!): Equipment!
|
|
|
|
|
"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"
|
|
|
|
|
updateEquipment(equipment: EquipmentUpdateInput!): Equipment!
|
|
|
|
|
createEquipmentType(equipmentType: EquipmentTypeCreateInput!): EquipmentType!
|
|
|
|
@ -837,15 +865,20 @@ type Mutation {
|
|
|
|
|
creates new lendingStation and returns lendingStation with new ID
|
|
|
|
|
"""
|
|
|
|
|
createLendingStation(lendingStation: LendingStationCreateInput): LendingStation!
|
|
|
|
|
lockLendingStationById(id: ID!): LendingStation
|
|
|
|
|
unlockLendingStationById(id: ID!): Boolean!
|
|
|
|
|
"updates lendingStation of given ID with supplied fields and returns updated lendingStation"
|
|
|
|
|
updateLendingStation(lendingStation: LendingStationUpdateInput!): LendingStation!
|
|
|
|
|
createTimeFrame(timeFrame: TimeFrameCreateInput!): TimeFrame!
|
|
|
|
|
lockTimeFrame(id: ID!): TimeFrame
|
|
|
|
|
"""
|
|
|
|
|
BIKEEVENT
|
|
|
|
|
"""
|
|
|
|
|
createBikeEventType(name: String!): BikeEventType!
|
|
|
|
|
"creates new BikeEvent"
|
|
|
|
|
createBikeEvent(bikeEvent: BikeEventCreateInput!): BikeEvent!
|
|
|
|
|
lockBikeEventById(id: ID!): BikeEvent
|
|
|
|
|
unlockBikeEventById(id: ID!): Boolean!
|
|
|
|
|
"create participant"
|
|
|
|
|
createParticipant(participant: ParticipantCreateInput!): Participant!
|
|
|
|
|
createWorkshopType(workshopType: WorkshopTypeCreateInput!): WorkshopType!
|
|
|
|
|