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