File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import {
37
37
LoggingLevelSchema
38
38
} from "../types.js" ;
39
39
import Ajv from "ajv" ;
40
- import type { Target } from "zod-to-json-schema" ;
40
+ import type { Targets } from "zod-to-json-schema" ;
41
41
42
42
export type ServerOptions = ProtocolOptions & {
43
43
/**
@@ -53,7 +53,7 @@ export type ServerOptions = ProtocolOptions & {
53
53
/**
54
54
* Optional spec for JSON Schema to allow fully compatible use with OpenAI endpoints.
55
55
*/
56
- jsonSchemaSpec ?: Target ;
56
+ jsonSchemaSpec ?: Targets ;
57
57
} ;
58
58
59
59
/**
@@ -94,7 +94,7 @@ export class Server<
94
94
private _clientVersion ?: Implementation ;
95
95
private _capabilities : ServerCapabilities ;
96
96
private _instructions ?: string ;
97
- public _jsonSchemaSpec ?: Target = 'jsonSchema7' ;
97
+ public _jsonSchemaSpec ?: Targets = 'jsonSchema7' ;
98
98
99
99
/**
100
100
* Callback for when initialization has fully completed (i.e., the client has sent an `initialized` notification).
You can’t perform that action at this time.
0 commit comments