UNPKG

@takashito/linode-mcp-server

Version:

MCP server for Linode API

94 lines (93 loc) 2.68 kB
import { z } from "zod"; /** * Schema for listing StackScripts */ export declare const listStackScriptsSchema: z.ZodObject<{ is_mine: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>; is_public: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>; page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { page?: number | undefined; page_size?: number | undefined; is_public?: boolean | undefined; is_mine?: boolean | undefined; }, { page?: number | undefined; page_size?: number | undefined; is_public?: unknown; is_mine?: unknown; }>; /** * Schema for getting a specific StackScript */ export declare const getStackScriptSchema: z.ZodObject<{ id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; }, { id: number; }>; /** * Schema for creating a StackScript */ export declare const createStackScriptSchema: z.ZodObject<{ script: z.ZodString; label: z.ZodString; images: z.ZodArray<z.ZodString, "many">; description: z.ZodOptional<z.ZodString>; is_public: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>; rev_note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { label: string; images: string[]; script: string; description?: string | undefined; is_public?: boolean | undefined; rev_note?: string | undefined; }, { label: string; images: string[]; script: string; description?: string | undefined; is_public?: unknown; rev_note?: string | undefined; }>; /** * Schema for updating a StackScript */ export declare const updateStackScriptSchema: z.ZodObject<{ id: z.ZodNumber; script: z.ZodOptional<z.ZodString>; label: z.ZodOptional<z.ZodString>; images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; description: z.ZodOptional<z.ZodString>; is_public: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>; rev_note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: number; label?: string | undefined; description?: string | undefined; is_public?: boolean | undefined; images?: string[] | undefined; script?: string | undefined; rev_note?: string | undefined; }, { id: number; label?: string | undefined; description?: string | undefined; is_public?: unknown; images?: string[] | undefined; script?: string | undefined; rev_note?: string | undefined; }>; /** * Schema for deleting a StackScript */ export declare const deleteStackScriptSchema: z.ZodObject<{ id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; }, { id: number; }>;