// Application-wide configuration constants // API Configuration export const API_ENDPOINTS = { PUBLICATIONS: 'https://pure-publications-cw3de4q5va-ew.a.run.app/', CROSSREF: 'https://api.crossref.org/works', OPENALEX: 'https://api.openalex.org/works', GOOGLE_SCHOLAR: 'https://scholar.google.de/scholar' } export const API_PARAMS = { NO_CACHE_PARAM: '&noCache=true', // Above this query length the bulk publications request switches from GET to POST BULK_GET_MAX_QUERY_LENGTH: 1800, // Publications per bulk request; bounds request size and allows progress updates in between BULK_FETCH_CHUNK_SIZE: 10, CROSSREF_EMAIL: 'fabian.beck@uni-bamberg.de', CROSSREF_FILTER: 'has-references:true', CROSSREF_SORT: 'relevance', OPENALEX_EMAIL: 'fabian.beck@uni-bamberg.de' } // Pagination Configuration export const PAGINATION = { LOAD_MORE_INCREMENT: 100, INITIAL_SUGGESTIONS_COUNT: 100 } // Scoring Configuration export const SCORING = { DEFAULT_BOOST_FACTOR: 1, BOOST_MULTIPLIER: 2, FIRST_AUTHOR_BOOST: 2, NEW_PUBLICATION_BOOST: 2 } // Up to this number, all selected publications are shown in the network; of the ones // beyond, only the top-ranked share set in the network settings export const NETWORK_SELECTED_BASE_NUMBER = 10 // Time Configuration export const CURRENT_YEAR = new Date().getFullYear()