This commit is contained in:
Peter Paul Kirschner 2021-03-23 23:48:49 +01:00
parent c14fe4623b
commit bcf4781ed4
1 changed files with 0 additions and 4 deletions

View File

@ -61,11 +61,9 @@ export enum ManipulationType {
Filter,
Resize
}
export interface IManipulationBase {
type: ManipulationType;
}
export interface ICropSettings extends IManipulationBase, ICrop {
}
export interface IFlipSettings extends IManipulationBase {
@ -78,7 +76,6 @@ export interface IScaleSettings extends IManipulationBase {
export interface IRotateSettings extends IManipulationBase {
rotate: number;
}
export interface IFilterSettings extends IManipulationBase {
filterType: FilterType;
nvalue?: number;
@ -86,7 +83,6 @@ export interface IFilterSettings extends IManipulationBase {
}
export interface IResizeSettings extends IManipulationBase, IResize {
}
export type IImageManipulationSettings = IFilterSettings | IRotateSettings |
IScaleSettings | IFlipSettings | ICropSettings | IResizeSettings;