update browser exports to incl. vAny schema
This commit is contained in:
parent
98fc900d5a
commit
f3ac79afda
2 changed files with 15 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
// Browser-compatible exports
|
// Browser-compatible exports
|
||||||
export * from "./schemas/latest.js";
|
export * from "./schemas/latest.js";
|
||||||
|
export * from "./schemas/index.js";
|
||||||
export * from "./shared/config.js";
|
export * from "./shared/config.js";
|
||||||
export * from "./shared/constants.js";
|
|
||||||
export * from "./types.js";
|
export * from "./types.js";
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
import { McpbManifestSchema as ManifestSchemaV0_1 } from "./0.1.js";
|
||||||
|
import { McpbManifestSchema as ManifestSchemaV0_2 } from "./0.2.js";
|
||||||
|
import { McpbManifestSchema as ManifestSchemaV0_3 } from "./0.3.js";
|
||||||
|
|
||||||
export * as v0_1 from "./0.1.js";
|
export * as v0_1 from "./0.1.js";
|
||||||
export * as v0_2 from "./0.2.js";
|
export * as v0_2 from "./0.2.js";
|
||||||
export * as v0_3 from "./0.3.js";
|
export * as v0_3 from "./0.3.js";
|
||||||
|
|
@ -5,5 +9,14 @@ export * as vAny from "./any.js";
|
||||||
export * as vLatest from "./latest.js";
|
export * as vLatest from "./latest.js";
|
||||||
export {
|
export {
|
||||||
MANIFEST_VERSION as LATEST_MANIFEST_VERSION,
|
MANIFEST_VERSION as LATEST_MANIFEST_VERSION,
|
||||||
McpbManifestSchema,
|
McpbManifestSchema as LatestMcpbManifestSchema,
|
||||||
} from "./latest.js";
|
} from "./latest.js";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Map of manifest versions to their strict schemas
|
||||||
|
*/
|
||||||
|
export const VERSIONED_MANIFEST_SCHEMAS = {
|
||||||
|
"0.1": ManifestSchemaV0_1,
|
||||||
|
"0.2": ManifestSchemaV0_2,
|
||||||
|
"0.3": ManifestSchemaV0_3,
|
||||||
|
} as const;
|
||||||
Loading…
Reference in a new issue