@galaxy-tool-util/schema 1.1.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +36 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35 -3
- package/dist/index.js.map +1 -1
- package/dist/schema/parsed-tool.d.ts +349 -1
- package/dist/schema/parsed-tool.d.ts.map +1 -1
- package/dist/schema/parsed-tool.js +73 -2
- package/dist/schema/parsed-tool.js.map +1 -1
- package/dist/user-tool-parse/index.d.ts +12 -0
- package/dist/user-tool-parse/index.d.ts.map +1 -0
- package/dist/user-tool-parse/index.js +12 -0
- package/dist/user-tool-parse/index.js.map +1 -0
- package/dist/user-tool-parse/inputs.d.ts +13 -0
- package/dist/user-tool-parse/inputs.d.ts.map +1 -0
- package/dist/user-tool-parse/inputs.js +565 -0
- package/dist/user-tool-parse/inputs.js.map +1 -0
- package/dist/user-tool-parse/outputs.d.ts +10 -0
- package/dist/user-tool-parse/outputs.d.ts.map +1 -0
- package/dist/user-tool-parse/outputs.js +231 -0
- package/dist/user-tool-parse/outputs.js.map +1 -0
- package/dist/user-tool-parse/parse.d.ts +12 -0
- package/dist/user-tool-parse/parse.d.ts.map +1 -0
- package/dist/user-tool-parse/parse.js +98 -0
- package/dist/user-tool-parse/parse.js.map +1 -0
- package/dist/user-tool-source/index.d.ts +3 -0
- package/dist/user-tool-source/index.d.ts.map +1 -0
- package/dist/user-tool-source/index.js +3 -0
- package/dist/user-tool-source/index.js.map +1 -0
- package/dist/user-tool-source/schema.generated.d.ts +7298 -0
- package/dist/user-tool-source/schema.generated.d.ts.map +1 -0
- package/dist/user-tool-source/schema.generated.js +8851 -0
- package/dist/user-tool-source/schema.generated.js.map +1 -0
- package/dist/user-tool-source/semantic.d.ts +14 -0
- package/dist/user-tool-source/semantic.d.ts.map +1 -0
- package/dist/user-tool-source/semantic.js +137 -0
- package/dist/user-tool-source/semantic.js.map +1 -0
- package/dist/user-tool-source/validate.d.ts +37 -0
- package/dist/user-tool-source/validate.d.ts.map +1 -0
- package/dist/user-tool-source/validate.js +54 -0
- package/dist/user-tool-source/validate.js.map +1 -0
- package/dist/workflow/cytoscape-layout.d.ts +23 -0
- package/dist/workflow/cytoscape-layout.d.ts.map +1 -0
- package/dist/workflow/cytoscape-layout.js +115 -0
- package/dist/workflow/cytoscape-layout.js.map +1 -0
- package/dist/workflow/cytoscape-models.d.ts +67 -0
- package/dist/workflow/cytoscape-models.d.ts.map +1 -0
- package/dist/workflow/cytoscape-models.js +10 -0
- package/dist/workflow/cytoscape-models.js.map +1 -0
- package/dist/workflow/cytoscape.d.ts +29 -0
- package/dist/workflow/cytoscape.d.ts.map +1 -0
- package/dist/workflow/cytoscape.js +172 -0
- package/dist/workflow/cytoscape.js.map +1 -0
- package/dist/workflow/draft-checks.d.ts +205 -0
- package/dist/workflow/draft-checks.d.ts.map +1 -0
- package/dist/workflow/draft-checks.js +1151 -0
- package/dist/workflow/draft-checks.js.map +1 -0
- package/dist/workflow/edge-annotation.d.ts +24 -0
- package/dist/workflow/edge-annotation.d.ts.map +1 -0
- package/dist/workflow/edge-annotation.js +16 -0
- package/dist/workflow/edge-annotation.js.map +1 -0
- package/dist/workflow/index.d.ts +7 -1
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +7 -1
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/mermaid.d.ts +6 -0
- package/dist/workflow/mermaid.d.ts.map +1 -1
- package/dist/workflow/mermaid.js +37 -4
- package/dist/workflow/mermaid.js.map +1 -1
- package/dist/workflow/normalized/format2.d.ts +1 -0
- package/dist/workflow/normalized/format2.d.ts.map +1 -1
- package/dist/workflow/normalized/format2.js +15 -2
- package/dist/workflow/normalized/format2.js.map +1 -1
- package/dist/workflow/normalized/native.d.ts +1 -1
- package/dist/workflow/normalized/toNative.js +29 -4
- package/dist/workflow/normalized/toNative.js.map +1 -1
- package/dist/workflow/promote-draft.d.ts +53 -0
- package/dist/workflow/promote-draft.d.ts.map +1 -0
- package/dist/workflow/promote-draft.js +133 -0
- package/dist/workflow/promote-draft.js.map +1 -0
- package/dist/workflow/raw/gxformat2-draft.d.ts +688 -0
- package/dist/workflow/raw/gxformat2-draft.d.ts.map +1 -0
- package/dist/workflow/raw/gxformat2-draft.effect.d.ts +4607 -0
- package/dist/workflow/raw/gxformat2-draft.effect.d.ts.map +1 -0
- package/dist/workflow/raw/gxformat2-draft.effect.js +778 -0
- package/dist/workflow/raw/gxformat2-draft.effect.js.map +1 -0
- package/dist/workflow/raw/gxformat2-draft.js +20 -0
- package/dist/workflow/raw/gxformat2-draft.js.map +1 -0
- package/dist/workflow/raw/gxformat2.d.ts +237 -13
- package/dist/workflow/raw/gxformat2.d.ts.map +1 -1
- package/dist/workflow/raw/gxformat2.effect.d.ts +1375 -177
- package/dist/workflow/raw/gxformat2.effect.d.ts.map +1 -1
- package/dist/workflow/raw/gxformat2.effect.js +355 -108
- package/dist/workflow/raw/gxformat2.effect.js.map +1 -1
- package/dist/workflow/raw/gxformat2.js +18 -1
- package/dist/workflow/raw/gxformat2.js.map +1 -1
- package/dist/workflow/raw/index.d.ts +2 -0
- package/dist/workflow/raw/index.d.ts.map +1 -1
- package/dist/workflow/raw/index.js +1 -0
- package/dist/workflow/raw/index.js.map +1 -1
- package/dist/workflow/raw/native.d.ts +51 -2
- package/dist/workflow/raw/native.d.ts.map +1 -1
- package/dist/workflow/raw/native.effect.d.ts +82 -30
- package/dist/workflow/raw/native.effect.d.ts.map +1 -1
- package/dist/workflow/raw/native.effect.js +67 -18
- package/dist/workflow/raw/native.effect.js.map +1 -1
- package/dist/workflow/raw/native.js.map +1 -1
- package/dist/workflow/report-models.d.ts +67 -0
- package/dist/workflow/report-models.d.ts.map +1 -1
- package/dist/workflow/report-models.js +81 -0
- package/dist/workflow/report-models.js.map +1 -1
- package/dist/workflow/semantic-validators.d.ts +18 -0
- package/dist/workflow/semantic-validators.d.ts.map +1 -0
- package/dist/workflow/semantic-validators.js +137 -0
- package/dist/workflow/semantic-validators.js.map +1 -0
- package/dist/workflow/validators.d.ts.map +1 -1
- package/dist/workflow/validators.js +7 -2
- package/dist/workflow/validators.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ type LabelValue, } from "./schema/bundle-types.js";
|
|
|
39
39
|
export {
|
|
40
40
|
/** True for gx_select, gx_genomebuild, gx_drill_down — params with an options list. */
|
|
41
41
|
isSelectLikeParam, isBooleanParam, isSectionParam, isRepeatParam, isConditionalParam, } from "./schema/type-guards.js";
|
|
42
|
-
export { ParsedTool, HelpContent, XrefDict, Citation } from "./schema/parsed-tool.js";
|
|
42
|
+
export { ParsedTool, HelpContent, XrefDict, Citation, DiscoverVia, SortKey, SortComp, DatasetCollectionDescription, ToolProvidedMetadataDatasetCollection, FilePatternDatasetCollectionDescription, ToolOutput, ToolOutputDataset, ToolOutputCollectionStructure, ToolOutputCollection, ToolOutputText, ToolOutputInteger, ToolOutputFloat, ToolOutputBoolean, parsedToolSchema, } from "./schema/parsed-tool.js";
|
|
43
43
|
export { type GalaxyWorkflow,
|
|
44
44
|
/** Union schema accepting any Galaxy workflow format (format2 or native). */
|
|
45
45
|
GalaxyWorkflowSchema, type NativeGalaxyWorkflow,
|
|
@@ -99,8 +99,32 @@ roundtripValidate, type RoundtripResult, type RoundtripStrictOptions, type StepR
|
|
|
99
99
|
scanToolState, type LegacyEncodingClassification, type LegacyEncodingHit, type LegacyEncodingScanResult,
|
|
100
100
|
/** Clean a workflow — strip stale keys, decode legacy tool_state encoding. */
|
|
101
101
|
cleanWorkflow, type CleanWorkflowResult, workflowToMermaid, type MermaidOptions,
|
|
102
|
+
/** Edge annotation contract (map-over depth + reduction) consumed by mermaid/cytoscape emitters. */
|
|
103
|
+
type EdgeAnnotation, edgeAnnotationKey,
|
|
104
|
+
/** Build Cytoscape.js elements from a Galaxy workflow. */
|
|
105
|
+
cytoscapeElements, type CytoscapeOptions,
|
|
106
|
+
/** Flatten cytoscape elements into the list-of-dicts format cytoscape.js consumes. */
|
|
107
|
+
elementsToList, type CytoscapeEdge, type CytoscapeEdgeData, type CytoscapeElements, type CytoscapeLayoutHint, type CytoscapeListItem, type CytoscapeNode, type CytoscapeNodeData, type CytoscapePosition,
|
|
108
|
+
/** Cross-language layout names + topological position computation. */
|
|
109
|
+
COL_STRIDE, ROW_STRIDE, LAYOUT_NAMES, bakesCoordinates, isLayoutName, topologicalPositions, type LayoutName,
|
|
102
110
|
/** Detect whether a workflow dict is native (.ga) or format2 (.gxwf.yml). */
|
|
103
111
|
detectFormat, type WorkflowFormat,
|
|
112
|
+
/** Draft workflow sentinel pattern (mirrors gxformat2/draft.py). */
|
|
113
|
+
TODO_SENTINEL_PATTERN, PLAN_FIELDS, DRAFT_CLASS, isTodoSentinel,
|
|
114
|
+
/** True iff doc carries `class: GalaxyWorkflowDraft`. */
|
|
115
|
+
isDraftWorkflow,
|
|
116
|
+
/** Walk a draft workflow once; collect every TODO sentinel + `_plan_*` field. */
|
|
117
|
+
detectDraft,
|
|
118
|
+
/** Validate a draft workflow: structural decode + topology + sentinel-form + warnings. Does not throw. */
|
|
119
|
+
validateDraft,
|
|
120
|
+
/** Topologically-ordered "what to work on next" for a draft workflow; prompt-shaped work[]. */
|
|
121
|
+
nextDraftStep, type NextStepResult,
|
|
122
|
+
/** Trim a draft workflow to its concrete subset; cascade drops + multi-source rewrites. */
|
|
123
|
+
extractConcreteSubset, type DropReason, type DroppedStep, type DroppedOutput, type RewrittenStepInput, type ExtractResult,
|
|
124
|
+
/** Strip `_plan_*` planning fields from every step + workflow root (recursive over draft subworkflows). */
|
|
125
|
+
stripPlanFields, type StrippedPlanField, type StripPlanFieldsResult,
|
|
126
|
+
/** Flip `class: GalaxyWorkflowDraft` → `class: GalaxyWorkflow` on any (sub)workflow now fully concrete. */
|
|
127
|
+
promoteFullyConcreteDrafts, type PromoteFullyConcreteDraftsResult, type PlanField, type StepPath, type TodoLocation, type TodoHit, type PlanHit, type DraftSurvey, type DraftValidationDiagnostic, type DraftValidationResult,
|
|
104
128
|
/** Format-aware workflow serializer (JSON/YAML, configurable indent and newline). */
|
|
105
129
|
serializeWorkflow, type SerializeWorkflowOptions,
|
|
106
130
|
/** Resolve workflow format from an optional override, falling back to detectFormat. */
|
|
@@ -132,7 +156,7 @@ checkStrictStructure,
|
|
|
132
156
|
/** Inject `class` discriminator into workflow dict when missing (recursive over step subworkflows). */
|
|
133
157
|
withClass,
|
|
134
158
|
/** Effect-schema validator dispatch mirroring gxformat2/validators.py. */
|
|
135
|
-
validateFormat2, validateFormat2Strict, validateNative, validateNativeStrict, validatorForFixture, type StepStatus, SKIP_STATUSES, type ValidationStepResult, type CleanStepResult, type ResolvedOutputType, type ConnectionResult, type ConnectionStepResult, type ConnectionValidationReport, type WorkflowEntry, type WorkflowIndex, type SingleValidationReport, type SingleLintReport, type SingleCleanReport, type DiffType, type DiffSeverity, type BenignArtifact, type StepDiff, type SkipWorkflowReason, type FailureClass, type StepResult, type RoundTripResult, type StepIdMappingResult, type RoundTripValidationResult, type SingleRoundTripReport, type SingleExportReport, type StepEncodeStatus, type ToNativeResult, type WorkflowSourceFormat, type ExportResult, type ConvertResult, type WorkflowValidationResult, type LintWorkflowResult, type WorkflowCleanResult, type CategoryGroup, type TreeValidationReport, type LintTreeReport, type TreeCleanReport, type WorkflowExportResult, type ExportTreeReport, type WorkflowToNativeResult, type ToNativeTreeReport, type ToolFailureMode, type RoundTripTreeReport, validationSummary, validationFailures, cleanDisplayLabel, categoryOf, groupByCategory, buildSingleValidationReport, buildSingleLintReport, buildSingleCleanReport, buildWorkflowValidationResult, buildLintWorkflowResult, buildWorkflowCleanResult, buildTreeValidationReport, buildLintTreeReport, buildTreeCleanReport, buildWorkflowExportResult, buildExportTreeReport, buildWorkflowToNativeResult, buildToNativeTreeReport, buildRoundTripTreeReport, type CleanWorkflowOptions, } from "./workflow/index.js";
|
|
159
|
+
validateFormat2, validateFormat2Strict, validateNative, validateNativeStrict, validatorForFixture, type StepStatus, SKIP_STATUSES, type ValidationStepResult, type CleanStepResult, type ResolvedOutputType, type ConnectionResult, type ConnectionStepResult, type ConnectionValidationReport, type WorkflowEntry, type WorkflowIndex, type SingleValidationReport, type SingleLintReport, type SingleCleanReport, type DraftValidationDiagnosticReport, type DraftSurveyReport, type SingleDraftValidationReport, type DraftExtractDropReport, type DraftExtractRewriteReport, type SingleDraftExtractReport, type DiffType, type DiffSeverity, type BenignArtifact, type StepDiff, type SkipWorkflowReason, type FailureClass, type StepResult, type RoundTripResult, type StepIdMappingResult, type RoundTripValidationResult, type SingleRoundTripReport, type SingleExportReport, type StepEncodeStatus, type ToNativeResult, type WorkflowSourceFormat, type ExportResult, type ConvertResult, type WorkflowValidationResult, type LintWorkflowResult, type WorkflowCleanResult, type CategoryGroup, type TreeValidationReport, type LintTreeReport, type TreeCleanReport, type WorkflowExportResult, type ExportTreeReport, type WorkflowToNativeResult, type ToNativeTreeReport, type ToolFailureMode, type RoundTripTreeReport, validationSummary, validationFailures, cleanDisplayLabel, categoryOf, groupByCategory, buildSingleValidationReport, buildSingleLintReport, buildSingleCleanReport, buildSingleDraftValidationReport, buildSingleDraftExtractReport, buildWorkflowValidationResult, buildLintWorkflowResult, buildWorkflowCleanResult, buildTreeValidationReport, buildLintTreeReport, buildTreeCleanReport, buildWorkflowExportResult, buildExportTreeReport, buildWorkflowToNativeResult, buildToNativeTreeReport, buildRoundTripTreeReport, type CleanWorkflowOptions, } from "./workflow/index.js";
|
|
136
160
|
export { ToolStateValidator, type ToolStateDiagnostic } from "./tool-state-validator.js";
|
|
137
161
|
export {
|
|
138
162
|
/** Validate a parsed *.gxwf-tests.yml / Planemo *-tests.yml document. */
|
|
@@ -161,4 +185,14 @@ isCompatibleType,
|
|
|
161
185
|
jsTypeOf,
|
|
162
186
|
/** Cross-check a tests doc against workflow shape; emits JSON-pointer diagnostics. */
|
|
163
187
|
checkTestsAgainstWorkflow, } from "./test-format/index.js";
|
|
188
|
+
export {
|
|
189
|
+
/** Validate a parsed user-defined Galaxy tool source document. */
|
|
190
|
+
validateUserToolSource,
|
|
191
|
+
/** Raw JSON Schema synced from galaxy.tool_util_models.DynamicToolSources. */
|
|
192
|
+
userToolSourceSchema,
|
|
193
|
+
/** Run only the semantic (model_validator) checks — internal helper, exposed for tests. */
|
|
194
|
+
runSemanticChecks, type UserToolSourceDiagnostic, type ValidateUserToolSourceOptions, } from "./user-tool-source/index.js";
|
|
195
|
+
export {
|
|
196
|
+
/** Parse an inline GalaxyUserTool `tool_representation` dict into a ParsedTool. */
|
|
197
|
+
parseInlineTool, type InlineRepresentation, } from "./user-tool-parse/index.js";
|
|
164
198
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO;AACL,0FAA0F;AAC1F,gBAAgB,EAChB,KAAK,mBAAmB;AACxB,4CAA4C;AAC5C,qBAAqB;AACrB,wEAAwE;AACxE,yBAAyB;AACzB,6DAA6D;AAC7D,wBAAwB;AACxB,wEAAwE;AACxE,yBAAyB;AACzB,6DAA6D;AAC7D,wBAAwB;AACxB,gEAAgE;AAChE,qBAAqB;AACrB,gEAAgE;AAChE,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAE3B,OAAO;AACL,2CAA2C;AAC3C,KAAK,wBAAwB;AAC7B,2EAA2E;AAC3E,KAAK,kBAAkB;AACvB,4DAA4D;AAC5D,KAAK,oBAAoB;AACzB,yEAAyE;AACzE,KAAK,uBAAuB;AAC5B,6DAA6D;AAC7D,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KA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AAgC,EAChC,6BAA6B,EAC7B,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,wBAAwB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEzF,OAAO;AACL,yEAAyE;AACzE,iBAAiB;AACjB,0FAA0F;AAC1F,WAAW,EACX,KAAK,oBAAoB;AACzB,yDAAyD;AACzD,KAAK,aAAa;AAClB,0DAA0D;AAC1D,KAAK,cAAc;AACnB,uFAAuF;AACvF,KAAK,gBAAgB;AACrB,8DAA8D;AAC9D,KAAK,aAAa;AAClB,wEAAwE;AACxE,qBAAqB;AACrB,yEAAyE;AACzE,sBAAsB;AACtB,0EAA0E;AAC1E,oBAAoB,EACpB,qBAAqB;AACrB,iFAAiF;AACjF,mBAAmB,EACnB,oBAAoB;AACpB,6GAA6G;AAC7G,gBAAgB;AAChB,mFAAmF;AACnF,QAAQ;AACR,sFAAsF;AACtF,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO;AACL,kEAAkE;AAClE,sBAAsB;AACtB,8EAA8E;AAC9E,oBAAoB;AACpB,2FAA2F;AAC3F,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,6BAA6B,GACnC,MAAM,6BAA6B,CAAC;AAErC,OAAO;AACL,mFAAmF;AACnF,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,4BAA4B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ collectValidatorTypes, } from "./schema/index.js";
|
|
|
24
24
|
export {
|
|
25
25
|
/** True for gx_select, gx_genomebuild, gx_drill_down — params with an options list. */
|
|
26
26
|
isSelectLikeParam, isBooleanParam, isSectionParam, isRepeatParam, isConditionalParam, } from "./schema/type-guards.js";
|
|
27
|
-
export { ParsedTool, HelpContent, XrefDict, Citation } from "./schema/parsed-tool.js";
|
|
27
|
+
export { ParsedTool, HelpContent, XrefDict, Citation, DiscoverVia, SortKey, SortComp, DatasetCollectionDescription, ToolProvidedMetadataDatasetCollection, FilePatternDatasetCollectionDescription, ToolOutput, ToolOutputDataset, ToolOutputCollectionStructure, ToolOutputCollection, ToolOutputText, ToolOutputInteger, ToolOutputFloat, ToolOutputBoolean, parsedToolSchema, } from "./schema/parsed-tool.js";
|
|
28
28
|
export {
|
|
29
29
|
/** Union schema accepting any Galaxy workflow format (format2 or native). */
|
|
30
30
|
GalaxyWorkflowSchema,
|
|
@@ -83,9 +83,31 @@ roundtripValidate,
|
|
|
83
83
|
/** Scan native workflow tool_state for legacy parameter encoding signals. */
|
|
84
84
|
scanToolState,
|
|
85
85
|
/** Clean a workflow — strip stale keys, decode legacy tool_state encoding. */
|
|
86
|
-
cleanWorkflow, workflowToMermaid,
|
|
86
|
+
cleanWorkflow, workflowToMermaid, edgeAnnotationKey,
|
|
87
|
+
/** Build Cytoscape.js elements from a Galaxy workflow. */
|
|
88
|
+
cytoscapeElements,
|
|
89
|
+
/** Flatten cytoscape elements into the list-of-dicts format cytoscape.js consumes. */
|
|
90
|
+
elementsToList,
|
|
91
|
+
/** Cross-language layout names + topological position computation. */
|
|
92
|
+
COL_STRIDE, ROW_STRIDE, LAYOUT_NAMES, bakesCoordinates, isLayoutName, topologicalPositions,
|
|
87
93
|
/** Detect whether a workflow dict is native (.ga) or format2 (.gxwf.yml). */
|
|
88
94
|
detectFormat,
|
|
95
|
+
/** Draft workflow sentinel pattern (mirrors gxformat2/draft.py). */
|
|
96
|
+
TODO_SENTINEL_PATTERN, PLAN_FIELDS, DRAFT_CLASS, isTodoSentinel,
|
|
97
|
+
/** True iff doc carries `class: GalaxyWorkflowDraft`. */
|
|
98
|
+
isDraftWorkflow,
|
|
99
|
+
/** Walk a draft workflow once; collect every TODO sentinel + `_plan_*` field. */
|
|
100
|
+
detectDraft,
|
|
101
|
+
/** Validate a draft workflow: structural decode + topology + sentinel-form + warnings. Does not throw. */
|
|
102
|
+
validateDraft,
|
|
103
|
+
/** Topologically-ordered "what to work on next" for a draft workflow; prompt-shaped work[]. */
|
|
104
|
+
nextDraftStep,
|
|
105
|
+
/** Trim a draft workflow to its concrete subset; cascade drops + multi-source rewrites. */
|
|
106
|
+
extractConcreteSubset,
|
|
107
|
+
/** Strip `_plan_*` planning fields from every step + workflow root (recursive over draft subworkflows). */
|
|
108
|
+
stripPlanFields,
|
|
109
|
+
/** Flip `class: GalaxyWorkflowDraft` → `class: GalaxyWorkflow` on any (sub)workflow now fully concrete. */
|
|
110
|
+
promoteFullyConcreteDrafts,
|
|
89
111
|
/** Format-aware workflow serializer (JSON/YAML, configurable indent and newline). */
|
|
90
112
|
serializeWorkflow,
|
|
91
113
|
/** Resolve workflow format from an optional override, falling back to detectFormat. */
|
|
@@ -117,7 +139,7 @@ checkStrictStructure,
|
|
|
117
139
|
/** Inject `class` discriminator into workflow dict when missing (recursive over step subworkflows). */
|
|
118
140
|
withClass,
|
|
119
141
|
/** Effect-schema validator dispatch mirroring gxformat2/validators.py. */
|
|
120
|
-
validateFormat2, validateFormat2Strict, validateNative, validateNativeStrict, validatorForFixture, SKIP_STATUSES, validationSummary, validationFailures, cleanDisplayLabel, categoryOf, groupByCategory, buildSingleValidationReport, buildSingleLintReport, buildSingleCleanReport, buildWorkflowValidationResult, buildLintWorkflowResult, buildWorkflowCleanResult, buildTreeValidationReport, buildLintTreeReport, buildTreeCleanReport, buildWorkflowExportResult, buildExportTreeReport, buildWorkflowToNativeResult, buildToNativeTreeReport, buildRoundTripTreeReport, } from "./workflow/index.js";
|
|
142
|
+
validateFormat2, validateFormat2Strict, validateNative, validateNativeStrict, validatorForFixture, SKIP_STATUSES, validationSummary, validationFailures, cleanDisplayLabel, categoryOf, groupByCategory, buildSingleValidationReport, buildSingleLintReport, buildSingleCleanReport, buildSingleDraftValidationReport, buildSingleDraftExtractReport, buildWorkflowValidationResult, buildLintWorkflowResult, buildWorkflowCleanResult, buildTreeValidationReport, buildLintTreeReport, buildTreeCleanReport, buildWorkflowExportResult, buildExportTreeReport, buildWorkflowToNativeResult, buildToNativeTreeReport, buildRoundTripTreeReport, } from "./workflow/index.js";
|
|
121
143
|
export { ToolStateValidator } from "./tool-state-validator.js";
|
|
122
144
|
export {
|
|
123
145
|
/** Validate a parsed *.gxwf-tests.yml / Planemo *-tests.yml document. */
|
|
@@ -138,4 +160,14 @@ isCompatibleType,
|
|
|
138
160
|
jsTypeOf,
|
|
139
161
|
/** Cross-check a tests doc against workflow shape; emits JSON-pointer diagnostics. */
|
|
140
162
|
checkTestsAgainstWorkflow, } from "./test-format/index.js";
|
|
163
|
+
export {
|
|
164
|
+
/** Validate a parsed user-defined Galaxy tool source document. */
|
|
165
|
+
validateUserToolSource,
|
|
166
|
+
/** Raw JSON Schema synced from galaxy.tool_util_models.DynamicToolSources. */
|
|
167
|
+
userToolSourceSchema,
|
|
168
|
+
/** Run only the semantic (model_validator) checks — internal helper, exposed for tests. */
|
|
169
|
+
runSemanticChecks, } from "./user-tool-source/index.js";
|
|
170
|
+
export {
|
|
171
|
+
/** Parse an inline GalaxyUserTool `tool_representation` dict into a ParsedTool. */
|
|
172
|
+
parseInlineTool, } from "./user-tool-parse/index.js";
|
|
141
173
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO;AACL,0FAA0F;AAC1F,gBAAgB;AAEhB,4CAA4C;AAC5C,qBAAqB;AACrB,wEAAwE;AACxE,yBAAyB;AACzB,6DAA6D;AAC7D,wBAAwB;AACxB,wEAAwE;AACxE,yBAAyB;AACzB,6DAA6D;AAC7D,wBAAwB;AACxB,gEAAgE;AAChE,qBAAqB;AACrB,gEAAgE;AAChE,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AA6B3B,OAAO;AACL,uFAAuF;AACvF,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,aAAa,EACb,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO;AACL,0FAA0F;AAC1F,gBAAgB;AAEhB,4CAA4C;AAC5C,qBAAqB;AACrB,wEAAwE;AACxE,yBAAyB;AACzB,6DAA6D;AAC7D,wBAAwB;AACxB,wEAAwE;AACxE,yBAAyB;AACzB,6DAA6D;AAC7D,wBAAwB;AACxB,gEAAgE;AAChE,qBAAqB;AACrB,gEAAgE;AAChE,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AA6B3B,OAAO;AACL,uFAAuF;AACvF,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,aAAa,EACb,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,UAAU,EACV,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,OAAO,EACP,QAAQ,EACR,4BAA4B,EAC5B,qCAAqC,EACrC,uCAAuC,EACvC,UAAU,EACV,iBAAiB,EACjB,6BAA6B,EAC7B,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO;AAEL,6EAA6E;AAC7E,oBAAoB;AAEpB,oDAAoD;AACpD,0BAA0B;AAC1B,mFAAmF;AACnF,iBAAiB,EACjB,+BAA+B,EAC/B,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,gCAAgC,EAChC,iCAAiC;AAOjC,wFAAwF;AACxF,gBAAgB,EAChB,8BAA8B,EAC9B,0BAA0B,EAC1B,mBAAmB;AAInB,iEAAiE;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;AAC7G,gBAAgB;AAChB,mFAAmF;AACnF,QAAQ;AACR,sFAAsF;AACtF,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO;AACL,kEAAkE;AAClE,sBAAsB;AACtB,8EAA8E;AAC9E,oBAAoB;AACpB,2FAA2F;AAC3F,iBAAiB,GAGlB,MAAM,6BAA6B,CAAC;AAErC,OAAO;AACL,mFAAmF;AACnF,eAAe,GAEhB,MAAM,4BAA4B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as S from "effect/Schema";
|
|
2
|
+
import * as JSONSchema from "effect/JSONSchema";
|
|
2
3
|
import type { ToolParameterModel } from "./bundle-types.js";
|
|
3
4
|
/** Tool help content with format (rst, markdown, etc.) and rendered content. */
|
|
4
5
|
export declare const HelpContent: S.Struct<{
|
|
@@ -15,6 +16,252 @@ export declare const Citation: S.Struct<{
|
|
|
15
16
|
type: typeof S.String;
|
|
16
17
|
content: typeof S.String;
|
|
17
18
|
}>;
|
|
19
|
+
export declare const DiscoverVia: S.Literal<["pattern", "tool_provided_metadata"]>;
|
|
20
|
+
export declare const SortKey: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
21
|
+
export declare const SortComp: S.Literal<["lexical", "numeric"]>;
|
|
22
|
+
export declare const ToolProvidedMetadataDatasetCollection: S.Struct<{
|
|
23
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
24
|
+
format: S.NullOr<typeof S.String>;
|
|
25
|
+
visible: typeof S.Boolean;
|
|
26
|
+
assign_primary_output: typeof S.Boolean;
|
|
27
|
+
directory: S.NullOr<typeof S.String>;
|
|
28
|
+
recurse: typeof S.Boolean;
|
|
29
|
+
match_relative_path: typeof S.Boolean;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const FilePatternDatasetCollectionDescription: S.Struct<{
|
|
32
|
+
discover_via: S.Literal<["pattern"]>;
|
|
33
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
34
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
35
|
+
sort_reverse: typeof S.Boolean;
|
|
36
|
+
pattern: typeof S.String;
|
|
37
|
+
format: S.NullOr<typeof S.String>;
|
|
38
|
+
visible: typeof S.Boolean;
|
|
39
|
+
assign_primary_output: typeof S.Boolean;
|
|
40
|
+
directory: S.NullOr<typeof S.String>;
|
|
41
|
+
recurse: typeof S.Boolean;
|
|
42
|
+
match_relative_path: typeof S.Boolean;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const DatasetCollectionDescription: S.Union<[S.Struct<{
|
|
45
|
+
discover_via: S.Literal<["pattern"]>;
|
|
46
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
47
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
48
|
+
sort_reverse: typeof S.Boolean;
|
|
49
|
+
pattern: typeof S.String;
|
|
50
|
+
format: S.NullOr<typeof S.String>;
|
|
51
|
+
visible: typeof S.Boolean;
|
|
52
|
+
assign_primary_output: typeof S.Boolean;
|
|
53
|
+
directory: S.NullOr<typeof S.String>;
|
|
54
|
+
recurse: typeof S.Boolean;
|
|
55
|
+
match_relative_path: typeof S.Boolean;
|
|
56
|
+
}>, S.Struct<{
|
|
57
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
58
|
+
format: S.NullOr<typeof S.String>;
|
|
59
|
+
visible: typeof S.Boolean;
|
|
60
|
+
assign_primary_output: typeof S.Boolean;
|
|
61
|
+
directory: S.NullOr<typeof S.String>;
|
|
62
|
+
recurse: typeof S.Boolean;
|
|
63
|
+
match_relative_path: typeof S.Boolean;
|
|
64
|
+
}>]>;
|
|
65
|
+
export declare const ToolOutputDataset: S.Struct<{
|
|
66
|
+
type: S.Literal<["data"]>;
|
|
67
|
+
format: typeof S.String;
|
|
68
|
+
format_source: S.NullOr<typeof S.String>;
|
|
69
|
+
metadata_source: S.NullOr<typeof S.String>;
|
|
70
|
+
discover_datasets: S.NullOr<S.Array$<S.Union<[S.Struct<{
|
|
71
|
+
discover_via: S.Literal<["pattern"]>;
|
|
72
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
73
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
74
|
+
sort_reverse: typeof S.Boolean;
|
|
75
|
+
pattern: typeof S.String;
|
|
76
|
+
format: S.NullOr<typeof S.String>;
|
|
77
|
+
visible: typeof S.Boolean;
|
|
78
|
+
assign_primary_output: typeof S.Boolean;
|
|
79
|
+
directory: S.NullOr<typeof S.String>;
|
|
80
|
+
recurse: typeof S.Boolean;
|
|
81
|
+
match_relative_path: typeof S.Boolean;
|
|
82
|
+
}>, S.Struct<{
|
|
83
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
84
|
+
format: S.NullOr<typeof S.String>;
|
|
85
|
+
visible: typeof S.Boolean;
|
|
86
|
+
assign_primary_output: typeof S.Boolean;
|
|
87
|
+
directory: S.NullOr<typeof S.String>;
|
|
88
|
+
recurse: typeof S.Boolean;
|
|
89
|
+
match_relative_path: typeof S.Boolean;
|
|
90
|
+
}>]>>>;
|
|
91
|
+
from_work_dir: S.NullOr<typeof S.String>;
|
|
92
|
+
precreate_directory: typeof S.Boolean;
|
|
93
|
+
name: typeof S.String;
|
|
94
|
+
label: S.NullOr<typeof S.String>;
|
|
95
|
+
hidden: typeof S.Boolean;
|
|
96
|
+
}>;
|
|
97
|
+
export declare const ToolOutputCollectionStructure: S.Struct<{
|
|
98
|
+
collection_type: S.NullOr<typeof S.String>;
|
|
99
|
+
collection_type_source: S.NullOr<typeof S.String>;
|
|
100
|
+
collection_type_from_rules: S.NullOr<typeof S.String>;
|
|
101
|
+
structured_like: S.NullOr<typeof S.String>;
|
|
102
|
+
discover_datasets: S.NullOr<S.Array$<S.Union<[S.Struct<{
|
|
103
|
+
discover_via: S.Literal<["pattern"]>;
|
|
104
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
105
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
106
|
+
sort_reverse: typeof S.Boolean;
|
|
107
|
+
pattern: typeof S.String;
|
|
108
|
+
format: S.NullOr<typeof S.String>;
|
|
109
|
+
visible: typeof S.Boolean;
|
|
110
|
+
assign_primary_output: typeof S.Boolean;
|
|
111
|
+
directory: S.NullOr<typeof S.String>;
|
|
112
|
+
recurse: typeof S.Boolean;
|
|
113
|
+
match_relative_path: typeof S.Boolean;
|
|
114
|
+
}>, S.Struct<{
|
|
115
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
116
|
+
format: S.NullOr<typeof S.String>;
|
|
117
|
+
visible: typeof S.Boolean;
|
|
118
|
+
assign_primary_output: typeof S.Boolean;
|
|
119
|
+
directory: S.NullOr<typeof S.String>;
|
|
120
|
+
recurse: typeof S.Boolean;
|
|
121
|
+
match_relative_path: typeof S.Boolean;
|
|
122
|
+
}>]>>>;
|
|
123
|
+
}>;
|
|
124
|
+
export declare const ToolOutputCollection: S.Struct<{
|
|
125
|
+
type: S.Literal<["collection"]>;
|
|
126
|
+
structure: S.Struct<{
|
|
127
|
+
collection_type: S.NullOr<typeof S.String>;
|
|
128
|
+
collection_type_source: S.NullOr<typeof S.String>;
|
|
129
|
+
collection_type_from_rules: S.NullOr<typeof S.String>;
|
|
130
|
+
structured_like: S.NullOr<typeof S.String>;
|
|
131
|
+
discover_datasets: S.NullOr<S.Array$<S.Union<[S.Struct<{
|
|
132
|
+
discover_via: S.Literal<["pattern"]>;
|
|
133
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
134
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
135
|
+
sort_reverse: typeof S.Boolean;
|
|
136
|
+
pattern: typeof S.String;
|
|
137
|
+
format: S.NullOr<typeof S.String>;
|
|
138
|
+
visible: typeof S.Boolean;
|
|
139
|
+
assign_primary_output: typeof S.Boolean;
|
|
140
|
+
directory: S.NullOr<typeof S.String>;
|
|
141
|
+
recurse: typeof S.Boolean;
|
|
142
|
+
match_relative_path: typeof S.Boolean;
|
|
143
|
+
}>, S.Struct<{
|
|
144
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
145
|
+
format: S.NullOr<typeof S.String>;
|
|
146
|
+
visible: typeof S.Boolean;
|
|
147
|
+
assign_primary_output: typeof S.Boolean;
|
|
148
|
+
directory: S.NullOr<typeof S.String>;
|
|
149
|
+
recurse: typeof S.Boolean;
|
|
150
|
+
match_relative_path: typeof S.Boolean;
|
|
151
|
+
}>]>>>;
|
|
152
|
+
}>;
|
|
153
|
+
name: typeof S.String;
|
|
154
|
+
label: S.NullOr<typeof S.String>;
|
|
155
|
+
hidden: typeof S.Boolean;
|
|
156
|
+
}>;
|
|
157
|
+
export declare const ToolOutputText: S.Struct<{
|
|
158
|
+
type: S.Literal<["text"]>;
|
|
159
|
+
name: typeof S.String;
|
|
160
|
+
label: S.NullOr<typeof S.String>;
|
|
161
|
+
hidden: typeof S.Boolean;
|
|
162
|
+
}>;
|
|
163
|
+
export declare const ToolOutputInteger: S.Struct<{
|
|
164
|
+
type: S.Literal<["integer"]>;
|
|
165
|
+
name: typeof S.String;
|
|
166
|
+
label: S.NullOr<typeof S.String>;
|
|
167
|
+
hidden: typeof S.Boolean;
|
|
168
|
+
}>;
|
|
169
|
+
export declare const ToolOutputFloat: S.Struct<{
|
|
170
|
+
type: S.Literal<["float"]>;
|
|
171
|
+
name: typeof S.String;
|
|
172
|
+
label: S.NullOr<typeof S.String>;
|
|
173
|
+
hidden: typeof S.Boolean;
|
|
174
|
+
}>;
|
|
175
|
+
export declare const ToolOutputBoolean: S.Struct<{
|
|
176
|
+
type: S.Literal<["boolean"]>;
|
|
177
|
+
name: typeof S.String;
|
|
178
|
+
label: S.NullOr<typeof S.String>;
|
|
179
|
+
hidden: typeof S.Boolean;
|
|
180
|
+
}>;
|
|
181
|
+
export declare const ToolOutput: S.Union<[S.Struct<{
|
|
182
|
+
type: S.Literal<["data"]>;
|
|
183
|
+
format: typeof S.String;
|
|
184
|
+
format_source: S.NullOr<typeof S.String>;
|
|
185
|
+
metadata_source: S.NullOr<typeof S.String>;
|
|
186
|
+
discover_datasets: S.NullOr<S.Array$<S.Union<[S.Struct<{
|
|
187
|
+
discover_via: S.Literal<["pattern"]>;
|
|
188
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
189
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
190
|
+
sort_reverse: typeof S.Boolean;
|
|
191
|
+
pattern: typeof S.String;
|
|
192
|
+
format: S.NullOr<typeof S.String>;
|
|
193
|
+
visible: typeof S.Boolean;
|
|
194
|
+
assign_primary_output: typeof S.Boolean;
|
|
195
|
+
directory: S.NullOr<typeof S.String>;
|
|
196
|
+
recurse: typeof S.Boolean;
|
|
197
|
+
match_relative_path: typeof S.Boolean;
|
|
198
|
+
}>, S.Struct<{
|
|
199
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
200
|
+
format: S.NullOr<typeof S.String>;
|
|
201
|
+
visible: typeof S.Boolean;
|
|
202
|
+
assign_primary_output: typeof S.Boolean;
|
|
203
|
+
directory: S.NullOr<typeof S.String>;
|
|
204
|
+
recurse: typeof S.Boolean;
|
|
205
|
+
match_relative_path: typeof S.Boolean;
|
|
206
|
+
}>]>>>;
|
|
207
|
+
from_work_dir: S.NullOr<typeof S.String>;
|
|
208
|
+
precreate_directory: typeof S.Boolean;
|
|
209
|
+
name: typeof S.String;
|
|
210
|
+
label: S.NullOr<typeof S.String>;
|
|
211
|
+
hidden: typeof S.Boolean;
|
|
212
|
+
}>, S.Struct<{
|
|
213
|
+
type: S.Literal<["collection"]>;
|
|
214
|
+
structure: S.Struct<{
|
|
215
|
+
collection_type: S.NullOr<typeof S.String>;
|
|
216
|
+
collection_type_source: S.NullOr<typeof S.String>;
|
|
217
|
+
collection_type_from_rules: S.NullOr<typeof S.String>;
|
|
218
|
+
structured_like: S.NullOr<typeof S.String>;
|
|
219
|
+
discover_datasets: S.NullOr<S.Array$<S.Union<[S.Struct<{
|
|
220
|
+
discover_via: S.Literal<["pattern"]>;
|
|
221
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
222
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
223
|
+
sort_reverse: typeof S.Boolean;
|
|
224
|
+
pattern: typeof S.String;
|
|
225
|
+
format: S.NullOr<typeof S.String>;
|
|
226
|
+
visible: typeof S.Boolean;
|
|
227
|
+
assign_primary_output: typeof S.Boolean;
|
|
228
|
+
directory: S.NullOr<typeof S.String>;
|
|
229
|
+
recurse: typeof S.Boolean;
|
|
230
|
+
match_relative_path: typeof S.Boolean;
|
|
231
|
+
}>, S.Struct<{
|
|
232
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
233
|
+
format: S.NullOr<typeof S.String>;
|
|
234
|
+
visible: typeof S.Boolean;
|
|
235
|
+
assign_primary_output: typeof S.Boolean;
|
|
236
|
+
directory: S.NullOr<typeof S.String>;
|
|
237
|
+
recurse: typeof S.Boolean;
|
|
238
|
+
match_relative_path: typeof S.Boolean;
|
|
239
|
+
}>]>>>;
|
|
240
|
+
}>;
|
|
241
|
+
name: typeof S.String;
|
|
242
|
+
label: S.NullOr<typeof S.String>;
|
|
243
|
+
hidden: typeof S.Boolean;
|
|
244
|
+
}>, S.Struct<{
|
|
245
|
+
type: S.Literal<["text"]>;
|
|
246
|
+
name: typeof S.String;
|
|
247
|
+
label: S.NullOr<typeof S.String>;
|
|
248
|
+
hidden: typeof S.Boolean;
|
|
249
|
+
}>, S.Struct<{
|
|
250
|
+
type: S.Literal<["integer"]>;
|
|
251
|
+
name: typeof S.String;
|
|
252
|
+
label: S.NullOr<typeof S.String>;
|
|
253
|
+
hidden: typeof S.Boolean;
|
|
254
|
+
}>, S.Struct<{
|
|
255
|
+
type: S.Literal<["float"]>;
|
|
256
|
+
name: typeof S.String;
|
|
257
|
+
label: S.NullOr<typeof S.String>;
|
|
258
|
+
hidden: typeof S.Boolean;
|
|
259
|
+
}>, S.Struct<{
|
|
260
|
+
type: S.Literal<["boolean"]>;
|
|
261
|
+
name: typeof S.String;
|
|
262
|
+
label: S.NullOr<typeof S.String>;
|
|
263
|
+
hidden: typeof S.Boolean;
|
|
264
|
+
}>]>;
|
|
18
265
|
/**
|
|
19
266
|
* Effect Schema for parsed Galaxy tool metadata as returned by the ToolShed TRS API
|
|
20
267
|
* or Galaxy's /api/tools/:id/parsed endpoint.
|
|
@@ -25,7 +272,90 @@ export declare const ParsedTool: S.Struct<{
|
|
|
25
272
|
name: typeof S.String;
|
|
26
273
|
description: S.transform<S.NullOr<typeof S.String>, S.NullOr<typeof S.String>>;
|
|
27
274
|
inputs: S.Array$<S.Schema<ToolParameterModel, ToolParameterModel, never>>;
|
|
28
|
-
outputs: S.Array$<
|
|
275
|
+
outputs: S.Array$<S.Union<[S.Struct<{
|
|
276
|
+
type: S.Literal<["data"]>;
|
|
277
|
+
format: typeof S.String;
|
|
278
|
+
format_source: S.NullOr<typeof S.String>;
|
|
279
|
+
metadata_source: S.NullOr<typeof S.String>;
|
|
280
|
+
discover_datasets: S.NullOr<S.Array$<S.Union<[S.Struct<{
|
|
281
|
+
discover_via: S.Literal<["pattern"]>;
|
|
282
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
283
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
284
|
+
sort_reverse: typeof S.Boolean;
|
|
285
|
+
pattern: typeof S.String;
|
|
286
|
+
format: S.NullOr<typeof S.String>;
|
|
287
|
+
visible: typeof S.Boolean;
|
|
288
|
+
assign_primary_output: typeof S.Boolean;
|
|
289
|
+
directory: S.NullOr<typeof S.String>;
|
|
290
|
+
recurse: typeof S.Boolean;
|
|
291
|
+
match_relative_path: typeof S.Boolean;
|
|
292
|
+
}>, S.Struct<{
|
|
293
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
294
|
+
format: S.NullOr<typeof S.String>;
|
|
295
|
+
visible: typeof S.Boolean;
|
|
296
|
+
assign_primary_output: typeof S.Boolean;
|
|
297
|
+
directory: S.NullOr<typeof S.String>;
|
|
298
|
+
recurse: typeof S.Boolean;
|
|
299
|
+
match_relative_path: typeof S.Boolean;
|
|
300
|
+
}>]>>>;
|
|
301
|
+
from_work_dir: S.NullOr<typeof S.String>;
|
|
302
|
+
precreate_directory: typeof S.Boolean;
|
|
303
|
+
name: typeof S.String;
|
|
304
|
+
label: S.NullOr<typeof S.String>;
|
|
305
|
+
hidden: typeof S.Boolean;
|
|
306
|
+
}>, S.Struct<{
|
|
307
|
+
type: S.Literal<["collection"]>;
|
|
308
|
+
structure: S.Struct<{
|
|
309
|
+
collection_type: S.NullOr<typeof S.String>;
|
|
310
|
+
collection_type_source: S.NullOr<typeof S.String>;
|
|
311
|
+
collection_type_from_rules: S.NullOr<typeof S.String>;
|
|
312
|
+
structured_like: S.NullOr<typeof S.String>;
|
|
313
|
+
discover_datasets: S.NullOr<S.Array$<S.Union<[S.Struct<{
|
|
314
|
+
discover_via: S.Literal<["pattern"]>;
|
|
315
|
+
sort_key: S.Literal<["filename", "name", "designation", "dbkey"]>;
|
|
316
|
+
sort_comp: S.Literal<["lexical", "numeric"]>;
|
|
317
|
+
sort_reverse: typeof S.Boolean;
|
|
318
|
+
pattern: typeof S.String;
|
|
319
|
+
format: S.NullOr<typeof S.String>;
|
|
320
|
+
visible: typeof S.Boolean;
|
|
321
|
+
assign_primary_output: typeof S.Boolean;
|
|
322
|
+
directory: S.NullOr<typeof S.String>;
|
|
323
|
+
recurse: typeof S.Boolean;
|
|
324
|
+
match_relative_path: typeof S.Boolean;
|
|
325
|
+
}>, S.Struct<{
|
|
326
|
+
discover_via: S.Literal<["tool_provided_metadata"]>;
|
|
327
|
+
format: S.NullOr<typeof S.String>;
|
|
328
|
+
visible: typeof S.Boolean;
|
|
329
|
+
assign_primary_output: typeof S.Boolean;
|
|
330
|
+
directory: S.NullOr<typeof S.String>;
|
|
331
|
+
recurse: typeof S.Boolean;
|
|
332
|
+
match_relative_path: typeof S.Boolean;
|
|
333
|
+
}>]>>>;
|
|
334
|
+
}>;
|
|
335
|
+
name: typeof S.String;
|
|
336
|
+
label: S.NullOr<typeof S.String>;
|
|
337
|
+
hidden: typeof S.Boolean;
|
|
338
|
+
}>, S.Struct<{
|
|
339
|
+
type: S.Literal<["text"]>;
|
|
340
|
+
name: typeof S.String;
|
|
341
|
+
label: S.NullOr<typeof S.String>;
|
|
342
|
+
hidden: typeof S.Boolean;
|
|
343
|
+
}>, S.Struct<{
|
|
344
|
+
type: S.Literal<["integer"]>;
|
|
345
|
+
name: typeof S.String;
|
|
346
|
+
label: S.NullOr<typeof S.String>;
|
|
347
|
+
hidden: typeof S.Boolean;
|
|
348
|
+
}>, S.Struct<{
|
|
349
|
+
type: S.Literal<["float"]>;
|
|
350
|
+
name: typeof S.String;
|
|
351
|
+
label: S.NullOr<typeof S.String>;
|
|
352
|
+
hidden: typeof S.Boolean;
|
|
353
|
+
}>, S.Struct<{
|
|
354
|
+
type: S.Literal<["boolean"]>;
|
|
355
|
+
name: typeof S.String;
|
|
356
|
+
label: S.NullOr<typeof S.String>;
|
|
357
|
+
hidden: typeof S.Boolean;
|
|
358
|
+
}>]>>;
|
|
29
359
|
citations: S.Array$<S.Struct<{
|
|
30
360
|
type: typeof S.String;
|
|
31
361
|
content: typeof S.String;
|
|
@@ -43,5 +373,23 @@ export declare const ParsedTool: S.Struct<{
|
|
|
43
373
|
content: typeof S.String;
|
|
44
374
|
}>, typeof S.Null]>>;
|
|
45
375
|
}>;
|
|
376
|
+
export declare const parsedToolSchema: JSONSchema.JsonSchema7Root;
|
|
377
|
+
export type HelpContent = S.Schema.Type<typeof HelpContent>;
|
|
378
|
+
export type XrefDict = S.Schema.Type<typeof XrefDict>;
|
|
379
|
+
export type Citation = S.Schema.Type<typeof Citation>;
|
|
380
|
+
export type DiscoverVia = S.Schema.Type<typeof DiscoverVia>;
|
|
381
|
+
export type SortKey = S.Schema.Type<typeof SortKey>;
|
|
382
|
+
export type SortComp = S.Schema.Type<typeof SortComp>;
|
|
383
|
+
export type ToolProvidedMetadataDatasetCollection = S.Schema.Type<typeof ToolProvidedMetadataDatasetCollection>;
|
|
384
|
+
export type FilePatternDatasetCollectionDescription = S.Schema.Type<typeof FilePatternDatasetCollectionDescription>;
|
|
385
|
+
export type DatasetCollectionDescription = S.Schema.Type<typeof DatasetCollectionDescription>;
|
|
386
|
+
export type ToolOutputDataset = S.Schema.Type<typeof ToolOutputDataset>;
|
|
387
|
+
export type ToolOutputCollectionStructure = S.Schema.Type<typeof ToolOutputCollectionStructure>;
|
|
388
|
+
export type ToolOutputCollection = S.Schema.Type<typeof ToolOutputCollection>;
|
|
389
|
+
export type ToolOutputText = S.Schema.Type<typeof ToolOutputText>;
|
|
390
|
+
export type ToolOutputInteger = S.Schema.Type<typeof ToolOutputInteger>;
|
|
391
|
+
export type ToolOutputFloat = S.Schema.Type<typeof ToolOutputFloat>;
|
|
392
|
+
export type ToolOutputBoolean = S.Schema.Type<typeof ToolOutputBoolean>;
|
|
393
|
+
export type ToolOutput = S.Schema.Type<typeof ToolOutput>;
|
|
46
394
|
export type ParsedTool = S.Schema.Type<typeof ParsedTool>;
|
|
47
395
|
//# sourceMappingURL=parsed-tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parsed-tool.d.ts","sourceRoot":"","sources":["../../src/schema/parsed-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"parsed-tool.d.ts","sourceRoot":"","sources":["../../src/schema/parsed-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,eAAe,CAAC;AACnC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,gFAAgF;AAChF,eAAO,MAAM,WAAW;;;EAGtB,CAAC;AAE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