Commit 0169d79a authored by nanahira's avatar nanahira

fix

parent d010ee4f
Pipeline #43386 passed with stages
in 2 minutes and 10 seconds
...@@ -12,6 +12,8 @@ import { ...@@ -12,6 +12,8 @@ import {
Tournament, Tournament,
} from './challonge-api'; } from './challonge-api';
import { LockDeckExpectedDeckCheck } from './lock-deck'; import { LockDeckExpectedDeckCheck } from './lock-deck';
import { ClientRoomField } from '../utility';
import { Client } from '../client';
export type ChallongeParticipantUpload = { export type ChallongeParticipantUpload = {
name: string; name: string;
...@@ -57,6 +59,8 @@ declare module '../client' { ...@@ -57,6 +59,8 @@ declare module '../client' {
} }
} }
ClientRoomField()(Client.prototype, 'challongeInfo');
declare module '../room' { declare module '../room' {
interface Room { interface Room {
challongeInfo?: Match; challongeInfo?: Match;
......
...@@ -17,6 +17,7 @@ import { ValueContainer } from '../../utility/value-container'; ...@@ -17,6 +17,7 @@ import { ValueContainer } from '../../utility/value-container';
import { pickRandom } from '../../utility/pick-random'; import { pickRandom } from '../../utility/pick-random';
import { BaseResourceProvider } from './base-resource-provider'; import { BaseResourceProvider } from './base-resource-provider';
import { DialoguesData, EMPTY_DIALOGUES_DATA } from './types'; import { DialoguesData, EMPTY_DIALOGUES_DATA } from './types';
import { ClientRoomField } from '../../utility';
export class DialoguesLookup extends ValueContainer<string[]> { export class DialoguesLookup extends ValueContainer<string[]> {
constructor( constructor(
...@@ -159,3 +160,5 @@ declare module '../../client' { ...@@ -159,3 +160,5 @@ declare module '../../client' {
readyTrap?: boolean; readyTrap?: boolean;
} }
} }
ClientRoomField()(Client.prototype, 'readyTrap');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment