fix(deps): update dependency @auth/core to ^0.32.0 (#603)
* fix(deps): update dependency @auth/core to ^0.32.0 * fix(deps): update dependency @auth/core to ^0.32.0 * fix: type issues with next-auth types --------- 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:
committed by
GitHub
parent
869efbc638
commit
dc3b00736e
@@ -72,7 +72,7 @@ export const UserAvatarMenu = ({ children }: UserAvatarMenuProps) => {
|
|||||||
<>
|
<>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
component={Link}
|
component={Link}
|
||||||
href={`/manage/users/${session.data?.user.id}`}
|
href={`/manage/users/${session.data?.user?.id}`}
|
||||||
leftSection={<IconSettings size="1rem" />}
|
leftSection={<IconSettings size="1rem" />}
|
||||||
>
|
>
|
||||||
{t("preferences")}
|
{t("preferences")}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
import type { DefaultSession } from "@auth/core/types";
|
import type { DefaultSession } from "next-auth";
|
||||||
|
|
||||||
import type { GroupPermissionKey } from "@homarr/definitions";
|
import type { GroupPermissionKey } from "@homarr/definitions";
|
||||||
|
|
||||||
import { createConfiguration } from "./configuration";
|
import { createConfiguration } from "./configuration";
|
||||||
|
|
||||||
export type { Session } from "@auth/core/types";
|
export type { Session } from "next-auth";
|
||||||
|
|
||||||
declare module "@auth/core/types" {
|
declare module "next-auth" {
|
||||||
interface Session {
|
interface Session {
|
||||||
user: {
|
user: {
|
||||||
id: string;
|
id: string;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@homarr/db": "workspace:^0.1.0",
|
"@homarr/db": "workspace:^0.1.0",
|
||||||
"@auth/core": "^0.31.0",
|
"@auth/core": "^0.32.0",
|
||||||
"@auth/drizzle-adapter": "^1.2.0",
|
"@auth/drizzle-adapter": "^1.2.0",
|
||||||
"@t3-oss/env-nextjs": "^0.10.1",
|
"@t3-oss/env-nextjs": "^0.10.1",
|
||||||
"bcrypt": "^5.1.1",
|
"bcrypt": "^5.1.1",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { Session } from "@auth/core/types";
|
import type { Session } from "next-auth";
|
||||||
|
|
||||||
export type BoardPermissionsProps = (
|
export type BoardPermissionsProps = (
|
||||||
| {
|
| {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { Session } from "@auth/core/types";
|
import type { Session } from "next-auth";
|
||||||
import { describe, expect, test } from "vitest";
|
import { describe, expect, test } from "vitest";
|
||||||
|
|
||||||
import { getPermissionsWithChildren } from "@homarr/definitions";
|
import { getPermissionsWithChildren } from "@homarr/definitions";
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { randomUUID } from "crypto";
|
import { randomUUID } from "crypto";
|
||||||
import type { Session } from "@auth/core/types";
|
import type { Session } from "next-auth";
|
||||||
|
|
||||||
import type { Database } from "@homarr/db";
|
import type { Database } from "@homarr/db";
|
||||||
|
|
||||||
|
|||||||
4
pnpm-lock.yaml
generated
4
pnpm-lock.yaml
generated
@@ -477,8 +477,8 @@ importers:
|
|||||||
packages/auth:
|
packages/auth:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@auth/core':
|
'@auth/core':
|
||||||
specifier: ^0.31.0
|
specifier: ^0.32.0
|
||||||
version: 0.31.0
|
version: 0.32.0
|
||||||
'@auth/drizzle-adapter':
|
'@auth/drizzle-adapter':
|
||||||
specifier: ^1.2.0
|
specifier: ^1.2.0
|
||||||
version: 1.2.0
|
version: 1.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user