UNPKG

@solidskills/types

Version:

Solidskills typings

36 lines (28 loc) 892 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 // NUMERIC matchingAlgorithm?: SlsNumericMatchingAlgorithm; // ADDRESS addressType?: SlsAddressType; perimeter?: boolean; perimeterTravelModeLabel?: string; perimeterDurationLabel?: string; }