export const TRACKING_MODES = { TIME: 'TIME', PRESENCE: 'PRESENCE' } as const export type TrackingMode = (typeof TRACKING_MODES)[keyof typeof TRACKING_MODES] export const CONTRACT_TYPES = { FORFAIT: 'FORFAIT', H35: '35H', H39: '39H', INTERIM: 'INTERIM', CUSTOM: 'CUSTOM' } as const export type ContractType = (typeof CONTRACT_TYPES)[keyof typeof CONTRACT_TYPES] export type Contract = { id: number name: string trackingMode: TrackingMode type: ContractType weeklyHours?: number | null isActive?: boolean }