UNPKG

@takashito/linode-mcp-server

Version:

MCP server for Linode API

170 lines (169 loc) 4.6 kB
import { z } from 'zod'; /** * Schema for listing log streams */ export declare const listLogStreamsSchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { page?: number | undefined; page_size?: number | undefined; }, { page?: number | undefined; page_size?: number | undefined; }>; /** * Schema for getting a specific log stream */ export declare const getLogStreamSchema: z.ZodObject<{ streamId: z.ZodNumber; }, "strip", z.ZodTypeAny, { streamId: number; }, { streamId: number; }>; /** * Schema for creating a log stream */ export declare const createLogStreamSchema: z.ZodObject<{ label: z.ZodString; filters: z.ZodRecord<z.ZodString, z.ZodAny>; aggregation: z.ZodRecord<z.ZodString, z.ZodAny>; }, "strip", z.ZodTypeAny, { label: string; filters: Record<string, any>; aggregation: Record<string, any>; }, { label: string; filters: Record<string, any>; aggregation: Record<string, any>; }>; /** * Schema for updating a log stream */ export declare const updateLogStreamSchema: z.ZodObject<{ streamId: z.ZodNumber; label: z.ZodOptional<z.ZodString>; filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; aggregation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { streamId: number; label?: string | undefined; filters?: Record<string, any> | undefined; aggregation?: Record<string, any> | undefined; }, { streamId: number; label?: string | undefined; filters?: Record<string, any> | undefined; aggregation?: Record<string, any> | undefined; }>; /** * Schema for deleting a log stream */ export declare const deleteLogStreamSchema: z.ZodObject<{ streamId: z.ZodNumber; }, "strip", z.ZodTypeAny, { streamId: number; }, { streamId: number; }>; /** * Schema for getting a log stream's history */ export declare const getLogStreamHistorySchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; streamId: z.ZodNumber; }, "strip", z.ZodTypeAny, { streamId: number; page?: number | undefined; page_size?: number | undefined; }, { streamId: number; page?: number | undefined; page_size?: number | undefined; }>; /** * Schema for listing log destinations */ export declare const listLogDestinationsSchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { page?: number | undefined; page_size?: number | undefined; }, { page?: number | undefined; page_size?: number | undefined; }>; /** * Schema for getting a specific log destination */ export declare const getLogDestinationSchema: z.ZodObject<{ destinationId: z.ZodNumber; }, "strip", z.ZodTypeAny, { destinationId: number; }, { destinationId: number; }>; /** * Schema for creating a log destination */ export declare const createLogDestinationSchema: z.ZodObject<{ label: z.ZodString; type: z.ZodString; config: z.ZodRecord<z.ZodString, z.ZodAny>; }, "strip", z.ZodTypeAny, { label: string; type: string; config: Record<string, any>; }, { label: string; type: string; config: Record<string, any>; }>; /** * Schema for updating a log destination */ export declare const updateLogDestinationSchema: z.ZodObject<{ destinationId: z.ZodNumber; label: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { destinationId: number; label?: string | undefined; type?: string | undefined; config?: Record<string, any> | undefined; }, { destinationId: number; label?: string | undefined; type?: string | undefined; config?: Record<string, any> | undefined; }>; /** * Schema for deleting a log destination */ export declare const deleteLogDestinationSchema: z.ZodObject<{ destinationId: z.ZodNumber; }, "strip", z.ZodTypeAny, { destinationId: number; }, { destinationId: number; }>; /** * Schema for getting a log destination's history */ export declare const getLogDestinationHistorySchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; destinationId: z.ZodNumber; }, "strip", z.ZodTypeAny, { destinationId: number; page?: number | undefined; page_size?: number | undefined; }, { destinationId: number; page?: number | undefined; page_size?: number | undefined; }>;