diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index 8eb5a2dd564a..0ca4399f9314 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -18,6 +18,7 @@ env: GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' GALAXY_CONFIG_SQLALCHEMY_WARN_20: '1' + GALAXY_TEST_REQUIRE_ALL_NEEDED_TOOLS: '1' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/framework_tools.yaml b/.github/workflows/framework_tools.yaml index a55dfa316488..3ae88c7a7eda 100644 --- a/.github/workflows/framework_tools.yaml +++ b/.github/workflows/framework_tools.yaml @@ -26,6 +26,7 @@ jobs: strategy: matrix: python-version: ['3.8'] + use-legacy-api: ['if_needed', 'always'] services: postgres: image: postgres:13 @@ -63,7 +64,7 @@ jobs: path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework-tools - name: Run tests - run: ./run_tests.sh --coverage --framework-tools + run: GALAXY_TEST_USE_LEGACY_TOOL_API="${{ matrix.use-legacy-api }}" ./run_tests.sh --coverage --framework-tools working-directory: 'galaxy root' - uses: codecov/codecov-action@v3 with: diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index a8ddacee9b22..d06c90452eff 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -2462,6 +2462,23 @@ export interface paths { patch?: never; trace?: never; }; + "/api/histories/{history_id}/tool_requests": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Return all the tool requests for the tools submitted to this history. */ + get: operations["tool_requests_api_histories__history_id__tool_requests_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/histories/{history_id}/unpublish": { parameters: { query?: never; @@ -2740,7 +2757,8 @@ export interface paths { /** Index */ get: operations["index_api_jobs_get"]; put?: never; - post?: never; + /** Create */ + post: operations["create_api_jobs_post"]; delete?: never; options?: never; head?: never; @@ -4285,6 +4303,91 @@ export interface paths { patch?: never; trace?: never; }; + "/api/tool_landings": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** Create Landing */ + post: operations["create_landing_api_tool_landings_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tool_landings/{uuid}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get Landing */ + get: operations["get_landing_api_tool_landings__uuid__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tool_landings/{uuid}/claim": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** Claim Landing */ + post: operations["claim_landing_api_tool_landings__uuid__claim_post"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tool_requests/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get tool request state. */ + get: operations["get_tool_request_api_tool_requests__id__get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tool_requests/{id}/state": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get tool request state. */ + get: operations["tool_request_state_api_tool_requests__id__state_get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/tool_shed_repositories": { parameters: { query?: never; @@ -4353,6 +4456,77 @@ export interface paths { patch?: never; trace?: never; }; + "/api/tools/{tool_id}/inputs": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get tool inputs. */ + get: operations["tool_inputs_api_tools__tool_id__inputs_get"]; + 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; + 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__parameter_landing_request_schema"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tools/{tool_id}/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 that will be added to Galaxy at some point + * @description The tool request schema includes validation of map/reduce concepts that can be consumed by the tool execution API and not just the request for a single execution. + */ + get: operations["tools__parameter_request_schema"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/tools/{tool_id}/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__parameter_test_case_xml_schema"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/tours": { parameters: { query?: never; @@ -6160,6 +6334,39 @@ export interface components { ) | ("cloud" | "quota" | "no_quota" | "restricted" | "user_defined"); }; + /** BaseUrlParameterModel */ + BaseUrlParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_baseurl + * @constant + * @enum {string} + */ + parameter_type: "gx_baseurl"; + }; /** BasicRoleModel */ BasicRoleModel: { /** @@ -6275,6 +6482,48 @@ export interface components { /** Targets */ targets: unknown; }; + /** BooleanParameterModel */ + BooleanParameterModel: { + /** Argument */ + argument?: string | null; + /** Falsevalue */ + falsevalue?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_boolean + * @constant + * @enum {string} + */ + parameter_type: "gx_boolean"; + /** Truevalue */ + truevalue?: string | null; + /** + * Value + * @default false + */ + value: boolean | null; + }; /** BroadcastNotificationContent */ BroadcastNotificationContent: { /** @@ -6575,6 +6824,41 @@ export interface components { * @enum {string} */ ColletionSourceType: "hda" | "ldda" | "hdca" | "new_collection"; + /** ColorParameterModel */ + ColorParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_color + * @constant + * @enum {string} + */ + parameter_type: "gx_color"; + /** Value */ + value?: string | null; + }; /** CompositeDataElement */ CompositeDataElement: { /** Md5 */ @@ -6724,6 +7008,82 @@ export interface components { */ source: string | null; }; + /** ConditionalParameterModel */ + ConditionalParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_conditional + * @constant + * @enum {string} + */ + parameter_type: "gx_conditional"; + /** Test Parameter */ + test_parameter: + | components["schemas"]["BooleanParameterModel"] + | components["schemas"]["SelectParameterModel"]; + /** Whens */ + whens: components["schemas"]["ConditionalWhen"][]; + }; + /** ConditionalWhen */ + ConditionalWhen: { + /** Discriminator */ + discriminator: boolean | string; + /** Is Default When */ + is_default_when: boolean; + /** Parameters */ + parameters: ( + | 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"] + )[]; + }; /** ConnectAction */ ConnectAction: { /** @@ -7166,6 +7526,17 @@ export interface components { */ url: string; }; + /** CreateToolLandingRequestPayload */ + CreateToolLandingRequestPayload: { + /** Client Secret */ + client_secret?: string | null; + /** Request State */ + request_state?: Record | null; + /** Tool Id */ + tool_id: string; + /** Tool Version */ + tool_version?: string | null; + }; /** * CreateType * @enum {string} @@ -7633,9 +8004,158 @@ export interface components { */ username_and_slug?: string | null; }; - /** - * DCESummary - * @description Dataset Collection Element summary information. + /** CwlBooleanParameterModel */ + CwlBooleanParameterModel: { + /** Name */ + name: string; + /** + * Parameter Type + * @default cwl_boolean + * @constant + * @enum {string} + */ + parameter_type: "cwl_boolean"; + }; + /** CwlDirectoryParameterModel */ + CwlDirectoryParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default cwl_directory + * @constant + * @enum {string} + */ + parameter_type: "cwl_directory"; + }; + /** CwlFileParameterModel */ + CwlFileParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default cwl_file + * @constant + * @enum {string} + */ + parameter_type: "cwl_file"; + }; + /** CwlFloatParameterModel */ + CwlFloatParameterModel: { + /** Name */ + name: string; + /** + * Parameter Type + * @default cwl_float + * @constant + * @enum {string} + */ + parameter_type: "cwl_float"; + }; + /** CwlIntegerParameterModel */ + CwlIntegerParameterModel: { + /** Name */ + name: string; + /** + * Parameter Type + * @default cwl_integer + * @constant + * @enum {string} + */ + parameter_type: "cwl_integer"; + }; + /** CwlNullParameterModel */ + CwlNullParameterModel: { + /** Name */ + name: string; + /** + * Parameter Type + * @default cwl_null + * @constant + * @enum {string} + */ + parameter_type: "cwl_null"; + }; + /** CwlStringParameterModel */ + CwlStringParameterModel: { + /** Name */ + name: string; + /** + * Parameter Type + * @default cwl_string + * @constant + * @enum {string} + */ + parameter_type: "cwl_string"; + }; + /** CwlUnionParameterModel */ + CwlUnionParameterModel: { + /** Name */ + name: string; + /** + * Parameter Type + * @default cwl_union + * @constant + * @enum {string} + */ + parameter_type: "cwl_union"; + /** Parameters */ + parameters: ( + | components["schemas"]["CwlIntegerParameterModel"] + | components["schemas"]["CwlFloatParameterModel"] + | components["schemas"]["CwlStringParameterModel"] + | components["schemas"]["CwlBooleanParameterModel"] + | components["schemas"]["CwlNullParameterModel"] + | components["schemas"]["CwlFileParameterModel"] + | components["schemas"]["CwlDirectoryParameterModel"] + | components["schemas"]["CwlUnionParameterModel"] + )[]; + }; + /** + * DCESummary + * @description Dataset Collection Element summary information. */ DCESummary: { /** @@ -7722,6 +8242,85 @@ export interface components { */ populated?: boolean; }; + /** DataCollectionParameterModel */ + DataCollectionParameterModel: { + /** Argument */ + argument?: string | null; + /** Collection Type */ + collection_type?: string | null; + /** + * Extensions + * @default [ + * "data" + * ] + */ + extensions: string[]; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_data_collection + * @constant + * @enum {string} + */ + parameter_type: "gx_data_collection"; + /** Value */ + value: Record | null; + }; + /** DataColumnParameterModel */ + DataColumnParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Multiple */ + multiple: boolean; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_data_column + * @constant + * @enum {string} + */ + parameter_type: "gx_data_column"; + }; /** DataElementsFromTarget */ DataElementsFromTarget: { /** @@ -7778,6 +8377,55 @@ export interface components { * @enum {string} */ DataItemSourceType: "hda" | "ldda" | "hdca" | "dce" | "dc"; + /** DataParameterModel */ + DataParameterModel: { + /** Argument */ + argument?: string | null; + /** + * Extensions + * @default [ + * "data" + * ] + */ + extensions: string[]; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Max */ + max?: number | null; + /** Min */ + min?: number | null; + /** + * Multiple + * @default false + */ + multiple: boolean; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_data + * @constant + * @enum {string} + */ + parameter_type: "gx_data"; + }; /** DatasetAssociationRoles */ DatasetAssociationRoles: { /** @@ -8408,6 +9056,49 @@ export interface components { */ username: string; }; + /** DirectoryUriParameterModel */ + DirectoryUriParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_directory_uri + * @constant + * @enum {string} + */ + parameter_type: "gx_directory_uri"; + /** + * Validators + * @default [] + */ + validators: ( + | components["schemas"]["LengthParameterValidatorModel"] + | components["schemas"]["RegexParameterValidatorModel"] + | components["schemas"]["ExpressionParameterValidatorModel"] + | components["schemas"]["EmptyFieldParameterValidatorModel"] + )[]; + }; /** DisconnectAction */ DisconnectAction: { /** @@ -8451,6 +9142,59 @@ export interface components { /** Version */ version: string; }; + /** DrillDownOptionsDict */ + DrillDownOptionsDict: { + /** Name */ + name: string | null; + /** Options */ + options: components["schemas"]["DrillDownOptionsDict"][]; + /** Selected */ + selected: boolean; + /** Value */ + value: string; + }; + /** DrillDownParameterModel */ + DrillDownParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Hierarchy + * @enum {string} + */ + hierarchy: "recurse" | "exact"; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Multiple */ + multiple: boolean; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** Options */ + options?: components["schemas"]["DrillDownOptionsDict"][] | null; + /** + * Parameter Type + * @default gx_drill_down + * @constant + * @enum {string} + */ + parameter_type: "gx_drill_down"; + }; /** DrsObject */ DrsObject: { /** @@ -8543,6 +9287,28 @@ export interface components { * @enum {string} */ ElementsFromType: "archive" | "bagit" | "bagit_archive" | "directory"; + /** EmptyFieldParameterValidatorModel */ + EmptyFieldParameterValidatorModel: { + /** + * Implicit + * @default false + */ + implicit: boolean; + /** Message */ + message?: string | null; + /** + * Negate + * @default false + */ + negate: boolean; + /** + * Type + * @default empty_field + * @constant + * @enum {string} + */ + type: "empty_field"; + }; /** EncodedDataItemSourceId */ EncodedDataItemSourceId: { /** @@ -8853,19 +9619,48 @@ export interface components { }; /** ExportTaskListResponse */ ExportTaskListResponse: components["schemas"]["ObjectExportTaskResponse"][]; - /** ExtraFileEntry */ - ExtraFileEntry: { - /** @description The class of this entry, either File or Directory. */ - class: components["schemas"]["ExtraFilesEntryClass"]; + /** + * ExpressionParameterValidatorModel + * @description Check if a one line python expression given expression evaluates to True. + * + * The expression is given is the content of the validator tag. + */ + ExpressionParameterValidatorModel: { + /** Expression */ + expression: string; /** - * Path - * @description Relative path to the file or directory. + * Implicit + * @default false */ - path: string; - }; - /** ExtraFiles */ - ExtraFiles: { - /** + implicit: boolean; + /** Message */ + message?: string | null; + /** + * Negate + * @default false + */ + negate: boolean; + /** + * Type + * @default expression + * @constant + * @enum {string} + */ + type: "expression"; + }; + /** ExtraFileEntry */ + ExtraFileEntry: { + /** @description The class of this entry, either File or Directory. */ + class: components["schemas"]["ExtraFilesEntryClass"]; + /** + * Path + * @description Relative path to the file or directory. + */ + path: string; + }; + /** ExtraFiles */ + ExtraFiles: { + /** * Fuzzy Root * @description Prevent Galaxy from checking for a single file in a directory and re-interpreting the archive * @default true @@ -9219,6 +10014,50 @@ export interface components { /** Step */ step: components["schemas"]["StepReferenceByOrderIndex"] | components["schemas"]["StepReferenceByLabel"]; }; + /** FloatParameterModel */ + FloatParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Max */ + max?: number | null; + /** Min */ + min?: number | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_float + * @constant + * @enum {string} + */ + parameter_type: "gx_float"; + /** + * Validators + * @default [] + */ + validators: components["schemas"]["InRangeParameterValidatorModel"][]; + /** Value */ + value?: number | null; + }; /** FolderLibraryFolderItem */ FolderLibraryFolderItem: { /** Can Manage */ @@ -9348,6 +10187,41 @@ export interface components { /** Tags */ tags?: string[] | null; }; + /** GenomeBuildParameterModel */ + GenomeBuildParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Multiple */ + multiple: boolean; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_genomebuild + * @constant + * @enum {string} + */ + parameter_type: "gx_genomebuild"; + }; /** * GroupCreatePayload * @description Payload schema for creating a group. @@ -9458,6 +10332,41 @@ export interface components { */ url: string; }; + /** GroupTagParameterModel */ + GroupTagParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Multiple */ + multiple: boolean; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_group_tag + * @constant + * @enum {string} + */ + parameter_type: "gx_group_tag"; + }; /** GroupUpdatePayload */ GroupUpdatePayload: { /** name of the group */ @@ -11063,6 +11972,51 @@ export interface components { HelpForumUser: { [key: string]: unknown; }; + /** HiddenParameterModel */ + HiddenParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_hidden + * @constant + * @enum {string} + */ + parameter_type: "gx_hidden"; + /** + * Validators + * @default [] + */ + validators: ( + | components["schemas"]["LengthParameterValidatorModel"] + | components["schemas"]["RegexParameterValidatorModel"] + | components["schemas"]["ExpressionParameterValidatorModel"] + | components["schemas"]["EmptyFieldParameterValidatorModel"] + )[]; + /** Value */ + value: string | null; + }; /** * HistoryActiveContentCounts * @description Contains the number of active, deleted or hidden items in a History. @@ -11475,6 +12429,42 @@ export interface components { */ uri: string; }; + /** InRangeParameterValidatorModel */ + InRangeParameterValidatorModel: { + /** + * Exclude Max + * @default false + */ + exclude_max: boolean; + /** + * Exclude Min + * @default false + */ + exclude_min: boolean; + /** + * Implicit + * @default false + */ + implicit: boolean; + /** Max */ + max?: number | null; + /** Message */ + message?: string | null; + /** Min */ + min?: number | null; + /** + * Negate + * @default false + */ + negate: boolean; + /** + * Type + * @default in_range + * @constant + * @enum {string} + */ + type: "in_range"; + }; /** InputDataCollectionStep */ InputDataCollectionStep: { /** @@ -11718,6 +12708,47 @@ export interface components { /** Uninstalled */ uninstalled: boolean; }; + /** IntegerParameterModel */ + IntegerParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Max */ + max?: number | null; + /** Min */ + min?: number | null; + /** Name */ + name: string; + /** Optional */ + optional: boolean; + /** + * Parameter Type + * @default gx_integer + * @constant + * @enum {string} + */ + parameter_type: "gx_integer"; + /** + * Validators + * @default [] + */ + validators: components["schemas"]["InRangeParameterValidatorModel"][]; + /** Value */ + value?: number | null; + }; /** InvocationCancellationHistoryDeletedResponse */ InvocationCancellationHistoryDeletedResponse: { /** @@ -12613,6 +13644,15 @@ export interface components { */ update_time: string; }; + /** JobCreateResponse */ + JobCreateResponse: { + task_result: components["schemas"]["AsyncTaskResultSummary"]; + /** + * Tool Request Id + * @example 0123456789ABCDEF + */ + tool_request_id: string; + }; /** JobDestinationParams */ JobDestinationParams: { /** @@ -12891,6 +13931,19 @@ export interface components { */ name: string; }; + /** JobOutputCollectionAssociation */ + JobOutputCollectionAssociation: { + /** + * dataset_collection_instance + * @description Reference to the associated item. + */ + dataset_collection_instance: components["schemas"]["EncodedDataItemSourceId"]; + /** + * name + * @description Name of the job parameter. + */ + name: string; + }; /** JobParameter */ JobParameter: { /** @@ -12919,6 +13972,47 @@ export interface components { | string | null; }; + /** JobRequest */ + JobRequest: { + /** + * history_id + * @description TODO + */ + history_id?: string | null; + /** + * Inputs + * @description TODO + */ + inputs?: Record | null; + /** + * rerun_remap_job_id + * @description TODO + */ + rerun_remap_job_id?: string | null; + /** + * Send Email Notification + * @description TODO + * @default false + */ + send_email_notification: boolean; + /** + * tool_id + * @description TODO + */ + tool_id?: string | null; + /** + * tool_uuid + * @description TODO + */ + tool_uuid?: string | null; + /** + * tool_version + * @description TODO + */ + tool_version?: string | null; + /** use_cached_jobs */ + use_cached_jobs?: boolean | null; + }; /** * JobSourceType * @description Available types of job sources (model classes) that produce dataset collections. @@ -13051,6 +14145,15 @@ export interface components { */ user_email?: string | null; }; + /** LabelValue */ + LabelValue: { + /** Label */ + label: string; + /** Selected */ + selected: boolean; + /** Value */ + value: string; + }; /** * LabelValuePair * @description Generic Label/Value pair model. @@ -13099,6 +14202,32 @@ export interface components { */ LIBRARY_MODIFY_in: string[] | string | null; }; + /** LengthParameterValidatorModel */ + LengthParameterValidatorModel: { + /** + * Implicit + * @default false + */ + implicit: boolean; + /** Max */ + max?: number | null; + /** Message */ + message?: string | null; + /** Min */ + min?: number | null; + /** + * Negate + * @default false + */ + negate: boolean; + /** + * Type + * @default length + * @constant + * @enum {string} + */ + type: "length"; + }; /** LibraryAvailablePermissions */ LibraryAvailablePermissions: { /** @@ -14250,6 +15379,28 @@ export interface components { */ slug: string; }; + /** NoOptionsParameterValidatorModel */ + NoOptionsParameterValidatorModel: { + /** + * Implicit + * @default false + */ + implicit: boolean; + /** Message */ + message?: string | null; + /** + * Negate + * @default false + */ + negate: boolean; + /** + * Type + * @default no_options + * @constant + * @enum {string} + */ + type: "no_options"; + }; /** * NotificationBroadcastUpdateRequest * @description A notification update request specific for broadcasting. @@ -15387,6 +16538,37 @@ export interface components { /** Workflow */ workflow: string; }; + /** + * RegexParameterValidatorModel + * @description Check if a regular expression **matches** the value, i.e. appears + * at the beginning of the value. To enforce a match of the complete value use + * ``$`` at the end of the expression. The expression is given is the content + * of the validator tag. Note that for ``selects`` each option is checked + * separately. + */ + RegexParameterValidatorModel: { + /** Expression */ + expression: string; + /** + * Implicit + * @default false + */ + implicit: boolean; + /** Message */ + message?: string | null; + /** + * Negate + * @default false + */ + negate: boolean; + /** + * Type + * @default regex + * @constant + * @enum {string} + */ + type: "regex"; + }; /** ReloadFeedback */ ReloadFeedback: { /** Failed */ @@ -15478,8 +16660,75 @@ export interface components { */ action_type: "remove_unlabeled_workflow_outputs"; }; - /** Report */ - Report: { + /** RepeatParameterModel */ + RepeatParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Max */ + max?: number | null; + /** Min */ + min?: number | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_repeat + * @constant + * @enum {string} + */ + parameter_type: "gx_repeat"; + /** Parameters */ + parameters: ( + | 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"] + )[]; + }; + /** Report */ + Report: { /** Markdown */ markdown: string; }; @@ -15585,6 +16834,39 @@ export interface components { RootModel_Dict_str__int__: { [key: string]: number; }; + /** RulesParameterModel */ + RulesParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_rules + * @constant + * @enum {string} + */ + parameter_type: "gx_rules"; + }; /** SearchJobsPayload */ SearchJobsPayload: { /** @@ -15605,6 +16887,108 @@ export interface components { } & { [key: string]: unknown; }; + /** SectionParameterModel */ + SectionParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_section + * @constant + * @enum {string} + */ + parameter_type: "gx_section"; + /** Parameters */ + parameters: ( + | 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"] + )[]; + }; + /** SelectParameterModel */ + SelectParameterModel: { + /** Argument */ + argument?: string | null; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Multiple */ + multiple: boolean; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** Options */ + options?: components["schemas"]["LabelValue"][] | null; + /** + * Parameter Type + * @default gx_select + * @constant + * @enum {string} + */ + parameter_type: "gx_select"; + /** Validators */ + validators: components["schemas"]["NoOptionsParameterValidatorModel"][]; + }; /** ServerDirElement */ ServerDirElement: { /** Md5 */ @@ -16613,6 +17997,61 @@ export interface components { [key: string]: string | boolean | number; }; }; + /** TextParameterModel */ + TextParameterModel: { + /** + * Area + * @default false + */ + area: boolean; + /** Argument */ + argument?: string | null; + /** + * Default Options + * @default [] + */ + default_options: components["schemas"]["LabelValue"][]; + /** Help */ + help?: string | null; + /** + * Hidden + * @default false + */ + hidden: boolean; + /** + * Is Dynamic + * @default false + */ + is_dynamic: boolean; + /** Label */ + label?: string | null; + /** Name */ + name: string; + /** + * Optional + * @default false + */ + optional: boolean; + /** + * Parameter Type + * @default gx_text + * @constant + * @enum {string} + */ + parameter_type: "gx_text"; + /** + * Validators + * @default [] + */ + validators: ( + | components["schemas"]["LengthParameterValidatorModel"] + | components["schemas"]["RegexParameterValidatorModel"] + | components["schemas"]["ExpressionParameterValidatorModel"] + | components["schemas"]["EmptyFieldParameterValidatorModel"] + )[]; + /** Value */ + value?: string | null; + }; /** ToolDataDetails */ ToolDataDetails: { /** @@ -16693,6 +18132,41 @@ export interface components { */ values: string; }; + /** ToolLandingRequest */ + ToolLandingRequest: { + /** Request State */ + request_state?: Record | null; + state: components["schemas"]["LandingRequestState"]; + /** Tool Id */ + tool_id: string; + /** Tool Version */ + tool_version?: string | null; + /** + * UUID + * Format: uuid4 + * @description Universal unique identifier for this dataset. + */ + uuid: string; + }; + /** ToolRequestModel */ + ToolRequestModel: { + /** + * ID + * @description Encoded ID of the role + * @example 0123456789ABCDEF + */ + id: string; + /** Request */ + request: Record; + state: components["schemas"]["ToolRequestState"]; + /** State Message */ + state_message: string | null; + }; + /** + * ToolRequestState + * @enum {string} + */ + ToolRequestState: "new" | "submitted" | "failed"; /** ToolStep */ ToolStep: { /** @@ -26526,6 +28000,50 @@ export interface operations { }; }; }; + tool_requests_api_histories__history_id__tool_requests_get: { + 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 encoded database identifier of the History. */ + history_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ToolRequestModel"][]; + }; + }; + /** @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"]; + }; + }; + }; + }; unpublish_api_histories__history_id__unpublish_put: { parameters: { query?: never; @@ -27355,6 +28873,8 @@ export interface operations { invocation_id?: string | null; /** @description Limit listing of jobs to those that match the specified implicit collection job ID. If none, jobs from any implicit collection execution (or from no implicit collection execution) may be returned. */ implicit_collection_jobs_id?: string | null; + /** @description Limit listing of jobs to those that were created from the supplied tool request ID. If none, jobs from any tool request (or from no workflows) may be returned. */ + tool_request_id?: string | null; /** @description Sort results by specified field. */ order_by?: components["schemas"]["JobIndexSortByEnum"]; /** @description A mix of free text and GitHub-style tags used to filter the index operation. @@ -27447,6 +28967,51 @@ export interface operations { }; }; }; + create_api_jobs_post: { + 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?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["JobRequest"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["JobCreateResponse"]; + }; + }; + /** @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"]; + }; + }; + }; + }; search_jobs_api_jobs_search_post: { parameters: { query?: never; @@ -27888,7 +29453,10 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["JobOutputAssociation"][]; + "application/json": ( + | components["schemas"]["JobOutputAssociation"] + | components["schemas"]["JobOutputCollectionAssociation"] + )[]; }; }; /** @description Request Error */ @@ -32236,19 +33804,242 @@ export interface operations { }; }; }; - index_api_tool_shed_repositories_get: { + create_landing_api_tool_landings_post: { parameters: { - query?: { - /** @description Filter by repository name. */ - name?: string | null; - /** @description Filter by repository owner. */ - owner?: string | null; - /** @description Filter by changeset revision. */ - changeset?: string | null; - /** @description Filter by whether the repository has been deleted. */ - deleted?: boolean | null; - /** @description Filter by whether the repository has been uninstalled. */ - uninstalled?: boolean | null; + 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?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateToolLandingRequestPayload"]; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ToolLandingRequest"]; + }; + }; + /** @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"]; + }; + }; + }; + }; + get_landing_api_tool_landings__uuid__get: { + 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 UUID used to identify a persisted landing request. */ + uuid: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ToolLandingRequest"]; + }; + }; + /** @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"]; + }; + }; + }; + }; + claim_landing_api_tool_landings__uuid__claim_post: { + 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 UUID used to identify a persisted landing request. */ + uuid: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ClaimLandingPayload"] | null; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ToolLandingRequest"]; + }; + }; + /** @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"]; + }; + }; + }; + }; + get_tool_request_api_tool_requests__id__get: { + 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: { + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ToolRequestModel"]; + }; + }; + /** @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"]; + }; + }; + }; + }; + tool_request_state_api_tool_requests__id__state_get: { + 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: { + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": string; + }; + }; + /** @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_tool_shed_repositories_get: { + parameters: { + query?: { + /** @description Filter by repository name. */ + name?: string | null; + /** @description Filter by repository owner. */ + owner?: string | null; + /** @description Filter by changeset revision. */ + changeset?: string | null; + /** @description Filter by whether the repository has been deleted. */ + deleted?: boolean | null; + /** @description Filter by whether the repository has been uninstalled. */ + uninstalled?: boolean | null; }; header?: never; path?: never; @@ -32414,6 +34205,218 @@ export interface operations { }; }; }; + tool_inputs_api_tools__tool_id__inputs_get: { + 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"]["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"] + )[]; + }; + }; + /** @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?: { + 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": 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__parameter_request_schema: { + 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": 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__parameter_test_case_xml_schema: { + 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": 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/client/src/components/ActivityBar/ActivityBar.vue b/client/src/components/ActivityBar/ActivityBar.vue index cde4d7b190ad..6e2641b616cb 100644 --- a/client/src/components/ActivityBar/ActivityBar.vue +++ b/client/src/components/ActivityBar/ActivityBar.vue @@ -132,12 +132,16 @@ function onToggleSidebar(toggle: string = "", to: string | null = null) { userStore.toggleSideBar(toggle); } -watch( - () => hashedUserId.value, - () => { - activityStore.sync(); +const syncActivities = () => { + activityStore.sync(); + if (config.value && ["workflow_centric", "workflow_runner"].indexOf(config.value.client_mode) >= 0) { + userStore.untoggleToolbarIfNeeded(); } -); +}; + +watch(() => hashedUserId.value, syncActivities); + +watch(isConfigLoaded, syncActivities);