41 lines
856 B
TypeScript
41 lines
856 B
TypeScript
/* eslint-disable */
|
|
/**
|
|
* Generated `api` utility.
|
|
*
|
|
* THIS CODE IS AUTOMATICALLY GENERATED.
|
|
*
|
|
* To regenerate, run `npx convex dev`.
|
|
* @module
|
|
*/
|
|
|
|
import type {
|
|
ApiFromModules,
|
|
FilterApi,
|
|
FunctionReference,
|
|
} from "convex/server";
|
|
import type * as auth from "../auth.js";
|
|
import type * as http from "../http.js";
|
|
import type * as myFunctions from "../myFunctions.js";
|
|
|
|
/**
|
|
* A utility for referencing Convex functions in your app's API.
|
|
*
|
|
* Usage:
|
|
* ```js
|
|
* const myFunctionReference = api.myModule.myFunction;
|
|
* ```
|
|
*/
|
|
declare const fullApi: ApiFromModules<{
|
|
auth: typeof auth;
|
|
http: typeof http;
|
|
myFunctions: typeof myFunctions;
|
|
}>;
|
|
export declare const api: FilterApi<
|
|
typeof fullApi,
|
|
FunctionReference<any, "public">
|
|
>;
|
|
export declare const internal: FilterApi<
|
|
typeof fullApi,
|
|
FunctionReference<any, "internal">
|
|
>;
|