Skip to content

Commit

Permalink
fix(lobbies.config): rename imports & avoid collision
Browse files Browse the repository at this point in the history
  • Loading branch information
ABCxFF authored and NathanFlurry committed Sep 27, 2024
1 parent 88d4d62 commit ce152fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/lobbies/config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { CaptchaProvider } from "../captcha/utils/types.ts";
import { BackendLocalDevelopmentConfig, BackendLocalDevelopmentConfigPort } from "./utils/lobby/backend/local_development.ts";
import { BackendServerConfig } from "./utils/lobby/backend/server.ts";
import { BackendTestConfig } from "./utils/lobby/backend/test.ts";

import type { CaptchaProvider as ExternalCaptchaProvider } from "../captcha/utils/types.ts";

export interface Config {
lobbies: LobbyConfig;
lobbyRules: LobbyRule[];
Expand All @@ -15,7 +16,7 @@ export interface Config {
captcha?: CaptchaConfig | null;
}

export type CaptchaProvider = CaptchaProvider;
export type CaptchaProvider = ExternalCaptchaProvider;

export interface CaptchaConfig {
provider: CaptchaProvider;
Expand Down

0 comments on commit ce152fa

Please sign in to comment.