import { IImageInfo } from '../../utils/file'; import IBaseClass from '../BaseClass'; import ITranslation from '../Translation'; export default interface ISlider extends IBaseClass { readonly id?: string; readonly name: string; readonly page_slug?: string; readonly draft?: boolean; readonly slides: T[]; } export interface ISlide { readonly id: string; readonly name: string; readonly order: number; readonly title?: ITranslation[]; readonly image?: IImageInfo; readonly smallImage?: IImageInfo; readonly subtitleContent?: ITranslation[]; readonly subtitlePosition?: 'above' | 'below'; readonly separatorColor?: string; readonly backgroundDarkness?: 'lighter' | 'normal' | 'darker'; readonly text1?: ITranslation[]; readonly text2?: ITranslation[]; readonly buttonText?: ITranslation[]; readonly buttonTextColor?: '#585756' | '#fff'; readonly buttonLink?: string; readonly buttonColor?: string; readonly openInNewTab?: boolean; readonly draft?: boolean; }