Skip to content

armgit / lyftr

Public Imported from GitHub
0

Self-hosted fitness tracker. Log workouts, track nutrition, and monitor progress. Docker deployment, mobile-friendly.

1.8 KB
Raw Blame
// @lyftr/shared — platform-agnostic core shared by the web and mobile apps.
// Contains: domain types, the storage-injected API client, Zustand store factories,
// and pure utilities. NO UI and NO platform APIs (storage is injected).

export * from './types'
// Also grouped under a `types` namespace. Mobile imports domain types by name; web
// reads them as `types.Workout` at ~28 call sites. Both spellings resolve to the same
// declarations, so neither app has to adopt the other's import style to share them.
export * as types from './types'
export * from './storage'
export * from './client'
export * from './utils/serverUrl'
export * from './utils/networkError'
export * from './utils/weight'
export * from './utils/number'
export * from './utils/workoutSets'
export * from './utils/macroColors'
export * from './utils/exerciseUtils'
export * from './utils/filters'
export * from './utils/workout'
export * from './utils/programDrafts'
export * from './utils/food'
export * from './utils/dashboard'
export * from './utils/version'
export * from './utils/passwordRules'
export * from './utils/profile'
export * from './theme/tokens'
export * from './hooks/useAsyncAction'
export * from './hooks/useCountdown'
export * from './hooks/useNumericText'
export * from './hooks/useElapsedSeconds'
export * from './hooks/useRestTimer'
export * from './hooks/useDisplayName'
export * from './hooks/useServerList'
export * from './hooks/useServerInfo'
export * from './hooks/useFavorites'
export * from './hooks/useFoodAmount'
export * from './utils/dateUtils'
export * from './brand/barbell'
export * from './utils/programUtils'
export * from './stores/auth'
export * from './stores/server'
export * from './stores/settings'
export * from './stores/theme'
export * from './stores/language'
export * from './i18n'
export * from './stores/workoutSession'
export * from './brand/barbell'