chore: fix linting issues

Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
This commit is contained in:
Adithya Krishna
2024-05-09 12:35:58 +05:30
parent 3c23624fdb
commit 2336e70495
14 changed files with 18 additions and 15 deletions

View File

@ -1,6 +1,6 @@
import { z } from 'zod';
import { User } from '@documenso/prisma/client';
import type { User } from '@documenso/prisma/client';
import { DOCUMENSO_ENCRYPTION_KEY } from '../../constants/crypto';
import { symmetricDecrypt } from '../../universal/crypto';

View File

@ -1,4 +1,4 @@
import { User } from '@documenso/prisma/client';
import type { User } from '@documenso/prisma/client';
import { getBackupCodes } from './get-backup-code';

View File

@ -1,5 +1,5 @@
import { NextApiResponse } from 'next';
import { NextResponse } from 'next/server';
import type { NextApiResponse } from 'next';
import type { NextResponse } from 'next/server';
type NarrowedResponse<T> = T extends NextResponse
? NextResponse

View File

@ -1,7 +1,7 @@
import crypto from 'crypto';
import { prisma } from '@documenso/prisma';
import { TForgotPasswordFormSchema } from '@documenso/trpc/server/profile-router/schema';
import type { TForgotPasswordFormSchema } from '@documenso/trpc/server/profile-router/schema';
import { ONE_DAY, ONE_HOUR } from '../../constants/time';
import { sendForgotPassword } from '../auth/send-forgot-password';