"use client" import { ResourcePage } from "@/shared/data-view/resource-page" import { ColumnHeader } from "@/shared/data-view/table-view" import { ShopTimingForm } from "@/modules/shop-timings/shop-timing-form" import { SHOP_TIMING_ROUTES } from "@repo/api" import type { ShopTimingsClient } from "@repo/api" import { CheckCircle2Icon } from "lucide-react" export default function ShopTimingsPage() { return ( pageTitle="Shop Timings" title="Shop Timing" routeKey={SHOP_TIMING_ROUTES.INDEX} getClient={(api) => api.shopTimings} columns={({ actionsColumn }) => [ { accessorKey: "title", header: ({ column }) => , }, { accessorKey: "in_time", header: ({ column }) => , }, { accessorKey: "out_time", header: ({ column }) => , }, { accessorKey: "full_day_hours", header: ({ column }) => , }, { accessorKey: "half_day_hours", header: ({ column }) => , }, { accessorKey: "is_default", header: ({ column }) => , cell: ({ row }) => row.original.is_default ? ( ) : null, }, actionsColumn(), ]} renderForm={({ resourceId, initialData, onSuccess }) => ( )} /> ) }