From 48f9e8b0de151edcf49903277d714d939f0b3d8f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 26 Aug 2024 23:22:02 -0700 Subject: more ts housekeeping --- lib/sockets.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib/sockets.ts') diff --git a/lib/sockets.ts b/lib/sockets.ts index 0391a07a..6ac75cb8 100644 --- a/lib/sockets.ts +++ b/lib/sockets.ts @@ -1,16 +1,12 @@ -import config from "$config"; import store from "$lib/store"; import jwt from "jsonwebtoken"; import { v4 } from "uuid"; -import whitelist from "$lib/whitelist"; -import { l, err, warn } from "$lib/logging"; -import { g } from "$lib/db"; -import { fail, getUser, pick } from "$lib/utils"; +import { err, warn } from "$lib/logging"; +import { fail, getUser } from "$lib/utils"; const code = 1000; const all = {}; const subscriptions = []; -const lastSeen = {}; const users = {}; export const emit = (uid, type, data) => { -- cgit v1.2.3