mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
20 lines
653 B
TypeScript
20 lines
653 B
TypeScript
import type { NextApiRequest, NextApiResponse } from 'next';
|
|
|
|
import type { JobDefinition, TriggerJobOptions } from './_internal/job';
|
|
|
|
export abstract class BaseJobProvider {
|
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
public async triggerJob(_options: TriggerJobOptions): Promise<void> {
|
|
throw new Error('Not implemented');
|
|
}
|
|
|
|
// eslint-disable-next-line @typescript-eslint/require-await
|
|
public defineJob<T>(_job: JobDefinition<T>): void {
|
|
throw new Error('Not implemented');
|
|
}
|
|
|
|
public getApiHandler(): (req: NextApiRequest, res: NextApiResponse) => Promise<void> {
|
|
throw new Error('Not implemented');
|
|
}
|
|
}
|