diff --git a/ui/component/claimListDiscover/view.jsx b/ui/component/claimListDiscover/view.jsx index 39f705500..423d7bee3 100644 --- a/ui/component/claimListDiscover/view.jsx +++ b/ui/component/claimListDiscover/view.jsx @@ -18,68 +18,79 @@ import { getLivestreamOnlyOptions } from 'util/search'; type Props = { uris: Array, - showHeader: boolean, + name?: string, type: string, - subscribedChannels: Array, - doClaimSearch: ({}) => void, - loading: boolean, - personalView: boolean, - doToggleTagFollowDesktop: (string) => void, - meta?: Node, - showNsfw: boolean, - hideReposts: boolean, + pageSize?: number, + fetchViewCount?: boolean, - history: { action: string, push: (string) => void, replace: (string) => void }, - location: { search: string, pathname: string }, - claimSearchByQuery: { - [string]: Array, - }, - claimSearchByQueryLastPageReached: { [string]: boolean }, - mutedUris: Array, - blockedUris: Array, - hiddenNsfwMessage?: Node, - channelIds?: Array, - claimIds?: Array, - tags: string, // these are just going to be string. pass a CSV if you want multi - defaultTags: string, + forceShowReposts?: boolean, + hasNoSource?: boolean, + hasSource?: boolean, + hideAdvancedFilter?: boolean, + hideFilters?: boolean, + includeSupportAction?: boolean, + infiniteScroll?: Boolean, + isChannel?: boolean, + liveLivestreamsFirst?: boolean, + personalView: boolean, + showHeader: boolean, + showHiddenByUser?: boolean, + showNoSourceClaims?: boolean, + tileLayout: boolean, + orderBy?: Array, defaultOrderBy?: string, freshness?: string, defaultFreshness?: string, - header?: Node, - headerLabel?: string | Node, - name?: string, - hideAdvancedFilter?: boolean, + + tags: string, // these are just going to be string. pass a CSV if you want multi + defaultTags: string, + claimType?: string | Array, defaultClaimType?: Array, + streamType?: string | Array, defaultStreamType?: string | Array, - renderProperties?: (Claim) => Node, - includeSupportAction?: boolean, - repostedClaimId?: string, - pageSize?: number, - followedTags?: Array, - injectedItem: ?Node, - infiniteScroll?: Boolean, - feeAmount?: string, - tileLayout: boolean, - hideFilters?: boolean, - maxPages?: number, - forceShowReposts?: boolean, - languageSetting: string, - searchInLanguage: boolean, - scrollAnchor?: string, - showHiddenByUser?: boolean, - liveLivestreamsFirst?: boolean, - livestreamMap?: { [string]: any }, - hasSource?: boolean, - hasNoSource?: boolean, - limitClaimsPerChannel?: number, - releaseTime?: string, - showNoSourceClaims?: boolean, - isChannel?: boolean, + empty?: string, + feeAmount?: string, + releaseTime?: string, + repostedClaimId?: string, + scrollAnchor?: string, + maxPages?: number, + limitClaimsPerChannel?: number, + + channelIds?: Array, + claimIds?: Array, + subscribedChannels: Array, + livestreamMap?: { [string]: any }, + + header?: Node, + headerLabel?: string | Node, + hiddenNsfwMessage?: Node, + injectedItem: ?Node, + meta?: Node, + renderProperties?: (Claim) => Node, + + history: { action: string, push: (string) => void, replace: (string) => void }, + location: { search: string, pathname: string }, + + // --- select --- + followedTags?: Array, + claimSearchByQuery: { [string]: Array }, + claimSearchByQueryLastPageReached: { [string]: boolean }, claimsByUri: { [string]: any }, + loading: boolean, + showNsfw: boolean, + hideReposts: boolean, + languageSetting: string, + mutedUris: Array, + blockedUris: Array, + searchInLanguage: boolean, + + // --- perform --- + doClaimSearch: ({}) => void, + doToggleTagFollowDesktop: (string) => void, doFetchViewCount: (claimIdCsv: string) => void, };