refactor: reorganiza componentes compartilhados e caminhos do app

This commit is contained in:
Felipe Coutinho
2026-03-06 13:57:40 +00:00
parent f0497d5c5f
commit 069d0759c6
103 changed files with 225 additions and 622 deletions

View File

@@ -9,9 +9,9 @@ import {
lancamentos,
pagadores,
} from "@/db/schema";
import { buildInvoicePaymentNote } from "@/lib/accounts/constants";
import { revalidateForEntity } from "@/lib/actions/helpers";
import { getUser } from "@/lib/auth/server";
import { buildInvoicePaymentNote } from "@/lib/contas/constants";
import { db } from "@/lib/db";
import {
INVOICE_PAYMENT_STATUS,

View File

@@ -1,6 +1,6 @@
import { and, desc, eq, type SQL, sum } from "drizzle-orm";
import { cartoes, faturas, lancamentos } from "@/db/schema";
import { buildInvoicePaymentNote } from "@/lib/accounts/constants";
import { buildInvoicePaymentNote } from "@/lib/contas/constants";
import { db } from "@/lib/db";
import {
INVOICE_PAYMENT_STATUS,

View File

@@ -2,7 +2,7 @@ import {
FilterSkeleton,
InvoiceSummaryCardSkeleton,
TransactionsTableSkeleton,
} from "@/components/skeletons";
} from "@/components/shared/skeletons";
import { Skeleton } from "@/components/ui/skeleton";
/**

View File

@@ -1,5 +1,5 @@
import { RiBankCard2Line } from "@remixicon/react";
import PageDescription from "@/components/page-description";
import PageDescription from "@/components/shared/page-description";
export const metadata = {
title: "Cartões | OpenMonetis",