Fix import statements

Remove unused or unneeded imports and change imports of luxon APIs to
use the wrapper.
This commit is contained in:
Hornwitser 2025-06-23 12:48:09 +02:00
parent 87525a6ef5
commit b1053a95ba
14 changed files with 13 additions and 20 deletions

View file

@ -1,6 +1,6 @@
import { readSchedule, ServerUser, writeSchedule } from '~/server/database';
import { readSchedule, type ServerUser, writeSchedule } from '~/server/database';
import { broadcastEvent } from '~/server/streams';
import type { ApiAccount, ApiSchedule } from '~/shared/types/api';
import type { ApiSchedule } from '~/shared/types/api';
export async function updateScheduleInterestedCounts(users: ServerUser[]) {
const eventCounts = new Map<number, number>();