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.

135 lines (134 loc) • 4 kB
import { z } from "zod"; /** * Zod schema for the list projects tool arguments. */ export declare const ListProjectsToolArgs: z.ZodObject<{ limit: z.ZodOptional<z.ZodNumber>; page: z.ZodOptional<z.ZodNumber>; includeStats: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strict", z.ZodTypeAny, { includeStats: boolean; page?: number | undefined; limit?: number | undefined; }, { page?: number | undefined; limit?: number | undefined; includeStats?: boolean | undefined; }>; /** * TypeScript type inferred from the ListProjectsToolArgs Zod schema. */ export type ListProjectsToolArgsType = z.infer<typeof ListProjectsToolArgs>; /** * Zod schema for the get project details tool arguments. */ export declare const GetProjectDetailsToolArgs: z.ZodObject<{ projectId: z.ZodString; includeLanguages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; includeKeysSummary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strict", z.ZodTypeAny, { projectId: string; includeLanguages: boolean; includeKeysSummary: boolean; }, { projectId: string; includeLanguages?: boolean | undefined; includeKeysSummary?: boolean | undefined; }>; /** * TypeScript type inferred from the GetProjectDetailsToolArgs Zod schema. */ export type GetProjectDetailsToolArgsType = z.infer<typeof GetProjectDetailsToolArgs>; /** * Zod schema for the create project tool arguments. */ export declare const CreateProjectToolArgs: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional<z.ZodString>; base_lang_iso: z.ZodDefault<z.ZodOptional<z.ZodString>>; languages: z.ZodOptional<z.ZodArray<z.ZodObject<{ lang_iso: z.ZodString; }, "strip", z.ZodTypeAny, { lang_iso: string; }, { lang_iso: string; }>, "many">>; }, "strict", z.ZodTypeAny, { name: string; base_lang_iso: string; description?: string | undefined; languages?: { lang_iso: string; }[] | undefined; }, { name: string; description?: string | undefined; languages?: { lang_iso: string; }[] | undefined; base_lang_iso?: string | undefined; }>; /** * TypeScript type inferred from the CreateProjectToolArgs Zod schema. */ export type CreateProjectToolArgsType = z.infer<typeof CreateProjectToolArgs>; /** * Zod schema for the update project tool arguments. */ export declare const UpdateProjectToolArgs: z.ZodObject<{ projectId: z.ZodString; projectData: z.ZodObject<{ name: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name?: string | undefined; description?: string | undefined; }, { name?: string | undefined; description?: string | undefined; }>; }, "strict", z.ZodTypeAny, { projectId: string; projectData: { name?: string | undefined; description?: string | undefined; }; }, { projectId: string; projectData: { name?: string | undefined; description?: string | undefined; }; }>; /** * TypeScript type inferred from the UpdateProjectToolArgs Zod schema. */ export type UpdateProjectToolArgsType = z.infer<typeof UpdateProjectToolArgs>; /** * Zod schema for the delete project tool arguments. */ export declare const DeleteProjectToolArgs: z.ZodObject<{ projectId: z.ZodString; }, "strict", z.ZodTypeAny, { projectId: string; }, { projectId: string; }>; /** * TypeScript type inferred from the DeleteProjectToolArgs Zod schema. */ export type DeleteProjectToolArgsType = z.infer<typeof DeleteProjectToolArgs>; /** * Zod schema for the empty project tool arguments. */ export declare const EmptyProjectToolArgs: z.ZodObject<{ projectId: z.ZodString; }, "strict", z.ZodTypeAny, { projectId: string; }, { projectId: string; }>; /** * TypeScript type inferred from the EmptyProjectToolArgs Zod schema. */ export type EmptyProjectToolArgsType = z.infer<typeof EmptyProjectToolArgs>;