getCardModelUrlFromResult

Function

given a target and hub search result, this util returns a gallery card's title url

Parameters

Parameter Type Default Notes
result Required IHubSearchResult

hub search result

target Required CardModelTarget

context the card should redirect to

baseUrl Optional string

base url to work in conjunction with the target

Returns

string

Function defined in common/src/urls/getCardModelUrl.ts:15