cleanup lists service

This commit is contained in:
Joel Wetzell
2026-02-13 20:29:02 -06:00
parent fcafe0ce43
commit 280044cd79
+4 -18
View File
@@ -4,30 +4,16 @@ import { Injectable } from '@angular/core';
providedIn: 'root', providedIn: 'root',
}) })
export class ListsService { export class ListsService {
public actionListIds: string[] = []; public processorListIds: string[] = [];
public transformListIds: string[] = [];
public moduleListsId: string[] = [];
registerActionList(path: string | undefined) { registerProcessorList(path: string | undefined) {
if (path === undefined) { if (path === undefined) {
return ''; return '';
} }
const id = this.pathToId(path); const id = this.pathToId(path);
if (!this.actionListIds.includes(id)) { if (!this.processorListIds.includes(id)) {
this.actionListIds.push(id); this.processorListIds.push(id);
}
return id;
}
registerTransformList(path: string | undefined) {
if (path === undefined) {
return '';
}
const id = this.pathToId(path);
if (!this.transformListIds.includes(id)) {
this.transformListIds.push(id);
} }
return id; return id;
} }