import type {
  FeedbackSubmitResponse,
  SubmitFeedbackInput,
} from "@/data/schemas/feedback";
import { getFeedbackRepository } from "@/data/repositories/feedback_repository";
import type { Result } from "@/utils/result";

export function submitFeedback(
  input: SubmitFeedbackInput,
): Promise<Result<FeedbackSubmitResponse>> {
  return getFeedbackRepository().submit(input);
}
