api.d.ts•2.39 kB
/* eslint-disable */
/**
* Generated `api` utility.
*
* THIS CODE IS AUTOMATICALLY GENERATED.
*
* To regenerate, run `npx convex dev`.
* @module
*/
import type * as actions_componentsNode from "../actions/componentsNode.js";
import type * as actions_externalNodeDeps from "../actions/externalNodeDeps.js";
import type * as actions_insert from "../actions/insert.js";
import type * as common from "../common.js";
import type * as components_ from "../components.js";
import type * as http from "../http.js";
import type * as insert from "../insert.js";
import type * as log from "../log.js";
import type * as loopForever from "../loopForever.js";
import type * as openclaurd from "../openclaurd.js";
import type * as query_index from "../query_index.js";
import type * as schedule from "../schedule.js";
import type * as search from "../search.js";
import type * as setup from "../setup.js";
import type * as update from "../update.js";
import type * as vectorSearch from "../vectorSearch.js";
import type {
ApiFromModules,
FilterApi,
FunctionReference,
} from "convex/server";
/**
* A utility for referencing Convex functions in your app's API.
*
* Usage:
* ```js
* const myFunctionReference = api.myModule.myFunction;
* ```
*/
declare const fullApi: ApiFromModules<{
"actions/componentsNode": typeof actions_componentsNode;
"actions/externalNodeDeps": typeof actions_externalNodeDeps;
"actions/insert": typeof actions_insert;
common: typeof common;
components: typeof components_;
http: typeof http;
insert: typeof insert;
log: typeof log;
loopForever: typeof loopForever;
openclaurd: typeof openclaurd;
query_index: typeof query_index;
schedule: typeof schedule;
search: typeof search;
setup: typeof setup;
update: typeof update;
vectorSearch: typeof vectorSearch;
}>;
declare const fullApiWithMounts: typeof fullApi;
export declare const api: FilterApi<
typeof fullApiWithMounts,
FunctionReference<any, "public">
>;
export declare const internal: FilterApi<
typeof fullApiWithMounts,
FunctionReference<any, "internal">
>;
export declare const components: {
counterComponent: {
public: {
increment: FunctionReference<"mutation", "internal", any, any>;
load: FunctionReference<"query", "internal", any, any>;
reset: FunctionReference<"action", "internal", { count: number }, any>;
};
};
};