mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-20 12:55:21 +02:00
more schema fixes
This commit is contained in:
committed by
Peter M. Elias
parent
90265c27d2
commit
a56242dfdc
@@ -46,16 +46,17 @@ const GithubFileContentLinks = z.object({
|
|||||||
|
|
||||||
// File content schemas
|
// File content schemas
|
||||||
export const GitHubFileContentSchema = z.object({
|
export const GitHubFileContentSchema = z.object({
|
||||||
type: z.string(),
|
|
||||||
size: z.number(),
|
|
||||||
name: z.string(),
|
name: z.string(),
|
||||||
path: z.string(),
|
path: z.string(),
|
||||||
content: z.string(),
|
|
||||||
sha: z.string(),
|
sha: z.string(),
|
||||||
|
size: z.number(),
|
||||||
url: z.string(),
|
url: z.string(),
|
||||||
git_url: z.string(),
|
|
||||||
html_url: z.string(),
|
html_url: z.string(),
|
||||||
|
git_url: z.string(),
|
||||||
download_url: z.string(),
|
download_url: z.string(),
|
||||||
|
type: z.string(),
|
||||||
|
content: z.string(),
|
||||||
|
encoding: z.string().nullable(),
|
||||||
_links: GithubFileContentLinks
|
_links: GithubFileContentLinks
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user