1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00
immich/server
Jaime Baez c918f5b001
Set TypeScript to strict mode and fix issues related to server types (#261)
* Fix lint issues and some other TS issues

- set TypeScript in strict mode
- add npm commands to lint / check code
- fix all lint issues
- fix some TS issues
- rename User reponse DTO to make it consistent with the other ones
- override Express/User interface to use UserResponseDto interface
 This is for when the accessing the `user` from a Express Request,
 like in `asset-upload-config`

* Fix the rest of TS issues

- fix all the remaining TypeScript errors
- add missing `@types/mapbox__mapbox-sdk` package

* Move global.d.ts to server `src` folder

* Update AssetReponseDto duration type

This is now of type `string` that defaults to '0:00:00.00000' if not set
which is what the mobile app currently expects

* Set context when logging error in asset.service

Use `ServeFile` as the context for logging an error when
asset.resizePath is not set

* Fix wrong AppController merge conflict resolution

`redirectToWebpage` was removed in main as is no longer used.
2022-06-25 12:53:06 -05:00
..
apps Set TypeScript to strict mode and fix issues related to server types (#261) 2022-06-25 12:53:06 -05:00
libs/database Set TypeScript to strict mode and fix issues related to server types (#261) 2022-06-25 12:53:06 -05:00
.dockerignore Implemented Video Upload and Player (#2) 2022-02-06 00:07:56 -06:00
.eslintrc.js Transfer repository from Gitlab 2022-02-03 10:06:44 -06:00
.gitignore Added successfully built docker-compose and cockerFile 2022-02-03 14:42:27 -06:00
.prettierrc Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
Dockerfile WIP refactor container and queuing system (#206) 2022-06-11 16:12:06 -05:00
entrypoint.sh WIP refactor container and queuing system (#206) 2022-06-11 16:12:06 -05:00
nest-cli.json WIP refactor container and queuing system (#206) 2022-06-11 16:12:06 -05:00
package-lock.json Set TypeScript to strict mode and fix issues related to server types (#261) 2022-06-25 12:53:06 -05:00
package.json Set TypeScript to strict mode and fix issues related to server types (#261) 2022-06-25 12:53:06 -05:00
README.md Update readme 2022-02-07 23:55:30 -06:00
start-microservices.sh WIP refactor container and queuing system (#206) 2022-06-11 16:12:06 -05:00
start-server.sh WIP refactor container and queuing system (#206) 2022-06-11 16:12:06 -05:00
tsconfig.build.json Transfer repository from Gitlab 2022-02-03 10:06:44 -06:00
tsconfig.json Set TypeScript to strict mode and fix issues related to server types (#261) 2022-06-25 12:53:06 -05:00

Immich Server- NestJs