import { defineStore } from "pinia";
import { ref, shallowRef } from "vue";
import { Brand, Model } from "../types/entry";
import {
EurotaxBrand,
EurotaxModel,
EurotaxVersion,
EurotaxEquipment,
} from "../types/eurotax";
import { useConfigStore } from "./useConfigStore";
import { joinPath } from "../helpers";
import useFetch from "../composables/useFetch";
import { Option } from "../components/form/SelectField.vue";
const configStore = useConfigStore();
export const useEntryStore = defineStore("entry", () => {
const entryTypes = shallowRef