UNPKG

@convex-dev/geospatial

Version:
7 lines 499 B
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