parseIdentifier

Function

parse out the item's id, slug, and org key out of an identifier

parse out the item's id, slug, and org key out of an identifier

Parameters

Parameter Type Default Notes
identifier Required string

Returns

Property Type Notes
id Optional string
orgKey Optional string
slug Optional string

Function defined in common/src/items/_internal/slugs.ts:65