@mcma/core
Advanced tools
Comparing version 0.13.4 to 0.13.5
@@ -5,3 +5,3 @@ import { JobBase, JobBaseProperties } from "./job-base"; | ||
export interface JobAssignmentProperties extends JobBaseProperties { | ||
job: string; | ||
jobId: string; | ||
tracker?: McmaTrackerProperties; | ||
@@ -11,3 +11,3 @@ notificationEndpoint?: NotificationEndpointProperties; | ||
export declare class JobAssignment extends JobBase<JobAssignmentProperties> implements JobAssignmentProperties { | ||
job: string; | ||
jobId: string; | ||
tracker?: McmaTrackerProperties; | ||
@@ -14,0 +14,0 @@ notificationEndpoint?: NotificationEndpointProperties; |
@@ -10,3 +10,3 @@ "use strict"; | ||
super("JobAssignment", properties); | ||
this.checkProperty("job", "url"); | ||
this.checkProperty("jobId", "url"); | ||
this.checkProperty("tracker", "object", false); | ||
@@ -13,0 +13,0 @@ this.checkProperty("notificationEndpoint", "object", false); |
import { JobBase, JobBaseProperties } from "./job-base"; | ||
export interface JobExecutionProperties extends JobBaseProperties { | ||
jobAssignment?: string; | ||
jobAssignmentId?: string; | ||
actualStartDate?: Date | string; | ||
@@ -9,3 +9,3 @@ actualEndDate?: Date | string; | ||
export declare class JobExecution extends JobBase<JobExecutionProperties> implements JobExecutionProperties { | ||
jobAssignment?: string; | ||
jobAssignmentId?: string; | ||
actualStartDate?: Date; | ||
@@ -12,0 +12,0 @@ actualEndDate?: Date; |
@@ -8,3 +8,3 @@ "use strict"; | ||
super("JobExecution", properties); | ||
this.checkProperty("job", "url", false); | ||
this.checkProperty("jobAssignmentId", "url", false); | ||
this.checkProperty("actualDuration", "number", false); | ||
@@ -11,0 +11,0 @@ this.actualStartDate = this.ensureValidDateOrUndefined(this.actualStartDate); |
@@ -7,3 +7,3 @@ import { JobBase, JobBaseProperties } from "../job-base"; | ||
parentId?: string; | ||
jobProfile: string; | ||
jobProfileId: string; | ||
jobInput?: JobParameterBag; | ||
@@ -17,3 +17,3 @@ timeout?: number; | ||
parentId?: string; | ||
jobProfile: string; | ||
jobProfileId: string; | ||
jobInput?: JobParameterBag; | ||
@@ -20,0 +20,0 @@ timeout?: number; |
@@ -12,3 +12,3 @@ "use strict"; | ||
this.checkProperty("parentId", "url", false); | ||
this.checkProperty("jobProfile", "url", true); | ||
this.checkProperty("jobProfileId", "url", true); | ||
this.checkProperty("jobInput", "object", false); | ||
@@ -15,0 +15,0 @@ this.checkProperty("timeout", "number", false); |
@@ -9,3 +9,3 @@ import { McmaResource, McmaResourceProperties } from "./mcma-resource"; | ||
jobType?: string; | ||
jobProfiles?: string[]; | ||
jobProfileIds?: string[]; | ||
} | ||
@@ -18,4 +18,4 @@ export declare class Service extends McmaResource implements ServiceProperties { | ||
jobType?: string; | ||
jobProfiles?: string[]; | ||
jobProfileIds?: string[]; | ||
constructor(properties: ServiceProperties); | ||
} |
@@ -13,3 +13,3 @@ "use strict"; | ||
this.checkProperty("jobType", "string", false); | ||
this.checkProperty("jobProfiles", "Array", false); | ||
this.checkProperty("jobProfileIds", "Array", false); | ||
if (properties.authContext) { | ||
@@ -16,0 +16,0 @@ if (typeof properties.authContext === "string") { |
{ | ||
"name": "@mcma/core", | ||
"version": "0.13.4", | ||
"version": "0.13.5", | ||
"description": "Node module with type definitions and helper utils for the EBU MCMA framework", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51594