Skip to content

Bump the effect group with 4 updates #64

Bump the effect group with 4 updates

Bump the effect group with 4 updates #64

Triggered via pull request January 4, 2024 09:46
Status Failure
Total duration 2m 34s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors
Typecheck: src/Orcid.ts#L1
Cannot find module '@effect/platform' or its corresponding type declarations.
Typecheck: src/Orcid.ts#L31
Argument of type '<R, E>(self: Effect<R, E, unknown>) => Effect<unknown, unknown, unknown>' is not assignable to parameter of type '(b: unknown) => Effect<unknown, unknown, unknown>'.
Typecheck: src/Orcid.ts#L34
'response' is of type 'unknown'.
Typecheck: src/Orcid.ts#L50
Argument of type '<R, E>(self: Effect<R, E, unknown>) => Effect<unknown, unknown, unknown>' is not assignable to parameter of type '(b: unknown) => Effect<unknown, unknown, unknown>'.
Typecheck: src/Orcid.ts#L143
'httpClient' is of type 'unknown'.
Typecheck: src/Temporal.ts#L21
Property 'success' does not exist on type 'typeof import("/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/dist/dts/ParseResult")'.
Typecheck: src/Url.ts#L14
Property 'success' does not exist on type 'typeof import("/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/dist/dts/ParseResult")'.
Typecheck: src/Users.ts#L25
Type 'unknown' is not assignable to type 'Stream<unknown, unknown, unknown>'.
Typecheck: src/Users.ts#L26
Argument of type '<R, E>(self: Stream<R, E, { readonly orcidId: OrcidId; readonly accessToken: string; }>) => Stream<R, E, User>' is not assignable to parameter of type '(_: Stream<unknown, unknown, { orcidId: string & Brand<"OrcidId">; accessToken: unknown; }>) => Stream<unknown, unknown, User>'.
Typecheck: src/Users.ts#L33
Property 'ParseJson' does not exist on type 'typeof import("/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/schema/dist/dts/Schema")'. Did you mean 'parseJson'?
Test
Process completed with exit code 1.
Lint: src/Orcid.ts#L1
Unable to resolve path to module '@effect/platform'
Lint: src/Orcid.ts#L18
'any' overrides all other types in this union type
Lint: src/Orcid.ts#L19
'any' overrides all other types in this union type
Lint: src/Orcid.ts#L19
'any' overrides all other types in this union type
Lint: src/Orcid.ts#L24
'any' overrides all other types in this union type
Lint: src/Orcid.ts#L25
Unsafe return of type `Effect<unknown, unknown, any>` from function with return type `Effect<any, any, readonly { readonly "external-ids": { readonly "external-id": readonly [{ readonly "external-id-type": "peer-review"; readonly "external-id-value": string; }]; }; readonly "peer-review-group": readonly { readonly "external-ids": { ...; }; readonly "peer-review-summary": readonly [...]; }[]; }[]>`
Lint: src/Orcid.ts#L26
Unsafe assignment of an `any` value
Lint: src/Orcid.ts#L29
Unsafe call of an `any` typed value
Lint: src/Orcid.ts#L29
Unsafe member access .request on an `any` value
Lint: src/Orcid.ts#L30
Unsafe argument of type `any` assigned to a parameter of type `(a: any) => unknown`