import type { InferResponseType, InferRequestType } from 'hono/client';
import { submissionRecordsClient } from '@/client/api';

export type SubmissionRecordsListResponse = InferResponseType<typeof submissionRecordsClient.$get, 200>;
export type SubmissionRecordsItem = SubmissionRecordsListResponse['data'][0];
export type CreateSubmissionRecordsRequest = InferRequestType<typeof submissionRecordsClient.$post>['json'];
export type UpdateSubmissionRecordsRequest = InferRequestType<typeof submissionRecordsClient[':id']['$put']>['json'];