Add asset repository and refactor asset service ()

* build endpoint to get asset count by month

* Added asset repository

* Added create asset

* get asset by device ID

* Added test for existing methods

* Refactor additional endpoint

* Refactor database api to get curated locations and curated objects

* Refactor get search properties

* Fixed cookies parsing for websocket

* Added API to get asset count by time group

* Remove unused code
This commit is contained in:
Alex 2022-08-26 22:53:37 -07:00 committed by GitHub
parent 6b7c97c02a
commit f980a2f27a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 1321 additions and 138 deletions
mobile/openapi/lib

View file

@ -67,6 +67,9 @@ String parameterToString(dynamic value) {
if (value is ThumbnailFormat) {
return ThumbnailFormatTypeTransformer().encode(value).toString();
}
if (value is TimeGroupEnum) {
return TimeGroupEnumTypeTransformer().encode(value).toString();
}
return value.toString();
}