chroe:limpiar imports

This commit is contained in:
Cat /dev/Nulo 2024-02-06 20:05:01 -03:00
parent a36da26b51
commit bfc90e08f7
3 changed files with 3 additions and 9 deletions

View file

@ -1,12 +1,7 @@
import type { PageData, PageServerLoad } from "./$types"; import type { PageServerLoad } from "./$types";
import { getDb, schema } from "$lib/server/db"; import { getDb, schema } from "$lib/server/db";
const { precios, bestSelling } = schema; const { precios, bestSelling } = schema;
import { desc, max, sql } from "drizzle-orm"; import { max, sql } from "drizzle-orm";
import {
Supermercado,
hostBySupermercado,
supermercados,
} from "db-datos/supermercado";
import z from "zod"; import z from "zod";
import type { Product } from "$lib/ProductPreview.svelte"; import type { Product } from "$lib/ProductPreview.svelte";

View file

@ -1,5 +1,5 @@
import { error } from "@sveltejs/kit"; import { error } from "@sveltejs/kit";
import { eq, max } from "drizzle-orm"; import { eq } from "drizzle-orm";
import type { PageServerLoad } from "./$types"; import type { PageServerLoad } from "./$types";
import { getDb, schema } from "$lib/server/db"; import { getDb, schema } from "$lib/server/db";
const { precios } = schema; const { precios } = schema;

View file

@ -1,4 +1,3 @@
import { error } from "@sveltejs/kit";
import { sql } from "drizzle-orm"; import { sql } from "drizzle-orm";
import type { PageServerLoad } from "./$types"; import type { PageServerLoad } from "./$types";
import { getDb } from "$lib/server/db"; import { getDb } from "$lib/server/db";