Skip to content

Variable: CORE_OPERATIONS ​

ts
const CORE_OPERATIONS: ReadonlySet<string>;

Defined in: validate/dependencies.ts:114

Operations that make the CDN actually process an image. A chain without one of these delivers the original file untouched — and they are exactly the operations the format/jpeg dimension ceiling applies to, which is why the set lives here and validateOperations re-exports it.

See ​

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

Example ​

ts
CORE_OPERATIONS.has('scale_crop') // → true