## Description
This means that I cannot have a list or a pair as a input or output of a function.
**Steps to reproduce:**
# Go to https://wikifunctions.beta.wmflabs.org/wiki/Special:CreateZObject?zid=Z8
# In input type or output type, write "Typed"
**Observed behavior:**
* No typed list comes as option
* This means that no Z8 returning a Z4 is returned in this ZObjectSelector, only persisted objects of type Z4
**Expected behavior (Acceptance criteria):**
* [ ] Typed list or Typed pair should be available for selection as input or output types
* [ ] When searching for a persisted object to select as input or output type, the request shouldn't ask only for type=Z4, but also returnType=Z4 so that also functions returning types are presented as options
**More details**
* When altering the ZobjectSelector from the components FunctionDefinitionInputsItem.vue and FunctionDefinitionOutput.vue to also include the param 'return-type=Z4', the typed list and typed pair choices are shown in the selector, but when selecting them, the app fails and freezes and becomes unusable.
**Devices and Design (URLs or screenshots)**
https://www.figma.com/file/Q6EG8mLJFhxw99HpffHSZe/T326301-Typed-list-as-function-input-or-output?node-id=518%3A39808&mode=dev
---
## Completion checklist
* [ ] Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist