Skip to main content
Glama
api.ts5.54 kB
/* eslint-disable */ /** * Generated `api` utility. * * THIS CODE IS AUTOMATICALLY GENERATED. * * To regenerate, run `npx convex dev`. * @module */ import type { FunctionReference } from "convex/server"; import type { GenericId as Id } from "convex/values"; import { anyApi, componentsGeneric } from "convex/server"; /** * A utility for referencing Convex functions in your app's public API. * * Usage: * ```js * const myFunctionReference = api.myModule.myFunction; * ``` */ export const api: { messages: { componentTest: FunctionReference<"action", "public", {}, any>; list: FunctionReference<"query", "public", {}, any>; save: FunctionReference<"action", "public", { message: string }, string>; scheduleSendWaitlistMessage: FunctionReference< "mutation", "public", {}, any >; send: FunctionReference<"mutation", "public", any, any>; testPartialRollback: FunctionReference<"mutation", "public", {}, any>; }; staticFunctions: { a: FunctionReference< "action", "public", { branded: string; id: Id<"empty"> }, string >; m: FunctionReference< "mutation", "public", { branded: string; id: Id<"empty"> }, string >; q: FunctionReference< "query", "public", { branded: string; id: Id<"empty"> }, { _creationTime: number; _id: Id<"empty"> } | string >; }; } = anyApi as any; /** * A utility for referencing Convex functions in your app's internal API. * * Usage: * ```js * const myFunctionReference = internal.myModule.myFunction; * ``` */ export const internal: { staticFunctions: { ia: FunctionReference<"action", "internal", {}, any>; im: FunctionReference<"mutation", "internal", { branded: string }, null>; iq: FunctionReference< "query", "internal", { arr: Array<number>; bool: boolean; data: ArrayBuffer; id: Id<"empty">; literal: "literal"; null: null; num: number; str: string; }, | string | "literal" | number | boolean | ArrayBuffer | Array<number> | null | Id<"empty"> >; }; } = anyApi as any; export const components = componentsGeneric() as unknown as { waitlist: { actionDemo: { demo: FunctionReference<"action", "internal", any, any>; }; index: { fileDownloadUrl: FunctionReference< "query", "internal", { id: string }, string >; fileUploadUrl: FunctionReference<"mutation", "internal", {}, string>; getMessageCount: FunctionReference<"query", "internal", {}, number>; latestWrite: FunctionReference<"query", "internal", {}, string>; listFiles: FunctionReference<"query", "internal", any, any>; readFromFile: FunctionReference< "action", "internal", { id: string }, string >; repeatMessage: FunctionReference< "action", "internal", { message: string; n: number }, string >; sayGoodbyeFromQuery: FunctionReference<"query", "internal", {}, string>; sayHelloFromMutation: FunctionReference< "mutation", "internal", {}, string >; scheduleMessage: FunctionReference<"mutation", "internal", {}, any>; scheduleSend: FunctionReference<"mutation", "internal", {}, any>; sendMessage: FunctionReference<"mutation", "internal", {}, any>; storeInFile: FunctionReference< "action", "internal", { message: string }, string >; writeSuccessfully: FunctionReference< "mutation", "internal", { text: string }, any >; writeThenFail: FunctionReference< "mutation", "internal", { text: string }, any >; }; }; waitlist2: { actionDemo: { demo: FunctionReference<"action", "internal", any, any>; }; index: { fileDownloadUrl: FunctionReference< "query", "internal", { id: string }, string >; fileUploadUrl: FunctionReference<"mutation", "internal", {}, string>; getMessageCount: FunctionReference<"query", "internal", {}, number>; latestWrite: FunctionReference<"query", "internal", {}, string>; listFiles: FunctionReference<"query", "internal", any, any>; readFromFile: FunctionReference< "action", "internal", { id: string }, string >; repeatMessage: FunctionReference< "action", "internal", { message: string; n: number }, string >; sayGoodbyeFromQuery: FunctionReference<"query", "internal", {}, string>; sayHelloFromMutation: FunctionReference< "mutation", "internal", {}, string >; scheduleMessage: FunctionReference<"mutation", "internal", {}, any>; scheduleSend: FunctionReference<"mutation", "internal", {}, any>; sendMessage: FunctionReference<"mutation", "internal", {}, any>; storeInFile: FunctionReference< "action", "internal", { message: string }, string >; writeSuccessfully: FunctionReference< "mutation", "internal", { text: string }, any >; writeThenFail: FunctionReference< "mutation", "internal", { text: string }, any >; }; }; };

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