The filters in jscommons are mixed - one list with filters used in all the different places. Some filters apply to only the main index, the others apply to only the text reuse, etc.
Filter types sets need to be limited for each index for type safety and also to make sure the python code generated makes sense
In src/logic/filters/impressoPy.ts, we should use Exclude<FilterType, 'contentItemId'> to clarifyFilterTypeToPythonArgumentName definition
In src/logic/filters/impressoPy.ts, we should use
Exclude<FilterType, 'contentItemId'>to clarifyFilterTypeToPythonArgumentNamedefinition