mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00

A new config property allows the user to force the duplicate section to be displayed even if there are no duplicates as sometimes this is useful information to a reviewer or submitter
40 lines
786 B
TypeScript
40 lines
786 B
TypeScript
import { Config } from './config.interface';
|
|
|
|
interface AutosaveConfig extends Config {
|
|
metadata: string[];
|
|
timer: number;
|
|
}
|
|
|
|
interface DuplicateDetectionConfig extends Config {
|
|
alwaysShowSection: boolean;
|
|
}
|
|
|
|
interface TypeBindConfig extends Config {
|
|
field: string;
|
|
}
|
|
|
|
interface IconsConfig extends Config {
|
|
metadata: MetadataIconConfig[];
|
|
authority: {
|
|
confidence: ConfidenceIconConfig[];
|
|
};
|
|
}
|
|
|
|
export interface MetadataIconConfig extends Config {
|
|
name: string;
|
|
style: string;
|
|
}
|
|
|
|
export interface ConfidenceIconConfig extends Config {
|
|
value: any;
|
|
style: string;
|
|
icon: string;
|
|
}
|
|
|
|
export interface SubmissionConfig extends Config {
|
|
autosave: AutosaveConfig;
|
|
duplicateDetection: DuplicateDetectionConfig;
|
|
typeBind: TypeBindConfig;
|
|
icons: IconsConfig;
|
|
}
|