Skip to content

@sourceloop/ctrl-plane-tenant-management-service / Exports / ContactRepository

Class: ContactRepository

Hierarchy

  • DefaultTransactionalUserModifyRepository<Contact, typeof id, {}>

    ContactRepository

Table of contents

Constructors

Properties

Constructors

constructor

new ContactRepository(dataSource, getCurrentUser, tenantRepositoryGetter)

Parameters

Name Type
dataSource DataSource
getCurrentUser Getter<IAuthUserWithPermissions<string, string, string>>
tenantRepositoryGetter Getter<TenantRepository>

Overrides

DefaultTransactionalUserModifyRepository< Contact, typeof Contact.prototype.id, {} \>.constructor

Defined in

services/tenant-management-service/src/repositories/contact.repository.ts:23

Properties

getCurrentUser

Readonly getCurrentUser: Getter<IAuthUserWithPermissions<string, string, string>>

Inherited from

DefaultTransactionalUserModifyRepository.getCurrentUser

Defined in

services/tenant-management-service/src/repositories/contact.repository.ts:27


tenant

Readonly tenant: BelongsToAccessor<Tenant, undefined | string>

Defined in

services/tenant-management-service/src/repositories/contact.repository.ts:18


tenantRepositoryGetter

Protected tenantRepositoryGetter: Getter<TenantRepository>

Defined in

services/tenant-management-service/src/repositories/contact.repository.ts:29