UNPKG

@convex-dev/rate-limiter

Version:

A rate limiter component for Convex. Define and use application-layer rate limits. Type-safe, transactional, fair, safe, and configurable sharding to scale.

38 lines 1.07 kB
/** * Generated `api` utility. * * THIS CODE IS AUTOMATICALLY GENERATED. * * To regenerate, run `npx convex dev`. * @module */ import type * as internal_ from "../internal.js"; import type * as lib from "../lib.js"; import type * as time from "../time.js"; import type { ApiFromModules, FilterApi, FunctionReference } from "convex/server"; declare const fullApi: ApiFromModules<{ internal: typeof internal_; lib: typeof lib; time: typeof time; }>; /** * 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: {}; export {}; //# sourceMappingURL=api.d.ts.map