完善原生内容卡与H5详情分工
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { type LonLatPoint } from '../../utils/projection'
|
||||
import { type GameAudioConfig } from '../audio/audioConfig'
|
||||
import { type H5ExperiencePresentation } from '../experience/h5Experience'
|
||||
|
||||
export type GameMode = 'classic-sequential' | 'score-o'
|
||||
export type GameControlKind = 'start' | 'control' | 'finish'
|
||||
@@ -10,6 +11,7 @@ export interface GameContentExperienceConfig {
|
||||
url: string | null
|
||||
bridge: string
|
||||
fallback: 'native'
|
||||
presentation: H5ExperiencePresentation
|
||||
}
|
||||
|
||||
export interface GameContentExperienceConfigOverride {
|
||||
@@ -17,9 +19,11 @@ export interface GameContentExperienceConfigOverride {
|
||||
url?: string
|
||||
bridge?: string
|
||||
fallback?: 'native'
|
||||
presentation?: H5ExperiencePresentation
|
||||
}
|
||||
|
||||
export interface GameControlDisplayContent {
|
||||
template: 'minimal' | 'story' | 'focus'
|
||||
title: string
|
||||
body: string
|
||||
autoPopup: boolean
|
||||
@@ -32,6 +36,7 @@ export interface GameControlDisplayContent {
|
||||
}
|
||||
|
||||
export interface GameControlDisplayContentOverride {
|
||||
template?: 'minimal' | 'story' | 'focus'
|
||||
title?: string
|
||||
body?: string
|
||||
autoPopup?: boolean
|
||||
|
||||
Reference in New Issue
Block a user