Skip to content

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

Class: TenantMgmtConfigRepository<T>

Type parameters

Name Type
T extends TenantMgmtConfig = TenantMgmtConfig

Hierarchy

  • DefaultUserModifyCrudRepository<T, typeof id, {}>

    TenantMgmtConfigRepository

Table of contents

Constructors

Properties

Constructors

constructor

new TenantMgmtConfigRepository<T>(getCurrentUser, dataSource, tenantRepositoryGetter, tenantMgmtConfig)

Type parameters

Name Type
T extends TenantMgmtConfig<T> = TenantMgmtConfig

Parameters

Name Type
getCurrentUser Getter<IAuthUserWithPermissions<string, string, string>>
dataSource DataSource
tenantRepositoryGetter Getter<TenantRepository<Tenant>>
tenantMgmtConfig typeof Entity & { prototype: T }

Overrides

DefaultUserModifyCrudRepository< T, typeof TenantMgmtConfig.prototype.id, {} \>.constructor

Defined in

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

Properties

getCurrentUser

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

Inherited from

DefaultUserModifyCrudRepository.getCurrentUser

Defined in

services/tenant-management-service/src/repositories/tenant-mgmt-config.repository.ts:31


tenant

Readonly tenant: BelongsToAccessor<Tenant, string>

Defined in

services/tenant-management-service/src/repositories/tenant-mgmt-config.repository.ts:24


tenantMgmtConfig

Private Readonly tenantMgmtConfig: typeof Entity & { prototype: T }

Defined in

services/tenant-management-service/src/repositories/tenant-mgmt-config.repository.ts:37


tenantRepositoryGetter

Protected tenantRepositoryGetter: Getter<TenantRepository<Tenant>>

Defined in

services/tenant-management-service/src/repositories/tenant-mgmt-config.repository.ts:35