truncateSlug
truncate a slug, namespaced to an org and accounting for the 256 character limit of individual typekeywords.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
slug Required | string | ||
orgKey Required | string | ||
paddingEnd Optional | number | 0 |
Returns
string
Function defined in common/src/items/_internal/slugs.ts:13