@convex-dev/geospatial
Version:
A geospatial index for Convex
9 lines • 383 B
TypeScript
import type { Id } from "../_generated/dataModel.js";
export type TupleKey = string;
export declare function encodeTupleKey(sortKey: number, pointId: Id<"points">): TupleKey;
export declare function decodeTupleKey(key: TupleKey): {
sortKey: number;
pointId: Id<"points">;
};
export declare function encodeBound(sortKey: number): string;
//# sourceMappingURL=tupleKey.d.ts.map