Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mcma/core

Package Overview
Dependencies
Maintainers
3
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcma/core - npm Package Compare versions

Comparing version 0.13.28 to 0.13.29

4

dist/lib/model/job-base.d.ts

@@ -1,2 +0,2 @@

import { JobParameterBag } from "./job-parameter-bag";
import { JobParameterBag, JobParameterBagProperties } from "./job-parameter-bag";
import { McmaResource, McmaResourceProperties } from "./mcma-resource";

@@ -8,3 +8,3 @@ import { ProblemDetail, ProblemDetailProperties } from "./problem-detail";

error?: ProblemDetailProperties;
jobOutput?: JobParameterBag;
jobOutput?: JobParameterBagProperties;
progress?: number;

@@ -11,0 +11,0 @@ }

@@ -1,4 +0,7 @@

import { McmaObject } from "./mcma-object";
export declare class JobParameterBag extends McmaObject {
import { McmaObject, McmaObjectProperties } from "./mcma-object";
export interface JobParameterBagProperties extends McmaObjectProperties {
[key: string]: any;
}
export declare class JobParameterBag extends McmaObject implements JobParameterBagProperties {
[key: string]: any;
constructor(properties?: {

@@ -5,0 +8,0 @@ [key: string]: any;

import { McmaResource, McmaResourceProperties } from "./mcma-resource";
import { JobParameter } from "./job-parameter";
import { JobParameter, JobParameterProperties } from "./job-parameter";
export interface JobProfileProperties extends McmaResourceProperties {
name: string;
inputParameters?: JobParameter[];
outputParameters?: JobParameter[];
optionalInputParameters?: JobParameter[];
inputParameters?: JobParameterProperties[];
outputParameters?: JobParameterProperties[];
optionalInputParameters?: JobParameterProperties[];
}

@@ -9,0 +9,0 @@ export declare class JobProfile extends McmaResource implements JobProfileProperties {

@@ -5,2 +5,3 @@ "use strict";

const mcma_resource_1 = require("./mcma-resource");
const job_parameter_1 = require("./job-parameter");
class JobProfile extends mcma_resource_1.McmaResource {

@@ -13,5 +14,13 @@ constructor(properties) {

this.checkProperty("optionalInputParameters", "Array", false);
this.checkProperty("customProperties", "object", false);
if (Array.isArray(this.inputParameters)) {
this.inputParameters = this.inputParameters.map(ip => new job_parameter_1.JobParameter(ip));
}
if (Array.isArray(this.optionalInputParameters)) {
this.optionalInputParameters = this.optionalInputParameters.map(ip => new job_parameter_1.JobParameter(ip));
}
if (Array.isArray(this.outputParameters)) {
this.outputParameters = this.outputParameters.map(ip => new job_parameter_1.JobParameter(ip));
}
}
}
exports.JobProfile = JobProfile;
import { JobBase, JobBaseProperties } from "../job-base";
import { JobParameterBag } from "../job-parameter-bag";
import { JobParameterBag, JobParameterBagProperties } from "../job-parameter-bag";
import { McmaTracker, McmaTrackerProperties } from "../mcma-tracker";

@@ -8,3 +8,3 @@ import { NotificationEndpoint, NotificationEndpointProperties } from "../notification-endpoint";

jobProfileId: string;
jobInput?: JobParameterBag;
jobInput?: JobParameterBagProperties;
timeout?: number;

@@ -11,0 +11,0 @@ deadline?: Date | string;

{
"name": "@mcma/core",
"version": "0.13.28",
"version": "0.13.29",
"description": "Node module with type definitions and helper utils for the EBU MCMA framework",

@@ -5,0 +5,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc