3e5290d8b0
pinnedUrls = resolve pinnedClaimIds = claim_search Make `pinnedClaimIds` take precedence for now, since the homepage is defining both to support Android. For some reason, I previously made `pinnedUrls` the priority, thinking this should be the "correct" one to use when the SDK is fixed.
30 lines
581 B
JavaScript
30 lines
581 B
JavaScript
declare type HomepageObject = {
|
|
icon: string,
|
|
link: string,
|
|
options: any,
|
|
route: string,
|
|
title: string,
|
|
};
|
|
|
|
declare type HomepageData = {
|
|
[string]: HomepageObject,
|
|
default: any => any,
|
|
};
|
|
|
|
declare type RowDataItem = {
|
|
id: string,
|
|
title: any,
|
|
link?: string,
|
|
help?: any,
|
|
icon?: string,
|
|
extra?: any,
|
|
pinnedUrls?: Array<string>,
|
|
pinnedClaimIds?: Array<string>, // takes precedence over pinnedUrls
|
|
options?: {
|
|
channelIds?: Array<string>,
|
|
limitClaimsPerChannel?: number,
|
|
pageSize?: number,
|
|
},
|
|
route?: string,
|
|
hideForUnauth?: boolean,
|
|
};
|