All files / src/modules/env Global.ts

100% Statements 20/20
100% Branches 0/0
100% Functions 3/3
100% Lines 20/20

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28    1x 1x 1x 1x     1x 1x 1x 1x 1x     1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x    
export type EnvKey = StoreGlobal | string;
export type StoreItem = ArchType | OsRelease | string;
export enum OsRelease {
  WIN32 = 'win32',
  DARWIN = 'darwin',
  LINUX = 'linux',
}
 
export enum ArchType {
  X32 = 'x32',
  X64 = 'x64',
  ARM = 'arm',
  ARM64 = 'arm64',
}
 
export enum StoreGlobal {
  'GLOBAL_OS' = 'GLOBAL_OS',
  'GLOBAL_ARCH' = 'GLOBAL_ARCH',
  'GLOBAL_LOG_LEVEL' = 'GLOBAL_LOG_LEVEL',
  'GLOBAL_PATH_HOME' = 'GLOBAL_PATH_HOME',
  'GLOBAL_PATH_DATA' = 'GLOBAL_PATH_DATA',
  'GLOBAL_PATH_DB' = 'GLOBAL_PATH_DB',
  'GLOBAL_PATH_TEMP' = 'GLOBAL_PATH_TEMP',
  'GLOBAL_APP_VERSION' = 'GLOBAL_APP_VERSION',
  'GLOBAL_HOME_DIR' = 'GLOBAL_HOME_DIR',
  'GLOBAL_HOST_NAME' = 'GLOBAL_HOST_NAME',
}