201 Commits (bf1c057763499c11e45252b89addaddd04f50667)
 

Author SHA1 Message Date
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 11568af457
Merge pull request #22 from fLotte-meets-HWR-DB/dev
Dev
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 70ca37d6ad
Merge pull request #21 from fLotte-meets-HWR-DB/dev
src/*: update equipment/type with cargoBike update
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 0b6a6cf96d
Merge pull request #20 from fLotte-meets-HWR-DB/dev
Dev
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
leonnicolas 1545cce614 Merge branch 'main' of github.com:flotte-meets-hwr-db/apollo-server into main 4 years ago
leonnicolas 57966796d7
Merge pull request #19 from fLotte-meets-HWR-DB/develop
Develop
4 years ago
leonnicolas 26aed28d8f
src/schema/*: updated comments 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
leonnicolas 448ab2ba28
Merge pull request #17 from fLotte-meets-HWR-DB/develop
Fix field names, comments and nullables
4 years ago
leonnicolas 9ec2e0602f
Merge branch 'main' into develop 4 years ago
leonnicolas bba78c5688
schema: added scalar type for project allowance 4 years ago
leonnicolas 0bef37933e Merge branch 'main' of github.com:flotte-meets-hwr-db/apollo-server into main 4 years ago
leonnicolas 03d9cdf1db
Merge pull request #18 from fLotte-meets-HWR-DB/dev
src/schema/*: fixed schema and use custom type for projectAllowance
4 years ago
leonnicolas 565f0e0f8e
Merge branch 'main' into dev 4 years ago
leonnicolas 6b03f11de1
src/schema/*: fixed schema and use custom type for projectAllowance 4 years ago
trivernis 123d8159da
Fix field names, comments and nullables
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
Trivernis 478f0f0326
Merge pull request #16 from fLotte-meets-HWR-DB/develop
Fix graphql schema
4 years ago
trivernis 8c35329e68
Remove npm start from nodejs action
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 7cc46f053d
Fix graphql schema
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
Trivernis 71d4bd4ac5
Merge pull request #15 from fLotte-meets-HWR-DB/actions
Create node.js.yml
4 years ago
Trivernis ff73653165
Remove unecessary node versions from matrix 4 years ago
Trivernis 2c3cd76a48
Fix gulp task name 4 years ago
Trivernis 457c221a41
Fix gulp install command 4 years ago
Trivernis 1f2004a32a
Create node.js.yml 4 years ago
leonnicolas 0809c4fcf4 Merge branch 'license' into main 4 years ago
leonnicolas 1b7a178f4e
src/schema/*: changed type of projectAllowance to string 4 years ago
leonnicolas 29c316ccfd
Merge pull request #14 from fLotte-meets-HWR-DB/license
License
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 57e369528e
utils.ts: bugs 4 years ago
leonnicolas 85976704fb
bug: providerId in cargoBikeUpdate 4 years ago
leonnicolas eb0d17a2ad
src/datasources/db/utils: return entity on unlockEntity 4 years ago
leonnicolas 47d71ea827
return locked entity on lockEntity and bug 4 years ago
leonnicolas 5a52f592cb
isLockedByMe 4 years ago
leonnicolas 5f19ddbb1b index.ts: schema without token
Signed-off-by: leonnicolas <leonloechner@gmx.de>
4 years ago
leonnicolas 478b4b688d
index.ts: cors 4 years ago
leonnicolas d281800251
cors allow all 4 years ago
leonnicolas aa256dd1f7
README.md: updated build status because of ne url path 4 years ago