add McpbManifestAny type
This commit is contained in:
parent
86166630b4
commit
5fb25a253e
1 changed files with 11 additions and 7 deletions
16
src/types.ts
16
src/types.ts
|
|
@ -47,18 +47,22 @@ export type McpbUserConfigurationOption = z.infer<
|
|||
|
||||
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>;
|
||||
|
||||
/**
|
||||
* McpbManifest type for the latest manifest version only
|
||||
* Use this when you specifically need the latest version.
|
||||
*/
|
||||
export type McpbManifestLatest = z.infer<typeof McpbManifestSchema>;
|
||||
|
||||
/**
|
||||
* Alias for McpbManifestLatest for backwards compatibility.
|
||||
*/
|
||||
export type McpbManifest = McpbManifestLatest;
|
||||
|
||||
/**
|
||||
* McpbManifest type representing the union of all manifest versions
|
||||
*/
|
||||
export type McpbManifestAny = z.infer<typeof McpbManifestSchemaAny>;;
|
||||
|
||||
/**
|
||||
* Information about a MCPB package signature
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue