@mcma/core
Version:
Node module with type definitions and helper utils for the EBU MCMA framework
24 lines (23 loc) • 951 B
TypeScript
import { JobBase, JobBaseProperties } from "../job-base";
import { JobParameterBag, JobParameterBagProperties } from "../job-parameter-bag";
import { McmaTracker, McmaTrackerProperties } from "../mcma-tracker";
import { NotificationEndpoint, NotificationEndpointProperties } from "../notification-endpoint";
export interface JobProperties extends JobBaseProperties {
parentId?: string;
jobProfileId: string;
jobInput?: JobParameterBagProperties;
timeout?: number;
deadline?: Date | string;
tracker?: McmaTrackerProperties;
notificationEndpoint?: NotificationEndpointProperties;
}
export declare class Job extends JobBase<JobProperties> implements JobProperties {
parentId?: string;
jobProfileId: string;
jobInput?: JobParameterBag;
timeout?: number;
deadline?: Date;
tracker?: McmaTracker;
notificationEndpoint?: NotificationEndpoint;
constructor(type: string, properties: JobProperties);
}