Skip to content
Snippets Groups Projects
profileEcogesture.model.ts 453 B
Newer Older
  • Learn to ignore specific revisions
  • import { ProfileEcogestureAnswerType } from 'enums'
    
    import { ProfileType } from './profileType.model'
    
    export type ProfileEcogesture = Pick<
      ProfileType,
      'heating' | 'warmingFluid' | 'hotWater' | 'equipments'
    >
    
    export type ProfileEcogestureValues = ProfileEcogesture[keyof ProfileEcogesture]
    
    
    export interface ProfileEcogestureAnswer {
      type: ProfileEcogestureAnswerType
    
      attribute: keyof ProfileEcogesture
      choices: ProfileEcogestureValues[]