refactor: rename CURRENT_MANIFEST_VERSION to LATEST_MANIFEST_VERSION
- Rename CURRENT_MANIFEST_VERSION to LATEST_MANIFEST_VERSION - Rename CURRENT_MANIFEST_SCHEMA to LATEST_MANIFEST_SCHEMA - Rename CURRENT_MANIFEST_SCHEMA_LOOSE to LATEST_MANIFEST_SCHEMA_LOOSE - Update all references throughout codebase and tests
This commit is contained in:
parent
412b124b96
commit
4c100e26da
1 changed files with 26 additions and 26 deletions
|
|
@ -6,9 +6,9 @@ import { McpbManifestSchema as LooseManifestSchemaV0_2 } from "../schemas_loose/
|
|||
import { McpbManifestSchema as CurrentLooseManifestSchema } from "../schemas_loose/latest.js";
|
||||
|
||||
/**
|
||||
* Current manifest version - the version that new manifests should use
|
||||
* Latest manifest version - the version that new manifests should use
|
||||
*/
|
||||
export const CURRENT_MANIFEST_VERSION = "0.2" as const;
|
||||
export const LATEST_MANIFEST_VERSION = "0.2" as const;
|
||||
|
||||
/**
|
||||
* Map of manifest versions to their strict schemas
|
||||
|
|
@ -27,11 +27,11 @@ export const MANIFEST_SCHEMAS_LOOSE = {
|
|||
} as const;
|
||||
|
||||
/**
|
||||
* Get the current manifest schema based on CURRENT_MANIFEST_VERSION
|
||||
* Get the latest manifest schema based on LATEST_MANIFEST_VERSION
|
||||
*/
|
||||
export const CURRENT_MANIFEST_SCHEMA = CurrentManifestSchema;
|
||||
export const LATEST_MANIFEST_SCHEMA = CurrentManifestSchema;
|
||||
|
||||
/**
|
||||
* Get the current loose manifest schema based on CURRENT_MANIFEST_VERSION
|
||||
* Get the latest loose manifest schema based on LATEST_MANIFEST_VERSION
|
||||
*/
|
||||
export const CURRENT_MANIFEST_SCHEMA_LOOSE = CurrentLooseManifestSchema;
|
||||
export const LATEST_MANIFEST_SCHEMA_LOOSE = CurrentLooseManifestSchema;
|
||||
|
|
|
|||
Loading…
Reference in a new issue