Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumerations

Enumeration members

Interfaces

Type aliases

Functions

Enumeration members

CHATROOM_UPDATED

CHATROOM_UPDATED = "chatroom-updated"

CUSTOM_MESSAGE_CREATED

CUSTOM_MESSAGE_CREATED = "custom-message-created"

IMAGE_CREATED

IMAGE_CREATED = "image-created"

IMAGE_DELETED

IMAGE_DELETED = "image-deleted"

MESSAGE_CREATED

MESSAGE_CREATED = "message-created"

MESSAGE_DELETED

MESSAGE_DELETED = "message-deleted"

Type aliases

BaseTimelineWidgetsActionArgs

BaseTimelineWidgetsActionArgs: { programId: string }

Type declaration

  • programId: string

BaseWidgetActionArgs

BaseWidgetActionArgs: { widgetId: string }

Type declaration

  • widgetId: string

ChatMessagesState

ChatMessagesState: { chatMessages: IChatMessage[]; chatMessagesLoaded: boolean; userAvatarUrl?: string }

Type declaration

  • chatMessages: IChatMessage[]
  • chatMessagesLoaded: boolean
  • Optional userAvatarUrl?: string

DateTime

DateTime: Date | string | number

IChatMessageResponsePayload

IChatUserMessageResponsePayload

IChatUserMessageResponsePayload: IMessageResponsePayload | IQuoteMessageResponsePayload

IQuoteMessagePropType

IQuoteMessagePropType: IMessageResponsePayload | Omit<IQuoteMessageResponsePayload, "quote_message" | "reactions">

IQuoteMessageResponsePayload

IQuoteMessageResponsePayload: IQuoteMessagePayload & IMessageResponsePayload

IUpdateNumberPredictionOptionActionArg

IUpdateNumberPredictionOptionActionArg: { numberOption: INumberPredictionItemOption; optionIndex: number; widgetId: string }

Type declaration

IUpdateSliderMagnitudeAction

IUpdateSliderMagnitudeAction: { magnitude: number; widgetId: string }

Type declaration

  • magnitude: number
  • widgetId: string

IUpdateTextAskInputTextAction

IUpdateTextAskInputTextAction: { inputText: string; widgetId: string }

Type declaration

  • inputText: string
  • widgetId: string

IWidgetDetails

LLAllWidgetProps

LLBaseWidgetProps

LLBaseWidgetProps: { FooterComponent?: typeof LLWidgetFooter; FooterComponentStyles?: LLWidgetFooterProps["styles"]; HeaderComponent?: typeof LLWidgetHeader; HeaderComponentStyles?: LLWidgetHeaderProps["styles"]; WidgetComponent?: typeof LLCoreWidget; WidgetComponentStyles?: LLCoreWidgetProps["styles"]; interactiveTimeout?: number | null; programId: string; widgetId: string; widgetKind: WidgetKind; onDismiss?: any; onInteractiveTimeout?: any }

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
  • widgetKind: WidgetKind
  • onDismiss?:function
    • onDismiss(): void
    • Returns void

  • onInteractiveTimeout?:function
    • onInteractiveTimeout(): void
    • Returns void

LLPickerEmptyComponentProps

LLPickerEmptyComponentProps: ComponentStyleProp<LLPickerEmptyComponentStyles>

LLPickerEmptyComponentStyles

LLPickerEmptyComponentStyles: { text: TextStyle }

Type declaration

  • text: TextStyle

LLStore

LLStore<TValue>: { listeners: LLStoreListener<TValue>[]; value: TValue; get: any; notify: any; set: any; subscribe: any }

Type parameters

  • TValue

Type declaration

LLStoreListener

LLStoreListener<TValue>: (value: TValue) => void

Type parameters

  • TValue

Type declaration

    • (value: TValue): void
    • Parameters

      • value: TValue

      Returns void

LLStoreUnsubscriber

LLStoreUnsubscriber: () => void

Type declaration

    • (): void
    • Returns void

TimelineWidgetState

TimelineWidgetState: { widgetId: string; widgetKind: WidgetKind }

Type declaration

TimelineWidgetsState

TimelineWidgetsState: { widgets: TimelineWidgetState[] }

Type declaration

UpdateChatConfigActionArg

UpdateChatConfigActionArg: { roomId: string; userAvatarUrl?: string }

Type declaration

  • roomId: string
  • Optional userAvatarUrl?: string

UpdateSelectedOptionIndexActionArgs

UpdateSelectedOptionIndexActionArgs: BaseWidgetActionArgs & { selectedOptionIndex: number }

UpdateTimelineWidgetsActionArgs

UpdateTimelineWidgetsActionArgs: BaseTimelineWidgetsActionArgs & { prepend?: boolean; widgets: TimelineWidgetState[] }

UpdateWidgetAverageMagnitudeArgs

UpdateWidgetAverageMagnitudeArgs: BaseWidgetActionArgs & { averageMagnitude: string }

UpdateWidgetChoicesActionArgs

UpdateWidgetChoicesActionArgs: BaseWidgetActionArgs & { widgetChoices: Pick<IWidgetChoiceItem, "id" | "answer_count">[] }

UpdateWidgetOptionsActionArgs

UpdateWidgetOptionsActionArgs: BaseWidgetActionArgs & { widgetOptions: Pick<IWidgetOptionItem, "id" | "vote_count">[] }

UpdateWidgetPhaseActionArgs

UpdateWidgetPhaseActionArgs: BaseWidgetActionArgs & { widgetUIPhase: WidgetUIPhase }

UpdateWidgetResultStateActionArgs

UpdateWidgetResultStateActionArgs: BaseWidgetActionArgs & { widgetResultState: WidgetResultState }

UpdateWidgetStateActionArgs

UpdateWidgetStateActionArgs: BaseWidgetActionArgs & { widgetState: Partial<WidgetState> }

WidgetState

WidgetState: { isTimelineWidget?: boolean; selectedOptionIndex?: number; widgetInteractions?: IWidgetInteraction[]; widgetPayload: IWidgetPayload; widgetResultState?: WidgetResultState; widgetRewards?: IWidgetEarnableReward[]; widgetUIPhase?: WidgetUIPhase }

Type declaration

updateTimelineWidgetStateActionArgs

updateTimelineWidgetStateActionArgs: BaseTimelineWidgetsActionArgs & { widgetTimelineState: TimelineWidgetsState }

Functions

LLPickerEmptyComponent

Generated using TypeDoc