@@ -26,6 +26,7 @@ import {
2626 PROJECT_TYPE_CHANGE_DETECTION ,
2727 PROJECT_TYPE_COMPLETENESS ,
2828 PROJECT_TYPE_FOOTPRINT ,
29+ PROJECT_TYPE_STREET ,
2930 IconKey ,
3031} from '#utils/common' ;
3132
@@ -257,6 +258,33 @@ export const defaultFootprintCustomOptions: PartialTutorialFormType['customOptio
257258 } ,
258259] ;
259260
261+ export const defaultStreetCustomOptions : PartialTutorialFormType [ 'customOptions' ] = [
262+ {
263+ optionId : 1 ,
264+ value : 1 ,
265+ title : 'Yes' ,
266+ icon : 'checkmark-outline' ,
267+ iconColor : colorKeyToColorMap . green ,
268+ description : '' ,
269+ } ,
270+ {
271+ optionId : 2 ,
272+ value : 0 ,
273+ title : 'No' ,
274+ icon : 'close-outline' ,
275+ iconColor : colorKeyToColorMap . red ,
276+ description : '' ,
277+ } ,
278+ {
279+ optionId : 3 ,
280+ value : 2 ,
281+ title : 'Not Sure' ,
282+ icon : 'remove-outline' ,
283+ iconColor : colorKeyToColorMap . gray ,
284+ description : 'if you\'re not sure or there is bad imagery' ,
285+ } ,
286+ ] ;
287+
260288export function deleteKey < T extends object , K extends keyof T > (
261289 value : T ,
262290 key : K ,
@@ -268,6 +296,18 @@ export function deleteKey<T extends object, K extends keyof T>(
268296 return copy ;
269297}
270298
299+ export function getDefaultOptions ( projectType : ProjectType | undefined ) {
300+ if ( projectType === PROJECT_TYPE_FOOTPRINT ) {
301+ return defaultFootprintCustomOptions ;
302+ }
303+
304+ if ( projectType === PROJECT_TYPE_STREET ) {
305+ return defaultStreetCustomOptions ;
306+ }
307+
308+ return undefined ;
309+ }
310+
271311export interface BuildAreaProperties {
272312 reference : number ;
273313 screen : number ;
0 commit comments