Update dependencies, fix (auto)import problems
This commit is contained in:
parent
267a83d484
commit
1d893c4a78
40 changed files with 5166 additions and 3047 deletions
|
@ -1,14 +1,14 @@
|
|||
<script setup lang="ts">
|
||||
/* global $fetch */
|
||||
import { useRoute, useFetch, createError } from "nuxt/app";
|
||||
import { ref, Ref } from "vue";
|
||||
import { ref, type Ref } from "vue";
|
||||
|
||||
import { VBtn, VForm } from "vuetify/components";
|
||||
import PagedList from "~/components/pagedList.vue";
|
||||
import Snowflake from "~/utils/snowflake";
|
||||
import { client as clientType, order, orderSummary } from "~/utils/types/database";
|
||||
import OrderView from "~/components/orderView.vue";
|
||||
import EntryEditor, { fieldDefinition } from "~/components/entryEditor.vue";
|
||||
import EntryEditor, { type fieldDefinition } from "~/components/entryEditor.vue";
|
||||
|
||||
const route = useRoute();
|
||||
const id = route.params.id;
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
<script setup lang="ts">
|
||||
/* global $fetch */
|
||||
import { useFetch, createError, navigateTo, NuxtError, useRoute } from "nuxt/app";
|
||||
import { ref, Ref, reactive } from "vue";
|
||||
import { type NuxtError } from "nuxt/app";
|
||||
import { ref, type Ref, reactive } from "vue";
|
||||
import { VBtn } from "vuetify/components";
|
||||
import { definePageMeta } from "~/.nuxt/imports";
|
||||
|
||||
import { client as clientType } from "~/utils/types/database";
|
||||
import { type client as clientType } from "~/utils/types/database";
|
||||
import pagedTable from "~/components/pagedTable.vue";
|
||||
import Alerts, { AlertData } from "~/components/alerts.vue";
|
||||
import { fieldDefinition } from "~/components/entryEditor.vue";
|
||||
import Alerts, { type AlertData } from "~/components/alerts.vue";
|
||||
import { type fieldDefinition } from "~/components/entryEditor.vue";
|
||||
|
||||
import { useFetch, createError, navigateTo, useRoute, definePageMeta } from "#imports";
|
||||
|
||||
definePageMeta({ middleware: ["auth"] });
|
||||
const route = useRoute();
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
/* global $fetch */
|
||||
import { ref } from 'vue';
|
||||
import { NuxtError, navigateTo, useFetch } from 'nuxt/app';
|
||||
import { definePageMeta } from '~/.nuxt/imports';
|
||||
import { type NuxtError } from 'nuxt/app';
|
||||
import { navigateTo, useFetch, definePageMeta } from '#imports';
|
||||
|
||||
import EntryEditor, { fieldDefinition } from '~/components/entryEditor.vue';
|
||||
import Alerts, { AlertData } from '~/components/alerts.vue';
|
||||
import EntryEditor, { type fieldDefinition } from '~/components/entryEditor.vue';
|
||||
import Alerts, { type AlertData } from '~/components/alerts.vue';
|
||||
|
||||
const editorFields: Array<fieldDefinition> = [
|
||||
{ key: "username", type: "text", label: "Username", optional: false },
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { navigateTo } from 'nuxt/app';
|
||||
import { navigateTo } from '#imports';
|
||||
|
||||
navigateTo("/clients");
|
||||
</script>
|
||||
|
|
|
@ -2,9 +2,8 @@
|
|||
/* global $fetch */
|
||||
import { ref, watch } from "vue";
|
||||
import { VForm } from "vuetify/components";
|
||||
import { navigateTo, useCookie, useFetch, useRoute } from "nuxt/app";
|
||||
import { cookieSettings } from "~/utils/cookieSettings";
|
||||
import { definePageMeta } from "~/.nuxt/imports";
|
||||
import { definePageMeta, navigateTo, useCookie, useFetch, useRoute } from "#imports";
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue