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