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.

34 lines (33 loc) • 1.18 kB
/** * Comments Service * * Service layer for interacting with Lokalise Comments API. * Handles all API communication and data transformation. */ import type { Comment, CommentDeleted, PaginatedResult } from "@lokalise/node-api"; import type { CreateCommentsToolArgsType, DeleteCommentToolArgsType, GetCommentToolArgsType, ListKeyCommentsToolArgsType, ListProjectCommentsToolArgsType } from "./comments.types.js"; /** * Comments service for Lokalise API operations */ export declare const commentsService: { /** * List comments for a specific key */ listKeyComments(args: ListKeyCommentsToolArgsType): Promise<PaginatedResult<Comment>>; /** * List all comments across a project */ listProjectComments(args: ListProjectCommentsToolArgsType): Promise<PaginatedResult<Comment>>; /** * Get a specific comment */ getComment(args: GetCommentToolArgsType): Promise<Comment>; /** * Create comments on a key */ createComments(args: CreateCommentsToolArgsType): Promise<Comment[]>; /** * Delete a comment from a key */ deleteComment(args: DeleteCommentToolArgsType): Promise<CommentDeleted>; };