mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 00:40:58 +01:00
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
|
||||
component={Link}
|
||||
href={`/manage/users/${session.data?.user.id}`}
|
||||
href={`/manage/users/${session.data?.user?.id}`}
|
||||
leftSection={<IconSettings size="1rem" />}
|
||||
>
|
||||
{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 { 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 {
|
||||
user: {
|
||||
id: string;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@homarr/db": "workspace:^0.1.0",
|
||||
"@auth/core": "^0.31.0",
|
||||
"@auth/core": "^0.32.0",
|
||||
"@auth/drizzle-adapter": "^1.2.0",
|
||||
"@t3-oss/env-nextjs": "^0.10.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 = (
|
||||
| {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Session } from "@auth/core/types";
|
||||
import type { Session } from "next-auth";
|
||||
import { describe, expect, test } from "vitest";
|
||||
|
||||
import { getPermissionsWithChildren } from "@homarr/definitions";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { randomUUID } from "crypto";
|
||||
import type { Session } from "@auth/core/types";
|
||||
import type { Session } from "next-auth";
|
||||
|
||||
import type { Database } from "@homarr/db";
|
||||
|
||||
|
||||
4
pnpm-lock.yaml
generated
4
pnpm-lock.yaml
generated
@@ -477,8 +477,8 @@ importers:
|
||||
packages/auth:
|
||||
dependencies:
|
||||
'@auth/core':
|
||||
specifier: ^0.31.0
|
||||
version: 0.31.0
|
||||
specifier: ^0.32.0
|
||||
version: 0.32.0
|
||||
'@auth/drizzle-adapter':
|
||||
specifier: ^1.2.0
|
||||
version: 1.2.0
|
||||
|
||||
Reference in New Issue
Block a user