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

@metrichor/epi2me-client-node

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metrichor/epi2me-client-node - npm Package Compare versions

Comparing version 0.2.10605124 to 0.2.10615829

6

common/parameters.d.ts

@@ -43,2 +43,8 @@ import type { GraphQLClient } from './GraphQLClient.type';

}>;
values: import("ts-runtime-typecheck").Optional<{
source: string;
} | {
label: string;
value: import("ts-runtime-typecheck").Primitive;
}[]>;
}[]>;

@@ -45,0 +51,0 @@ export declare function get_workflow_configuration(gql: GraphQLClient, id_workflow: string): Promise<WorkflowConfiguration>;

54

common/parameters.type.d.ts
import type { Optional, Primitive } from 'ts-runtime-typecheck';
export interface WorkflowParam {
cgi_param: string;
component_id: number;
mandatory: boolean;
widget: string;
label: Optional<string>;
default: Optional<Primitive>;
help?: Optional<{
text: string;
example: string;
readonly cgi_param: string;
readonly component_id: number;
readonly mandatory: boolean;
readonly widget: string;
readonly label: Optional<string>;
readonly default: Optional<Primitive>;
readonly help?: Optional<{
readonly text: string;
readonly example: string;
}>;
validation?: Optional<{
type: 'syntactic';
pattern: Optional<string>;
minLength: Optional<number>;
maxLength: Optional<number>;
message: Optional<string>;
exclude: Optional<boolean>;
}[]>;
filetype?: Optional<string>;
readonly validation?: Optional<ReadonlyArray<{
readonly type: 'syntactic';
readonly pattern: Optional<string>;
readonly minLength: Optional<number>;
readonly maxLength: Optional<number>;
readonly message: Optional<string>;
readonly exclude: Optional<boolean>;
}>>;
readonly filetype?: Optional<string>;
readonly values?: Optional<ReadonlyArray<{
readonly label: string;
readonly value: Primitive;
}>>;
}

@@ -35,9 +39,9 @@ export interface WorkflowConfiguration {

export interface ResolvedWorkflowConfiguration {
idDataset: string | undefined;
idWorkflow: string;
isConsentedHuman: boolean;
computeAccountId: string;
userDefined: {
[component_id: string]: {
[cgi_param: string]: string;
readonly idDataset: string | undefined;
readonly idWorkflow: string;
readonly isConsentedHuman: boolean;
readonly computeAccountId: string;
readonly userDefined: {
readonly [component_id: string]: {
readonly [cgi_param: string]: string;
};

@@ -44,0 +48,0 @@ };

@@ -582,2 +582,8 @@ 'use strict';

}),
values: tsRuntimeTypecheck.isOptUnion(tsRuntimeTypecheck.isArrayOf(tsRuntimeTypecheck.isStruct({
label: tsRuntimeTypecheck.isString,
value: tsRuntimeTypecheck.isPrimitive,
})), tsRuntimeTypecheck.isStruct({
source: tsRuntimeTypecheck.isString
}))
}));

@@ -611,3 +617,3 @@ async function get_workflow_configuration(gql, id_workflow) {

id_workflow,
parameters,
parameters: parameters.map(({ values, ...p }) => tsRuntimeTypecheck.isDictionary(values) ? p : { ...p, values }),
arguments: workflow_arguments,

@@ -639,3 +645,3 @@ accepted_files: input_formats,

id_workflow,
parameters,
parameters: parameters.map(({ values, ...p }) => tsRuntimeTypecheck.isDictionary(values) ? p : { ...p, values }),
arguments: workflow_arguments,

@@ -642,0 +648,0 @@ accepted_files: input_formats,

{
"name": "@metrichor/epi2me-client-node",
"version": "0.2.10605124",
"version": "0.2.10615829",
"license": "MPL-2.0",

@@ -5,0 +5,0 @@ "author": "Metrichor <support@nanoporetech.com>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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