fix: lint errors - remove unused import and format files
- Remove unused McpbManifestSchema import from types.ts - Run prettier on modified files
This commit is contained in:
parent
eeb9dca819
commit
e7282946b6
2 changed files with 38 additions and 41 deletions
|
|
@ -98,7 +98,7 @@ export const McpbManifestSchema = z
|
|||
screenshots: z.array(z.string()).optional(),
|
||||
server: McpbManifestServerSchema,
|
||||
tools: z.array(McpbManifestToolSchema).optional(),
|
||||
tools_generated: z.boolean().optional(),
|
||||
tools_generated: z.boolean().optional(),
|
||||
prompts: z.array(McpbManifestPromptSchema).optional(),
|
||||
prompts_generated: z.boolean().optional(),
|
||||
keywords: z.array(z.string()).optional(),
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import type * as z from "zod";
|
||||
|
||||
import type { McpbManifestSchema as McpbManifestSchema_v0_1 } from "./schemas/0.1.js";
|
||||
import type { McpbManifestSchema as McpbManifestSchema_v0_2 } from "./schemas/0.2.js";
|
||||
import type { McpbManifestSchema as McpbManifestSchema_v0_3 } from "./schemas/0.3.js";
|
||||
import type {
|
||||
McpbManifestAuthorSchema,
|
||||
McpbManifestCompatibilitySchema,
|
||||
|
|
@ -7,7 +10,6 @@ import type {
|
|||
McpbManifestPlatformOverrideSchema,
|
||||
McpbManifestPromptSchema,
|
||||
McpbManifestRepositorySchema,
|
||||
McpbManifestSchema,
|
||||
McpbManifestServerSchema,
|
||||
McpbManifestToolSchema,
|
||||
McpbSignatureInfoSchema,
|
||||
|
|
@ -15,9 +17,6 @@ import type {
|
|||
McpbUserConfigValuesSchema,
|
||||
McpServerConfigSchema,
|
||||
} from "./schemas/latest.js";
|
||||
import type { McpbManifestSchema as McpbManifestSchema_v0_1 } from "./schemas/0.1.js";
|
||||
import type { McpbManifestSchema as McpbManifestSchema_v0_2 } from "./schemas/0.2.js";
|
||||
import type { McpbManifestSchema as McpbManifestSchema_v0_3 } from "./schemas/0.3.js";
|
||||
|
||||
export type McpServerConfig = z.infer<typeof McpServerConfigSchema>;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue