Skip to content

Refactor package

Refactor package #51

Triggered via pull request December 31, 2024 11:31
@nckhellnckhell
synchronize #14
v2
Status Failure
Total duration 22s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
test: src/lib/parseToApiResultFormat/parseToApiResultFormat.ts#L35
Type 'unknown' is not assignable to type '{ code: CodeType; } | undefined'.
test: src/lib/parseToApiResultFormat/parseToApiResultFormat.ts#L39
Type '{ subresult_id: string; label: LabelType; type: "string" | "number" | "boolean"; unit: LabelType | undefined; result: (TypeOf<OutputSchema[keyof OutputSchema]["type"]> & {}) | undefined; status: CalculationResultStatus; interpretation: LabelType | undefined; terminology: unknown; }[]' is not assignable to type 'ApiResultType[]'.
test: src/lib/parseToApiResultFormat/types.ts#L1
'"../../types"' has no exported member named 'CodeType'. Did you mean 'ScoreType'?
test
Process completed with exit code 2.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636