How to use the cwlts/models/helpers/JobHelper.JobHelper.generateMockJobData function in cwlts

To help you get started, we’ve selected a few cwlts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rabix / composer / src / app / tool-editor / tool-editor.component.ts View on Github external
setTimeout(() => {
                const jobData = JobHelper.generateMockJobData(input);
                this.store.dispatch(new InputTestValueChangeAction(this.appID, input.id, jobData));
            });
        });
github rabix / composer / src / app / workflow-editor / object-inspector / step-inspector / tabs / step-inspector-step-entry.ts View on Github external
addArrayEntry(input) {
        this.warning         = undefined;
        const generatedEntry = JobHelper.generateMockJobData(input);
        this.updateJob((this.value || []).concat(generatedEntry.slice(0, 1)));
    }
github rabix / composer / src / app / editor-common / job-editor-old / job-editor-entry.component.ts View on Github external
addArrayEntry(input) {
        this.warning         = undefined;
        const generatedEntry = JobHelper.generateMockJobData(input);
        this.updateJob((this.value || []).concat(generatedEntry.slice(0, 1)));
    }