7b85d7a585
This will be entirely up to the homepage maintainer, and will override the user's "Search only in the this language" setting.
32 lines
646 B
JavaScript
32 lines
646 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,
|
|
releaseTime?: string,
|
|
searchLanguages?: Array<string>,
|
|
},
|
|
route?: string,
|
|
hideForUnauth?: boolean,
|
|
};
|