type FontVariant = "300" | "regular" | "400" | "500" | "600" | "700" | "800" type FontFile = Record export interface Resource { id: string preview: string src: string object: string } export interface IFontFamily { id: string family: string variants: FontVariant[] files: FontFile[] subsets: string[] version: string lastModified: string category: string kind: string } export interface TextOptions { underline: boolean textAlign: string fontSize: number fill: string charSpacing: number lineHeight: number fontFamily: string isGroup: boolean isMultiple: boolean styles: any[] font: any activeStyle: any } export interface Uploading { status: string progress: number } export interface IUpload { id: string contentType: string folder: string name: string type: string url: string }