WIP
This commit is contained in:
parent
8c543a32f6
commit
98fc900d5a
1 changed files with 30 additions and 11 deletions
10
src/types.ts
10
src/types.ts
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue