Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

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

BaseWidgetActionArgs

BaseWidgetActionArgs: { widgetId: string }

Type declaration

  • widgetId: string

ChatMessagesState

ChatMessagesState: { chatMessages: IChatMessage[]; chatMessagesLoaded: boolean }

Type declaration

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

LLBaseWidgetProps

LLBaseWidgetProps: { FooterComponent?: typeof LLWidgetFooter; FooterComponentStyles?: LLWidgetFooterProps["styles"]; HeaderComponent?: typeof LLWidgetHeader; HeaderComponentStyles?: LLWidgetHeaderProps["styles"]; WidgetComponent?: typeof LLWidget; WidgetComponentStyles?: LLWidgetProps["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 LLWidget
  • Optional WidgetComponentStyles?: LLWidgetProps["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

UpdateSelectedOptionIndexActionArgs

UpdateSelectedOptionIndexActionArgs: BaseWidgetActionArgs & { selectedOptionIndex: number }

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: { selectedOptionIndex?: number; widgetInteractions?: IWidgetInteraction[]; widgetPayload: IWidgetPayload; widgetResultState?: WidgetResultState; widgetRewards?: IWidgetEarnableReward[]; widgetUIPhase?: WidgetUIPhase }

Type declaration

Functions

LLPickerEmptyComponent

Generated using TypeDoc