Options
All
  • Public
  • Public/Protected
  • All
Menu
notexported

Hierarchy

  • NewsListSharedProps
    • NewsListUIProps

Index

Properties

canRefetch: boolean
company?: { __typename?: "Company"; id: string; commonName: string; instruments: { __typename?: "Instrument"; id: string; isPrimary: boolean; quotes: { __typename?: "Quote"; id: string; isPrimary: boolean; localTicker: string; exchange: { __typename?: "Exchange"; id: string; shortName: string; country: { __typename?: "Country"; id: string; countryCode: string } } }[] }[] }

Type declaration

  • Optional __typename?: "Company"
  • id: string
  • commonName: string
  • instruments: { __typename?: "Instrument"; id: string; isPrimary: boolean; quotes: { __typename?: "Quote"; id: string; isPrimary: boolean; localTicker: string; exchange: { __typename?: "Exchange"; id: string; shortName: string; country: { __typename?: "Country"; id: string; countryCode: string } } }[] }[]
darkMode?: boolean
hasMoreResults: boolean
newsListQuery: QueryResult<NewsListQuery, Exact<{ filter: ContentSearchFilter; fromIndex?: InputMaybe<number>; size?: InputMaybe<number> }>>
onBackFromNews?: MouseEventHandler<Element>
onChangeSearch?: ChangeHandler<string, SyntheticEvent<Element, Event>>
onSelectCompany?: ChangeHandler<{ __typename?: "Company"; id: string; commonName: string; instruments: { __typename?: "Instrument"; id: string; isPrimary: boolean; quotes: { __typename?: "Quote"; id: string; isPrimary: boolean; localTicker: string; exchange: { __typename?: "Exchange"; id: string; shortName: string; country: { __typename?: "Country"; id: string; countryCode: string } } }[] }[] }, SyntheticEvent<Element, Event>>
onSelectNews?: ChangeHandler<{ __typename?: "FilingContent"; id: string; contentType: ContentType; publishedDate: string; title: string; primaryCompany?: null | { __typename?: "Company"; id: string; commonName: string; instruments: { __typename?: "Instrument"; id: string; isPrimary: boolean; quotes: { __typename?: "Quote"; id: string; isPrimary: boolean; localTicker: string; exchange: { __typename?: "Exchange"; id: string; shortName: string; country: { __typename?: "Country"; id: string; countryCode: string } } }[] }[] } } | { __typename?: "NewsContent"; id: string; contentType: ContentType; publishedDate: string; title: string; newsSource: { __typename?: "NewsSource"; id: string; name: string }; primaryCompany?: null | { __typename?: "Company"; id: string; commonName: string; instruments: { __typename?: "Instrument"; id: string; isPrimary: boolean; quotes: { __typename?: "Quote"; id: string; isPrimary: boolean; localTicker: string; exchange: { __typename?: "Exchange"; id: string; shortName: string; country: { __typename?: "Country"; id: string; countryCode: string } } }[] }[] } }, SyntheticEvent<Element, Event>>
searchTerm?: string
selectedNews?: { __typename?: "FilingContent"; id: string; contentType: ContentType; publishedDate: string; title: string; primaryCompany?: null | { __typename?: "Company"; id: string; commonName: string; instruments: { __typename?: "Instrument"; id: string; isPrimary: boolean; quotes: { __typename?: "Quote"; id: string; isPrimary: boolean; localTicker: string; exchange: { __typename?: "Exchange"; id: string; shortName: string; country: { __typename?: "Country"; id: string; countryCode: string } } }[] }[] } } | { __typename?: "NewsContent"; id: string; contentType: ContentType; publishedDate: string; title: string; newsSource: { __typename?: "NewsSource"; id: string; name: string }; primaryCompany?: null | { __typename?: "Company"; id: string; commonName: string; instruments: { __typename?: "Instrument"; id: string; isPrimary: boolean; quotes: { __typename?: "Quote"; id: string; isPrimary: boolean; localTicker: string; exchange: { __typename?: "Exchange"; id: string; shortName: string; country: { __typename?: "Country"; id: string; countryCode: string } } }[] }[] } }

Methods

  • loadMore(event: MouseEvent<Element, MouseEvent>): void
  • onRefetch(resetTimer: boolean): void

Generated using TypeDoc