mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-25 19:16:19 +00:00
chroe:limpiar imports
This commit is contained in:
parent
a36da26b51
commit
bfc90e08f7
3 changed files with 3 additions and 9 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue