Files
smartupdate/ts/index.ts
2025-11-03 16:02:12 +00:00

30 lines
830 B
TypeScript

// Main class
export { SmartUpdate } from './smartupdate.classes.smartupdate.js';
// 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';