reverted type-id
This commit is contained in:
parent
814afb3eaa
commit
6562b362a8
@ -13,12 +13,7 @@ export class AnnotationData {
|
||||
}
|
||||
|
||||
export class FileDataModel {
|
||||
constructor(
|
||||
public file: File,
|
||||
public fileData: Blob,
|
||||
public redactionLog: RedactionLog,
|
||||
public viewedPages?: ViewedPages
|
||||
) {}
|
||||
constructor(public file: File, public fileData: Blob, public redactionLog: RedactionLog, public viewedPages?: ViewedPages) {}
|
||||
|
||||
getAnnotations(
|
||||
dictionaryData: { [p: string]: TypeValue },
|
||||
@ -59,8 +54,7 @@ export class FileDataModel {
|
||||
// copy the redactionLog Entry
|
||||
const redactionLogEntryWrapper: RedactionLogEntryWrapper = {};
|
||||
Object.assign(redactionLogEntryWrapper, redactionLogEntry);
|
||||
console.log(redactionLogEntry.typeId);
|
||||
redactionLogEntryWrapper.type = redactionLogEntry.typeId.substr(0, redactionLogEntry.typeId.indexOf(":"));
|
||||
redactionLogEntryWrapper.type = redactionLogEntry.type;
|
||||
|
||||
redactionLogEntryWrapper.isChangeLogEntry = this._isChangeLogEntry(redactionLogEntry);
|
||||
// redactionLogEntryWrapper.changeLogType = changeLogEntry.changeType;
|
||||
|
||||
@ -11,6 +11,6 @@ export class ManualAnnotationResponse {
|
||||
}
|
||||
|
||||
get dictionary() {
|
||||
return this.manualRedactionEntryWrapper.manualRedactionEntry.typeId;
|
||||
return this.manualRedactionEntryWrapper.manualRedactionEntry.type;
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ export interface ManualRedactionEntry {
|
||||
requestDate?: string;
|
||||
softDeletedTime?: string;
|
||||
status?: ManualRedactionEntry.StatusEnum;
|
||||
typeId?: string;
|
||||
type?: string;
|
||||
user?: string;
|
||||
value?: string;
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ export interface RedactionLogEntry {
|
||||
status?: RedactionLogEntry.StatusEnum;
|
||||
textAfter?: string;
|
||||
textBefore?: string;
|
||||
typeId?: string;
|
||||
type?: string;
|
||||
value?: string;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user