backendConfig | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Variable backendConfigConst

    backendConfig: {
        backendURL: string;
        buildinfo: {
            branch: string;
            builddate: string;
            builddatetime: string;
            buildtime: string;
            committag: string;
            origin: string;
            version: string;
        };
        dataroot: string;
        dataRoot: string;
        dtapstage: DTAPStage;
        installationroot: string;
        installationRoot: string;
        module: { readonly [key: string]: { root: string } };
        servername: string;
        serverName: string;
        whVersion: string;
    } = ...

    Type declaration

    • ReadonlybackendURL: string

      The URL to the backend interface (if configured), eg https://my.webhare.dev/

    • Readonlybuildinfo: {
          branch: string;
          builddate: string;
          builddatetime: string;
          buildtime: string;
          committag: string;
          origin: string;
          version: string;
      }

      buildinfo will be removed. use whVersion to get the semantic-version of the current WebHare (eg 5.7.1)

    • Readonlydataroot: string

      Switch the camel-cased version dataRoot in WH 5.7+

    • ReadonlydataRoot: string

      The data path, ending with a slash. Usually /opt/whdata/.

    • Readonlydtapstage: DTAPStage
    • Readonlyinstallationroot: string

      Switch the camel-cased version installationRoot in WH 5.7+

    • ReadonlyinstallationRoot: string

      The installation (source) path, ending with a slash. Usually /opt/wh/whtree/.

    • Readonlymodule: { readonly [key: string]: { root: string } }
    • Readonlyservername: string

      Switch the camel-cased version installationRoot in WH 5.7+

    • ReadonlyserverName: string
    • ReadonlywhVersion: string

      WebHare version number