import { type Rule } from '@angular-devkit/schematics'; import { apply, url, template, mergeWith, MergeStrategy, } from '@angular-devkit/schematics'; import { join } from 'path'; export abstract class HelmStrategy { templatePath: string[] = [__dirname, '..', 'files']; addResources = (options: Record): Rule => { const filePath = join(...this.templatePath); return mergeWith( apply(url(filePath), [template({ ...options })]), MergeStrategy.Overwrite, ); }; abstract enrichOptions(options: Record): Record; }