CustomFilter Class Properties

StatusType

TypeDescription
StatusTypeA union type that can be 'default', 'ongoing', or 'terminal'.

CustomFilter

PropertyTypeOptionalDescription
idstringNoUnique identifier for the filter.
colorstringNoColor associated with the filter.
namestringNoDisplay name for the filter.

CustomPriority

Extends CustomFilter.

PropertyTypeOptionalDescription
lightColor stringYesLighter shade of color associated with the priority.

CustomStatus

Extends CustomFilter.

PropertyTypeOptionalDescription
typeStatusTypeNoType of the status as defined by StatusType.
lightColorstringYesLighter shade of color associated with the status.
svgstringYesSVG string representing the icon associated with the status.
iconUrlstringYesURL of the icon image associated with the status.

CustomCategory

Implements CustomFilter.

This interface has the same properties as CustomFilter without any additions.

CustomCategoryMap

TypeDescription
[key: string]: CustomCategoryA dictionary object with string keys and CustomCategory values.

CustomStatusMap

TypeDescription
[key: string]: CustomStatusA dictionary object with string keys and CustomStatus values.

CustomPriorityMap

TypeDescription
[key: string]: CustomPriorityA dictionary object with string keys and CustomPriority values.

The CustomFilter serves as a base for CustomPriority, CustomStatus, and CustomCategory, which all include the base properties (id, color, name) and, in some cases, additional properties specific to their interfaces. The CustomCategoryMap, CustomStatusMap, and CustomPriorityMap are dictionary types that map string keys to their respective interface types, allowing for a collection of these entities to be easily referenced and accessed by their id.