Skip to content

@sourceloop/survey-service / Exports / SurveyQuestionService

Class: SurveyQuestionService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SurveyQuestionService(surveyQuestionRepository)

Parameters

Name Type
surveyQuestionRepository SurveyQuestionRepository

Defined in

services/survey-service/src/services/survey-question.service.ts:9

Properties

surveyQuestionRepository

surveyQuestionRepository: SurveyQuestionRepository

Defined in

services/survey-service/src/services/survey-question.service.ts:11

Methods

createSurveyQuestion

createSurveyQuestion(surveyId, surveyQuestionDto): Promise<SurveyQuestion<DataObject<Model>>>

Parameters

Name Type
surveyId string
surveyQuestionDto Omit<SurveyQuestionDto, "id">

Returns

Promise<SurveyQuestion<DataObject<Model>>>

Defined in

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