start the assignment of boundaries for a local search

This commit is contained in:
2023-08-29 20:47:22 -06:00
parent 3f7bcbfd76
commit 8ee610c1bc
3 changed files with 73 additions and 10 deletions

View File

@@ -1,3 +1,10 @@
export type BoundingBox = {
maxLat: number;
maxLong: number;
minLat: number;
minLong: number;
};
// a singleton
export type Settings = {
id: number; // there's only one entry: MASTER_SETTINGS_KEY
@@ -7,6 +14,7 @@ export type Settings = {
firstName?: string;
lastName?: string;
lastViewedClaimId?: string;
searchBoxes?: Array<BoundingBox>;
showContactGivesInline?: boolean;
};