import { FetchRetryOptions } from './types' ; export const DEFAULT_BASE_URL = 'http://localhost' ; export const HTTP_STATUS_OK = 200 ; export const HTTP_STATUS_NOT_MODIFIED = 304 ; export const CACHE_AVAILABLE = 'caches' in window ; export const CACHE_KEY = '@SUPERSET-UI/CONNECTION' ; export const DEFAULT_FETCH_RETRY_OPTIONS = { retries : 3 , retryDelay : 1000 , retryOn : [ 503 ] , } ;