Models
CustomFilter
CustomFilter
Class Properties
StatusType
Type | Description |
---|---|
StatusType | A union type that can be 'default' , 'ongoing' , or 'terminal' . |
CustomFilter
Property | Type | Optional | Description |
---|---|---|---|
id | string | No | Unique identifier for the filter. |
color | string | No | Color associated with the filter. |
name | string | No | Display name for the filter. |
CustomPriority
Extends CustomFilter
.
Property | Type | Optional | Description |
---|---|---|---|
lightColor | string | Yes | Lighter shade of color associated with the priority. |
CustomStatus
Extends CustomFilter
.
Property | Type | Optional | Description |
---|---|---|---|
type | StatusType | No | Type of the status as defined by StatusType . |
lightColor | string | Yes | Lighter shade of color associated with the status. |
svg | string | Yes | SVG string representing the icon associated with the status. |
iconUrl | string | Yes | URL of the icon image associated with the status. |
CustomCategory
Implements CustomFilter
.
This interface has the same properties as CustomFilter
without any additions.
CustomCategoryMap
Type | Description |
---|---|
[key: string]: CustomCategory | A dictionary object with string keys and CustomCategory values. |
CustomStatusMap
Type | Description |
---|---|
[key: string]: CustomStatus | A dictionary object with string keys and CustomStatus values. |
CustomPriorityMap
Type | Description |
---|---|
[key: string]: CustomPriority | A 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
.
Was this page helpful?