File tree Expand file tree Collapse file tree
packages/input_schema/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ export {
99 ArrayFieldDefinition ,
1010 MixedFieldDefinition ,
1111 FieldDefinition ,
12+
1213 InputSchema ,
14+
15+ McpServer ,
16+ McpServerTools ,
1317} from './types' ;
1418export * from './utilities' ;
Original file line number Diff line number Diff line change @@ -81,22 +81,22 @@ type StorageResourceFieldDefinition<T> = CommonResourceFieldDefinition<T> & {
8181 resourcePermissions ?: ( 'READ' | 'WRITE' ) [ ] ;
8282}
8383
84- type McpServerTools = {
85- required ?: readonly string [ ] ;
84+ export type McpServerTools = {
85+ required ?: string [ ] ;
8686 readOnly ?: boolean ;
8787 destructive ?: boolean ;
8888 idempotent ?: boolean ;
8989 openWorld ?: boolean ;
9090}
9191
92- type McpServer = {
92+ export type McpServer = {
9393 url : string ;
9494 tools ?: McpServerTools ;
9595}
9696
9797type McpConnectorResourceFieldDefinition < T > = CommonResourceFieldDefinition < T > & {
9898 resourceType : 'mcpConnector' ;
99- mcpServers : readonly McpServer [ ] ;
99+ mcpServers : McpServer [ ] ;
100100}
101101
102102type AnyResourceFieldDefinition < T > =
You can’t perform that action at this time.
0 commit comments