fix(deps): update dependency @auth/core to ^0.31.0 (#473)

* fix(deps): update dependency @auth/core to ^0.31.0

* fix: typecheck issue

* fix: more issues with types

* fix: add newest next-auth beta version as types were changed and depend on each other

* fix: format issues

---------

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2024-05-11 22:44:00 +02:00
committed by GitHub
parent 99114f0727
commit 95ddd03763
4 changed files with 37 additions and 13 deletions

View File

@@ -4,9 +4,9 @@ import type { GroupPermissionKey } from "@homarr/definitions";
import { createConfiguration } from "./configuration";
export type { Session } from "next-auth";
export type { Session } from "@auth/core/types";
declare module "next-auth" {
declare module "@auth/core/types" {
interface Session {
user: {
id: string;

View File

@@ -22,13 +22,13 @@
},
"dependencies": {
"@homarr/db": "workspace:^0.1.0",
"@auth/core": "^0.30.0",
"@auth/core": "^0.31.0",
"@auth/drizzle-adapter": "^1.0.1",
"@t3-oss/env-nextjs": "^0.10.1",
"bcrypt": "^5.1.1",
"cookies": "^0.9.1",
"next": "^14.2.3",
"next-auth": "5.0.0-beta.17",
"next-auth": "5.0.0-beta.18",
"react": "18.3.1",
"react-dom": "18.3.1"
},

View File

@@ -1,5 +1,5 @@
import { randomUUID } from "crypto";
import type { Session } from "next-auth";
import type { Session } from "@auth/core/types";
import type { Database } from "@homarr/db";