mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-23 03:07:25 +02:00
⬆️ Upgrade to biome 2 (#1825)
This commit is contained in:
parent
56c74d5024
commit
9be12f28d9
141 changed files with 663 additions and 790 deletions
|
@ -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 }),
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue