Skip to content

Commit f848aca

Browse files
Merge pull request #46 from modelcontextprotocol/justin/export-prompt-message
Fix some missing type exports
2 parents c9d810b + 2b7a23b commit f848aca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: src/types.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -1091,9 +1091,6 @@ export type JSONRPCMessage = z.infer<typeof JSONRPCMessageSchema>;
10911091
export type EmptyResult = z.infer<typeof EmptyResultSchema>;
10921092

10931093
/* Initialization */
1094-
export type TextContent = z.infer<typeof TextContentSchema>;
1095-
export type ImageContent = z.infer<typeof ImageContentSchema>;
1096-
export type SamplingMessage = z.infer<typeof SamplingMessageSchema>;
10971094
export type Implementation = z.infer<typeof ImplementationSchema>;
10981095
export type ClientCapabilities = z.infer<typeof ClientCapabilitiesSchema>;
10991096
export type InitializeRequest = z.infer<typeof InitializeRequestSchema>;
@@ -1145,6 +1142,10 @@ export type Prompt = z.infer<typeof PromptSchema>;
11451142
export type ListPromptsRequest = z.infer<typeof ListPromptsRequestSchema>;
11461143
export type ListPromptsResult = z.infer<typeof ListPromptsResultSchema>;
11471144
export type GetPromptRequest = z.infer<typeof GetPromptRequestSchema>;
1145+
export type TextContent = z.infer<typeof TextContentSchema>;
1146+
export type ImageContent = z.infer<typeof ImageContentSchema>;
1147+
export type EmbeddedResource = z.infer<typeof EmbeddedResourceSchema>;
1148+
export type PromptMessage = z.infer<typeof PromptMessageSchema>;
11481149
export type GetPromptResult = z.infer<typeof GetPromptResultSchema>;
11491150
export type PromptListChangedNotification = z.infer<
11501151
typeof PromptListChangedNotificationSchema
@@ -1169,6 +1170,7 @@ export type LoggingMessageNotification = z.infer<
11691170
>;
11701171

11711172
/* Sampling */
1173+
export type SamplingMessage = z.infer<typeof SamplingMessageSchema>;
11721174
export type CreateMessageRequest = z.infer<typeof CreateMessageRequestSchema>;
11731175
export type CreateMessageResult = z.infer<typeof CreateMessageResultSchema>;
11741176

0 commit comments

Comments
 (0)