@sourceloop/scheduler-service / Exports / ThemeRepository
Class: ThemeRepository¶
Hierarchy¶
-
DefaultUserModifyCrudRepository
<Theme
,undefined
|string
, {},this
> & {}↳
ThemeRepository
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new ThemeRepository(dataSource
, getCurrentUser
, getAuditLogRepository
)
Parameters¶
Name | Type |
---|---|
dataSource |
DataSource |
getCurrentUser |
Getter <undefined | IAuthUserWithPermissions <string , string , string >> |
getAuditLogRepository |
Getter <AuditLogRepository > |
Overrides¶
ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository<Theme, typeof Theme.prototype.id, {}\>, ThemeAuditOpts, ).constructor
Defined in¶
services/scheduler-service/src/repositories/theme.repository.ts:27
Properties¶
getAuditLogRepository¶
• getAuditLogRepository: Getter
<AuditLogRepository
>
Defined in¶
services/scheduler-service/src/repositories/theme.repository.ts:35
getCurrentUser¶
• Protected
Readonly
getCurrentUser: Getter
<undefined
| IAuthUserWithPermissions
<string
, string
, string
>>
Inherited from¶
ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository<Theme, typeof Theme.prototype.id, {}>, ThemeAuditOpts, ).getCurrentUser
Defined in¶
services/scheduler-service/src/repositories/theme.repository.ts:31
Methods¶
save¶
▸ save(entity
, options?
): Promise
<Theme
>
Parameters¶
Name | Type |
---|---|
entity |
Theme |
options? |
Options |
Returns¶
Promise
<Theme
>
Inherited from¶
ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository<Theme, typeof Theme.prototype.id, {}>, ThemeAuditOpts, ).save
Defined in¶
packages/core/dist/repositories/default-user-modify-crud.repository.base.d.ts:13