Type Aliases
BaseTimelineWidgetsActionArgs
BaseTimelineWidgetsActionArgs: { programId: string }
BaseWidgetActionArgs
BaseWidgetActionArgs: { widgetId: string }
ChatMessagesState
Chat
Messages
State
: { chatMessages
: IChatMessage[]; chatMessagesLoaded
: boolean; userAvatarUrl
?: string }Type declaration
chatMessagesLoaded: boolean
Optional userAvatarUrl?: string
DateTime
DateTime: Date | string | number
IChatMessageResponsePayload
IChatUserMessageResponsePayload
IQuoteMessageResponsePayload
IUpdateNumberPredictionOptionActionArg
Type declaration
optionIndex: number
widgetId: string
IUpdateSliderMagnitudeAction
IUpdateSliderMagnitudeAction: { magnitude: number; widgetId: string }
Type declaration
magnitude: number
widgetId: string
IUpdateTextAskInputTextAction
IUpdateTextAskInputTextAction: { inputText: string; widgetId: string }
Type declaration
inputText: string
widgetId: string
LLBaseWidgetProps
Type declaration
Optional FooterComponent?: typeof LLWidgetFooter
Optional FooterComponentStyles?: LLWidgetFooterProps["styles"]
Optional HeaderComponent?: typeof LLWidgetHeader
Optional HeaderComponentStyles?: LLWidgetHeaderProps["styles"]
Optional WidgetComponent?: typeof LLCoreWidget
Optional WidgetComponentStyles?: LLCoreWidgetProps["styles"]
Optional interactiveTimeout?: number | null
programId: string
widgetId: string
onDismiss?:function
onInteractiveTimeout?:function
- onInteractiveTimeout(): void
LLPickerEmptyComponentProps
LLPickerEmptyComponentStyles
LLPickerEmptyComponentStyles: { text: TextStyle }
LLStore
LLStore
<TValue>: { listeners
: LLStoreListener<TValue>[]; value
: TValue; get
: any; notify
: any; set
: any; subscribe
: any }Type Parameters
Type declaration
value: TValue
get:function
notify:function
set:function
subscribe:function
LLStoreListener
LLStoreListener<TValue>: ((value: TValue) => void)
Type Parameters
LLStoreUnsubscriber
LLStoreUnsubscriber: (() => void)
TimelineWidgetState
Timeline
Widget
State
: { widgetId
: string; widgetKind
: WidgetKind }UpdateChatConfigActionArg
UpdateChatConfigActionArg: { roomId: string; userAvatarUrl?: string }
Type declaration
roomId: string
Optional userAvatarUrl?: string
UpdateSelectedOptionIndexActionArgs
UpdateTimelineWidgetsActionArgs
UpdateWidgetAverageMagnitudeArgs
UpdateWidgetChoicesActionArgs
UpdateWidgetOptionsActionArgs
UpdateWidgetPhaseActionArgs
UpdateWidgetResultStateActionArgs
UpdateWidgetStateActionArgs
WidgetState
Type declaration
Optional isTimelineWidget?: boolean
Optional selectedOptionIndex?: number
updateTimelineWidgetStateActionArgs