forked from noxious/server
Updated tsconfig.json and edited all required files to work with it
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import cors from 'cors'
|
||||
import { Application } from 'express'
|
||||
|
||||
import type { Application } from 'express'
|
||||
|
||||
import config from '#application/config'
|
||||
import { AuthController } from '#controllers/auth'
|
||||
|
@ -1,5 +1,6 @@
|
||||
import type { UUID } from '#application/types'
|
||||
|
||||
import Logger, { LoggerType } from '#application/logger'
|
||||
import { UUID } from '#application/types'
|
||||
import { Map } from '#entities/map'
|
||||
import LoadedMap from '#models/loadedMap'
|
||||
import MapCharacter from '#models/mapCharacter'
|
||||
|
@ -4,10 +4,11 @@ import { Job, Queue, Worker } from 'bullmq'
|
||||
import IORedis from 'ioredis'
|
||||
import { Server as SocketServer } from 'socket.io'
|
||||
|
||||
import type { TSocket } from '#application/types'
|
||||
|
||||
import config from '#application/config'
|
||||
import Logger, { LoggerType } from '#application/logger'
|
||||
import Storage from '#application/storage'
|
||||
import { TSocket } from '#application/types'
|
||||
import SocketManager from '#managers/socketManager'
|
||||
|
||||
class QueueManager {
|
||||
|
@ -2,12 +2,13 @@ import fs from 'fs'
|
||||
import { Server as HTTPServer } from 'http'
|
||||
import { pathToFileURL } from 'url'
|
||||
|
||||
import { Application } from 'express'
|
||||
import { Server as SocketServer } from 'socket.io'
|
||||
|
||||
import type { TSocket, UUID } from '#application/types'
|
||||
import type { Application } from 'express'
|
||||
|
||||
import Logger, { LoggerType } from '#application/logger'
|
||||
import Storage from '#application/storage'
|
||||
import { TSocket, UUID } from '#application/types'
|
||||
import { Authentication } from '#middleware/authentication'
|
||||
|
||||
class SocketManager {
|
||||
|
Reference in New Issue
Block a user