This commit is contained in:
Joan Xie 2025-11-01 15:07:43 -07:00
commit 98fc900d5a
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
import type * as z from "zod";
import type { McpbManifestSchema as McpbManifestSchemaAny } from "./schemas/any.js";
import type { McpbManifestSchema as McpbManifestSchema_vAny } from "./schemas/any.js";
import type {
McpbManifestAuthorSchema,
McpbManifestCompatibilitySchema,
@ -51,7 +51,7 @@ export type McpbUserConfigValues = z.infer<typeof McpbUserConfigValuesSchema>;
* McpbManifest type that accepts any supported manifest version
* This is the default manifest type that should be used for maximum compatibility.
*/
export type McpbManifest = z.infer<typeof McpbManifestSchemaAny>;
export type McpbManifestAny = z.infer<typeof McpbManifestSchema_vAny>;
/**
* McpbManifest type for the latest manifest version only
@ -59,6 +59,12 @@ export type McpbManifest = z.infer<typeof McpbManifestSchemaAny>;
*/
export type McpbManifestLatest = z.infer<typeof McpbManifestSchema>;
/**
* @deprecated Use McpbManifestAny instead
* Default manifest type that accepts any supported version
*/
export type McpbManifest = McpbManifestAny;
/**
* Information about a MCPB package signature
*/