/** * Shared Types and Constants * * This file contains type definitions and constants shared between * the main process and renderer process. */ /** * Default settings for the addon. * These should match the settingsDefinitions in addon.json. */ const DEFAULT_SETTINGS = { enableFeature: true, apiKey: '', mode: 'normal', maxItems: 10, }; /** * Available modes for the addon. */ const MODES = { NORMAL: 'normal', ADVANCED: 'advanced', DEBUG: 'debug', }; /** * Event names used by the addon. */ const EVENTS = { SETTINGS_CHANGED: 'settings-changed', ACTION_COMPLETED: 'action-completed', ERROR_OCCURRED: 'error-occurred', }; module.exports = { DEFAULT_SETTINGS, MODES, EVENTS, };