From 20800b214145ee6056f94ca18fa1054f145eb977 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 28 May 2025 00:32:31 +0000
Subject: (대표님) lib 파트 커밋
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/form-list/table/formLists-table.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'lib/form-list/table/formLists-table.tsx')

diff --git a/lib/form-list/table/formLists-table.tsx b/lib/form-list/table/formLists-table.tsx
index 9f35db03..a9a56338 100644
--- a/lib/form-list/table/formLists-table.tsx
+++ b/lib/form-list/table/formLists-table.tsx
@@ -16,7 +16,7 @@ import { getFormLists } from "../service"
 import { getColumns } from "./formLists-table-columns"
 import { FormListsTableToolbarActions } from "./formLists-table-toolbar-actions"
 import { ViewMetas } from "./meta-sheet"
-import { ExtendedFormMappings } from "../validation"
+import { FormListsView } from "@/db/schema"
 
 interface ItemsTableProps {
   promises: Promise<
@@ -33,7 +33,7 @@ export function FormListsTable({ promises }: ItemsTableProps) {
     React.use(promises)
 
   const [rowAction, setRowAction] =
-    React.useState<DataTableRowAction<ExtendedFormMappings> | null>(null)
+    React.useState<DataTableRowAction<FormListsView> | null>(null)
 
   const columns = React.useMemo(
     () => getColumns({ setRowAction }),
@@ -51,7 +51,7 @@ export function FormListsTable({ promises }: ItemsTableProps) {
    * @prop {React.ReactNode} [icon] - An optional icon to display next to the label.
    * @prop {boolean} [withCount] - An optional boolean to display the count of the filter option.
    */
-  const filterFields: DataTableFilterField<ExtendedFormMappings>[] = [
+  const filterFields: DataTableFilterField<FormListsView>[] = [
 
    
   ]
@@ -66,7 +66,7 @@ export function FormListsTable({ promises }: ItemsTableProps) {
    * 3. Used with DataTableAdvancedToolbar: Enables a more sophisticated filtering UI.
    * 4. Date and boolean types: Adds support for filtering by date ranges and boolean values.
    */
-  const advancedFilterFields: DataTableAdvancedFilterField<ExtendedFormMappings>[] = [
+  const advancedFilterFields: DataTableAdvancedFilterField<FormListsView>[] = [
     {
       id: "projectCode",
       label: "Project Code",
-- 
cgit v1.2.3

