@maestro_io/maestro-web-sdk 5.3.2 → 5.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
// ../../../@/modules/espn/shop/types
|
|
9
9
|
// ../../../@/modules/maestro/builder/view-model/BuilderPanelViewModel
|
|
10
10
|
// ../../../@/modules/fox/multi-view/interfaces/IMultiViewViewModel
|
|
11
|
+
// ../../../@/modules/fox/stats/view-model/FoxStatsViewModel
|
|
11
12
|
// ../../../@/models/ITheme
|
|
12
13
|
// ../../../@/helpers/Observable
|
|
13
14
|
|
|
@@ -353,6 +354,7 @@ declare module '@maestro_io/maestro-web-sdk/view-models/MaestroEventViewModel' {
|
|
|
353
354
|
import { IShopViewModel } from '@/modules/espn/shop/types';
|
|
354
355
|
import { BuilderPanelViewModel } from '@/modules/maestro/builder/view-model/BuilderPanelViewModel';
|
|
355
356
|
import { IMultiViewViewModel } from '@/modules/fox/multi-view/interfaces/IMultiViewViewModel';
|
|
357
|
+
import { FoxStatsViewModel } from '@/modules/fox/stats/view-model/FoxStatsViewModel';
|
|
356
358
|
export class MaestroEventViewModel extends ViewModel implements IMaestroEvent {
|
|
357
359
|
delegate: IMaestroEventDelegate;
|
|
358
360
|
keyPlaysViewModel: IKeyPlaysViewModel | null;
|
|
@@ -362,6 +364,7 @@ declare module '@maestro_io/maestro-web-sdk/view-models/MaestroEventViewModel' {
|
|
|
362
364
|
shopViewModel: IShopViewModel | null;
|
|
363
365
|
builderPanelViewModel: BuilderPanelViewModel | null;
|
|
364
366
|
multiViewViewModel: IMultiViewViewModel | null;
|
|
367
|
+
foxStatsViewModel: FoxStatsViewModel | null;
|
|
365
368
|
panelManagerViewModel: PanelManagerViewModel;
|
|
366
369
|
navigation: SpatialNavigation;
|
|
367
370
|
constructor(eventId: string | undefined, pageId: string | undefined, delegate: IMaestroEventDelegate, analyticsService: AnalyticsService);
|
|
@@ -568,7 +571,7 @@ declare module '@maestro_io/maestro-web-sdk/models/IPanel' {
|
|
|
568
571
|
readonly FOX_STATS: "foxStats";
|
|
569
572
|
readonly BUILDER_BLOCK_PANEL: "builderBlockPanel";
|
|
570
573
|
};
|
|
571
|
-
export type MaestroPanelType =
|
|
574
|
+
export type MaestroPanelType = typeof MaestroPanelType[keyof typeof MaestroPanelType];
|
|
572
575
|
export interface PanelTypeInfo {
|
|
573
576
|
id: MaestroPanelType;
|
|
574
577
|
name: string;
|
|
@@ -805,18 +808,18 @@ declare module '@maestro_io/maestro-web-sdk/modules/espn/key-plays/interfaces/IK
|
|
|
805
808
|
readonly recentFailure: "recentFailure";
|
|
806
809
|
readonly nonRecentFailure: "nonRecentFailure";
|
|
807
810
|
};
|
|
808
|
-
type KeyPlayLoadFailureStatus =
|
|
811
|
+
type KeyPlayLoadFailureStatus = typeof KEY_PLAYS_LOAD_FAILURE_STATUS[keyof typeof KEY_PLAYS_LOAD_FAILURE_STATUS];
|
|
809
812
|
export const KEY_PLAYS_ERROR_STATE: {
|
|
810
813
|
readonly unsupportedEvent: "unsupportedEvent";
|
|
811
814
|
readonly unpopulatedEvent: "unpopulatedEvent";
|
|
812
815
|
readonly tabLoadFailure: "tabLoadFailure";
|
|
813
816
|
};
|
|
814
|
-
type KeyPlaysErrorState =
|
|
817
|
+
type KeyPlaysErrorState = typeof KEY_PLAYS_ERROR_STATE[keyof typeof KEY_PLAYS_ERROR_STATE];
|
|
815
818
|
export const KEY_PLAYS_PANEL_SCROLL_VIEW_ITEM_TYPE: {
|
|
816
819
|
readonly keyPlay: "keyPlay";
|
|
817
820
|
readonly sectionHeader: "sectionHeader";
|
|
818
821
|
};
|
|
819
|
-
type KeyPlaysPanelScrollViewItemType =
|
|
822
|
+
type KeyPlaysPanelScrollViewItemType = typeof KEY_PLAYS_PANEL_SCROLL_VIEW_ITEM_TYPE[keyof typeof KEY_PLAYS_PANEL_SCROLL_VIEW_ITEM_TYPE];
|
|
820
823
|
export { KeyPlaysPanelScrollViewItemType, KeyPlayLoadFailureStatus, KeyPlaysErrorState, };
|
|
821
824
|
}
|
|
822
825
|
|
|
@@ -828,6 +831,6 @@ declare module '@maestro_io/maestro-web-sdk/modules/espn/bets/types/BetsAnalytic
|
|
|
828
831
|
/**
|
|
829
832
|
* Valid card types for bets module
|
|
830
833
|
*/
|
|
831
|
-
export type BetCardType = '6-pack' | 'my bets > live' | 'my bets > settled' | 'my bets > upcoming' | 'hot-props' | 'promo' | 'disclaimer';
|
|
834
|
+
export type BetCardType = '6-pack' | 'my bets > live' | 'my bets > settled' | 'my bets > upcoming' | 'hot-props' | 'promo' | 'disclaimer' | 'golf-odds';
|
|
832
835
|
}
|
|
833
836
|
|