import type { ColumnDef } from '@tanstack/react-table'; export type Spec = { name: string; method: string; path: string; domain: string; }; export const fakeData: Spec[] = [ { name: 'listPets', method: 'get', path: '/pets', domain: 'petstore.swagger.io', }, { name: 'createPets', method: 'post', path: '/pets', domain: 'petstore.swagger.io', }, { name: 'showPetById', method: 'get', path: '/pets/{petId}', domain: 'petstore.swagger.io', }, ]; export const columns: ColumnDef[] = [ { header: 'Name', accessorKey: 'name', }, { header: 'Method', accessorKey: 'method', }, { header: 'Path', accessorKey: 'path', }, // { // header: '', // accessorKey: 'action', // // eslint-disable-next-line @typescript-eslint/no-unused-vars // cell: ({ row: _row }) => ( // // ), // }, ];