Commit 9e3d5f99 authored by 郑磊's avatar 郑磊

更新类型定义

parent 0de87ede
...@@ -230,6 +230,42 @@ declare namespace Crown { ...@@ -230,6 +230,42 @@ declare namespace Crown {
* 上半场独赢平局水位 * 上半场独赢平局水位
*/ */
ior_HMN: string ior_HMN: string
/**
* 全场双方进球
*/
sw_TS: 'Y' | 'N'
/**
* 全场双方有进球水位
*/
ior_TSY: string
/**
* 全场双方无进球水位
*/
ior_TSN: string
/**
* 上半场双方进球
*/
sw_HTS: 'Y' | 'N'
/**
* 上半场双方有进球水位
*/
ior_HTSY: string
/**
* 上半场双方无进球水位
*/
ior_HTSN: string
/**
* 滚球全场双方进球
*/
sw_RTS: 'Y' | 'N'
/**
* 滚球全场双方有进球水位
*/
ior_RTSY: string
/**
* 滚球全场双方无进球水位
*/
ior_RTSN: string
} }
/** /**
...@@ -245,7 +281,7 @@ declare namespace Crown { ...@@ -245,7 +281,7 @@ declare namespace Crown {
interface OddInfo { interface OddInfo {
game_id: string game_id: string
variety: Variety variety: Variety
type: 'r' | 'hr' | 'ou' | 'hou' | 'm' | 'hm' type: 'r' | 'hr' | 'ou' | 'hou' | 'm' | 'hm' | 'ts' | 'hts'
condition: string condition: string
value_h?: string value_h?: string
value_c?: string value_c?: string
......
...@@ -76,7 +76,16 @@ declare type Period = 'regularTime' | 'period1' ...@@ -76,7 +76,16 @@ declare type Period = 'regularTime' | 'period1'
/** /**
* 盘口类型 * 盘口类型
*/ */
declare type OddType = 'ah1' | 'ah2' | 'over' | 'under' | 'draw' | 'win1' | 'win2' declare type OddType =
| 'ah1'
| 'ah2'
| 'over'
| 'under'
| 'draw'
| 'win1'
| 'win2'
| 'btts_yes'
| 'btts_no'
/** /**
* 盘口目标 * 盘口目标
...@@ -154,6 +163,10 @@ declare interface PromotedData { ...@@ -154,6 +163,10 @@ declare interface PromotedData {
channel: string channel: string
crown_game_id?: string crown_game_id?: string
/**
* 是否滚球推荐
*/
is_rockball: number
} }
/** /**
......
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