replaceItemId
Replaces instances of item ids on an item model
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
obj Required | IModel | Record<stringany> |
Object graph to traverse |
|
itemId Required | string |
id to replace with |
|
replacement Optional | string | "{{appid}}" |
Returns
Function defined in common/src/items/replace-item-id.ts:10