Skip to content

@sourceloop/authentication-service / Exports / TenantRepository

Class: TenantRepository

Hierarchy

  • DefaultSoftCrudRepository<Tenant, typeof id>

    TenantRepository

Table of contents

Constructors

Properties

Constructors

constructor

new TenantRepository(dataSource, tenantConfigRepositoryGetter, tenant)

Parameters

Name Type
dataSource DataSource
tenantConfigRepositoryGetter Getter<TenantConfigRepository>
tenant typeof Entity & { prototype: Tenant }

Overrides

DefaultSoftCrudRepository< Tenant, typeof Tenant.prototype.id \>.constructor

Defined in

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

Properties

tenant

Private Readonly tenant: typeof Entity & { prototype: Tenant }

Defined in

services/authentication-service/src/repositories/tenant.repository.ts:32


tenantConfigRepositoryGetter

Protected tenantConfigRepositoryGetter: Getter<TenantConfigRepository>

Defined in

services/authentication-service/src/repositories/tenant.repository.ts:30


tenantConfigs

Readonly tenantConfigs: HasManyRepositoryFactory<TenantConfig, undefined | string>

Defined in

services/authentication-service/src/repositories/tenant.repository.ts:22