addDynamicSlugValidation

Function

add slug max length and unique validation to schema based on the orgUrlKey

add slug max length and unique validation to schema based on the orgUrlKey

Parameters

Parameter Type Default Notes
schema Required IConfigurationSchema
options Required EditorOptions

Returns

Property Type Notes
type Optional "object"

Function defined in common/src/core/schemas/internal/addDynamicSlugValidation.ts:16