UNPKG

lokalise-mcp

Version:

The Lokalise MCP Server brings Lokalise's localization power to Claude and AI assistants—manage projects, keys, and translations by chat.

171 lines (170 loc) • 5.38 kB
import { z } from "zod"; /** * Zod schema for the list system languages tool arguments. */ export declare const ListSystemLanguagesToolArgs: z.ZodObject<{ limit: z.ZodOptional<z.ZodNumber>; page: z.ZodOptional<z.ZodNumber>; }, "strict", z.ZodTypeAny, { page?: number | undefined; limit?: number | undefined; }, { page?: number | undefined; limit?: number | undefined; }>; /** * TypeScript type inferred from the ListSystemLanguagesToolArgs Zod schema. */ export type ListSystemLanguagesToolArgsType = z.infer<typeof ListSystemLanguagesToolArgs>; /** * Zod schema for the list project languages tool arguments. */ export declare const ListProjectLanguagesToolArgs: z.ZodObject<{ projectId: z.ZodString; includeProgress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strict", z.ZodTypeAny, { projectId: string; includeProgress: boolean; }, { projectId: string; includeProgress?: boolean | undefined; }>; /** * TypeScript type inferred from the ListProjectLanguagesToolArgs Zod schema. */ export type ListProjectLanguagesToolArgsType = z.infer<typeof ListProjectLanguagesToolArgs>; /** * Zod schema for the create language data. */ export declare const CreateLanguageDataSchema: z.ZodObject<{ lang_iso: z.ZodString; custom_iso: z.ZodOptional<z.ZodString>; custom_name: z.ZodOptional<z.ZodString>; custom_plural_forms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strict", z.ZodTypeAny, { lang_iso: string; custom_iso?: string | undefined; custom_name?: string | undefined; custom_plural_forms?: string[] | undefined; }, { lang_iso: string; custom_iso?: string | undefined; custom_name?: string | undefined; custom_plural_forms?: string[] | undefined; }>; /** * Zod schema for the add project languages tool arguments. */ export declare const AddProjectLanguagesToolArgs: z.ZodObject<{ projectId: z.ZodString; languages: z.ZodArray<z.ZodObject<{ lang_iso: z.ZodString; custom_iso: z.ZodOptional<z.ZodString>; custom_name: z.ZodOptional<z.ZodString>; custom_plural_forms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strict", z.ZodTypeAny, { lang_iso: string; custom_iso?: string | undefined; custom_name?: string | undefined; custom_plural_forms?: string[] | undefined; }, { lang_iso: string; custom_iso?: string | undefined; custom_name?: string | undefined; custom_plural_forms?: string[] | undefined; }>, "many">; }, "strict", z.ZodTypeAny, { projectId: string; languages: { lang_iso: string; custom_iso?: string | undefined; custom_name?: string | undefined; custom_plural_forms?: string[] | undefined; }[]; }, { projectId: string; languages: { lang_iso: string; custom_iso?: string | undefined; custom_name?: string | undefined; custom_plural_forms?: string[] | undefined; }[]; }>; /** * TypeScript type inferred from the AddProjectLanguagesToolArgs Zod schema. */ export type AddProjectLanguagesToolArgsType = z.infer<typeof AddProjectLanguagesToolArgs>; /** * Zod schema for the get language tool arguments. */ export declare const GetLanguageToolArgs: z.ZodObject<{ projectId: z.ZodString; languageId: z.ZodNumber; }, "strict", z.ZodTypeAny, { projectId: string; languageId: number; }, { projectId: string; languageId: number; }>; /** * TypeScript type inferred from the GetLanguageToolArgs Zod schema. */ export type GetLanguageToolArgsType = z.infer<typeof GetLanguageToolArgs>; /** * Zod schema for the update language tool arguments. */ export declare const UpdateLanguageToolArgs: z.ZodObject<{ projectId: z.ZodString; languageId: z.ZodNumber; languageData: z.ZodObject<{ lang_iso: z.ZodOptional<z.ZodString>; lang_name: z.ZodOptional<z.ZodString>; plural_forms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { lang_iso?: string | undefined; lang_name?: string | undefined; plural_forms?: string[] | undefined; }, { lang_iso?: string | undefined; lang_name?: string | undefined; plural_forms?: string[] | undefined; }>; }, "strict", z.ZodTypeAny, { projectId: string; languageId: number; languageData: { lang_iso?: string | undefined; lang_name?: string | undefined; plural_forms?: string[] | undefined; }; }, { projectId: string; languageId: number; languageData: { lang_iso?: string | undefined; lang_name?: string | undefined; plural_forms?: string[] | undefined; }; }>; /** * TypeScript type inferred from the UpdateLanguageToolArgs Zod schema. */ export type UpdateLanguageToolArgsType = z.infer<typeof UpdateLanguageToolArgs>; /** * Zod schema for the remove language tool arguments. */ export declare const RemoveLanguageToolArgs: z.ZodObject<{ projectId: z.ZodString; languageId: z.ZodNumber; }, "strict", z.ZodTypeAny, { projectId: string; languageId: number; }, { projectId: string; languageId: number; }>; /** * TypeScript type inferred from the RemoveLanguageToolArgs Zod schema. */ export type RemoveLanguageToolArgsType = z.infer<typeof RemoveLanguageToolArgs>;