mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-08 14:58:12 +03:00
Everytime I run this import cleaner it does different things I swear.
This commit is contained in:
Vendored
-1
@@ -1,5 +1,4 @@
|
||||
import t from "tap";
|
||||
|
||||
import ResetDBState from "test-utils/resets";
|
||||
import db from "./db";
|
||||
|
||||
|
||||
Vendored
+4
-4
@@ -1,11 +1,11 @@
|
||||
/* eslint-disable no-await-in-loop */
|
||||
import monk, { IMonkManager } from "monk";
|
||||
import { IndexOptions } from "mongodb";
|
||||
import { ONE_DAY } from "lib/constants/time";
|
||||
import CreateLogCtx from "lib/logger/logger";
|
||||
import { TachiConfig } from "lib/setup/config";
|
||||
import { ONE_DAY } from "lib/constants/time";
|
||||
import db, { Databases, monkDB } from "./db";
|
||||
import { IndexOptions } from "mongodb";
|
||||
import monk, { IMonkManager } from "monk";
|
||||
import { Random20Hex } from "utils/misc";
|
||||
import db, { Databases, monkDB } from "./db";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
Vendored
+6
-6
@@ -1,18 +1,18 @@
|
||||
import { TachiConfig } from "lib/setup/config";
|
||||
import p, { PrudenceSchema } from "prudence";
|
||||
import { AllPermissions } from "server/middleware/auth";
|
||||
import {
|
||||
Game,
|
||||
GamePTConfig,
|
||||
GetGameConfig,
|
||||
GetGamePTConfig,
|
||||
Playtypes,
|
||||
UserAuthLevels,
|
||||
GamePTConfig,
|
||||
GetGameConfig,
|
||||
} from "tachi-common";
|
||||
import { allIDStrings, allImportTypes } from "tachi-common/js/config/static-config";
|
||||
import p, { PrudenceSchema } from "prudence";
|
||||
import { Databases } from "./db";
|
||||
import { AllPermissions } from "server/middleware/auth";
|
||||
import { TachiConfig } from "lib/setup/config";
|
||||
import { IsValidGame, IsValidPlaytype } from "utils/misc";
|
||||
import { optNull } from "utils/prudence";
|
||||
import { Databases } from "./db";
|
||||
|
||||
// The idea of this file is to export a function for every database
|
||||
// that will validate that collection.
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
import redis from "redis";
|
||||
import CreateLogCtx from "lib/logger/logger";
|
||||
import { ServerConfig, TachiConfig } from "lib/setup/config";
|
||||
import { TachiConfig } from "lib/setup/config";
|
||||
import redis from "redis";
|
||||
|
||||
/**
|
||||
* This code has been stubbed out! It doesn't really have a use at the moment.
|
||||
|
||||
Reference in New Issue
Block a user