Skip to content

Variable: STACKABLE_OPERATIONS ​

ts
const STACKABLE_OPERATIONS: ReadonlySet<string>;

Defined in: validate/validate-operations.ts:85

Stackable operations — those that may legitimately appear more than once in a chain. Repeating anything else is a duplicate-operation warning, since the CDN applies only the last occurrence.

See ​

https://uploadcare.com/docs/transformations/image/overlay/

Example ​

ts
STACKABLE_OPERATIONS.has('overlay') // → true
STACKABLE_OPERATIONS.has('quality') // → false