piobyte/flamingo

View on GitHub
packages/flamingo/src/types/Instruction.ts

Summary

Maintainability
A
0 mins
Test Coverage
export interface ProcessInstruction<T> {
  processor: "sharp" | "gm" | string;
  pipe: (pipe: T) => T;
}

export interface ProfileInstruction {
  name?: string;
  response?: { [responseField: string]: any };
  process: Array<ProcessInstruction<any>>;
}