File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 33 PROJECT_TYPE_BUILD_AREA ,
44 PROJECT_TYPE_FOOTPRINT ,
55 PROJECT_TYPE_CHANGE_DETECTION ,
6+ PROJECT_TYPE_STREET ,
67 PROJECT_TYPE_COMPLETENESS ,
78} from '#utils/common' ;
89
@@ -15,6 +16,7 @@ const mapswipeProjectTypeOptions: {
1516 { value : PROJECT_TYPE_BUILD_AREA , label : 'Find' } ,
1617 { value : PROJECT_TYPE_FOOTPRINT , label : 'Validate' } ,
1718 { value : PROJECT_TYPE_CHANGE_DETECTION , label : 'Compare' } ,
19+ { value : PROJECT_TYPE_STREET , label : 'Street' } ,
1820 { value : PROJECT_TYPE_COMPLETENESS , label : 'Completeness' } ,
1921] ;
2022
Original file line number Diff line number Diff line change @@ -65,8 +65,9 @@ export const PROJECT_TYPE_BUILD_AREA = 1;
6565export const PROJECT_TYPE_FOOTPRINT = 2 ;
6666export const PROJECT_TYPE_CHANGE_DETECTION = 3 ;
6767export const PROJECT_TYPE_COMPLETENESS = 4 ;
68+ export const PROJECT_TYPE_STREET = 7 ;
6869
69- export type ProjectType = 1 | 2 | 3 | 4 ;
70+ export type ProjectType = 1 | 2 | 3 | 4 | 7 ;
7071
7172export const projectTypeLabelMap : {
7273 [ key in ProjectType ] : string
@@ -75,6 +76,7 @@ export const projectTypeLabelMap: {
7576 [ PROJECT_TYPE_FOOTPRINT ] : 'Validate' ,
7677 [ PROJECT_TYPE_CHANGE_DETECTION ] : 'Compare' ,
7778 [ PROJECT_TYPE_COMPLETENESS ] : 'Completeness' ,
79+ [ PROJECT_TYPE_STREET ] : 'Street' ,
7880} ;
7981
8082export type IconKey = 'add-outline'
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ import {
5959 PROJECT_TYPE_FOOTPRINT ,
6060 PROJECT_TYPE_COMPLETENESS ,
6161 PROJECT_TYPE_CHANGE_DETECTION ,
62+ PROJECT_TYPE_STREET ,
6263 formatProjectTopic ,
6364} from '#utils/common' ;
6465import { getValueFromFirebase } from '#utils/firebase' ;
You can’t perform that action at this time.
0 commit comments