feat: modify map
This commit is contained in:
@@ -21,7 +21,7 @@ export const DETECTION_TYPES: Record<string, DetectionTypeConfig> = {
|
||||
pothole: {
|
||||
id: 'pothole',
|
||||
label: 'Pothole',
|
||||
color: '#ef4444',
|
||||
color: 'var(--chart-1)',
|
||||
countKey: 'unique_pothole',
|
||||
listKey: 'pothole_list',
|
||||
frameCountKey: 'pothole',
|
||||
@@ -29,7 +29,7 @@ export const DETECTION_TYPES: Record<string, DetectionTypeConfig> = {
|
||||
defected_sign_board: {
|
||||
id: 'defected_sign_board',
|
||||
label: 'Defect Sign Board',
|
||||
color: '#3b82f6',
|
||||
color: 'var(--chart-2)',
|
||||
countKey: 'unique_defected_sign_board',
|
||||
listKey: 'defected_sign_board_list',
|
||||
frameCountKey: 'defected_sign_board',
|
||||
@@ -37,7 +37,7 @@ export const DETECTION_TYPES: Record<string, DetectionTypeConfig> = {
|
||||
road_crack: {
|
||||
id: 'road_crack',
|
||||
label: 'Road Crack',
|
||||
color: '#f59e0b',
|
||||
color: 'var(--chart-3)',
|
||||
countKey: 'unique_road_crack',
|
||||
listKey: 'road_crack_list',
|
||||
frameCountKey: 'road_crack',
|
||||
@@ -45,7 +45,7 @@ export const DETECTION_TYPES: Record<string, DetectionTypeConfig> = {
|
||||
damaged_road_marking: {
|
||||
id: 'damaged_road_marking',
|
||||
label: 'Damage Road Mark',
|
||||
color: '#6366f1',
|
||||
color: 'var(--chart-4)',
|
||||
countKey: 'unique_damaged_road_marking',
|
||||
listKey: 'damaged_road_marking_list',
|
||||
frameCountKey: 'damaged_road_marking',
|
||||
@@ -53,7 +53,7 @@ export const DETECTION_TYPES: Record<string, DetectionTypeConfig> = {
|
||||
good_sign_board: {
|
||||
id: 'good_sign_board',
|
||||
label: 'Good Sign Board',
|
||||
color: '#10b981',
|
||||
color: 'var(--chart-5)',
|
||||
countKey: 'unique_good_sign_board',
|
||||
listKey: 'good_sign_board_list',
|
||||
frameCountKey: 'good_sign_board',
|
||||
@@ -61,7 +61,7 @@ export const DETECTION_TYPES: Record<string, DetectionTypeConfig> = {
|
||||
drain_issue: {
|
||||
id: 'drain_issue',
|
||||
label: 'Drain Issue',
|
||||
color: '#a855f7',
|
||||
color: 'var(--chart-6)',
|
||||
countKey: 'unique_drain_issue',
|
||||
listKey: 'drain_issue_list',
|
||||
frameCountKey: 'drain_issue',
|
||||
@@ -69,7 +69,7 @@ export const DETECTION_TYPES: Record<string, DetectionTypeConfig> = {
|
||||
good_culvert: {
|
||||
id: 'good_culvert',
|
||||
label: 'Good Culvert',
|
||||
color: '#10b981',
|
||||
color: 'var(--chart-5)',
|
||||
countKey: 'unique_good_culvert',
|
||||
listKey: 'good_culvert_list',
|
||||
frameCountKey: 'good_culvert',
|
||||
@@ -77,7 +77,7 @@ export const DETECTION_TYPES: Record<string, DetectionTypeConfig> = {
|
||||
defective_culvert: {
|
||||
id: 'defective_culvert',
|
||||
label: 'Defective Culvert',
|
||||
color: '#ef4444',
|
||||
color: 'var(--chart-8)',
|
||||
countKey: 'unique_defective_culvert',
|
||||
listKey: 'defective_culvert_list',
|
||||
frameCountKey: 'defective_culvert',
|
||||
|
||||
Reference in New Issue
Block a user