UNPKG

@convex-dev/geospatial

Version:
7 lines 489 B
import { Id } from "../_generated/dataModel.js"; import { 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