Map each resource type and tracker type to a specific badge variant instead of only distinguishing scripts from everything else. Drop the manual BadgeVariant type alias in favor of as-const inference. Signed-off-by: Émile Ré <emile@getprobo.com>
Map each resource type and tracker type to a specific badge variant instead of only distinguishing scripts from everything else. Drop the manual BadgeVariant type alias in favor of as-const inference. Signed-off-by: Émile Ré <emile@getprobo.com>