Skip to content

Commit 579ac51

Browse files
committed
Export type aliases for roots
1 parent ce50ba4 commit 579ac51

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/types.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,14 @@ export type PromptReference = z.infer<typeof PromptReferenceSchema>;
11601160
export type CompleteRequest = z.infer<typeof CompleteRequestSchema>;
11611161
export type CompleteResult = z.infer<typeof CompleteResultSchema>;
11621162

1163+
/* Roots */
1164+
export type Root = z.infer<typeof RootSchema>;
1165+
export type ListRootsRequest = z.infer<typeof ListRootsRequestSchema>;
1166+
export type ListRootsResult = z.infer<typeof ListRootsResultSchema>;
1167+
export type RootsListChangedNotification = z.infer<
1168+
typeof RootsListChangedNotificationSchema
1169+
>;
1170+
11631171
/* Client messages */
11641172
export type ClientRequest = z.infer<typeof ClientRequestSchema>;
11651173
export type ClientNotification = z.infer<typeof ClientNotificationSchema>;

0 commit comments

Comments
 (0)