Interface DecafAppConfig

interface DecafAppConfig {
    authCheckInterval?: number;
    basePath?: string;
    currentVersion?: string;
    onNewVersion?: (versionOld: string, versionNew: string) => void;
    versionCheckInterval?: number;
}

Properties

authCheckInterval?: number

interval (in seconds) to check auth status

basePath?: string

Base path of host app.

This is usually PUBLIC_URL environment variable in React apps.

Required to enable version checker.

currentVersion?: string

version of the application

onNewVersion?: (versionOld: string, versionNew: string) => void

callback when a new version is available

versionCheckInterval?: number

interval (in seconds) to check for new version