Skip to content

Variable: MUST_BE_LAST_OPERATIONS ​

ts
const MUST_BE_LAST_OPERATIONS: ReadonlySet<string>;

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

Operations that must be the last directive in the chain. Video thumbs~N is subject to the same rule — use mustBeLast, which handles the counted suffix.

See ​

https://uploadcare.com/docs/transformations/image/colors/#operation-main-colors

Example ​

ts
MUST_BE_LAST_OPERATIONS.has('json') // → true