Skip to content

Commit

Permalink
Add raw database types
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavb committed Jul 15, 2024
1 parent d170762 commit 118621f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions JimBroBot/Data.fs
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
module JimBroBot.Data

open System

type BotUser = { Id: uint32; DiscordId: string }

type Exercise =
{ Id: uint32
Name: string
Type: string
BotUserId: uint32 }

type ExerciseLog =
{ Id: uint32
ExerciseId: uint32
LogDate: DateOnly }

type AllSetDetail = { Id: uint32 }

type SetExerciseDetail =
{ Id: uint32
Reps: uint32
Weight: double
IsWarmup: bool
SequenceOrder: uint32 }

type SpeedExerciseDetail =
{ Id: uint32
DurationSec: uint32
DistanceMiles: double }

type TimeExerciseDetail = { Id: uint32; DurationSec: uint32 }

0 comments on commit 118621f

Please sign in to comment.