diff --git a/public/record.html b/public/record.html index bfa1d5d..ba85b47 100644 --- a/public/record.html +++ b/public/record.html @@ -38,6 +38,8 @@

New Activity

diff --git a/public/scripts/api/activities.js b/public/scripts/api/activities.js index 147ea80..d4dec2f 100644 --- a/public/scripts/api/activities.js +++ b/public/scripts/api/activities.js @@ -1,7 +1,9 @@ import {BASE_ACTIVITIES_URL, STATUS, Result} from "./main.js"; export const ActivitType = { - PushUps: "PushUps" + PushUps: "PushUps", + Bicycling: "Bicycling", + Runngin: "Running", } export class Activity { diff --git a/src/activity.rs b/src/activity.rs index ba7f9bd..9d1df74 100644 --- a/src/activity.rs +++ b/src/activity.rs @@ -4,6 +4,8 @@ use sqlx::{Decode, FromRow}; #[derive(Clone, Debug, Deserialize, Serialize, sqlx::Type)] pub enum ActivityType { + Running, + Bicycling, PushUps, }