Interface: DatabaseCommandContext
Defined in: electron/services/commands/DatabaseCommands.ts:110
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:111
configurationManager?
optionalconfigurationManager:ConfigurationManager
Defined in: electron/services/commands/DatabaseCommands.ts:112
eventEmitter
eventEmitter:
TypedEventBus<UptimeEvents>
Defined in: electron/services/commands/DatabaseCommands.ts:113
serviceFactory
serviceFactory:
DatabaseServiceFactory
Defined in: electron/services/commands/DatabaseCommands.ts:114
updateHistoryLimit()?
optionalupdateHistoryLimit: (limit:number) =>Promise<void>
Defined in: electron/services/commands/DatabaseCommands.ts:115
Parameters
limit
number
Returns
Promise<void>