Skip to content

@sourceloop/scheduler-service / Exports / SettingsRepository

Class: SettingsRepository

Hierarchy

  • DefaultUserModifyCrudRepository<Settings, undefined | string, {}, this> & {}

    SettingsRepository

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SettingsRepository(dataSource, getCurrentUser, getAuditLogRepository)

Parameters

Name Type
dataSource DataSource
getCurrentUser Getter<undefined | IAuthUserWithPermissions<string, string, string>>
getAuditLogRepository Getter<AuditLogRepository>

Overrides

ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository<Settings, typeof Settings.prototype.id, {}\>, SettingsAuditOpts, ).constructor

Defined in

services/scheduler-service/src/repositories/settings.repository.ts:27

Properties

getAuditLogRepository

getAuditLogRepository: Getter<AuditLogRepository>

Defined in

services/scheduler-service/src/repositories/settings.repository.ts:35


getCurrentUser

Protected Readonly getCurrentUser: Getter<undefined | IAuthUserWithPermissions<string, string, string>>

Inherited from

ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository<Settings, typeof Settings.prototype.id, {}>, SettingsAuditOpts, ).getCurrentUser

Defined in

services/scheduler-service/src/repositories/settings.repository.ts:31

Methods

save

save(entity, options?): Promise<Settings>

Parameters

Name Type
entity Settings
options? Options

Returns

Promise<Settings>

Inherited from

ConditionalAuditRepositoryMixin( DefaultUserModifyCrudRepository<Settings, typeof Settings.prototype.id, {}>, SettingsAuditOpts, ).save

Defined in

packages/core/dist/repositories/default-user-modify-crud.repository.base.d.ts:13