Add localization/theming feature to 0.3 version
This commit is contained in:
parent
d595dd66dc
commit
1640adefe8
1 changed files with 559 additions and 18 deletions
|
|
@ -1,14 +1,16 @@
|
|||
import { McpbManifestSchema as ManifestSchemaV0_1 } from "../schemas/0.1.js";
|
||||
import { McpbManifestSchema as ManifestSchemaV0_2 } from "../schemas/0.2.js";
|
||||
import { McpbManifestSchema as ManifestSchemaV0_3 } from "../schemas/0.3.js";
|
||||
import { McpbManifestSchema as CurrentManifestSchema } from "../schemas/latest.js";
|
||||
import { McpbManifestSchema as LooseManifestSchemaV0_1 } from "../schemas_loose/0.1.js";
|
||||
import { McpbManifestSchema as LooseManifestSchemaV0_2 } from "../schemas_loose/0.2.js";
|
||||
import { McpbManifestSchema as LooseManifestSchemaV0_3 } from "../schemas_loose/0.3.js";
|
||||
import { McpbManifestSchema as CurrentLooseManifestSchema } from "../schemas_loose/latest.js";
|
||||
|
||||
/**
|
||||
* Latest manifest version - the version that new manifests should use
|
||||
*/
|
||||
export const LATEST_MANIFEST_VERSION = "0.2" as const;
|
||||
export const LATEST_MANIFEST_VERSION = "0.3" as const;
|
||||
|
||||
/**
|
||||
* Map of manifest versions to their strict schemas
|
||||
|
|
@ -16,6 +18,7 @@ export const LATEST_MANIFEST_VERSION = "0.2" as const;
|
|||
export const MANIFEST_SCHEMAS = {
|
||||
"0.1": ManifestSchemaV0_1,
|
||||
"0.2": ManifestSchemaV0_2,
|
||||
"0.3": ManifestSchemaV0_3,
|
||||
} as const;
|
||||
|
||||
/**
|
||||
|
|
@ -24,6 +27,7 @@ export const MANIFEST_SCHEMAS = {
|
|||
export const MANIFEST_SCHEMAS_LOOSE = {
|
||||
"0.1": LooseManifestSchemaV0_1,
|
||||
"0.2": LooseManifestSchemaV0_2,
|
||||
"0.3": LooseManifestSchemaV0_3,
|
||||
} as const;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue