forked from mirrors/homebox
chore: bump deps (#810)
* bump prettier/eslint-plugin * bump nuxt pwa * use typed imports * set vue version to fix layout errors * disable import
This commit is contained in:
parent
be2910e0df
commit
b77c9be36f
56 changed files with 6562 additions and 320 deletions
|
@ -1,7 +1,7 @@
|
|||
import { CookieRef } from "nuxt/app";
|
||||
import { PublicApi } from "~~/lib/api/public";
|
||||
import { UserOut } from "~~/lib/api/types/data-contracts";
|
||||
import { UserClient } from "~~/lib/api/user";
|
||||
import type { CookieRef } from "nuxt/app";
|
||||
import type { PublicApi } from "~~/lib/api/public";
|
||||
import type { UserOut } from "~~/lib/api/types/data-contracts";
|
||||
import type { UserClient } from "~~/lib/api/user";
|
||||
|
||||
export interface IAuthContext {
|
||||
get token(): boolean | null;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { UseConfirmDialogRevealResult, UseConfirmDialogReturn } from "@vueuse/core";
|
||||
import { Ref } from "vue";
|
||||
import type { UseConfirmDialogRevealResult, UseConfirmDialogReturn } from "@vueuse/core";
|
||||
import type { Ref } from "vue";
|
||||
|
||||
type Store = UseConfirmDialogReturn<any, boolean, boolean> & {
|
||||
text: Ref<string>;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { ItemSummary, LabelSummary, LocationSummary } from "~~/lib/api/types/data-contracts";
|
||||
import { UserClient } from "~~/lib/api/user";
|
||||
import type { ItemSummary, LabelSummary, LocationSummary } from "~~/lib/api/types/data-contracts";
|
||||
import type { UserClient } from "~~/lib/api/user";
|
||||
|
||||
type SearchOptions = {
|
||||
immediate?: boolean;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Ref } from "vue";
|
||||
import { TreeItem } from "~~/lib/api/types/data-contracts";
|
||||
import type { Ref } from "vue";
|
||||
import type { TreeItem } from "~~/lib/api/types/data-contracts";
|
||||
|
||||
export interface FlatTreeItem {
|
||||
id: string;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { WritableComputedRef } from "vue";
|
||||
import type { WritableComputedRef } from "vue";
|
||||
|
||||
export function useMinLoader(ms = 500): WritableComputedRef<boolean> {
|
||||
const loading = ref(false);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Ref } from "vue";
|
||||
import { DaisyTheme } from "~~/lib/data/themes";
|
||||
import type { Ref } from "vue";
|
||||
import type { DaisyTheme } from "~~/lib/data/themes";
|
||||
|
||||
export type ViewType = "table" | "card" | "tree";
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { useRouteQuery as useRouteQueryBase } from "@vueuse/router";
|
||||
|
||||
/* eslint no-redeclare: 0 */
|
||||
import { WritableComputedRef } from "vue";
|
||||
import type { WritableComputedRef } from "vue";
|
||||
|
||||
export function useRouteQuery(q: string, def: string[]): WritableComputedRef<string[]>;
|
||||
export function useRouteQuery(q: string, def: string): WritableComputedRef<string>;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { ComputedRef } from "vue";
|
||||
import { DaisyTheme } from "~~/lib/data/themes";
|
||||
import type { ComputedRef } from "vue";
|
||||
import type { DaisyTheme } from "~~/lib/data/themes";
|
||||
|
||||
export interface UseTheme {
|
||||
theme: ComputedRef<DaisyTheme>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue