forked from Yara724/api
Fixed GET APIs for FileMaker and FileReviewer getting their own files
This commit is contained in:
@@ -109,6 +109,20 @@ export class BlameRequest {
|
||||
/** Who fills the blame data: CUSTOMER (LINK) or EXPERT (IN_PERSON). */
|
||||
@Prop({ type: String, enum: FilledBy })
|
||||
filledBy?: FilledBy;
|
||||
|
||||
/**
|
||||
* True when this file was created by a FileMaker (V4 split flow).
|
||||
* These files are sealed by the FileMaker and completed by a FileReviewer.
|
||||
*/
|
||||
@Prop({ default: false })
|
||||
isMadeByFileMaker?: boolean;
|
||||
|
||||
/**
|
||||
* The FileReviewer who claimed this file for completion (V4 flow only).
|
||||
* Set when a FileReviewer calls assign on this file; enforces one-reviewer-per-file.
|
||||
*/
|
||||
@Prop({ type: Types.ObjectId })
|
||||
assignedFileReviewerId?: Types.ObjectId;
|
||||
}
|
||||
|
||||
export type BlameRequestDocument = HydratedDocument<BlameRequest>;
|
||||
|
||||
Reference in New Issue
Block a user