src/post-processor/baseProcessor.ts
'use strict'
import { MetadataRepository } from '../metadata/MetadataRepository'
import type { Config } from '../types/config'
import type { Work } from '../types/work'
export default class BaseProcessor {
protected readonly config: Config
constructor(
protected readonly work: Work,
// eslint-disable-next-line no-unused-vars
protected readonly metadata: MetadataRepository
) {
this.config = work.config
}
public async process() {
throw new Error('this class should be derived')
}
}