1 | import { Context, JobConfig, ValidatedJobConfig } from './interfaces';
|
2 | import convict from 'convict';
|
3 | export declare class JobValidator {
|
4 | schema: convict.Schema<any>;
|
5 | private readonly context;
|
6 | private readonly opLoader;
|
7 | constructor(context: Context, options?: {
|
8 | terasliceOpPath?: string;
|
9 | });
|
10 | /** Validate the job configuration, including the Operations and APIs configuration */
|
11 | validateConfig(jobSpec: JobConfig): ValidatedJobConfig;
|
12 | hasSchema(obj: any, name: string): void;
|
13 | }
|
14 | //# sourceMappingURL=job-validator.d.ts.map |
\ | No newline at end of file |