mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 21:28:27 +02:00
Add option to show wait time in game card
This commit is contained in:
13
src/types/index.d.ts
vendored
13
src/types/index.d.ts
vendored
@@ -25,10 +25,13 @@ interface NavigatorBattery extends Navigator {
|
||||
|
||||
type BxStates = {
|
||||
supportedRegion: boolean;
|
||||
serverRegions: any;
|
||||
selectedRegion: any;
|
||||
gsToken: string;
|
||||
|
||||
|
||||
isPlaying: boolean;
|
||||
appContext: any | null;
|
||||
serverRegions: any;
|
||||
|
||||
browser: {
|
||||
capabilities: {
|
||||
@@ -71,6 +74,8 @@ type BxStates = {
|
||||
type DualEnum = {[index: string]: number} & {[index: number]: string};
|
||||
|
||||
type XcloudTitleInfo = {
|
||||
titleId: string,
|
||||
|
||||
details: {
|
||||
productId: string;
|
||||
supportedInputTypes: InputType[];
|
||||
@@ -88,6 +93,12 @@ type XcloudTitleInfo = {
|
||||
};
|
||||
};
|
||||
|
||||
type XcloudWaitTimeInfo = Partial<{
|
||||
estimatedAllocationTimeInSeconds: number,
|
||||
estimatedProvisioningTimeInSeconds: number,
|
||||
estimatedTotalWaitTimeInSeconds: number,
|
||||
}>;
|
||||
|
||||
declare module '*.js';
|
||||
declare module '*.svg';
|
||||
declare module '*.styl';
|
||||
|
Reference in New Issue
Block a user