Skip to content

fix(shared): use APIError as contract between server and client #3617

fix(shared): use APIError as contract between server and client

fix(shared): use APIError as contract between server and client #3617

Triggered via pull request October 24, 2024 17:12
Status Failure
Total duration 4m 0s
Artifacts

api-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
lint: services/api/src/flows/events/postToIG.flow.ts#L1
`#flows/flow.types.js` import should occur after import of `io-ts`
lint: services/api/src/flows/events/postToIG.flow.ts#L2
`#io/ControllerError.js` import should occur after import of `io-ts`
lint: services/api/src/routes/users/userLogin.controller.ts#L7
Replace `·ServerError,·toBadRequestError,·toNotFoundError·` with `⏎··ServerError,⏎··toBadRequestError,⏎··toNotFoundError,⏎`
lint
Process completed with exit code 1.
lint: services/api/src/app/index.ts#L17
Unexpected any. Specify a different type
lint: services/api/src/bin/create-stats.ts#L23
Unexpected any. Specify a different type
lint: services/api/src/bin/create-stats.ts#L38
Unexpected any. Specify a different type
lint: services/api/src/bin/import-from-kmz.ts#L30
Unexpected any. Specify a different type
lint: services/api/src/bin/parse-tg-message.ts#L16
Unexpected any. Specify a different type
lint: services/api/src/bin/start-ctx.ts#L9
Unexpected any. Specify a different type
lint: services/api/src/bin/update-event-payload-url-refs.ts#L56
Unexpected any. Specify a different type
lint: services/api/src/bin/update-event-payload-url-refs.ts#L59
Unexpected any. Specify a different type
lint: services/api/src/bin/update-event-payload-url-refs.ts#L62
Unexpected any. Specify a different type
lint: services/api/src/context/index.ts#L128
Unexpected any. Specify a different type