summary refs log tree commit diff
path: root/src/connections
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections')
-rw-r--r--src/connections/BattleNet/index.ts10
-rw-r--r--src/connections/Discord/index.ts2
-rw-r--r--src/connections/EpicGames/index.ts2
-rw-r--r--src/connections/Facebook/index.ts2
-rw-r--r--src/connections/GitHub/index.ts2
-rw-r--r--src/connections/Reddit/index.ts2
-rw-r--r--src/connections/Spotify/index.ts2
-rw-r--r--src/connections/Twitch/index.ts2
-rw-r--r--src/connections/Twitter/index.ts10
-rw-r--r--src/connections/Xbox/index.ts10
-rw-r--r--src/connections/Youtube/index.ts2
11 files changed, 23 insertions, 23 deletions
diff --git a/src/connections/BattleNet/index.ts b/src/connections/BattleNet/index.ts

index 7edc2e92..65ee8ab9 100644 --- a/src/connections/BattleNet/index.ts +++ b/src/connections/BattleNet/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + Connection, } from "@spacebar/util"; import wretch from "wretch"; -import Connection from "../../util/connections/Connection"; import { BattleNetSettings } from "./BattleNetSettings"; interface BattleNetConnectionUser { @@ -33,10 +33,10 @@ interface BattleNetConnectionUser { battletag: string; } -interface BattleNetErrorResponse { - error: string; - error_description: string; -} +// interface BattleNetErrorResponse { +// error: string; +// error_description: string; +// } export default class BattleNetConnection extends Connection { public readonly id = "battlenet"; diff --git a/src/connections/Discord/index.ts b/src/connections/Discord/index.ts
index 76de33be..098ce999 100644 --- a/src/connections/Discord/index.ts +++ b/src/connections/Discord/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + Connection, } from "@spacebar/util"; import wretch from "wretch"; -import Connection from "../../util/connections/Connection"; import { DiscordSettings } from "./DiscordSettings"; interface UserResponse { diff --git a/src/connections/EpicGames/index.ts b/src/connections/EpicGames/index.ts
index bd7c7eef..8521a6f3 100644 --- a/src/connections/EpicGames/index.ts +++ b/src/connections/EpicGames/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + Connection, } from "@spacebar/util"; import wretch from "wretch"; -import Connection from "../../util/connections/Connection"; import { EpicGamesSettings } from "./EpicGamesSettings"; export interface UserResponse { diff --git a/src/connections/Facebook/index.ts b/src/connections/Facebook/index.ts
index 6ce722dd..f3c16cf0 100644 --- a/src/connections/Facebook/index.ts +++ b/src/connections/Facebook/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + Connection, } from "@spacebar/util"; import wretch from "wretch"; -import Connection from "../../util/connections/Connection"; import { FacebookSettings } from "./FacebookSettings"; export interface FacebookErrorResponse { diff --git a/src/connections/GitHub/index.ts b/src/connections/GitHub/index.ts
index a675873f..101b205c 100644 --- a/src/connections/GitHub/index.ts +++ b/src/connections/GitHub/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + Connection, } from "@spacebar/util"; import wretch from "wretch"; -import Connection from "../../util/connections/Connection"; import { GitHubSettings } from "./GitHubSettings"; interface UserResponse { diff --git a/src/connections/Reddit/index.ts b/src/connections/Reddit/index.ts
index 191c6452..6194d251 100644 --- a/src/connections/Reddit/index.ts +++ b/src/connections/Reddit/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + Connection, } from "@spacebar/util"; import wretch from "wretch"; -import Connection from "../../util/connections/Connection"; import { RedditSettings } from "./RedditSettings"; export interface UserResponse { diff --git a/src/connections/Spotify/index.ts b/src/connections/Spotify/index.ts
index 61b17366..50f14a38 100644 --- a/src/connections/Spotify/index.ts +++ b/src/connections/Spotify/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + RefreshableConnection, } from "@spacebar/util"; import wretch from "wretch"; -import RefreshableConnection from "../../util/connections/RefreshableConnection"; import { SpotifySettings } from "./SpotifySettings"; export interface UserResponse { diff --git a/src/connections/Twitch/index.ts b/src/connections/Twitch/index.ts
index 6d679aa4..f9412a17 100644 --- a/src/connections/Twitch/index.ts +++ b/src/connections/Twitch/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + RefreshableConnection, } from "@spacebar/util"; import wretch from "wretch"; -import RefreshableConnection from "../../util/connections/RefreshableConnection"; import { TwitchSettings } from "./TwitchSettings"; interface TwitchConnectionUserResponse { diff --git a/src/connections/Twitter/index.ts b/src/connections/Twitter/index.ts
index aa48ca12..4526fdf5 100644 --- a/src/connections/Twitter/index.ts +++ b/src/connections/Twitter/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + RefreshableConnection, } from "@spacebar/util"; import wretch from "wretch"; -import RefreshableConnection from "../../util/connections/RefreshableConnection"; import { TwitterSettings } from "./TwitterSettings"; interface TwitterUserResponse { @@ -40,10 +40,10 @@ interface TwitterUserResponse { }; } -interface TwitterErrorResponse { - error: string; - error_description: string; -} +// interface TwitterErrorResponse { +// error: string; +// error_description: string; +// } export default class TwitterConnection extends RefreshableConnection { public readonly id = "twitter"; diff --git a/src/connections/Xbox/index.ts b/src/connections/Xbox/index.ts
index c592fd0b..3df09e27 100644 --- a/src/connections/Xbox/index.ts +++ b/src/connections/Xbox/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + Connection, } from "@spacebar/util"; import wretch from "wretch"; -import Connection from "../../util/connections/Connection"; import { XboxSettings } from "./XboxSettings"; interface XboxUserResponse { @@ -44,10 +44,10 @@ interface XboxUserResponse { }; } -interface XboxErrorResponse { - error: string; - error_description: string; -} +// interface XboxErrorResponse { +// error: string; +// error_description: string; +// } export default class XboxConnection extends Connection { public readonly id = "xbox"; diff --git a/src/connections/Youtube/index.ts b/src/connections/Youtube/index.ts
index f3a43fcc..faab44c5 100644 --- a/src/connections/Youtube/index.ts +++ b/src/connections/Youtube/index.ts
@@ -22,9 +22,9 @@ import { ConnectionCallbackSchema, ConnectionLoader, DiscordApiErrors, + Connection, } from "@spacebar/util"; import wretch from "wretch"; -import Connection from "../../util/connections/Connection"; import { YoutubeSettings } from "./YoutubeSettings"; interface YouTubeConnectionChannelListResult {