Files

30 lines
830 B
TypeScript
Raw Permalink Normal View History

2025-11-03 16:02:12 +00:00
// Main class
2022-04-13 16:02:29 +02:00
export { SmartUpdate } from './smartupdate.classes.smartupdate.js';
2025-11-03 16:02:12 +00:00
// Supporting classes (for advanced use cases)
export { UpdateCacheManager } from './smartupdate.classes.cachemanager.js';
export { UpdateNotifier } from './smartupdate.classes.notifier.js';
// Interfaces and types
export type {
ISmartUpdateOptions,
IUpdateCheckOptions,
IUpdateCheckResult,
ICacheStatus,
ICacheOptions,
INotificationOptions,
} from './smartupdate.interfaces.js';
// Error classes
export {
SmartUpdateError,
RegistryUnavailableError,
PackageNotFoundError,
InvalidVersionError,
InvalidPackageNameError,
} from './smartupdate.errors.js';
// Constants (for reference)
export type { TLogLevel } from './smartupdate.constants.js';
export { LOG_LEVELS, DEFAULT_MESSAGE_COLOR } from './smartupdate.constants.js';