feat(user-agreement): implement user agreement upload functionality and update related components

This commit is contained in:
2025-07-25 10:39:15 +05:00
parent 5fda723653
commit c2578f1c8f
9 changed files with 190 additions and 6 deletions

4
app/next-auth.d.ts vendored
View File

@ -1,6 +1,7 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
// @ts-expect-error importing unused types are required here
import NextAuth, { DefaultSession, type User, Session } from "next-auth";
import NextAuth, { DefaultSession, Session, type User } from "next-auth";
/* eslint-enable @typescript-eslint/no-unused-vars */
declare module "next-auth" {
/**
@ -26,6 +27,7 @@ declare module "next-auth" {
date_joined?: string;
is_superuser?: boolean;
is_admin?: boolean;
agreement?: string;
};
expires: ISODateString;
}