Skip to content

@sourceloop/scheduler-service / Exports / AttendeeRepository

Class: AttendeeRepository

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AttendeeRepository(dataSource, getCurrentUser, eventRepositoryGetter, getAuditLogRepository)

Parameters

Name Type
dataSource DataSource
getCurrentUser Getter<undefined | IAuthUserWithPermissions<string, string, string>>
eventRepositoryGetter Getter<EventRepository>
getAuditLogRepository Getter<AuditLogRepository>

Overrides

ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository< Attendee, typeof Attendee.prototype.id, AttendeeRelations \>, AttendeeAuditOpts, ).constructor

Defined in

services/scheduler-service/src/repositories/attendee.repository.ts:34

Properties

event

Readonly event: BelongsToAccessor<Event<DataObject<Model>>, undefined | string>

Defined in

services/scheduler-service/src/repositories/attendee.repository.ts:32


eventRepositoryGetter

Protected eventRepositoryGetter: Getter<EventRepository>

Defined in

services/scheduler-service/src/repositories/attendee.repository.ts:42


getAuditLogRepository

getAuditLogRepository: Getter<AuditLogRepository>

Defined in

services/scheduler-service/src/repositories/attendee.repository.ts:44


getCurrentUser

Protected Readonly getCurrentUser: Getter<undefined | IAuthUserWithPermissions<string, string, string>>

Inherited from

ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository< Attendee, typeof Attendee.prototype.id, AttendeeRelations >, AttendeeAuditOpts, ).getCurrentUser

Defined in

services/scheduler-service/src/repositories/attendee.repository.ts:38

Methods

save

save(entity, options?): Promise<Attendee>

Parameters

Name Type
entity Attendee
options? Options

Returns

Promise<Attendee>

Inherited from

ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository< Attendee, typeof Attendee.prototype.id, AttendeeRelations >, AttendeeAuditOpts, ).save

Defined in

packages/core/dist/repositories/default-user-modify-crud.repository.base.d.ts:13