"use client";

import { MissingAssetMarketDataTable } from "@/app/dashboard/master-table/missing-asset-market-data/_components/missing-asset-market-data-table";
import type {
  MissingAssetMarketDataFilters,
  MissingAssetMarketDataRow,
} from "@/app/dashboard/master-table/missing-asset-market-data/_components/schema";

import { buildValuationGapsMissingDetailsHref } from "../_lib/tab-params";

type Props = {
  data: MissingAssetMarketDataRow[];
  filters: MissingAssetMarketDataFilters;
  totalCount: number;
  page: number;
  pageSize: number;
  pageCount: number;
};

export function HubMissingDetailsTable(props: Props) {
  return (
    <MissingAssetMarketDataTable
      {...props}
      buildHref={buildValuationGapsMissingDetailsHref}
      idPrefix="isin-ops-missing-details"
    />
  );
}
