use typed imports

This commit is contained in:
Hayden 2024-03-01 11:21:45 -06:00
parent 5440fc60e1
commit 26b17e5cf8
No known key found for this signature in database
GPG key ID: 17CF79474E257545
54 changed files with 80 additions and 77 deletions

View file

@ -1,5 +1,5 @@
import { defineStore } from "pinia";
import { LabelOut } from "~~/lib/api/types/data-contracts";
import type { LabelOut } from "~~/lib/api/types/data-contracts";
export const useLabelStore = defineStore("labels", {
state: () => ({

View file

@ -1,6 +1,6 @@
import { defineStore } from "pinia";
import { LocationsApi } from "~~/lib/api/classes/locations";
import { LocationOutCount, TreeItem } from "~~/lib/api/types/data-contracts";
import type { LocationsApi } from "~~/lib/api/classes/locations";
import type { LocationOutCount, TreeItem } from "~~/lib/api/types/data-contracts";
export const useLocationStore = defineStore("locations", {
state: () => ({