@iobroker/types
Advanced tools
Comparing version 7.0.7-alpha.1-20250101-f1ba02661 to 7.0.7-alpha.2-20250110-fe9fbf6b6
@@ -9,3 +9,3 @@ interface DatabaseBackupOptions { | ||
'// hours': string; | ||
/** by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0 */ | ||
/** By default backup every 2 hours. Time is in minutes. To disable backup set the value to 0 */ | ||
period: number; | ||
@@ -83,2 +83,6 @@ '// period': string; | ||
noFileCache: boolean; | ||
} | ||
export interface StatesDatabaseOptions extends DatabaseOptions { | ||
/** Limit maximum number of log entries in the list (only read by adapter.ts from the config file) */ | ||
maxQueue: number; | ||
@@ -92,5 +96,5 @@ } | ||
system: { | ||
/** do not use more than memory limit mb by ioB process (0 to deactivate) */ | ||
/** Do not use more than memory limit mb by ioB process (0 to deactivate) */ | ||
memoryLimitMB: number; | ||
/** if empty, determine use real hostname */ | ||
/** If empty, determine use real hostname */ | ||
hostname: string; | ||
@@ -103,3 +107,3 @@ /** Interval how often the counters for input/output in adapters and controller will be updated in ms */ | ||
'// checkDiskInterval': string; | ||
/** interval to wait between multiple instances starts */ | ||
/** Interval to wait between multiple instances starts */ | ||
instanceStartInterval: number; | ||
@@ -126,5 +130,5 @@ /** Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in io-package.json */ | ||
objects: ObjectsDatabaseOptions; | ||
states: DatabaseOptions; | ||
states: StatesDatabaseOptions; | ||
log: { | ||
level: string; | ||
level: ioBroker.LogLevel; | ||
maxDays: number; | ||
@@ -131,0 +135,0 @@ noStdout: boolean; |
@@ -5,3 +5,7 @@ // Types which are safe to share within this repository AND publicly | ||
import './objects'; | ||
import type { IoBJson, DatabaseOptions, ObjectsDatabaseOptions as ObjectsDbOptions } from './config'; | ||
import type { | ||
IoBJson, | ||
ObjectsDatabaseOptions as ObjectsDbOptions, | ||
StatesDatabaseOptions as StatesDbOptions, | ||
} from './config'; | ||
import type { Branded } from './utils'; | ||
@@ -581,4 +585,4 @@ | ||
/** States DB options from ioBroker.json */ | ||
type StatesDatabaseOptions = DatabaseOptions; | ||
type StatesDatabaseOptions = StatesDbOptions; | ||
} // end namespace ioBroker | ||
} // end declare global |
{ | ||
"name": "@iobroker/types", | ||
"version": "7.0.7-alpha.1-20250101-f1ba02661", | ||
"version": "7.0.7-alpha.2-20250110-fe9fbf6b6", | ||
"engines": { | ||
@@ -44,3 +44,3 @@ "node": ">=12.0.0" | ||
}, | ||
"gitHead": "c13df070c258bee1d468a78e0560ab6476da8e3c" | ||
"gitHead": "309bfc835318e78bcf4dafeb81858530ce2d2470" | ||
} |
Sorry, the diff of this file is too big to display
177942
3409