## Description
For function creaRecord the usage of types in conjunction and editing activitieswith functions, over time, record the argument types and the return type of the involved function. The instruments already exists to record these activities (per T340160This should include "inventory" of how many types exist, T340779);and how frequently each type is used as input or output functions. This could also include how often each type is used in function creation or editing activities. The instruments already exists to record these activities (per T340160, it is likely possible to add this type info to the existing instrumentsT340779).
**Update:** we've decided to track these usages of typesthe existence of types, and their association with functions, using the new DB table which will resulted from T363439. It's no longer necessary to track them in conjunction with function creation and editing activitiesFor a finer granularity of type-tracking, that table can be queried in conjunction with the Wikifunctions UI metrics table, which records when each function is created and edited.
This is motivated in part by our need to answer questions like the following: //How frequently are new types used by the community and what are the most common use cases?//
Notes:
- WikiLambda getter `getInputsOfFunctionZid` might be useful.
- if we choose to create a new DB table that records the argument and return types for each function, for T355637, this task can easily be completed using that table. (In this case, we will not record type info for every UI interaction for creating or editing functions, but that should be fine.)
**Desired behavior/Acceptance criteria**
* [ ] The type info is recorded accurately and reliably, and shows up in the Wikifunctions_ui table in the data lake.
---
## 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