UNPKG

intentful

Version:

Create Custom Skills with less headache

95 lines (94 loc) 4.33 kB
import { LabeledRequestHandler } from '../../../../skill/models'; import { Calculable } from '../../../../types'; import { Command, CommandModel, CommandProps } from '../../../commands'; import { Color, Dimension, Source, VideoSourceModel, VideoSourceProps } from '../../../interfaces'; import { APLBaseComponentModel, APLBaseComponentProps, APLComponent } from '../../component'; export interface AlexaGridListModel extends APLBaseComponentModel { backgroundAlign?: Calculable<string>; backgroundBlur?: Calculable<boolean>; backgroundColor?: Calculable<Color>; backgroundColorOverlay?: Calculable<boolean>; backgroundImageSource?: Source; backgroundOverlayGradient?: Calculable<boolean>; backgroundScale?: Calculable<string>; backgroundVideoSource?: VideoSourceModel; customLayoutName?: Calculable<string>; defaultImageSource?: Source; headerAttributionImage?: Calculable<string>; headerAttributionOpacity?: Calculable<string>; headerAttributionPrimacy?: Calculable<boolean>; headerAttributionText?: Calculable<string>; headerBackButton?: Calculable<boolean>; headerBackButtonAccessibilityLabel?: Calculable<string>; headerBackButtonCommand?: Command<CommandModel, CommandProps>; headerBackgroundColor?: Calculable<Color>; headerDivider?: Calculable<boolean>; headerSubtitle?: Calculable<string>; headerTitle?: Calculable<string>; hideOrdinal?: Calculable<boolean>; imageAlignment?: Calculable<string>; imageAspectRatio?: Calculable<string>; imageBlurredBackground?: Calculable<boolean>; imageHideScrim?: Calculable<string>; imageCaption?: Calculable<string>; imageMetadataPrimacy?: Calculable<string>; imageRoundedCorner?: Calculable<boolean>; imageScale?: Calculable<string>; imageShadow?: Calculable<boolean>; imageShowProgressBar?: Calculable<string>; listId?: Calculable<string>; listItemHeight?: Calculable<Dimension>; listItemHorizontalCount?: Calculable<string>; listItems?: Calculable<string>; primaryAction?: Command<CommandModel, CommandProps>; speechItems?: Calculable<string>; videoAudioTrack?: Calculable<string>; videoAutoPlay?: Calculable<boolean>; } export interface AlexaGridListProps extends APLBaseComponentProps { backgroundAlign?: Calculable<string>; backgroundBlur?: Calculable<boolean>; backgroundColor?: Calculable<Color>; backgroundColorOverlay?: Calculable<boolean>; backgroundImageSource?: Source; backgroundOverlayGradient?: Calculable<boolean>; backgroundScale?: Calculable<string>; backgroundVideoSource?: VideoSourceProps; customLayoutName?: Calculable<string>; defaultImageSource?: Source; headerAttributionImage?: Calculable<string>; headerAttributionOpacity?: Calculable<string>; headerAttributionPrimacy?: Calculable<boolean>; headerAttributionText?: Calculable<string>; headerBackButton?: Calculable<boolean>; headerBackButtonAccessibilityLabel?: Calculable<string>; headerBackButtonCommand?: Command<CommandModel, CommandProps>; headerBackgroundColor?: Calculable<Color>; headerDivider?: Calculable<boolean>; headerSubtitle?: Calculable<string>; headerTitle?: Calculable<string>; hideOrdinal?: Calculable<boolean>; imageAlignment?: Calculable<string>; imageAspectRatio?: Calculable<string>; imageBlurredBackground?: Calculable<boolean>; imageHideScrim?: Calculable<string>; imageCaption?: Calculable<string>; imageMetadataPrimacy?: Calculable<string>; imageRoundedCorner?: Calculable<boolean>; imageScale?: Calculable<string>; imageShadow?: Calculable<boolean>; imageShowProgressBar?: Calculable<string>; listId?: Calculable<string>; listItemHeight?: Calculable<Dimension>; listItemHorizontalCount?: Calculable<string>; listItems?: Calculable<string>; primaryAction?: Command<CommandModel, CommandProps>; speechItems?: Calculable<string>; videoAudioTrack?: Calculable<string>; videoAutoPlay?: Calculable<boolean>; } export declare class AlexaGridList extends APLComponent<AlexaGridListModel, AlexaGridListProps> { constructor(props: AlexaGridListProps); componentSpecificModel(): AlexaGridListModel; componentSpecificRequestHandlers(): LabeledRequestHandler[]; }