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