Skip to main content
Glama

Model Context Protocol Server

restoreresponseunion.ts917 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { Info, Info$zodSchema } from "./info.js"; /** * The error message if restore failed for a specific asset. */ export const ErrorEnum$zodSchema = z.enum([ "no_backup", "failed", "unauthorized", ]).describe("The error message if restore failed for a specific asset."); export type ErrorEnum = z.infer<typeof ErrorEnum$zodSchema>; export type RestoreResponse = { error?: ErrorEnum | undefined }; export const RestoreResponse$zodSchema: z.ZodType< RestoreResponse, z.ZodTypeDef, unknown > = z.object({ error: ErrorEnum$zodSchema.optional(), }); export type RestoreResponseUnion = RestoreResponse | Info; export const RestoreResponseUnion$zodSchema: z.ZodType< RestoreResponseUnion, z.ZodTypeDef, unknown > = z.union([ z.lazy(() => RestoreResponse$zodSchema), Info$zodSchema, ]);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kanwardeep007/random-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server