Migrate existing ts types from the API into the API module

This makes it possible to start hydrating the types into valid data
types like Dates which means I can get type safety guarantees when
displaying information.
This commit is contained in:
Eli Ribble 2026-04-09 00:25:21 +00:00
parent b2c24a0438
commit f88ca57d97
No known key found for this signature in database
39 changed files with 382 additions and 320 deletions

View file

@ -160,7 +160,7 @@
import { computed, onMounted } from "vue";
import TimeRelative from "@/components/TimeRelative.vue";
import { useUploadStore } from "@/store/upload";
import { Upload } from "@/types";
import { Upload } from "@/type/api";
const uploadStore = useUploadStore();
const uploads = computed((): Upload[] | null => {