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:
parent
b2c24a0438
commit
f88ca57d97
39 changed files with 382 additions and 320 deletions
|
|
@ -51,7 +51,7 @@ import { onMounted, ref } from "vue";
|
|||
import { useSessionStore } from "@/store/session";
|
||||
import { useUserStore } from "@/store/user";
|
||||
import UserSelector from "@/components/UserSelector.vue";
|
||||
import type { Session, User } from "@/types";
|
||||
import type { Session, User } from "@/type/api";
|
||||
|
||||
const session = useSessionStore();
|
||||
const user = useUserStore();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue