@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
32 lines (31 loc) • 993 B
TypeScript
export interface IViolationServiceConfiguration {
enabled?: boolean;
qualityMeter?: IQualityMeterConfig;
safetyLines?: ISafetyLinesConfig;
safetyLineViolationWarningEnabled?: boolean;
regionViolationWarningEnabled?: boolean;
bleedViolationWarningEnabled?: boolean;
textCropViolationWarningEnabled?: boolean;
qualityChangeContainersEnabled?: boolean;
violationWarningButtonsEnabled?: boolean;
inPlaceNotSupportedWarningEnabled?: boolean;
tolerance?: number;
}
export interface IQualityMeterConfig {
qualityLevels: IQualityLevelsConfig;
renderingDpi: number;
enabled: boolean;
}
export interface ISafetyLinesConfig {
enabled: boolean;
mode: SafetyLineViolationMode;
}
export declare enum SafetyLineViolationMode {
InsideAll = "InsideAll",
PartiallyInsideAny = "PartiallyInsideAny",
InsideAny = "InsideAny"
}
export interface IQualityLevelsConfig {
warning: number;
bad: number;
}