validateUniqueKey
Defined in: packages/core/src/shared/utils/job-identifiers.ts:47
Validate a deduplication key before it is stored or used in a unique query.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
uniqueKey | string | The unique key to validate |
Returns
Section titled “Returns”void
Throws
Section titled “Throws”If the key is empty, too long, or contains control characters