initiativeTemplateResultToCardModel
Convert an initiative template hub search result into a card view model that can be consumed by the suite of hub gallery components
Convert an initiative template hub search result into a card view model that can be consumed by the suite of hub gallery components
Parameters
| Parameter | Type | Default | Notes | 
|---|---|---|---|
| searchResult Required | IHubSearchResult | 
               hub initiative template search result  | 
          |
| opts Optional | IConvertToCardModelOpts | 
               view model options  | 
          
Returns
| Property | Type | Notes | 
|---|---|---|
| Optional | AccessLevel | |
| Optional | ICardActionLink[] | |
| Optional | IInfoConfig[] | |
| Optional | IBadgeConfig[] | |
| Optional | string | |
| Optional | string | |
| Optional | number | |
| Optional | string | |
| Optional | string | |
| Optional | string | |
| Optional | string | |
| Optional | string | |
| Optional | string | 
Function defined in packages/common/src/initiative-templates/view.ts:64