⬆️ Upgrade to biome 2 (#1825)

This commit is contained in:
Luke Vella 2025-07-15 11:18:28 +01:00 committed by GitHub
parent 56c74d5024
commit 9be12f28d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
141 changed files with 663 additions and 790 deletions

View file

@ -1,9 +1,8 @@
import { faker } from "@faker-js/faker";
import type { ScheduledEventInviteStatus } from "@prisma/client";
import { ScheduledEventStatus } from "@prisma/client"; // Ensure Prisma is imported
import dayjs from "dayjs";
import { prisma } from "@rallly/database";
import dayjs from "dayjs";
import { randInt } from "./utils";
// Realistic event titles and descriptions
@ -155,7 +154,7 @@ export async function seedScheduledEvents(userId: string) {
throw new Error(`No space found for user ${userId}`);
}
const eventPromises = Array.from({ length: 15 }).map((_, i) =>
const eventPromises = Array.from({ length: 15 }).map(() =>
createScheduledEventForUser({ userId, spaceId: space.id }),
);