Fix lint errors: sort imports and rename unused parameter
- Reorganize imports in types.ts to satisfy simple-import-sort - Rename unused localization parameter to _localization in init.ts
This commit is contained in:
parent
3a9ee6e007
commit
07b77432a6
2 changed files with 4 additions and 4 deletions
|
|
@ -874,7 +874,7 @@ export function buildManifest(
|
|||
license: string;
|
||||
repository?: { type: string; url: string };
|
||||
},
|
||||
localization?: {
|
||||
_localization?: {
|
||||
resources: string;
|
||||
default_locale: string;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
import type * as z from "zod";
|
||||
|
||||
import type { McpbManifestSchema as McpbManifestSchemaAny } from "./schemas/any.js";
|
||||
import type { VERSIONED_MANIFEST_SCHEMAS } from "./schemas/index.js";
|
||||
import type { DEFAULT_MANIFEST_VERSION } from "./shared/constants.js";
|
||||
// Import schema types from the version matching DEFAULT_MANIFEST_VERSION
|
||||
import type {
|
||||
McpbManifestAuthorSchema,
|
||||
|
|
@ -18,6 +15,9 @@ import type {
|
|||
McpbUserConfigValuesSchema,
|
||||
McpServerConfigSchema,
|
||||
} from "./schemas/0.2.js";
|
||||
import type { McpbManifestSchema as McpbManifestSchemaAny } from "./schemas/any.js";
|
||||
import type { VERSIONED_MANIFEST_SCHEMAS } from "./schemas/index.js";
|
||||
import type { DEFAULT_MANIFEST_VERSION } from "./shared/constants.js";
|
||||
|
||||
export type McpServerConfig = z.infer<typeof McpServerConfigSchema>;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue