完善原生内容卡与H5详情分工
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export type H5ExperienceKind = 'content' | 'result'
|
||||
export type H5ExperiencePresentation = 'sheet' | 'dialog' | 'fullscreen'
|
||||
|
||||
export interface H5ExperienceFallbackPayload {
|
||||
title: string
|
||||
@@ -13,8 +14,10 @@ export interface H5ExperienceFallbackPayload {
|
||||
export interface H5ExperienceRequest {
|
||||
kind: H5ExperienceKind
|
||||
title: string
|
||||
subtitle?: string
|
||||
url: string
|
||||
bridgeVersion: string
|
||||
presentation: H5ExperiencePresentation
|
||||
context: Record<string, unknown>
|
||||
fallback: H5ExperienceFallbackPayload
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user