From f2ecbfaa58de8c8bac4f379c745fe9c945334fab Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sat, 11 Jul 2026 13:18:41 -0400 Subject: [PATCH] Rebuild schema. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../packages/api-client/src/schema/schema.ts | 641 +++++++++++++++++- .../webapp/frontend/src/schema/schema.ts | 60 ++ 2 files changed, 697 insertions(+), 4 deletions(-) diff --git a/client/packages/api-client/src/schema/schema.ts b/client/packages/api-client/src/schema/schema.ts index 4d43cdad53a..eae2f0a6a5d 100644 --- a/client/packages/api-client/src/schema/schema.ts +++ b/client/packages/api-client/src/schema/schema.ts @@ -5627,6 +5627,23 @@ export interface paths { patch?: never; trace?: never; }; + "/api/tools/{tool_id}/interop": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Return Galaxy's meta model description of the tool's metadata, inputs, and outputs. */ + get: operations["tools__interop"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/tools/{tool_id}/parameter_landing_request_schema": { parameters: { query?: never; @@ -5681,6 +5698,74 @@ export interface paths { patch?: never; trace?: never; }; + "/api/tools/{tool_id}/versions/{tool_version}/interop": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Return Galaxy's meta model description of the tool's metadata, inputs, and outputs. */ + get: operations["tools__versioned_interop"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tools/{tool_id}/versions/{tool_version}/parameter_landing_request_schema": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Return a JSON schema description of the tool's inputs for the tool landing request API. */ + get: operations["tools__versioned_parameter_landing_request_schema"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tools/{tool_id}/versions/{tool_version}/parameter_request_schema": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Return a JSON schema description of the tool's inputs for the tool request API. */ + get: operations["tools__versioned_parameter_request_schema"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tools/{tool_id}/versions/{tool_version}/parameter_test_case_xml_schema": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Return a JSON schema description of the tool's inputs for test case construction. */ + get: operations["tools__versioned_parameter_test_case_xml_schema"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/tours": { parameters: { query?: never; @@ -20011,6 +20096,18 @@ export interface components { */ output_name: string | null; }; + /** PackageRequirement */ + PackageRequirement: { + /** Name */ + name: string; + /** + * Type + * @constant + */ + type: "package"; + /** Version */ + version?: string | null; + }; /** * PageContentFormat * @enum {string} @@ -20454,6 +20551,79 @@ export interface components { */ workbook_type: "datasets" | "collection" | "collections"; }; + /** ParsedTool */ + ParsedTool: { + /** Citations */ + citations: components["schemas"]["Citation"][]; + /** Containers */ + containers?: components["schemas"]["Container"][]; + /** Description */ + description: string | null; + /** Edam Operations */ + edam_operations: string[]; + /** Edam Topics */ + edam_topics: string[]; + help: components["schemas"]["HelpContent"] | null; + /** Id */ + id: string; + /** Inputs */ + inputs: ( + | components["schemas"]["CwlIntegerParameterModel"] + | components["schemas"]["CwlFloatParameterModel"] + | components["schemas"]["CwlStringParameterModel"] + | components["schemas"]["CwlBooleanParameterModel"] + | components["schemas"]["CwlNullParameterModel"] + | components["schemas"]["CwlFileParameterModel"] + | components["schemas"]["CwlDirectoryParameterModel"] + | components["schemas"]["CwlUnionParameterModel"] + | components["schemas"]["TextParameterModel"] + | components["schemas"]["IntegerParameterModel"] + | components["schemas"]["FloatParameterModel"] + | components["schemas"]["BooleanParameterModel"] + | components["schemas"]["HiddenParameterModel"] + | components["schemas"]["SelectParameterModel"] + | components["schemas"]["DataParameterModel"] + | components["schemas"]["DataCollectionParameterModel"] + | components["schemas"]["DataColumnParameterModel"] + | components["schemas"]["DirectoryUriParameterModel"] + | components["schemas"]["RulesParameterModel"] + | components["schemas"]["DrillDownParameterModel"] + | components["schemas"]["GroupTagParameterModel"] + | components["schemas"]["BaseUrlParameterModel"] + | components["schemas"]["GenomeBuildParameterModel"] + | components["schemas"]["ColorParameterModel"] + | components["schemas"]["ConditionalParameterModel"] + | components["schemas"]["RepeatParameterModel"] + | components["schemas"]["SectionParameterModel"] + )[]; + /** License */ + license: string | null; + /** Name */ + name: string; + /** Outputs */ + outputs: ( + | components["schemas"]["ToolOutputDataset"] + | components["schemas"]["ToolOutputCollection"] + | components["schemas"]["ToolOutputText"] + | components["schemas"]["ToolOutputInteger"] + | components["schemas"]["ToolOutputFloat"] + | components["schemas"]["ToolOutputBoolean"] + )[]; + /** Profile */ + profile: string | null; + /** Requirements */ + requirements?: ( + | components["schemas"]["PackageRequirement"] + | components["schemas"]["SetEnvironmentRequirement"] + | components["schemas"]["ResourceRequirement"] + | components["schemas"]["JavascriptRequirement"] + )[]; + stdio?: components["schemas"]["Stdio"]; + /** Version */ + version: string | null; + /** Xrefs */ + xrefs: components["schemas"]["XrefDict-Output"][]; + }; /** ParsedWorkbook */ ParsedWorkbook: { /** Extra Columns */ @@ -22451,6 +22621,16 @@ export interface components { */ version: string; }; + /** SetEnvironmentRequirement */ + SetEnvironmentRequirement: { + /** Environment */ + environment: string; + /** + * Type + * @constant + */ + type: "set_environment"; + }; /** SetSlugPayload */ SetSlugPayload: { /** @@ -22909,6 +23089,37 @@ export interface components { | "CANCELED" | "CANCELING" | "PREEMPTED"; + /** Stdio */ + Stdio: { + /** Exit Codes */ + exit_codes?: components["schemas"]["StdioExitCode"][]; + /** Regexes */ + regexes?: components["schemas"]["StdioRegex"][]; + }; + /** StdioExitCode */ + StdioExitCode: { + /** Desc */ + desc?: string | null; + /** Error Level */ + error_level: number; + /** Range End */ + range_end: number | ("-inf" | "inf"); + /** Range Start */ + range_start: number | ("-inf" | "inf"); + }; + /** StdioRegex */ + StdioRegex: { + /** Desc */ + desc?: string | null; + /** Error Level */ + error_level: number; + /** Match */ + match: string; + /** Stderr Match */ + stderr_match: boolean; + /** Stdout Match */ + stdout_match: boolean; + }; /** StepReferenceByLabel */ StepReferenceByLabel: { /** @@ -24364,6 +24575,191 @@ export interface components { */ uuid: string; }; + /** ToolOutputBoolean */ + ToolOutputBoolean: { + /** + * Hidden + * @description If true, the output will not be shown in the history. + */ + hidden: boolean; + /** + * Label + * @description Output label. Will be used as dataset name in history. + */ + label?: string | null; + /** + * Name + * @description Parameter name. Used when referencing parameter in workflows. + */ + name: string; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "boolean"; + }; + /** ToolOutputCollection */ + ToolOutputCollection: { + /** Collection Type */ + collection_type?: string | null; + /** Collection Type From Rules */ + collection_type_from_rules?: string | null; + /** Collection Type Source */ + collection_type_source?: string | null; + /** Discover Datasets */ + discover_datasets?: + | ( + | components["schemas"]["FilePatternDatasetCollectionDescription"] + | components["schemas"]["ToolProvidedMetadataDatasetCollection"] + )[] + | null; + /** + * Hidden + * @description If true, the output will not be shown in the history. + */ + hidden: boolean; + /** + * Label + * @description Output label. Will be used as dataset name in history. + */ + label?: string | null; + /** + * Name + * @description Parameter name. Used when referencing parameter in workflows. + */ + name: string; + /** Structured Like */ + structured_like?: string | null; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "collection"; + }; + /** ToolOutputDataset */ + ToolOutputDataset: { + /** Discover Datasets */ + discover_datasets?: + | ( + | components["schemas"]["FilePatternDatasetCollectionDescription"] + | components["schemas"]["ToolProvidedMetadataDatasetCollection"] + )[] + | null; + /** + * Format + * @description The short name for the output datatype. + */ + format: string; + /** + * Format Source + * @description This sets the data type of the output dataset(s) to be the same format as that of the specified tool input. + */ + format_source?: string | null; + /** + * from_work_dir + * @description Relative path to a file produced by the tool in its working directory. Output’s contents are set to this file’s contents. + */ + from_work_dir?: string | null; + /** + * Hidden + * @description If true, the output will not be shown in the history. + */ + hidden: boolean; + /** + * Label + * @description Output label. Will be used as dataset name in history. + */ + label?: string | null; + /** + * Metadata Source + * @description This copies the metadata information from the tool’s input dataset to serve as default for information that cannot be detected from the output. One prominent use case is interval data with a non-standard column order that cannot be deduced from a header line, but which is known to be identical in the input and output datasets. + */ + metadata_source?: string | null; + /** + * Name + * @description Parameter name. Used when referencing parameter in workflows. + */ + name: string; + /** + * Precreate Directory + * @default false + */ + precreate_directory: boolean | null; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "data"; + }; + /** ToolOutputFloat */ + ToolOutputFloat: { + /** + * Hidden + * @description If true, the output will not be shown in the history. + */ + hidden: boolean; + /** + * Label + * @description Output label. Will be used as dataset name in history. + */ + label?: string | null; + /** + * Name + * @description Parameter name. Used when referencing parameter in workflows. + */ + name: string; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "float"; + }; + /** ToolOutputInteger */ + ToolOutputInteger: { + /** + * Hidden + * @description If true, the output will not be shown in the history. + */ + hidden: boolean; + /** + * Label + * @description Output label. Will be used as dataset name in history. + */ + label?: string | null; + /** + * Name + * @description Parameter name. Used when referencing parameter in workflows. + */ + name: string; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "integer"; + }; + /** ToolOutputText */ + ToolOutputText: { + /** + * Hidden + * @description If true, the output will not be shown in the history. + */ + hidden: boolean; + /** + * Label + * @description Output label. Will be used as dataset name in history. + */ + label?: string | null; + /** + * Name + * @description Parameter name. Used when referencing parameter in workflows. + */ + name: string; + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "text"; + }; /** ToolProvidedMetadataDatasetCollection */ ToolProvidedMetadataDatasetCollection: { /** @@ -25907,7 +26303,7 @@ export interface components { */ version: string; /** xrefs */ - xrefs?: components["schemas"]["XrefDict"][] | null; + xrefs?: components["schemas"]["XrefDict-Input"][] | null; }; /** * UserToolSource @@ -26014,7 +26410,7 @@ export interface components { */ version: string; /** xrefs */ - xrefs?: components["schemas"]["XrefDict"][] | null; + xrefs?: components["schemas"]["XrefDict-Output"][] | null; }; /** UserUpdatePayload */ UserUpdatePayload: { @@ -27190,12 +27586,19 @@ export interface components { target_uri: string; }; /** XrefDict */ - XrefDict: { + "XrefDict-Input": { /** type */ type: string; /** value */ value: string; }; + /** XrefDict */ + "XrefDict-Output": { + /** Type */ + type: string; + /** Value */ + value: string; + }; /** XrefItem */ XrefItem: { /** @@ -27818,7 +28221,7 @@ export interface components { */ version?: string | null; /** xrefs */ - xrefs?: components["schemas"]["XrefDict"][] | null; + xrefs?: components["schemas"]["XrefDict-Input"][] | null; }; /** * YamlToolTest @@ -48761,6 +49164,52 @@ export interface operations { }; }; }; + tools__interop: { + parameters: { + query?: { + tool_version?: string | null; + }; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The tool ID for the lineage stored in Galaxy's toolbox. */ + tool_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ParsedTool"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; tools__parameter_landing_request_schema: { parameters: { query?: { @@ -48899,6 +49348,190 @@ export interface operations { }; }; }; + tools__versioned_interop: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The tool ID for the lineage stored in Galaxy's toolbox. */ + tool_id: string; + /** @description The full version string defined on the Galaxy tool wrapper. */ + tool_version: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ParsedTool"]; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + tools__versioned_parameter_landing_request_schema: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The tool ID for the lineage stored in Galaxy's toolbox. */ + tool_id: string; + /** @description The full version string defined on the Galaxy tool wrapper. */ + tool_version: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + tools__versioned_parameter_request_schema: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The tool ID for the lineage stored in Galaxy's toolbox. */ + tool_id: string; + /** @description The full version string defined on the Galaxy tool wrapper. */ + tool_version: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; + tools__versioned_parameter_test_case_xml_schema: { + parameters: { + query?: never; + header?: { + /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ + "run-as"?: string | null; + }; + path: { + /** @description The tool ID for the lineage stored in Galaxy's toolbox. */ + tool_id: string; + /** @description The full version string defined on the Galaxy tool wrapper. */ + tool_version: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageExceptionModel"]; + }; + }; + }; + }; index_api_tours_get: { parameters: { query?: never; diff --git a/lib/tool_shed/webapp/frontend/src/schema/schema.ts b/lib/tool_shed/webapp/frontend/src/schema/schema.ts index d284f0cfd53..29aad10c331 100644 --- a/lib/tool_shed/webapp/frontend/src/schema/schema.ts +++ b/lib/tool_shed/webapp/frontend/src/schema/schema.ts @@ -587,6 +587,23 @@ export interface paths { patch?: never trace?: never } + "/api/tools/{tool_id}/versions/{tool_version}/interop": { + parameters: { + query?: never + header?: never + path?: never + cookie?: never + } + /** Return Galaxy's meta model description of the tool's metadata, inputs, and outputs. */ + get: operations["tools__interop"] + put?: never + post?: never + delete?: never + options?: never + head?: never + patch?: never + trace?: never + } "/api/tools/{tool_id}/versions/{tool_version}/parameter_landing_request_schema": { parameters: { query?: never @@ -5676,6 +5693,49 @@ export interface operations { } } } + tools__interop: { + parameters: { + query?: never + header?: never + path: { + /** @description See also https://ga4gh.github.io/tool-registry-service-schemas/DataModel/#trs-tool-and-trs-tool-version-ids */ + tool_id: string + /** @description The full version string defined on the Galaxy tool wrapper. */ + tool_version: string + } + cookie?: never + } + requestBody?: never + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown + } + content: { + "application/json": components["schemas"]["ShedParsedTool"] + } + } + /** @description Request Error */ + "4XX": { + headers: { + [name: string]: unknown + } + content: { + "application/json": components["schemas"]["MessageExceptionModel"] + } + } + /** @description Server Error */ + "5XX": { + headers: { + [name: string]: unknown + } + content: { + "application/json": components["schemas"]["MessageExceptionModel"] + } + } + } + } tools__parameter_landing_request_schema: { parameters: { query?: never