/// The brand name displayed in the navigation header.
pub const BRAND_NAME: &str = "Euv";
/// The GitHub repository URL for the project.
pub const GITHUB_URL: &str = "https://github.com/euv-dev/euv";
/// The URL for checking the latest euv crate documentation status.
pub const DOCS_STATUS_URL: &str = "https://docs.rs/crate/euv/latest/status.json";
/// The invoke command name for updating the local cache via bridge.
pub const INVOKE_UPDATE_CACHE: &str = "update_cache";
/// The fallback string used when a `JsValue` error cannot be converted via `as_string()`.
pub const ERROR_NULL_TEXT: &str = "null";
/// The maximum number of retry attempts for fetching version status.
pub const VERSION_FETCH_MAX_RETRY_COUNT: u32 = 8;
/// The delay duration between retry attempts in milliseconds.
pub const VERSION_FETCH_RETRY_DELAY_MS: u32 = 1000;
/// The maximum number of retry attempts when re-notifying the native side to
/// pull the latest cache after a failed bridge call.
///
/// When `bridge.core.invoke("update_cache", ...)` either rejects on the JS
/// side or returns a `success: false` payload from native, the webview retries
/// the invocation this many times before giving up.
pub const VIEW_UPDATE_RETRY_COUNT: u32 = 8;
/// The delay duration in milliseconds between retry attempts when
/// re-notifying the native side (see `VIEW_UPDATE_RETRY_COUNT`).
pub const VIEW_UPDATE_RETRY_DELAY_MS: u32 = 1000;