mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 15:05:38 -04:00
(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:
parent
d6fa269699
commit
be8f41b96b
10
server/global.d.ts → shared/types/express.d.ts
vendored
10
server/global.d.ts → shared/types/express.d.ts
vendored
@ -1,7 +1,5 @@
|
|||||||
import type { LocaleDescription } from '../locale/locales.ts';
|
import type { LocaleDescription } from '~~/locale/locales.ts';
|
||||||
|
import type { Database } from '~~/server/db.ts';
|
||||||
import type { Database } from './db.ts';
|
|
||||||
|
|
||||||
import type { PermissionArea } from '~~/shared/helpers.ts';
|
import type { PermissionArea } from '~~/shared/helpers.ts';
|
||||||
import type { User } from '~~/shared/user.ts';
|
import type { User } from '~~/shared/user.ts';
|
||||||
|
|
||||||
@ -16,10 +14,6 @@ declare global {
|
|||||||
locales: Record<string, LocaleDescription>;
|
locales: Record<string, LocaleDescription>;
|
||||||
db: Database;
|
db: Database;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Response {
|
|
||||||
spa?: boolean;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user