fix: make recipe ingredinets interactive
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
parseIngredient,
|
||||
unitsOfMeasure as _unitsOfMeasure,
|
||||
} from "https://esm.sh/parse-ingredient@1.2.1";
|
||||
} from "npm:parse-ingredient";
|
||||
import { Ingredient, IngredientGroup } from "@lib/recipeSchema.ts";
|
||||
import { removeMarkdownFormatting } from "@lib/string.ts";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as thumbhash from "https://esm.sh/thumbhash@0.1.1";
|
||||
import * as thumbhash from "thumbhash";
|
||||
|
||||
export function generateThumbhash(buffer: Uint8Array, w: number, h: number) {
|
||||
const hash = thumbhash.rgbaToThumbHash(w, h, buffer);
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
MovieResultsResponse,
|
||||
ShowResponse,
|
||||
TvResultsResponse,
|
||||
} from "https://esm.sh/moviedb-promise@3.4.1";
|
||||
} from "moviedb-promise";
|
||||
import { createCache } from "@lib/cache.ts";
|
||||
const moviedb = new MovieDb(Deno.env.get("TMDB_API_KEY") || "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user