refactor(ticket): make repair review ticket-level

This commit is contained in:
2026-07-30 20:29:49 +05:30
parent 1cbad4074c
commit 58098af0fe
13 changed files with 25 additions and 56 deletions

View File

@@ -26,15 +26,10 @@ export const ticketKeys = {
] as const,
detectionCoordinates: (videoId: string, params: DetectionCoordinatesParams) =>
[...ticketKeys.detectionCoordinateLists(videoId), params] as const,
classReviewDetections: (
videoId: string,
defectClass: string,
proofStatus?: string,
) =>
reviewDetections: (videoId: string, proofStatus?: string) =>
[
...ticketKeys.classDetectionLists(videoId),
'class-review',
defectClass,
'review',
proofStatus ?? 'all',
] as const,
defectClasses: (ticketId: string) =>