intentful
Version:
Create Custom Skills with less headache
87 lines (86 loc) • 3.95 kB
TypeScript
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 AlexaImageListModel extends APLBaseComponentModel {
backgroundAlign?: Calculable<string>;
backgroundBlur?: Calculable<boolean>;
backgroundColor?: Calculable<Color>;
backgroundColorOverlay?: Calculable<boolean>;
backgroundImageSource?: Source;
backgroundOverlayGradient?: Calculable<boolean>;
backgroundScale?: Calculable<string>;
backgroundVideoSource?: VideoSourceModel;
defaultImageSource?: Source;
headerAttributionImage?: Calculable<string>;
headerAttributionOpacity?: Calculable<number>;
headerAttributionPrimacy?: Calculable<boolean>;
headerAttributionText?: Calculable<string>;
headerBackButton?: Calculable<boolean>;
headerBackButtonAccessibilityLabel?: Calculable<string>;
headerBackButtonCommand?: Command<CommandModel, CommandProps>;
headerBackgroundColor?: Calculable<Color>;
headerDivider?: Calculable<boolean>;
headerTitle?: Calculable<string>;
hideDivider?: Calculable<boolean>;
hintText?: Calculable<string>;
imageAlignment?: Calculable<string>;
imageAspectRatio?: Calculable<string>;
imageBlurredBackground?: Calculable<boolean>;
imageHeight?: Calculable<Dimension>;
imageHideScrim?: Calculable<boolean>;
imageMetadataPrimacy?: Calculable<boolean>;
imageRoundedCorner?: Calculable<boolean>;
imageScale?: Calculable<boolean>;
imageShadow?: Calculable<string>;
listId?: Calculable<string>;
listItems?: Calculable<string>;
primaryAction?: Command<CommandModel, CommandProps>;
speechItems?: string[];
videoAudioTrack?: Calculable<string>;
videoAutoPlay?: Calculable<string>;
}
export interface AlexaImageListProps extends APLBaseComponentProps {
backgroundAlign?: Calculable<string>;
backgroundBlur?: Calculable<boolean>;
backgroundColor?: Calculable<Color>;
backgroundColorOverlay?: Calculable<boolean>;
backgroundImageSource?: Source;
backgroundOverlayGradient?: Calculable<boolean>;
backgroundScale?: Calculable<string>;
backgroundVideoSource?: VideoSourceProps;
defaultImageSource?: Source;
headerAttributionImage?: Calculable<string>;
headerAttributionOpacity?: Calculable<number>;
headerAttributionPrimacy?: Calculable<boolean>;
headerAttributionText?: Calculable<string>;
headerBackButton?: Calculable<boolean>;
headerBackButtonAccessibilityLabel?: Calculable<string>;
headerBackButtonCommand?: Command<CommandModel, CommandProps>;
headerBackgroundColor?: Calculable<Color>;
headerDivider?: Calculable<boolean>;
headerTitle?: Calculable<string>;
hideDivider?: Calculable<boolean>;
hintText?: Calculable<string>;
imageAlignment?: Calculable<string>;
imageAspectRatio?: Calculable<string>;
imageBlurredBackground?: Calculable<boolean>;
imageHeight?: Calculable<Dimension>;
imageHideScrim?: Calculable<boolean>;
imageMetadataPrimacy?: Calculable<boolean>;
imageRoundedCorner?: Calculable<boolean>;
imageScale?: Calculable<boolean>;
imageShadow?: Calculable<string>;
listId?: Calculable<string>;
listItems?: Calculable<string>;
primaryAction?: Command<CommandModel, CommandProps>;
speechItems?: string[];
videoAudioTrack?: Calculable<string>;
videoAutoPlay?: Calculable<string>;
}
export declare class AlexaImageList extends APLComponent<AlexaImageListModel, AlexaImageListProps> {
constructor(props: AlexaImageListProps);
componentSpecificModel(): AlexaImageListModel;
componentSpecificRequestHandlers(): LabeledRequestHandler[];
}