constructSlug

Function

Create a slug, namespaced to an org and accounting for the 256 character limit of individual typekeywords. Typically used to lookup items by a human readable name in urls

  • constructSlug(title: string, orgKey: string) : string

Parameters

Parameter Type Default Notes
title Required string
orgKey Required string

Returns

string

Function defined in common/src/items/slugs.ts:16