Skip to content

Commit

Permalink
Merge pull request #6 from jpchip/add-nearby-tab
Browse files Browse the repository at this point in the history
Add nearby tab to show locations within 5 miles
  • Loading branch information
jpchip authored Jan 5, 2025
2 parents 3c9d84a + aace036 commit ab30d31
Show file tree
Hide file tree
Showing 6 changed files with 581 additions and 180 deletions.
51 changes: 51 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 15 additions & 11 deletions importer/importer.interface.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import { Browser } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Browser.js";

export declare namespace MkeFrozenTreatsImporter {
interface Site {
name: string,
url: string,
script: string,
flavorOfTheDay: string
}

type LoadFunction = (browser: Browser, site: MkeFrozenTreatsImporter.Site) => string;
import { Browser } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Browser.js";

export declare namespace MkeFrozenTreatsImporter {
interface Site {
name: string,
url: string,
script: string,
flavorOfTheDay: string,
locations: {
latitude: number,
longitude: number
}[]
}

type LoadFunction = (browser: Browser, site: MkeFrozenTreatsImporter.Site) => string;
}
Loading

0 comments on commit ab30d31

Please sign in to comment.