catalog-backend: Require impl of getProcessorName in CatalogProcessor

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-02-17 14:52:25 +01:00
parent fd02e6df7d
commit df61ca71dd
29 changed files with 139 additions and 6 deletions
@@ -472,8 +472,8 @@ type CacheItem = {
export class SystemXReaderProcessor implements CatalogProcessor {
constructor(private readonly reader: UrlReader) {}
// It's recommended to give the processor a unique name.
getProcessorName() {
// The processor name must be unique.
return 'system-x-processor';
}