@convex-dev/geospatial
Version:
A geospatial index for Convex
7 lines • 499 B
TypeScript
import type { Id } from "../_generated/dataModel.js";
import type { MutationCtx, QueryCtx } from "../_generated/server.js";
export declare const SAMPLING_RATE = 1024;
export declare function increment(ctx: MutationCtx, _id: Id<"points">, key: string): Promise<void>;
export declare function decrement(ctx: MutationCtx, _id: Id<"points">, key: string): Promise<void>;
export declare function estimateCount(ctx: QueryCtx, key: string): Promise<number>;
//# sourceMappingURL=approximateCounter.d.ts.map