/** * @author Samuel Loranger */ export interface ISliderOptions { readonly textsInputs: ITextInputType[]; readonly breakpoints: IBreakpoint[]; } export interface ISliderContent { readonly id?: string; readonly images: { readonly url?: string; readonly dataURL?: string; readonly file?: File; readonly breakpoint: IBreakpoint; }[]; readonly texts: (string | { text: string; href: string; })[]; } export interface ITextInputType { readonly type: 'link' | 'text'; } export interface IBreakpoint { readonly slug: string; readonly min: number; readonly max?: number; }