UNPKG

@fanam-pkg/core-utils

Version:

Core Functions are managed here for quick web development

32 lines (27 loc) 574 B
export type FileType = "image" | "video" | "document" | null export interface IMetaResponse { filters?: string[] hasNext?: boolean count?: number } export interface IFormData<K = string, I = string> { label?: string isSelected?: boolean key?: K disabled?: boolean icon?: I } export interface IAttachment { fileName?: string id?: string mime?: string url: string } export interface IFile { base64?: string file?: File fileName?: string mime?: string attachment?: IAttachment onClickRemove?: () => void }