fix(core): allow extra JSON Schema keys in elicit primitive schemas #4808
Annotations
10 errors
|
build
Type 'import("/home/runner/work/typescript-sdk/typescript-sdk/packages/core/src/types/spec.types").SingleSelectEnumSchema' is not assignable to type 'import("/home/runner/work/typescript-sdk/typescript-sdk/packages/core/src/types/types").SingleSelectEnumSchema'.
|
|
build
Type 'TitledSingleSelectEnumSchema' is not assignable to type '{ [x: string]: unknown; type: "string"; title?: string | undefined; description?: string | undefined; oneOf: { const: string; title: string; }[]; default?: string | undefined; }'.
|
|
build
Type 'UntitledSingleSelectEnumSchema' is not assignable to type '{ [x: string]: unknown; type: "string"; title?: string | undefined; description?: string | undefined; enum: string[]; default?: string | undefined; }'.
|
|
build
Type 'import("/home/runner/work/typescript-sdk/typescript-sdk/packages/core/src/types/spec.types").EnumSchema' is not assignable to type 'import("/home/runner/work/typescript-sdk/typescript-sdk/packages/core/src/types/types").EnumSchema'.
|
|
build
Type 'NumberSchema' is not assignable to type '{ [x: string]: unknown; type: "integer" | "number"; title?: string | undefined; description?: string | undefined; minimum?: number | undefined; maximum?: number | undefined; default?: number | undefined; }'.
|
|
build
Type 'StringSchema' is not assignable to type '{ [x: string]: unknown; type: "string"; title?: string | undefined; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; format?: "date" | "date-time" | "email" | "uri" | undefined; default?: string | undefined; }'.
|
|
build
Type 'BooleanSchema' is not assignable to type '{ [x: string]: unknown; type: "boolean"; title?: string | undefined; description?: string | undefined; default?: boolean | undefined; }'.
|
|
build
Type 'ElicitRequest' is not assignable to type 'WithJSONRPCRequest<{ method: "elicitation/create"; params: { _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; "io.modelcontextprotocol/related-task"?: { taskId: string; } | undefined; } | undefined; task?: { ...; } | undefined; mode?: "form" | undefined; message: string; requestedSchema: ...'.
|
|
build
Type 'ElicitRequestFormParams' is not assignable to type '{ _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; "io.modelcontextprotocol/related-task"?: { taskId: string; } | undefined; } | undefined; task?: { ttl?: number | undefined; } | undefined; mode?: "form" | undefined; message: string; requestedSchema: { ...; }; }'.
|
|
build
Type 'import("/home/runner/work/typescript-sdk/typescript-sdk/packages/core/src/types/spec.types").ElicitRequestParams' is not assignable to type 'import("/home/runner/work/typescript-sdk/typescript-sdk/packages/core/src/types/types").ElicitRequestParams'.
|