Files
journaley/convex/_generated/api.d.ts
T

64 lines
1.4 KiB
TypeScript

/* eslint-disable */
/**
* Generated `api` utility.
*
* THIS CODE IS AUTOMATICALLY GENERATED.
*
* To regenerate, run `npx convex dev`.
* @module
*/
import type * as analytics from "../analytics.js";
import type * as auth from "../auth.js";
import type * as entries from "../entries.js";
import type * as http from "../http.js";
import type * as lib from "../lib.js";
import type * as settings from "../settings.js";
import type * as tags from "../tags.js";
import type * as validators from "../validators.js";
import type {
ApiFromModules,
FilterApi,
FunctionReference,
} from "convex/server";
declare const fullApi: ApiFromModules<{
analytics: typeof analytics;
auth: typeof auth;
entries: typeof entries;
http: typeof http;
lib: typeof lib;
settings: typeof settings;
tags: typeof tags;
validators: typeof validators;
}>;
/**
* 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: {};