LCOV - code coverage report
Current view: top level - dashql-app/src - globals.ts Coverage Total Hit
Test: DashQL 6e74948 Lines: 100.0 % 12 12
Test Date: 2026-11-06 17:46:50

            Line data    Source code
       1              : // Injected at build time (Vite define).
       2            1 : export const DASHQL_BUILD_MODE: string = process.env.DASHQL_BUILD_MODE!;
       3            1 : export const DASHQL_VERSION: string = process.env.DASHQL_VERSION!;
       4            1 : export const DASHQL_GIT_COMMIT: string = process.env.DASHQL_GIT_COMMIT!;
       5            1 : export const HYPERDB_WASM_VERSION: string = process.env.HYPERDB_WASM_VERSION!;
       6              : /// The port of the local agent server
       7            1 : export const DASHQL_AGENT_PORT: number = Number(process.env.DASHQL_AGENT_PORT ?? '47100');
       8              : 
       9              : // The URL of the git repository
      10            1 : export const DASHQL_GIT_REPO: URL = new URL(`https://github.com/ankoh/dashql/tree/${DASHQL_GIT_COMMIT}`);
      11              : /// The URL of the stable release manifest
      12            1 : export const DASHQL_STABLE_RELEASE_MANIFEST = new URL("https://get.dashql.app/stable.json");
      13              : /// The URL of the latest release manifest
      14            1 : export const DASHQL_LATEST_RELEASE_MANIFEST = new URL("https://get.dashql.app/latest.json");
      15              : 
      16            1 : export function isDebugBuild() {
      17            1 :     return DASHQL_BUILD_MODE == "development";
      18            1 : }
      19              : 
      20              : /// The filename extension for archive files
      21            1 : export const DASHQL_ARCHIVE_FILENAME_EXT = "dashql";
        

Generated by: LCOV version 2.0-1