leonnicolas
e4ab021074
bug fix
...
bikeEvent.related resolver fixed
4 years ago
leonnicolas
4c0f0fd06d
bug with projectAllowance
4 years ago
leonnicolas
06e225096b
bugs and no $ in money
4 years ago
leonnicolas
e34e544629
several bug fixes
4 years ago
leonnicolas
e748d66965
bug fix
4 years ago
leonnicolas
da8e2f65ed
feature: copy bikes with specified fields
4 years ago
leonnicolas
e6e8651c52
bugs
4 years ago
leonnicolas
f4ae583942
set distributedActiveBikeParte to always false
4 years ago
Trivernis
712a5c8af3
Merge branch 'main' into develop
4 years ago
trivernis
eaf484596b
Change insufficient permissions to be an error class
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
leonnicolas
49bc8bdcfc
src/schema/*: explicit time for loanPeriod
...
instead of an array, all day of the week are listed and their type is
string for simplicity incase of several time frames in a day.
4 years ago
leonnicolas
5e6e796fe8
src/schema/*: use dateRange for engagement
4 years ago
leonnicolas
8dfa429e22
src/resolvers/*: use reg ex
4 years ago
leonnicolas
4a89b758de
src/dataSource/db/utils.ts: use template strings
4 years ago
leonnicolas
b0fc6cabe3
src/* : use numRange for box dimensions
...
instead of minBoxWidth, etc, use range type NumRange
4 years ago
leonnicolas
0754fd5f74
src/*: use type daterange for timeframes
...
Instead of to and from, no type dataRange is used.
Type DateRange still has to and from.
4 years ago
leonnicolas
5011a29be8
src: use range for dimensionAndLoad
...
Changes in the schema:
insead of _boxWidth_ etc. min and maxBoxWidth is used
In the postgres db, this is saved as numrange.
4 years ago
leonnicolas
9d1ba30e46
src/*: update equipment/type with cargoBike update
...
Now it is possible to to update equipment and equipment type via the
mutations carogBikeUpdate and cargoBikeCreate.
4 years ago
leonnicolas
c3fa25fa0d
src/*: dont requiere limit and offset on queries
...
On Queries like cargoBikes(offset: Int, limit: Int), offset and limit
does not need to be passed anymore. When either is not passed, both
values are ignored.
4 years ago
trivernis
123d8159da
Fix field names, comments and nullables
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
leonnicolas
8c840319b6
LICENSE.md: added license and copy right notice
...
@trivernis : I put you in the copy right notice in the src/userserver/*
files.
4 years ago
leonnicolas
d31690ab58
src/resolvers: code clean up
4 years ago
leonnicolas
5a52f592cb
isLockedByMe
4 years ago
leonnicolas
2e02920d75
bugs and clean up and retry when db connection failed
4 years ago
leonnicolas
0098d9b3bf
src: bug fix
4 years ago
leonnicolas
f037d563b9
src/*: hard delete implemented and code clean up
4 years ago
leonnicolas
97ee273ae4
src/*/actionlog*.ts: implemented queries for action log
4 years ago
leonnicolas
1b9030c85e
src/*: implemented update and action log on overwrites
4 years ago
leonnicolas
626f0dc563
src/resolvers/*: check Permissions for each resolver
4 years ago
leonnicolas
813f41ec8e
finished all Queries
4 years ago
leonnicolas
595f66f3dc
new generic lock/unlock functions
4 years ago
leonnicolas
81a7870cbb
bikeevent, bikeeventype read and create
4 years ago
leonnicolas
77fd61194b
workshop, workshop types create and read
4 years ago
leonnicolas
a67c0ff659
datasource/*: code a little clean up
4 years ago
leonnicolas
45a7fa6ec7
Engagement, EngagementType: read and create
4 years ago
leonnicolas
7b48573eb3
Person, ContactInformation, participant: read and create
4 years ago
leonnicolas
9ba635d943
resolvers for Equipmentypes
4 years ago
leonnicolas
e1e2302a1a
resolver cargoBike.timeFramesimplemented
4 years ago
leonnicolas
71e737b1c6
TimeFrame.cargoBike/.lendingStation implemented
4 years ago
leonnicolas
85d8b07856
createTimeFrame implemented
4 years ago
leonnicolas
e1a90670f6
use transaktions for some updates
4 years ago
leonnicolas
80438de4fc
resolvers: contactPerson for lendingStation
4 years ago
leonnicolas
847e78768f
lockBike returns Bike or error, update bike takes keepLock
4 years ago
leonnicolas
cbec1866c4
isLocked in cargoBike
4 years ago
leonnicolas
159e91d5db
lock and unlock for cargoBike
4 years ago
leonnicolas
a73390877b
lock for cargoBike
4 years ago
leonnicolas
6087d3defa
lock for cargoBike
4 years ago
leonnicolas
e4a131db8d
.travis.yml: added travis file
4 years ago
leonnicolas
e03bac6f62
added contact* resolvers
4 years ago
leonnicolas
35144d6e73
added cargobike equipment resolvers
4 years ago