Skip to main content
Glama
api.d.ts4.01 kB
/* eslint-disable */ /** * Generated `api` utility. * * THIS CODE IS AUTOMATICALLY GENERATED. * * To regenerate, run `npx convex dev`. * @module */ import type * as demo from "../demo.js"; import type { ApiFromModules, FilterApi, FunctionReference, } from "convex/server"; declare const fullApi: ApiFromModules<{ demo: typeof demo; }>; /** * A utility for referencing Convex functions in your app's public API. * * Usage: * ```js * const myFunctionReference = api.myModule.myFunction; * ``` */ export declare const api: FilterApi< typeof fullApi, FunctionReference<any, "public"> >; /** * A utility for referencing Convex functions in your app's internal API. * * Usage: * ```js * const myFunctionReference = internal.myModule.myFunction; * ``` */ export declare const internal: FilterApi< typeof fullApi, FunctionReference<any, "internal"> >; export declare const components: { resend: { lib: { cancelEmail: FunctionReference< "mutation", "internal", { emailId: string }, null >; cleanupAbandonedEmails: FunctionReference< "mutation", "internal", { olderThan?: number }, null >; cleanupOldEmails: FunctionReference< "mutation", "internal", { olderThan?: number }, null >; createManualEmail: FunctionReference< "mutation", "internal", { from: string; headers?: Array<{ name: string; value: string }>; replyTo?: Array<string>; subject: string; to: string; }, string >; get: FunctionReference< "query", "internal", { emailId: string }, { complained: boolean; createdAt: number; errorMessage?: string; finalizedAt: number; from: string; headers?: Array<{ name: string; value: string }>; html?: string; opened: boolean; replyTo: Array<string>; resendId?: string; segment: number; status: | "waiting" | "queued" | "cancelled" | "sent" | "delivered" | "delivery_delayed" | "bounced" | "failed"; subject: string; text?: string; to: string; } | null >; getStatus: FunctionReference< "query", "internal", { emailId: string }, { complained: boolean; errorMessage: string | null; opened: boolean; status: | "waiting" | "queued" | "cancelled" | "sent" | "delivered" | "delivery_delayed" | "bounced" | "failed"; } | null >; handleEmailEvent: FunctionReference< "mutation", "internal", { event: any }, null >; sendEmail: FunctionReference< "mutation", "internal", { from: string; headers?: Array<{ name: string; value: string }>; html?: string; options: { apiKey: string; initialBackoffMs: number; onEmailEvent?: { fnHandle: string }; retryAttempts: number; testMode: boolean; }; replyTo?: Array<string>; subject: string; text?: string; to: string; }, string >; updateManualEmail: FunctionReference< "mutation", "internal", { emailId: string; errorMessage?: string; resendId?: string; status: | "waiting" | "queued" | "cancelled" | "sent" | "delivered" | "delivery_delayed" | "bounced" | "failed"; }, null >; }; }; };

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/get-convex/convex-backend'

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