Skip to content

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

Class: InvoiceRepository

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new InvoiceRepository(dataSource, getCurrentUser, tenantRepositoryGetter)

Parameters

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

Overrides

DefaultTransactionalUserModifyRepository< Invoice, typeof Invoice.prototype.id, InvoiceRelations \>.constructor

Defined in

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

Properties

getCurrentUser

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

Inherited from

DefaultTransactionalUserModifyRepository.getCurrentUser

Defined in

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


tenant

Readonly tenant: BelongsToAccessor<Tenant, string>

Defined in

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


tenantRepositoryGetter

Protected tenantRepositoryGetter: Getter<TenantRepository>

Defined in

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