Skip to content

@sourceloop/survey-service / Exports / QuestionOptionService

Class: QuestionOptionService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new QuestionOptionService(optionsRepository)

Parameters

Name Type
optionsRepository OptionsRepository

Defined in

services/survey-service/src/services/question-option.service.ts:14

Properties

optionsRepository

optionsRepository: OptionsRepository

Defined in

services/survey-service/src/services/question-option.service.ts:16

Methods

validateOptionCount

validateOptionCount(questionId): Promise<void>

Parameters

Name Type
questionId string

Returns

Promise<void>

Defined in

services/survey-service/src/services/question-option.service.ts:19