UNPKG

@takashito/linode-mcp-server

Version:

MCP server for Linode API

118 lines (117 loc) 3.23 kB
import { z } from 'zod'; export declare const linodeImageSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodNullable<z.ZodString>; created: z.ZodString; updated: z.ZodString; type: z.ZodEnum<["manual", "automatic"]>; status: z.ZodEnum<["available", "creating", "pending_upload", "deleted"]>; is_public: z.ZodBoolean; size: z.ZodNumber; created_by: z.ZodString; vendor: z.ZodNullable<z.ZodString>; deprecated: z.ZodBoolean; expiry: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { label: string; size: number; type: "manual" | "automatic"; status: "deleted" | "available" | "creating" | "pending_upload"; id: string; created: string; updated: string; deprecated: boolean; description: string | null; is_public: boolean; created_by: string; vendor: string | null; expiry: string | null; }, { label: string; size: number; type: "manual" | "automatic"; status: "deleted" | "available" | "creating" | "pending_upload"; id: string; created: string; updated: string; deprecated: boolean; description: string | null; is_public: boolean; created_by: string; vendor: string | null; expiry: string | null; }>; export declare const listImagesSchema: 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; }>; export declare const getImageSchema: z.ZodObject<{ imageId: z.ZodString; }, "strip", z.ZodTypeAny, { imageId: string; }, { imageId: string; }>; export declare const createImageSchema: z.ZodObject<{ disk_id: z.ZodNumber; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { label: string; disk_id: number; description?: string | undefined; }, { label: string; disk_id: number; description?: string | undefined; }>; export declare const uploadImageSchema: z.ZodObject<{ label: z.ZodString; description: z.ZodOptional<z.ZodString>; region: z.ZodString; }, "strip", z.ZodTypeAny, { label: string; region: string; description?: string | undefined; }, { label: string; region: string; description?: string | undefined; }>; export declare const updateImageSchema: z.ZodObject<{ imageId: z.ZodString; label: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { imageId: string; label?: string | undefined; description?: string | undefined; }, { imageId: string; label?: string | undefined; description?: string | undefined; }>; export declare const deleteImageSchema: z.ZodObject<{ imageId: z.ZodString; }, "strip", z.ZodTypeAny, { imageId: string; }, { imageId: string; }>; export declare const replicateImageSchema: z.ZodObject<{ imageId: z.ZodString; regions: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { regions: string[]; imageId: string; }, { regions: string[]; imageId: string; }>;