feat(feedback): add problem reporting flow
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export * from "./submit_feedback";
|
||||
@@ -0,0 +1,12 @@
|
||||
import type {
|
||||
FeedbackSubmitResponse,
|
||||
SubmitFeedbackInput,
|
||||
} from "@/data/dto/feedback";
|
||||
import { getFeedbackRepository } from "@/data/repositories";
|
||||
import type { Result } from "@/utils/result";
|
||||
|
||||
export function submitFeedback(
|
||||
input: SubmitFeedbackInput,
|
||||
): Promise<Result<FeedbackSubmitResponse>> {
|
||||
return getFeedbackRepository().submit(input);
|
||||
}
|
||||
Reference in New Issue
Block a user