leonnicolas
|
7b03942afc
|
typo
|
4 years ago |
leonnicolas
|
1cfa73c52d
|
fix copy bike
return -1 as id, so lending station will always be empty because no bike
has id -1.
|
4 years ago |
leonnicolas
|
e4ab021074
|
bug fix
bikeEvent.related resolver fixed
|
4 years ago |
leonnicolas
|
bf1c057763
|
bug updateParticipant with workshopIds
|
4 years ago |
leonnicolas
|
4c0f0fd06d
|
bug with projectAllowance
|
4 years ago |
leonnicolas
|
0d44a98377
|
bug in updateWorkshop
|
4 years ago |
leonnicolas
|
06e225096b
|
bugs and no $ in money
|
4 years ago |
leonnicolas
|
dbb30369af
|
lendingStation: add remarks
|
4 years ago |
leonnicolas
|
e34e544629
|
several bug fixes
|
4 years ago |
leonnicolas
|
adab4ea272
|
add city to address
|
4 years ago |
leonnicolas
|
e748d66965
|
bug fix
|
4 years ago |
leonnicolas
|
6c115c33a1
|
eslint error fix
|
4 years ago |
leonnicolas
|
da8e2f65ed
|
feature: copy bikes with specified fields
|
4 years ago |
leonnicolas
|
e6e8651c52
|
bugs
|
4 years ago |
leonnicolas
|
7429924913
|
src/schema/* use Link type for documents
|
4 years ago |
leonnicolas
|
f4ae583942
|
set distributedActiveBikeParte to always false
|
4 years ago |
leonnicolas
|
1bbfb7d12c
|
fix updateProvider
not possible to update provider so it can have both private person and
organisation at the same time
|
4 years ago |
leonnicolas
|
6aae32e0c8
|
src/datasource/db/providerAPI.ts
|
4 years ago |
leonnicolas
|
b0ccfbf1c8
|
Merge branch 'main' into dev
|
4 years ago |
leonnicolas
|
6cd60e33de
|
src/schema: remove fields
remove otherData from organisation
|
4 years ago |
trivernis
|
b49c990149
|
Fix createOrganization to return all fields
Signed-off-by: trivernis <trivernis@protonmail.com>
|
4 years ago |
leonnicolas
|
8121599fcd
|
README + src/app.ts: change env vars
also set default parameters for databese and driver
|
4 years ago |
trivernis
|
1906d8e6e9
|
Add NotFoundError class
Signed-off-by: trivernis <trivernis@protonmail.com>
|
4 years ago |
trivernis
|
cfaf2ef462
|
Add ResourceLockedError class
Signed-off-by: trivernis <trivernis@protonmail.com>
|
4 years ago |
trivernis
|
38f5a8a1fe
|
Merge branch 'develop' of github.com:fLotte-meets-HWR-DB/apollo-server into develop
|
4 years ago |
trivernis
|
58340813ca
|
Fix code of insufficient permissions error
Signed-off-by: trivernis <trivernis@protonmail.com>
|
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
|
ad3ddf3218
|
src/dataSource/db/lendingStation.ts: add generalRemark
|
4 years ago |
leonnicolas
|
8add40cd02
|
check activity status for engagements
when updating or creating engagements or participants dateRange of
particpant must include dateRange of engagement.
|
4 years ago |
leonnicolas
|
6162758638
|
src/schema/*: cargoBike group required
|
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
|
48e6ed2be3
|
src/schema/*: fixed return type for unlock mutations
|
4 years ago |
leonnicolas
|
5e6e796fe8
|
src/schema/*: use dateRange for engagement
|
4 years ago |
leonnicolas
|
4e33ec2095
|
src/schema/*: remove mandatory for fields
|
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
|
9f032ab0a1
|
src/datasource/db/utils.ts: code clean up
|
4 years ago |
leonnicolas
|
f3acf1e3d8
|
src/datasources/db/utils.ts: clean up
clean some unused functions
|
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
|
321dc72123
|
src/model schema: added bike Status
|
4 years ago |
leonnicolas
|
2c8a5ea6b7
|
src/model + src/schema: removed mandatory fields
|
4 years ago |
leonnicolas
|
1edf15ca24
|
src/model/cargoBike.ts: fixed data type of bikeWidth
|
4 years ago |
leonnicolas
|
d83533375f
|
src/dataSource/ds/utils.ts: corrected comment
|
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
|
ca96923d3c
|
src/schema/*: added comment
|
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
|
c193a63785
|
src/model*: unique fields
added unique contraines to some fields. For Example, name of CargoBike,
workshopType and the combination of name and firstName of Person.
|
4 years ago |
leonnicolas
|
f80f619ed9
|
src/*: code refactor and comments
Some refactoring in the database utilitie functions.
|
4 years ago |