Skip to content

Interface: OperationNode ​

Defined in: validate/dependencies.ts:308

One node of operationGraph: an operation with both of its edge lists already resolved.

See ​

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

Example ​

ts
operationGraph(ops).filter((node) => node.dependents.length === 0)

Properties ​

dependents ​

ts
dependents: OperationDependency[];

Defined in: validate/dependencies.ts:316

What it affects — see operationDependents.


index ​

ts
index: number;

Defined in: validate/dependencies.ts:312

Its position in the chain.


inputs ​

ts
inputs: OperationDependency[];

Defined in: validate/dependencies.ts:314

What configures it — see operationInputs.


operation ​

ts
operation: CdnOperation;

Defined in: validate/dependencies.ts:310

The operation this node describes.