(nuxt) move ~~/types directory to ~~/shared/types

according to https://nuxt.com/docs/4.x/guide/directory-structure/shared#how-files-are-scanned standard
This commit is contained in:
Valentyne Stigloher 2025-07-29 17:42:41 +02:00
parent d6fa269699
commit be8f41b96b
17 changed files with 2 additions and 8 deletions

View File

@ -1,7 +1,5 @@
import type { LocaleDescription } from '../locale/locales.ts';
import type { Database } from './db.ts';
import type { LocaleDescription } from '~~/locale/locales.ts';
import type { Database } from '~~/server/db.ts';
import type { PermissionArea } from '~~/shared/helpers.ts';
import type { User } from '~~/shared/user.ts';
@ -16,10 +14,6 @@ declare global {
locales: Record<string, LocaleDescription>;
db: Database;
}
export interface Response {
spa?: boolean;
}
}
}