Skip to content

Refine impressoPy Filter Type set to exclude unused fields #647

Description

@danieleguido

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions