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 Optional | string | "" | |
| paddingEnd Optional | number | 0 |
Returns
string
Function defined in packages/common/src/items/_internal/slugs.ts:21