import ObjectForm from '@/components/ObjectForm/ObjectForm';
import { MarketplaceSchema } from '@/lib/client';
import { zMarketplaceSchema } from '@/lib/client/zod.gen';

const MarketplacesPage = () => {
  return (
    <>
      <ObjectForm<MarketplaceSchema, typeof zMarketplaceSchema>
        schema={zMarketplaceSchema}
        includeKeys={['name']}
        onCreate={(marketplace) => {}}
        labels={{
          name: 'Название',
          authData: 'Данные для авторизации',
        }}
      />
      {/*<MarketplacesTable />*/}
    </>
  );
};

export default MarketplacesPage;
