1
0
forked from Yara724/api

YARA-951 case-4

This commit is contained in:
SepehrYahyaee
2026-05-25 13:11:37 +03:30
parent ff94fa35bf
commit 64fa560f73
5 changed files with 247 additions and 75 deletions

View File

@@ -48,5 +48,12 @@ export class Workflow {
@Prop({ type: ActorLockSchema })
lockedBy?: ActorLock;
/**
* First expert who called review assign; kept after the 15m workflow lock expires
* so no other expert can take the case while it remains in the expert queue.
*/
@Prop({ type: ActorLockSchema })
assignedForReviewBy?: ActorLock;
}
export const WorkflowSchema = SchemaFactory.createForClass(Workflow);