Skip to content

@sourceloop/survey-service / Exports / Survey

Class: Survey<T>

Type parameters

Name Type
T DataObject<Model>

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new Survey<T>(data?)

Type parameters

Name Type
T DataObject<Model>

Parameters

Name Type
data? Partial<T & Survey<DataObject<Model>>>

Inherited from

UserModifiableEntity< T & Survey >.constructor

Defined in

packages/core/dist/models/base-entity.model.d.ts:6

Properties

baseSurveyId

Optional baseSurveyId: string

Defined in

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


createdBy

Optional createdBy: string

Inherited from

UserModifiableEntity.createdBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:4


createdByUser

Optional createdByUser: string

Defined in

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


createdOn

Optional createdOn: Date

Inherited from

UserModifiableEntity.createdOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:4


endDate

endDate: string

Defined in

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


extId

Optional extId: string

Defined in

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


extMetadata

Optional extMetadata: AnyObject

Defined in

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


id

Optional id: string

Defined in

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


isEnableWeights

isEnableWeights: boolean

Defined in

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


modifiedBy

Optional modifiedBy: string

Inherited from

UserModifiableEntity.modifiedBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:5


modifiedByUser

Optional modifiedByUser: string

Defined in

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


modifiedOn

Optional modifiedOn: Date

Inherited from

UserModifiableEntity.modifiedOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:5


name

name: string

Defined in

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


questions

questions: Question[]

Defined in

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


sections

sections: Section[]

Defined in

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


startDate

startDate: string

Defined in

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


status

status: string

Defined in

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


surveyCycles

surveyCycles: SurveyCycle[]

Defined in

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


surveyResponders

surveyResponders: SurveyResponder[]

Defined in

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


surveyText

surveyText: string

Defined in

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


uid

uid: string

Defined in

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