Skip to content

@sourceloop/survey-service / Exports

@sourceloop/survey-service

Table of contents

Namespaces

Enumerations

Classes

Interfaces

Type Aliases

Variables

Type Aliases

OptionsWithRelations

Ƭ OptionsWithRelations: Options & OptionsRelations

Defined in

services/survey-service/src/models/options.model.ts:82


QuestionTemplateWithRelations

Ƭ QuestionTemplateWithRelations: QuestionTemplate

Defined in

services/survey-service/src/models/question-template.model.ts:64


QuestionWithRelations

Ƭ QuestionWithRelations: Question & QuestionRelations

Defined in

services/survey-service/src/models/questions.model.ts:144


SurveyCycleWithRelations

Ƭ SurveyCycleWithRelations: SurveyCycle & SurveyCycleRelations

Defined in

services/survey-service/src/models/survey-cycle.model.ts:67


SurveyDtoWithRelations

Ƭ SurveyDtoWithRelations: SurveyDto

Defined in

services/survey-service/src/models/survey-dto.model.ts:17


SurveyQuestionWithRelations

Ƭ SurveyQuestionWithRelations: SurveyQuestion

Defined in

services/survey-service/src/models/survey-question.model.ts:122


SurveyResponderWithRelations

Ƭ SurveyResponderWithRelations: SurveyResponder & SurveyResponderRelations

Defined in

services/survey-service/src/models/survey-responder.model.ts:108


SurveyResponseWithRelations

Ƭ SurveyResponseWithRelations: SurveyResponse & SurveyResponseRelations

Defined in

services/survey-service/src/models/survey-response.model.ts:78


SurveyWithRelations

Ƭ SurveyWithRelations: Survey & SurveyRelations

Defined in

services/survey-service/src/models/survey.model.ts:133


TemplateQuestionWithRelations

Ƭ TemplateQuestionWithRelations: TemplateQuestion & TemplateQuestionRelations

Defined in

services/survey-service/src/models/template-questions.model.ts:90

Variables

AppErrorCodes

Const AppErrorCodes: Object

Type declaration

Name Type
ER_DUP_ENTRY string

Defined in

services/survey-service/src/enum/error-codes.enum.ts:1


ErrorKeys

Const ErrorKeys: Object

Type declaration

Name Type
AddApprovedQuestionTemplateId string
DecimalValueNotSupported string
DeleteNotAllowedForSurveyOrTemplateUsedEntity string
DisplayOrderMissing string
DuplicateSurveyQuestionEntry string
DuplicateTemplateQuestionEntry string
EndDateCanNotBeLess string
EndDateCannotBeInPast string
InvalidName string
InvalidStatus string
MaxOptionsInQuestionReached string
MaxSurveyTextLength string
NotAuthorised string
PastDateNotAllowed string
QuestionTemplateStatusNotInDraftOrApproved string
RemoveExtraParams string
RequiredSurveyParamsMissing string
SurveyCanNotBeDeleted string
SurveyCannotBeActivated string
SurveyCannotBeActivatedInDraftState string
SurveyIdDoesNotMatch string
SurveyResponseDetailNotFound string
SurveyStartDateShouldBeCurrentDate string

Defined in

services/survey-service/src/enum/error-keys.enum.ts:1


SurveyDbSourceName

Const SurveyDbSourceName: "SurveyDb"

Defined in

services/survey-service/src/types.ts:12