Skip to content

Add convenience methods for issuing requests #56

Add convenience methods for issuing requests

Add convenience methods for issuing requests #56

Triggered via pull request November 4, 2024 22:38
Status Failure
Total duration 24s
Billable time 1m
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
build: src/server/index.test.ts#L59
Argument of type 'ZodObject<extendShape<{ method: ZodString; params: ZodOptional<ZodObject<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<......' is not assignable to parameter of type 'ZodObject<{ method: ZodLiteral<string>; params: ZodOptional<ZodObject<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>...'.
build: src/server/index.ts#L76
Argument of type 'ZodObject<extendShape<{ method: ZodString; params: ZodOptional<ZodObject<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<......' is not assignable to parameter of type 'ZodObject<{ method: ZodLiteral<string>; params: ZodOptional<ZodObject<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>...'.
build: src/server/index.ts#L77
Argument of type '{ method: string; params?: objectOutputType<{ _meta: ZodOptional<ZodObject<{ progressToken: ZodOptional<ZodUnion<[ZodString, ZodNumber]>>; }, "passthrough", ZodTypeAny, objectOutputType<...>, objectInputType<...>>>; }, ZodTypeAny, "passthrough"> | undefined; }' is not assignable to parameter of type '{ params: { protocolVersion: string | number; capabilities: { experimental?: objectOutputType<{}, ZodTypeAny, "passthrough"> | undefined; sampling?: objectOutputType<...> | undefined; } & { ...; }; clientInfo: { ...; } & { ...; }; _meta?: objectOutputType<...> | undefined; } & { ...; }; method: "initialize"; }'.
build
Process completed with exit code 2.