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