chore: add prettier formatting
All checks were successful
CI / Lint, typecheck and build (push) Successful in 9m56s

This commit is contained in:
zv
2026-06-14 20:26:56 +02:00
parent 8bbd9397a1
commit ee55521803
79 changed files with 2451 additions and 969 deletions

View File

@@ -1,9 +1,11 @@
export function isImgwNoProductsResponse(value: unknown) {
if (!value || typeof value !== "object") return false;
const response = value as { status?: unknown; message?: unknown };
return response.status === false
&& typeof response.message === "string"
&& response.message.toLocaleLowerCase("en-US").includes("no products were found");
return (
response.status === false &&
typeof response.message === "string" &&
response.message.toLocaleLowerCase("en-US").includes("no products were found")
);
}
export async function readImgwResponseBody(response: Response) {