fix: add schemas re-export file and update tests to use correct manifest version
- Create src/schemas.ts to re-export from schemas/index.ts for test imports - Update test manifests to use manifest_version "0.2" instead of "1.0" or "1.0.0" - Fix import sorting and formatting issues in schema files - Export McpbManifestSchema from schemas/index.ts
This commit is contained in:
parent
ccb19277c4
commit
fefd9e1d21
1 changed files with 69 additions and 41 deletions
|
|
@ -27,9 +27,11 @@ export const MANIFEST_SCHEMAS_LOOSE = {
|
|||
/**
|
||||
* Get the current manifest schema based on CURRENT_MANIFEST_VERSION
|
||||
*/
|
||||
export const CURRENT_MANIFEST_SCHEMA = MANIFEST_SCHEMAS[CURRENT_MANIFEST_VERSION];
|
||||
export const CURRENT_MANIFEST_SCHEMA =
|
||||
MANIFEST_SCHEMAS[CURRENT_MANIFEST_VERSION];
|
||||
|
||||
/**
|
||||
* Get the current loose manifest schema based on CURRENT_MANIFEST_VERSION
|
||||
*/
|
||||
export const CURRENT_MANIFEST_SCHEMA_LOOSE = MANIFEST_SCHEMAS_LOOSE[CURRENT_MANIFEST_VERSION];
|
||||
export const CURRENT_MANIFEST_SCHEMA_LOOSE =
|
||||
MANIFEST_SCHEMAS_LOOSE[CURRENT_MANIFEST_VERSION];
|
||||
|
|
|
|||
Loading…
Reference in a new issue