@sourceloop/ctrl-plane-subscription-service / Exports / ServiceRepository
Class: ServiceRepository¶
Hierarchy¶
-
DefaultUserModifyCrudRepository
<Service
, typeofid
,ServiceRelations
>↳
ServiceRepository
Table of contents¶
Constructors¶
Properties¶
Constructors¶
constructor¶
• new ServiceRepository(dataSource
, getCurrentUser
)
Parameters¶
Name | Type |
---|---|
dataSource |
DataSource |
getCurrentUser |
Getter <IAuthUserWithPermissions <string , string , string >> |
Overrides¶
DefaultUserModifyCrudRepository< Service, typeof Service.prototype.id, ServiceRelations \>.constructor
Defined in¶
services/subscription-service/src/repositories/service.repository.ts:16
Properties¶
getCurrentUser¶
• Readonly
getCurrentUser: Getter
<IAuthUserWithPermissions
<string
, string
, string
>>
Inherited from¶
DefaultUserModifyCrudRepository.getCurrentUser
Defined in¶
services/subscription-service/src/repositories/service.repository.ts:20