UNPKG

@solidskills/types

Version:

Solidskills typings

27 lines (26 loc) 856 B
import { SlsAddressType } from '../enums/sls-address-type'; import { SlsNumericMatchingAlgorithm } from '../enums/sls-numeric-matching-algorithm'; import { SlsQuestionType } from '../enums/sls-question-type'; import { SlsRefData } from '../enums/sls-ref-data'; import { SlsOption } from './sls-option'; export interface SlsAbstractQuestion { type: SlsQuestionType; required: boolean; adminOnly?: boolean; index: number; deleted: boolean; title: string; manageTitle: string; explanation?: string; min?: number; step?: number; max?: number; unit?: string; illustrations?: Array<SlsOption>; refData?: SlsRefData; matchingAlgorithm?: SlsNumericMatchingAlgorithm; addressType?: SlsAddressType; perimeter?: boolean; perimeterTravelModeLabel?: string; perimeterDurationLabel?: string; }