Switched to biome.

This commit is contained in:
Mike Cao 2025-11-20 20:56:16 -08:00
parent abc1b50ad0
commit 15fda927ce
11 changed files with 184 additions and 1167 deletions

View file

@ -1,12 +1,12 @@
import { z } from 'zod';
import { checkAuth } from '@/lib/auth';
import { DEFAULT_PAGE_SIZE, FILTER_COLUMNS } from '@/lib/constants';
import { getAllowedUnits, getMinimumUnit, maxDate, parseDateRange } from '@/lib/date';
import { fetchWebsite } from '@/lib/load';
import { filtersArrayToObject } from '@/lib/params';
import { badRequest, unauthorized } from '@/lib/response';
import { QueryFilters } from '@/lib/types';
import type { QueryFilters } from '@/lib/types';
import { getWebsiteSegment } from '@/queries/prisma';
import { z } from 'zod';
export async function parseRequest(
request: Request,