@ -33,7 +33,6 @@ 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."
type CargoBike {
id : ID !
@ -58,8 +57,10 @@ type CargoBike {
Does not refer to an extra table in the database .
"" "
dimensionsAndLoad : DimensionsAndLoad !
"If offset or limit is not provided, both values are ignored"
bikeEvents ( offset : Int , limit : Int ) : [ BikeEvent ]
equipment ( offset : Int ! , limit : Int ! ) : [ Equipment ]
"If offset or limit is not provided, both values are ignored"
equipment ( offset : Int , limit : Int ) : [ Equipment ]
"Refers to equipment that is not unique. See kommentierte info tabelle -> Fragen -> Frage 2"
equipmentType : [ EquipmentType ]
"Sticker State"
@ -72,7 +73,8 @@ type CargoBike {
lendingStation : LendingStation
taxes : Taxes
currentEngagements : [ Engagement ]
engagement ( offset : Int ! , limit : Int ! ) : [ Engagement ]
"If offset or limit is not provided, both values are ignored"
engagement ( offset : Int , limit : Int ) : [ Engagement ]
timeFrames : [ TimeFrame ]
isLocked : Boolean !
isLockedByMe : Boolean !
@ -357,6 +359,9 @@ enum Group{
TK
}
"" "
A participant in the organization
"" "
type Participant {
id : ID !
start : Date !
@ -417,6 +422,9 @@ input ParticipantUpdateInput {
keepLock : Boolean
}
"" "
A workshop event
"" "
type Workshop {
id : ID !
title : String !
@ -582,6 +590,10 @@ input EquipmentUpdateInput {
keepLock : Boolean
}
"" "
A type of equipment that is not being tracked but can be assigned
to any bike .
"" "
type EquipmentType {
id : ID !
name : String !
@ -617,7 +629,7 @@ type BikeEvent {
"" "
Path to documents
"" "
documents : [ String ] !
documents : [ String ! ] !
remark : String
isLocked : Boolean !
isLockedByMe : Boolean !
@ -661,6 +673,8 @@ type BikeEventType {
name : String !
isLockedByMe : Boolean !
isLocked : Boolean !
"null if not locked by other user"
lockedBy : ID
lockedUntil : Date
}
@ -676,7 +690,7 @@ type Provider {
formName : String
privatePerson : ContactInformation
organisation : Organisation
cargoBikes : [ CargoBike ]
cargoBikes : [ CargoBike ! ]
isLocked : Boolean !
isLockedByMe : Boolean !
"null if not locked by other user"
@ -689,7 +703,7 @@ input ProviderCreateInput {
formName : String !
privatePersonId : ID
organisationId : ID
cargoBikeIds : [ ID ]
cargoBikeIds : [ ID ! ]
}
input ProviderUpdateInput {
@ -710,7 +724,7 @@ type Person {
id : ID !
name : String !
firstName : String !
contactInformation : [ ContactInformation ]
contactInformation : [ ContactInformation ! ]
isLocked : Boolean !
isLockedByMe : Boolean !
"null if not locked by other user"
@ -770,7 +784,7 @@ type Organisation {
name : String !
address : Address
"(dt. Ausleihstation)"
lendingStations : [ LendingStation ]
lendingStations : [ LendingStation ! ]
"registration number of association"
associationNo : String
"If Club, at what court registered"
@ -816,9 +830,9 @@ type LendingStation {
contactInformationIntern : ContactInformation
contactInformationExtern : ContactInformation
address : Address !
timeFrames : [ TimeFrame ] !
timeFrames : [ TimeFrame ! ] !
loanPeriod : LoanPeriod
cargoBikes : [ CargoBike ]
cargoBikes : [ CargoBike ! ]
"Total amount of cargoBikes currently assigned to the lending station"
numCargoBikes : Int !
organisation : Organisation
@ -875,12 +889,12 @@ type LoanPeriod {
input LoanPeriodInput {
generalRemark : String
"notes for each day of the week, starting on Monday"
notes : [ String ]
notes : [ String ! ]
"" "
Loan times from and until for each day of the week .
Starting with Monday from , Monday to , Tuesday from , . . . , Sunday to
"" "
loanTimes : [ String ]
loanTimes : [ String ! ]
}
"(dt. Zeitscheibe) When was a bike where"
@ -951,48 +965,62 @@ type ActionLog {
type Query {
"Will (eventually) return all properties of cargo bike"
cargoBikeById ( id :ID ! ) : CargoBike
"returns cargoBikes ordered by name ascending, relations are not loaded, use cargoBikeById instead "
cargoBikes ( offset : Int ! , limit : Int ! ) : [ CargoBike ] !
"Returns cargoBikes ordered by name ascending. If offset or limit is not provided, both values are ignored. "
cargoBikes ( offset : Int , limit : Int ) : [ CargoBike ! ] !
engagementById ( id : ID ! ) : Engagement
engagements ( offset : Int ! , limit : Int ! ) : [ Engagement ] !
"If offset or limit is not provided, both values are ignored"
engagements ( offset : Int , limit : Int ) : [ Engagement ! ] !
engagementTypeById ( id : ID ! ) : EngagementType
engagementTypes ( offset : Int ! , limit : Int ! ) : [ EngagementType ] !
"If offset or limit is not provided, both values are ignored"
engagementTypes ( offset : Int , limit : Int ) : [ EngagementType ! ] !
"equipment by id, will return null if id not found"
equipmentById ( id : ID ! ) : Equipment
equipment ( offset : Int ! , limit : Int ! ) : [ Equipment ] !
"If offset or limit is not provided, both values are ignored"
equipment ( offset : Int , limit : Int ) : [ Equipment ! ] !
equipmentTypeById ( id : ID ! ) : EquipmentType
equipmentTypes ( offset : Int ! , limit : Int ! ) : [ EquipmentType ] !
"If offset or limit is not provided, both values are ignored"
equipmentTypes ( offset : Int , limit : Int ) : [ EquipmentType ! ] !
"return null if id not found"
providerById ( id :ID ! ) : Provider
"unique equipment with pagination, contains relation to bike (with no further joins), so if you wanna know more about the bike, use cargoBikeByI d"
providers ( offset : Int ! , limit : Int ! ) : [ Provider ] !
"Returns providers with pagination. If offset or limit is not provided, both values are ignore d"
providers ( offset : Int , limit : Int ) : [ Provider ! ] !
"participant by id"
participantById ( id :ID ! ) : Participant
participants ( offset : Int ! , limit : Int ! ) : [ Participant ] !
"If offset or limit is not provided, both values are ignored"
participants ( offset : Int , limit : Int ) : [ Participant ! ] !
workshopTypeById ( id : ID ! ) : WorkshopType
workshopTypes ( offset : Int ! , limit : Int ! ) : [ WorkshopType ] !
"If offset or limit is not provided, both values are ignored"
workshopTypes ( offset : Int , limit : Int ) : [ WorkshopType ! ] !
workshopById ( id : ID ! ) : Workshop
workshops ( offset : Int ! , limit : Int ! ) : [ Workshop ] !
"If offset or limit is not provided, both values are ignored"
workshops ( offset : Int , limit : Int ) : [ Workshop ! ] !
lendingStationById ( id :ID ! ) : LendingStation
lendingStations ( offset : Int ! , limit : Int ! ) : [ LendingStation ] !
"If offset or limit is not provided, both values are ignored"
lendingStations ( offset : Int , limit : Int ) : [ LendingStation ! ] !
organisationById ( id : ID ! ) : Organisation
organisations ( offset : Int ! , limit : Int ! ) : [ Organisation ] !
"If offset or limit is not provided, both values are ignored"
organisations ( offset : Int , limit : Int ) : [ Organisation ! ] !
timeFrameById ( id : ID ! ) : TimeFrame
timeframes ( offset : Int ! , limit : Int ! ) : [ TimeFrame ] !
"If offset or limit is not provided, both values are ignored"
timeFrames ( offset : Int , limit : Int ) : [ TimeFrame ! ] !
contactInformationById ( id : ID ! ) : ContactInformation
contactInformation ( offset : Int ! , limit : Int ! ) : [ ContactInformation ] !
"If offset or limit is not provided, both values are ignored"
contactInformation ( offset : Int , limit : Int ) : [ ContactInformation ! ] !
personById ( id : ID ! ) : Person
persons ( offset : Int ! , limit : Int ! ) : [ Person ]
bikeEventTypes ( offset : Int ! , limit : Int ! ) : [ BikeEventType ]
"If offset or limit is not provided, both values are ignored"
persons ( offset : Int , limit : Int ) : [ Person ! ]
"If offset or limit is not provided, both values are ignored"
bikeEventTypes ( offset : Int , limit : Int ) : [ BikeEventType ! ]
bikeEventTypeByd ( id : ID ! ) : BikeEventType
bikeEvents ( offset : Int ! , limit : Int ! ) : [ BikeEvent ] !
"If offset or limit is not provided, both values are ignored"
bikeEvents ( offset : Int , limit : Int ) : [ BikeEvent ! ] !
bikeEventById ( id :ID ! ) : BikeEvent
"actionLog for current user"
actionLog : [ ActionLog ]
actionLog : [ ActionLog ! ]
"actionLog for specific user"
actionLogByUser ( id : ID ! ) : [ ActionLog ]
actionLogByUser ( id : ID ! ) : [ ActionLog ! ]
"actionLog form all users"
actionLogAll : [ ActionLog ]
actionLogAll : [ ActionLog ! ]
}
type Mutation {