Skip to content

Type Alias: DependencyKind ​

ts
type DependencyKind = "modifier" | "ceiling";

Defined in: validate/dependencies.ts:37

How one operation relates to another.

  • modifier — state that applies to a later target operation, and is replaced when the same modifier appears again (font → text).
  • ceiling — changes a limit applied to the target, wherever it sits in the chain (format/jpeg raises the output dimension cap).

See ​

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

Example ​

ts
operationInputs(ops, i)[0]?.kind // → 'modifier'