Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumerations

Enumeration Members

Interfaces

Type Aliases

Functions

Enumeration Members

CHATROOM_UPDATED: "chatroom-updated"
CUSTOM_MESSAGE_CREATED: "custom-message-created"
IMAGE_CREATED: "image-created"
IMAGE_DELETED: "image-deleted"
MESSAGE_CREATED: "message-created"
MESSAGE_DELETED: "message-deleted"

Type Aliases

BaseTimelineWidgetsActionArgs: { programId: string }

Type declaration

  • programId: string
BaseWidgetActionArgs: { widgetId: string }

Type declaration

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

Type declaration

  • chatMessages: IChatMessage[]
  • chatMessagesLoaded: boolean
  • Optional userAvatarUrl?: string
DateTime: Date | string | number
IChatUserMessageResponsePayload: IMessageResponsePayload | IQuoteMessageResponsePayload
IQuoteMessagePropType: IMessageResponsePayload | Omit<IQuoteMessageResponsePayload, "quote_message" | "reactions">
IQuoteMessageResponsePayload: IQuoteMessagePayload & IMessageResponsePayload
IUpdateNumberPredictionOptionActionArg: { numberOption: INumberPredictionItemOption; optionIndex: number; widgetId: string }

Type declaration

IUpdateSliderMagnitudeAction: { magnitude: number; widgetId: string }

Type declaration

  • magnitude: number
  • widgetId: string
IUpdateTextAskInputTextAction: { inputText: string; widgetId: string }

Type declaration

  • inputText: string
  • widgetId: string
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: ComponentStyleProp<LLPickerEmptyComponentStyles>
LLPickerEmptyComponentStyles: { text: TextStyle }

Type declaration

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

Type Parameters

  • TValue

Type declaration

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

Type Parameters

  • TValue

Type declaration

    • (value: TValue): void
    • Parameters

      • value: TValue

      Returns void

LLStoreUnsubscriber: (() => void)

Type declaration

    • (): void
    • Returns void

TimelineWidgetState: { widgetId: string; widgetKind: WidgetKind }

Type declaration

TimelineWidgetsState: { widgets: TimelineWidgetState[] }

Type declaration

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

Type declaration

  • roomId: string
  • Optional userAvatarUrl?: string
UpdateSelectedOptionIndexActionArgs: BaseWidgetActionArgs & { selectedOptionIndex: number }
UpdateTimelineWidgetsActionArgs: BaseTimelineWidgetsActionArgs & { prepend?: boolean; widgets: TimelineWidgetState[] }
UpdateWidgetAverageMagnitudeArgs: BaseWidgetActionArgs & { averageMagnitude: string }
UpdateWidgetChoicesActionArgs: BaseWidgetActionArgs & { widgetChoices: Pick<IWidgetChoiceItem, "id" | "answer_count">[] }
UpdateWidgetOptionsActionArgs: BaseWidgetActionArgs & { widgetOptions: Pick<IWidgetOptionItem, "id" | "vote_count">[] }
UpdateWidgetPhaseActionArgs: BaseWidgetActionArgs & { widgetUIPhase: WidgetUIPhase }
UpdateWidgetResultStateActionArgs: BaseWidgetActionArgs & { widgetResultState: WidgetResultState }
UpdateWidgetStateActionArgs: BaseWidgetActionArgs & { widgetState: Partial<WidgetState> }
WidgetState: { isTimelineWidget?: boolean; selectedOptionIndex?: number; widgetInteractions?: IWidgetInteraction[]; widgetPayload: IWidgetPayload; widgetResultState?: WidgetResultState; widgetRewards?: IWidgetEarnableReward[]; widgetUIPhase?: WidgetUIPhase }

Type declaration

updateTimelineWidgetStateActionArgs: BaseTimelineWidgetsActionArgs & { widgetTimelineState: TimelineWidgetsState }

Functions

Generated using TypeDoc