Skip to content

Function: operationDependents() ​

ts
function operationDependents(operations, ref): OperationDependency[];

Defined in: validate/dependencies.ts:291

The inverse of operationInputs: the operations that the one identified by ref affects. For a modifier that is every following target it still reaches; for format/jpeg it is every core operation in the chain.

Parameters ​

ParameterType
operationsreadonly CdnOperation[]
refOperationRef

Returns ​

OperationDependency[]

See ​

https://uploadcare.com/docs/transformations/image/overlay/#overlay-text

Example ​

ts
operationDependents([preview(), font({ size: 24 })], 'font') // → [] — it affects nothing