Interface: DatabaseCommandContext
Defined in: electron/services/commands/DatabaseCommands.ts:105
Abstract base class for database commands providing common functionality for event emission and dependency management.
Type Param
The result type returned by the command's execute method.
Properties
cache
cache:
StandardizedCache<Site>
Defined in: electron/services/commands/DatabaseCommands.ts:106
configurationManager?
optionalconfigurationManager:ConfigurationManager
Defined in: electron/services/commands/DatabaseCommands.ts:107
eventEmitter
eventEmitter:
TypedEventBus<UptimeEvents>
Defined in: electron/services/commands/DatabaseCommands.ts:108
serviceFactory
serviceFactory:
DatabaseServiceFactory
Defined in: electron/services/commands/DatabaseCommands.ts:109
updateHistoryLimit()?
optionalupdateHistoryLimit: (limit:number) =>Promise<void>
Defined in: electron/services/commands/DatabaseCommands.ts:110
Parameters
limit
number
Returns
Promise<void>