getItemBySlug
Get an item by searching for items with a typeKeyword like slug|{slug-value}
For example, if you pass a slug "snow-map" into this function, it will
search for items with slug|snow-map in it's typeKeywords array.
It also transforms uriSlugs into typeKeyword slugs by replacing :: with |
Thus, passing a slug of "myorg::snow-map" would search for items with
myorg|snow-map in it's typeKeywords array.
Parameters
Available requestOptions
| Property | Type | Notes |
|---|
Returns
Promise<IItem>
| Property | Type | Notes |
|---|
Function defined in packages/common/src/items/slugs.ts:69