// src/config.ts

/**
 * A centralized configuration module that reads environment variables
 * from `import.meta.env`. This provides a single, explicit place to manage
 * environment-specific settings and makes mocking for tests significantly easier.
 */
const config = {
  app: {
    version: import.meta.env.VITE_APP_VERSION,
    commitMessage: import.meta.env.VITE_APP_COMMIT_MESSAGE,
    commitUrl: import.meta.env.VITE_APP_COMMIT_URL,
  },
  google: {
    mapsEmbedApiKey: import.meta.env.VITE_GOOGLE_MAPS_EMBED_API_KEY,
  },
};

export default config;