Skip to content

@sourceloop/ctrl-plane-subscription-service / Exports / BillingCycleRepository

Class: BillingCycleRepository<T>

Type parameters

Name Type
T extends BillingCycle = BillingCycle

Hierarchy

  • DefaultUserModifyCrudRepository<T, typeof id, {}>

    BillingCycleRepository

Table of contents

Constructors

Properties

Constructors

constructor

new BillingCycleRepository<T>(dataSource, getCurrentUser, billingCycle)

Type parameters

Name Type
T extends BillingCycle<T> = BillingCycle

Parameters

Name Type
dataSource DataSource
getCurrentUser Getter<IAuthUserWithPermissions<string, string, string>>
billingCycle typeof Entity & { prototype: T }

Overrides

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

Defined in

services/subscription-service/src/repositories/billing-cycle.repository.ts:17

Properties

billingCycle

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

Defined in

services/subscription-service/src/repositories/billing-cycle.repository.ts:23


getCurrentUser

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

Inherited from

DefaultUserModifyCrudRepository.getCurrentUser

Defined in

services/subscription-service/src/repositories/billing-cycle.repository.ts:21