|
|
@ -9,6 +9,7 @@ import requestIp from 'request-ip'; |
|
|
|
import cookieParser from 'cookie-parser'; |
|
|
|
import cookieParser from 'cookie-parser'; |
|
|
|
import { T } from 'nc-help'; |
|
|
|
import { T } from 'nc-help'; |
|
|
|
import { v4 as uuidv4 } from 'uuid'; |
|
|
|
import { v4 as uuidv4 } from 'uuid'; |
|
|
|
|
|
|
|
import dotenv from 'dotenv'; |
|
|
|
import { AppModule } from './app.module'; |
|
|
|
import { AppModule } from './app.module'; |
|
|
|
import { NC_LICENSE_KEY } from './constants'; |
|
|
|
import { NC_LICENSE_KEY } from './constants'; |
|
|
|
import Store from './models/Store'; |
|
|
|
import Store from './models/Store'; |
|
|
@ -17,6 +18,8 @@ import type { IEventEmitter } from './modules/event-emitter/event-emitter.interf |
|
|
|
import type { Express } from 'express'; |
|
|
|
import type { Express } from 'express'; |
|
|
|
import type * as http from 'http'; |
|
|
|
import type * as http from 'http'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dotenv.config(); |
|
|
|
|
|
|
|
|
|
|
|
export default class Noco { |
|
|
|
export default class Noco { |
|
|
|
private static _this: Noco; |
|
|
|
private static _this: Noco; |
|
|
|
private static ee: boolean; |
|
|
|
private static ee: boolean; |
|
|
|