TickSimple v1.0.0 — Dead-simple time tracker for freelancers. One-tap timer, PDF reports, invoice generation, Chrome extension MV3.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
export interface TimeEntry {
|
||||
id: string
|
||||
startTime: number
|
||||
endTime: number | null
|
||||
duration: number
|
||||
description: string
|
||||
client: string
|
||||
project: string
|
||||
createdAt: number
|
||||
}
|
||||
|
||||
export interface TimerState {
|
||||
running: boolean
|
||||
startTime: number | null
|
||||
currentEntryId: string | null
|
||||
description: string
|
||||
client: string
|
||||
project: string
|
||||
}
|
||||
|
||||
export interface Settings {
|
||||
hourlyRate: number
|
||||
defaultClient: string
|
||||
defaultProject: string
|
||||
userName: string
|
||||
userEmail: string
|
||||
logoDataUrl: string
|
||||
currency: string
|
||||
}
|
||||
|
||||
export const DEFAULT_SETTINGS: Settings = {
|
||||
hourlyRate: 50,
|
||||
defaultClient: 'Client',
|
||||
defaultProject: 'Project',
|
||||
userName: 'Your Name',
|
||||
userEmail: 'you@example.com',
|
||||
logoDataUrl: '',
|
||||
currency: '$',
|
||||
}
|
||||
Reference in New Issue
Block a user