cityssm/attendance-tracking

View on GitHub
types/applicationTypes.ts

Summary

Maintainability
A
0 mins
Test Coverage
export interface WorkerMessage {
  messageType: string
  timeMillis: number
  pid: number
}

export type CacheTableName =
  | 'AbsenceTypes'
  | 'AfterHoursReasons'
  | 'CallOutResponseTypes'
  | 'EmployeeProperties'

export interface ClearCacheWorkerMessage extends WorkerMessage {
  messageType: 'clearCache'
  tableName: CacheTableName
}