fix types
Gitea Actions Demo / build_and_push (push) Successful in 1m26s Details

This commit is contained in:
artem 2024-09-18 17:15:13 +03:00
parent 752e558843
commit b1a6718e9d
1 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,3 @@
<script setup lang="ts">
</script>
<template>
<h1 class="page-title">Тренировки</h1>
@ -37,7 +34,7 @@
<script setup lang="ts">
import { AxiosResponse, AxiosInstance } from "axios";
import { computed, ref, inject } from 'vue';
import { ref, inject } from 'vue';
import { useToast } from "vuestic-ui/web-components";
@ -48,12 +45,12 @@ type WorkoutItem = {
created_at: string;
updated_at: string;
description: string;
cadence: float;
heart_rate: float;
temperature: float;
speed: float;
power: float;
duraion_sec: int;
cadence: number;
heart_rate: number;
temperature: number;
speed: number;
power: number;
duraion_sec: number;
};
const axiosAuth= inject('axiosAuth') as AxiosInstance;