This commit is contained in:
NK 2023-04-30 18:56:57 +01:00
parent 9b97df8649
commit 948f36fe6a
9 changed files with 10 additions and 9 deletions

View file

@ -1,6 +1,6 @@
import axios from "axios"; import axios from "axios";
import { CathError } from "../Error/CathError"; import { CathError } from "../Error/CathError";
import config from "../"; import { config } from "../";
import { PerkData, ScorestreakData } from "./codmclient.interface"; import { PerkData, ScorestreakData } from "./codmclient.interface";
/** /**
* @name APIClient * @name APIClient

View file

@ -1,5 +1,5 @@
import axios from "axios"; import axios from "axios";
import config from "../"; import { config } from "../";
import { CodeData } from "./codeclient.interface"; import { CodeData } from "./codeclient.interface";
import { CathError } from "../Error/CathError"; import { CathError } from "../Error/CathError";
/** /**

View file

@ -1,4 +1,4 @@
import config from "../"; import { config } from "../";
/** /**
* @name ImageClient * @name ImageClient
* @kind constructor * @kind constructor

View file

@ -1,5 +1,5 @@
import axios from "axios"; import axios from "axios";
import config from "../"; import { config } from "../";
import { URLData } from "./urlclient.interface"; import { URLData } from "./urlclient.interface";
import { CathError } from "../Error/CathError"; import { CathError } from "../Error/CathError";
/** /**

View file

@ -1,5 +1,5 @@
import axios from "axios"; import axios from "axios";
import config from "../"; import { config } from "../";
/** /**
* Sends a 8ball response * Sends a 8ball response
*/ */

View file

@ -1,6 +1,6 @@
import axios from "axios"; import axios from "axios";
import { CathError } from "../Error/CathError"; import { CathError } from "../Error/CathError";
import config from "../"; import { config } from "../";
/** /**
* Dobulestruck words * Dobulestruck words
*/ */

View file

@ -1,6 +1,6 @@
import axios from "axios"; import axios from "axios";
import { CathError } from "../Error/CathError"; import { CathError } from "../Error/CathError";
import config from "../"; import { config } from "../";
/** /**
* Sends a 8ball response * Sends a 8ball response
*/ */

View file

@ -1,6 +1,6 @@
import axios from "axios"; import axios from "axios";
import { CathError } from "../Error/CathError"; import { CathError } from "../Error/CathError";
import config from "../"; import { config } from "../";
/** /**
* Sends a superscript-ed word * Sends a superscript-ed word
*/ */

View file

@ -58,10 +58,11 @@ const config: ConfigURLS = {
code: "https://cdn.night0721.me/api/paste", code: "https://cdn.night0721.me/api/paste",
url: "https://cdn.night0721.me/api/url", url: "https://cdn.night0721.me/api/url",
}; };
export default config;
interface ConfigURLS { interface ConfigURLS {
api: string; api: string;
code: string; code: string;
url: string; url: string;
} }
export { config };