import {BaseOperation} from './base.js'; export type GenericParameters = Record; export class Generic extends BaseOperation { public appendCrop: boolean; public name: string; constructor( name: string, parameters?: GenericParameters, appendCrop?: boolean, ) { super(parameters ?? {}); this.name = name; this.appendCrop = appendCrop ?? false; } }