-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathzodSchemas.ts
More file actions
34 lines (32 loc) · 1.13 KB
/
zodSchemas.ts
File metadata and controls
34 lines (32 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* v1-compat re-export of all protocol Zod schemas.
*
* Prefer {@linkcode specTypeSchema} for runtime validation. These are Zod
* schemas; their TS type may change with internal Zod upgrades.
*
* @deprecated Use `specTypeSchema()` for runtime validation.
* @packageDocumentation
*/
/** @deprecated Use `specTypeSchema()` for runtime validation. */
export * from '@modelcontextprotocol/core/schemas';
/** @deprecated Use `specTypeSchema()` for runtime validation. */
export {
IdJagTokenExchangeResponseSchema,
OAuthClientInformationFullSchema,
OAuthClientInformationSchema,
OAuthClientMetadataSchema,
OAuthClientRegistrationErrorSchema,
OAuthErrorResponseSchema,
OAuthMetadataSchema,
OAuthProtectedResourceMetadataSchema,
OAuthTokenRevocationRequestSchema,
OAuthTokensSchema,
OpenIdProviderDiscoveryMetadataSchema,
OpenIdProviderMetadataSchema,
OptionalSafeUrlSchema,
SafeUrlSchema
} from '@modelcontextprotocol/core';
export {
/** @deprecated Use {@linkcode JSONRPCErrorResponseSchema}. */
JSONRPCErrorResponseSchema as JSONRPCErrorSchema
} from '@modelcontextprotocol/core/schemas';