UNPKG

photoeditorsdk

Version:

The most comprehensive photo editor SDK for HTML5

21 lines (20 loc) 514 B
import { ExistingCategory } from '../../common/existingAsset'; export interface TransformCategory { identifier: string; name: string; items: CropRatio[]; thumbnailURI?: string; } export interface CropRatio { identifier: string; name: string; thumbnailURI: string; ratio?: number | '*'; dimensions?: { x: number; y: number; }; forceDimensions?: boolean; lockDimensions?: boolean; } export type ExistingTransformCategory = ExistingCategory<CropRatio>;