Files
dash/backend/service/dataStore.go
Martin Pander 8addda35ea V2
2023-12-09 19:34:45 +01:00

28 lines
670 B
Go

package service
import (
"time"
)
type DataStore interface {
WriteJournalEntry(interface{}) error
GetJournalEntryForDate(time.Time) (interface{}, error)
WritePlanDay(interface{}) error
GetPlanDayForDate(time.Time) (interface{}, error)
WritePlanWeek(interface{}) error
GetPlanWeekForDate(time.Time) (interface{}, error)
WritePlanMonth(interface{}) error
GetPlanMonthForDate(time.Time) (interface{}, error)
WriteTrackingItems(interface{}) error
GetTrackingItemsForDate(time.Time) (interface{}, error)
GetTrackingCategories() (interface{}, error)
WriteInboxItem(interface{}) error
DeleteInboxItem(int32) error
GetInboxItems() ([]interface{}, error)
}