@laplace.live/internal 1.1.114 → 1.2.0

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.
Files changed (2) hide show
  1. package/index.d.ts +91 -84
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -448,7 +448,7 @@ export declare namespace LaplaceInternal {
448
448
  id: number
449
449
  date: string
450
450
  title?: string
451
- content: string | unknown
451
+ content: string | null
452
452
  /** 给 Atom RSS 用的纯文本输出 */
453
453
  plain?: string
454
454
  author?: string
@@ -616,7 +616,7 @@ export declare namespace LaplaceInternal {
616
616
  limit: number
617
617
  next: string | null
618
618
  offset: number
619
- previous: null | null
619
+ previous: null
620
620
  total: number
621
621
  }
622
622
 
@@ -907,7 +907,7 @@ export declare namespace BilibiliInternal {
907
907
  tv_vip_pay_type: number
908
908
  tv_due_date: number
909
909
  avatar_icon: {
910
- icon_resource: {}
910
+ icon_resource: Record<string, unknown>
911
911
  }
912
912
  }
913
913
  wallet: {
@@ -1329,7 +1329,7 @@ export declare namespace BilibiliInternal {
1329
1329
  battle_rank_entry_info: null
1330
1330
  tab_info: GiftMemoryInfoClass
1331
1331
  activity_init_info: {
1332
- eventList: any[]
1332
+ eventList: unknown[]
1333
1333
  weekInfo: {
1334
1334
  bannerInfo: null
1335
1335
  giftName: null
@@ -1417,7 +1417,7 @@ export declare namespace BilibiliInternal {
1417
1417
  jump_url: string
1418
1418
  icon: string
1419
1419
  ranked_mark: number
1420
- message_list: any[]
1420
+ message_list: unknown[]
1421
1421
  }
1422
1422
  online_gold_rank_info_v2: RankOnlineInfoItem
1423
1423
  dm_brush_info: {
@@ -1495,7 +1495,7 @@ export declare namespace BilibiliInternal {
1495
1495
  }
1496
1496
  multi_voice: {
1497
1497
  switch_status: number
1498
- members: any[]
1498
+ members: unknown[]
1499
1499
  mv_role: number
1500
1500
  seat_type: number
1501
1501
  invoking_time: number
@@ -1919,7 +1919,7 @@ export declare namespace BilibiliInternal {
1919
1919
  sign: string
1920
1920
  description: string
1921
1921
  article: number
1922
- attentions: any[]
1922
+ attentions: unknown[]
1923
1923
  fans: number
1924
1924
  friend: number
1925
1925
  attention: number
@@ -1979,7 +1979,7 @@ export declare namespace BilibiliInternal {
1979
1979
  place: string
1980
1980
  description: string
1981
1981
  article: number
1982
- attentions: any[]
1982
+ attentions: unknown[]
1983
1983
  fans: number
1984
1984
  friend: number
1985
1985
  attention: number
@@ -2047,7 +2047,7 @@ export declare namespace BilibiliInternal {
2047
2047
  tv_due_date: number
2048
2048
  avatar_icon: {
2049
2049
  icon_type: number
2050
- icon_resource: {}
2050
+ icon_resource: Record<string, unknown>
2051
2051
  }
2052
2052
  vipType: number
2053
2053
  vipStatus: number
@@ -2259,7 +2259,7 @@ export declare namespace BilibiliInternal {
2259
2259
  gift_data: {
2260
2260
  room_gift_list: {
2261
2261
  gold_list: RoomGiftListItem[]
2262
- silver_list: any[]
2262
+ silver_list: unknown[]
2263
2263
  need_odds_offline: boolean
2264
2264
  ab_result: {
2265
2265
  gift_panel_algorithm_v4: string
@@ -2280,12 +2280,12 @@ export declare namespace BilibiliInternal {
2280
2280
  is_expired: number
2281
2281
  privilege_type: number
2282
2282
  }
2283
- red_dot: any[]
2283
+ red_dot: unknown[]
2284
2284
  pay_limit_icon: string
2285
2285
  naming_gift: null
2286
2286
  special_show_gift: null
2287
2287
  bag_tab_disable: number
2288
- special_tag: any[]
2288
+ special_tag: unknown[]
2289
2289
  }
2290
2290
  gift_config: {
2291
2291
  base_config: {
@@ -2969,7 +2969,7 @@ export declare namespace BilibiliInternal {
2969
2969
  code: number
2970
2970
  message: string
2971
2971
  data: LiveGuildBlsSummer2023Data
2972
- errors: {}
2972
+ errors: Record<string, unknown>
2973
2973
  }
2974
2974
  }
2975
2975
 
@@ -2985,7 +2985,7 @@ export declare namespace BilibiliInternal {
2985
2985
  dimension_timestamp: number
2986
2986
  }[]
2987
2987
  }
2988
- hourlyLottery: Array<any[]>
2988
+ hourlyLottery: unknown[][]
2989
2989
  /**
2990
2990
  * 泄漏的工会字段,目前文本全部返回为空,整数返回为 0
2991
2991
  */
@@ -3060,9 +3060,9 @@ export declare namespace BilibiliInternal {
3060
3060
  * GetRoomPlayInfo
3061
3061
  * 获取直播视频流信息,也可用于根据直播间房间号获取 UID
3062
3062
  *
3063
- * May 30, 2025, 1:24:24AM PDT 发现该接口也需要 web_location 封控
3063
+ * May 30, 2025, 1:24:24 AM PDT 发现该接口也需要 web_location 封控
3064
3064
  *
3065
- * @deprecated May 30, 2025, 1:31:07AM PDT 该请求与 getInfoByRoom 一样,在普通直播间也已经不再使用,会直接嵌入 DOM
3065
+ * @deprecated May 30, 2025, 1:31:07 AM PDT 该请求与 getInfoByRoom 一样,在普通直播间也已经不再使用,会直接嵌入 DOM
3066
3066
  * 通过 /blanc/21696950 可暂时强制恢复该请求调用
3067
3067
  *
3068
3068
  * @link https://api.live.bilibili.com/xlive/web-room/v2/index/getRoomPlayInfo?room_id=1182221&protocol=0&format=0,1,2&codec=0&qn=10000&platform=web&ptype=8&dolby=5&panorama=1
@@ -3375,7 +3375,7 @@ export declare namespace BilibiliInternal {
3375
3375
  tv_due_date: number
3376
3376
  avatar_icon: {
3377
3377
  icon_type: number
3378
- icon_resource: {}
3378
+ icon_resource: Record<string, unknown>
3379
3379
  }
3380
3380
  }
3381
3381
  pendant: {
@@ -3398,7 +3398,7 @@ export declare namespace BilibiliInternal {
3398
3398
  user_honour_info: {
3399
3399
  mid: number
3400
3400
  colour: null
3401
- tags: any[]
3401
+ tags: unknown[]
3402
3402
  is_latest_100honour: number
3403
3403
  }
3404
3404
  is_followed: boolean
@@ -3414,8 +3414,8 @@ export declare namespace BilibiliInternal {
3414
3414
  l_img: string
3415
3415
  sid: number
3416
3416
  }
3417
- theme: {}
3418
- sys_notice: {}
3417
+ theme: Record<string, unknown>
3418
+ sys_notice: Record<string, unknown>
3419
3419
  live_room: {
3420
3420
  roomStatus: number
3421
3421
  liveStatus: number
@@ -3474,7 +3474,7 @@ export declare namespace BilibiliInternal {
3474
3474
  /**
3475
3475
  * 个人空间首页动态列表,高风控
3476
3476
  * @link https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/space?offset=&host_mid=2763&timezone_offset=420&platform=web&features=itemOpusStyle,listOnlyfans,opusBigCover,onlyfansVote&web_location=333.999&dm_img_list=[%7B%22x%22:2493,%22y%22:633,%22z%22:0,%22timestamp%22:5738,%22k%22:95,%22type%22:0%7D,%7B%22x%22:1875,%22y%22:1922,%22z%22:101,%22timestamp%22:5838,%22k%22:80,%22type%22:0%7D,%7B%22x%22:1506,%22y%22:1929,%22z%22:214,%22timestamp%22:464651,%22k%22:123,%22type%22:0%7D,%7B%22x%22:1578,%22y%22:2011,%22z%22:256,%22timestamp%22:465561,%22k%22:81,%22type%22:0%7D,%7B%22x%22:1817,%22y%22:2361,%22z%22:24,%22timestamp%22:465661,%22k%22:119,%22type%22:0%7D,%7B%22x%22:1562,%22y%22:1876,%22z%22:22,%22timestamp%22:465762,%22k%22:114,%22type%22:0%7D,%7B%22x%22:1513,%22y%22:-345,%22z%22:348,%22timestamp%22:465863,%22k%22:61,%22type%22:0%7D,%7B%22x%22:1444,%22y%22:-785,%22z%22:288,%22timestamp%22:465964,%22k%22:114,%22type%22:0%7D,%7B%22x%22:1253,%22y%22:-1147,%22z%22:58,%22timestamp%22:466065,%22k%22:101,%22type%22:0%7D,%7B%22x%22:1563,%22y%22:-760,%22z%22:160,%22timestamp%22:468941,%22k%22:72,%22type%22:0%7D,%7B%22x%22:2448,%22y%22:415,%22z%22:1026,%22timestamp%22:469041,%22k%22:107,%22type%22:0%7D,%7B%22x%22:2328,%22y%22:487,%22z%22:905,%22timestamp%22:469142,%22k%22:64,%22type%22:0%7D,%7B%22x%22:1433,%22y%22:-398,%22z%22:3,%22timestamp%22:469242,%22k%22:86,%22type%22:0%7D,%7B%22x%22:1639,%22y%22:-289,%22z%22:224,%22timestamp%22:469343,%22k%22:66,%22type%22:0%7D,%7B%22x%22:1581,%22y%22:-355,%22z%22:167,%22timestamp%22:469444,%22k%22:61,%22type%22:0%7D,%7B%22x%22:2742,%22y%22:810,%22z%22:1316,%22timestamp%22:470260,%22k%22:102,%22type%22:0%7D,%7B%22x%22:1461,%22y%22:-464,%22z%22:14,%22timestamp%22:470361,%22k%22:94,%22type%22:0%7D,%7B%22x%22:2419,%22y%22:689,%22z%22:962,%22timestamp%22:470472,%22k%22:102,%22type%22:0%7D,%7B%22x%22:1679,%22y%22:64,%22z%22:199,%22timestamp%22:470572,%22k%22:104,%22type%22:0%7D,%7B%22x%22:1656,%22y%22:57,%22z%22:174,%22timestamp%22:470673,%22k%22:87,%22type%22:0%7D,%7B%22x%22:2180,%22y%22:581,%22z%22:698,%22timestamp%22:470775,%22k%22:99,%22type%22:1%7D,%7B%22x%22:1702,%22y%22:103,%22z%22:220,%22timestamp%22:470877,%22k%22:76,%22type%22:0%7D]&dm_img_str=V2ViR0wgMS4wIChPcGVuR0wgRVMgMi4wIENocm9taXVtKQ&dm_cover_img_str=QU5HTEUgKEFwcGxlLCBBTkdMRSBNZXRhbCBSZW5kZXJlcjogQXBwbGUgTTIgTWF4LCBVbnNwZWNpZmllZCBWZXJzaW9uKUdvb2dsZSBJbmMuIChBcHBsZS&dm_img_inter=%7B%22ds%22:[%7B%22t%22:4,%22c%22:%22bi1idG4gbi1keW5hbWljIHJvdXRlci1saW5rLWV4YWN0LWFjdGl2ZSByb3V0ZXItbGluay1hY3RpdmUgYWN0aX%22,%22p%22:[1302,74,774],%22s%22:[60,342,56]%7D],%22wh%22:[4235,6350,57],%22of%22:[124,248,124]%7D&x-bili-device-req-json=%7B%22platform%22:%22web%22,%22device%22:%22pc%22%7D&x-bili-web-req-json=%7B%22spm_id%22:%22333.999%22%7D&w_rid=48f5428e6afc1934bafa4a6c4a1d1755&wts=1713898099
3477
- * Sep 16, 2024, 10:26PM:
3477
+ * Sep 16, 2024, 10:26 PM:
3478
3478
  * @link https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/space?offset=&host_mid=2763&timezone_offset=-480&platform=web&features=itemOpusStyle,listOnlyfans,opusBigCover,onlyfansVote,decorationCard,forwardListHidden,ugcDelete,onlyfansQaCard&web_location=333.999&dm_img_list=[%7B%22x%22:2709,%22y%22:-1172,%22z%22:0,%22timestamp%22:5,%22k%22:68,%22type%22:0%7D,%7B%22x%22:2242,%22y%22:-1224,%22z%22:36,%22timestamp%22:128,%22k%22:113,%22type%22:0%7D,%7B%22x%22:1830,%22y%22:-318,%22z%22:178,%22timestamp%22:231,%22k%22:109,%22type%22:0%7D,%7B%22x%22:1591,%22y%22:571,%22z%22:5,%22timestamp%22:331,%22k%22:112,%22type%22:0%7D,%7B%22x%22:1632,%22y%22:610,%22z%22:52,%22timestamp%22:1845,%22k%22:87,%22type%22:0%7D,%7B%22x%22:1925,%22y%22:866,%22z%22:456,%22timestamp%22:1947,%22k%22:70,%22type%22:0%7D,%7B%22x%22:1941,%22y%22:745,%22z%22:676,%22timestamp%22:2053,%22k%22:108,%22type%22:0%7D,%7B%22x%22:1354,%22y%22:134,%22z%22:92,%22timestamp%22:2153,%22k%22:75,%22type%22:0%7D,%7B%22x%22:1462,%22y%22:112,%22z%22:130,%22timestamp%22:2281,%22k%22:82,%22type%22:0%7D,%7B%22x%22:2043,%22y%22:412,%22z%22:657,%22timestamp%22:2382,%22k%22:95,%22type%22:0%7D,%7B%22x%22:1763,%22y%22:65,%22z%22:348,%22timestamp%22:2482,%22k%22:68,%22type%22:0%7D,%7B%22x%22:2169,%22y%22:445,%22z%22:740,%22timestamp%22:2584,%22k%22:113,%22type%22:0%7D,%7B%22x%22:1881,%22y%22:156,%22z%22:455,%22timestamp%22:5753,%22k%22:72,%22type%22:0%7D,%7B%22x%22:2234,%22y%22:233,%22z%22:808,%22timestamp%22:5853,%22k%22:96,%22type%22:0%7D,%7B%22x%22:2002,%22y%22:-257,%22z%22:545,%22timestamp%22:5953,%22k%22:85,%22type%22:0%7D,%7B%22x%22:3115,%22y%22:782,%22z%22:1604,%22timestamp%22:6054,%22k%22:87,%22type%22:0%7D,%7B%22x%22:1577,%22y%22:-772,%22z%22:45,%22timestamp%22:6154,%22k%22:111,%22type%22:0%7D,%7B%22x%22:2946,%22y%22:586,%22z%22:1378,%22timestamp%22:6254,%22k%22:110,%22type%22:0%7D,%7B%22x%22:2576,%22y%22:272,%22z%22:863,%22timestamp%22:7854,%22k%22:77,%22type%22:0%7D,%7B%22x%22:3101,%22y%22:1275,%22z%22:1518,%22timestamp%22:7955,%22k%22:90,%22type%22:0%7D,%7B%22x%22:3305,%22y%22:2119,%22z%22:1918,%22timestamp%22:8055,%22k%22:117,%22type%22:0%7D,%7B%22x%22:1727,%22y%22:851,%22z%22:491,%22timestamp%22:8156,%22k%22:82,%22type%22:0%7D,%7B%22x%22:2873,%22y%22:2139,%22z%22:1740,%22timestamp%22:8256,%22k%22:86,%22type%22:0%7D,%7B%22x%22:1896,%22y%22:1301,%22z%22:806,%22timestamp%22:8356,%22k%22:69,%22type%22:0%7D,%7B%22x%22:1268,%22y%22:711,%22z%22:179,%22timestamp%22:8456,%22k%22:123,%22type%22:0%7D,%7B%22x%22:2864,%22y%22:2307,%22z%22:1775,%22timestamp%22:8796,%22k%22:109,%22type%22:1%7D]&dm_img_str=V2ViR0wgMS4wIChPcGVuR0wgRVMgMi4wIENocm9taXVtKQ&dm_cover_img_str=QU5HTEUgKEFwcGxlLCBBTkdMRSBNZXRhbCBSZW5kZXJlcjogQXBwbGUgTTIgTWF4LCBVbnNwZWNpZmllZCBWZXJzaW9uKUdvb2dsZSBJbmMuIChBcHBsZS&dm_img_inter=%7B%22ds%22:[%7B%22t%22:1,%22c%22:%22bi10ZX%22,%22p%22:[1309,63,898],%22s%22:[148,262,328]%7D],%22wh%22:[3979,6018,11],%22of%22:[588,834,75]%7D&x-bili-device-req-json=%7B%22platform%22:%22web%22,%22device%22:%22pc%22%7D&x-bili-web-req-json=%7B%22spm_id%22:%22333.999%22%7D&w_rid=a0dce3a9bb68f3e43b09e524e034c6a6&wts=1726496750
3479
3479
  */
3480
3480
  export interface UserMblog {
@@ -3483,7 +3483,7 @@ export declare namespace BilibiliInternal {
3483
3483
  ttl: number
3484
3484
  data: {
3485
3485
  has_more: boolean
3486
- items: Array<{
3486
+ items: {
3487
3487
  basic: {
3488
3488
  comment_id_str: string
3489
3489
  comment_type: number
@@ -3503,7 +3503,7 @@ export declare namespace BilibiliInternal {
3503
3503
  container_size: { height: number; width: number }
3504
3504
  fallback_layers: {
3505
3505
  is_critical_group: boolean
3506
- layers: Array<{
3506
+ layers: {
3507
3507
  general_spec: {
3508
3508
  pos_spec: { axis_x: number; axis_y: number; coordinate_pos: number }
3509
3509
  render_spec: { opacity: number }
@@ -3512,7 +3512,7 @@ export declare namespace BilibiliInternal {
3512
3512
  layer_config: {
3513
3513
  is_critical?: boolean
3514
3514
  tags: {
3515
- AVATAR_LAYER?: {}
3515
+ AVATAR_LAYER?: Record<string, unknown>
3516
3516
  GENERAL_CFG?: {
3517
3517
  config_type: number
3518
3518
  general_config: {
@@ -3524,8 +3524,8 @@ export declare namespace BilibiliInternal {
3524
3524
  }
3525
3525
  }
3526
3526
  }
3527
- PENDENT_LAYER?: {}
3528
- ICON_LAYER?: {}
3527
+ PENDENT_LAYER?: Record<string, unknown>
3528
+ ICON_LAYER?: Record<string, unknown>
3529
3529
  }
3530
3530
  }
3531
3531
  resource: {
@@ -3543,7 +3543,7 @@ export declare namespace BilibiliInternal {
3543
3543
  res_type: number
3544
3544
  }
3545
3545
  visible: boolean
3546
- }>
3546
+ }[]
3547
3547
  }
3548
3548
  mid: string
3549
3549
  }
@@ -3633,26 +3633,29 @@ export declare namespace BilibiliInternal {
3633
3633
  module_dynamic: {
3634
3634
  additional: null
3635
3635
  desc: {
3636
- rich_text_nodes: Array<{
3636
+ rich_text_nodes: {
3637
3637
  orig_text: string
3638
3638
  text: string
3639
3639
  type: 'RICH_TEXT_NODE_TYPE_AT' | 'RICH_TEXT_NODE_TYPE_TEXT'
3640
3640
  rid?: string
3641
- }>
3641
+ }[]
3642
3642
  text: string
3643
3643
  } | null
3644
3644
  major: {
3645
3645
  opus: {
3646
- fold_action: Array<'展开' | '收起'>
3646
+ /**
3647
+ * @example ['展开', '收起']
3648
+ */
3649
+ fold_action: string[]
3647
3650
  jump_url: string
3648
- pics: Array<{
3651
+ pics: {
3649
3652
  height: number
3650
3653
  size: number
3651
3654
  url: string
3652
3655
  width: number
3653
- }>
3656
+ }[]
3654
3657
  summary: {
3655
- rich_text_nodes: Array<{
3658
+ rich_text_nodes: {
3656
3659
  orig_text: string
3657
3660
  text: string
3658
3661
  type:
@@ -3668,7 +3671,7 @@ export declare namespace BilibiliInternal {
3668
3671
  text: string
3669
3672
  type: number
3670
3673
  }
3671
- }>
3674
+ }[]
3672
3675
  text: string
3673
3676
  }
3674
3677
  title: null
@@ -3678,13 +3681,13 @@ export declare namespace BilibiliInternal {
3678
3681
  topic: null
3679
3682
  }
3680
3683
  module_more: {
3681
- three_point_items: Array<{
3684
+ three_point_items: {
3682
3685
  /**
3683
3686
  * "举报"
3684
3687
  */
3685
3688
  label: ''
3686
3689
  type: 'THREE_POINT_REPORT'
3687
- }>
3690
+ }[]
3688
3691
  }
3689
3692
  module_stat: {
3690
3693
  comment: { count: number; forbidden: boolean }
@@ -3693,18 +3696,18 @@ export declare namespace BilibiliInternal {
3693
3696
  }
3694
3697
  module_tag?: { text: string }
3695
3698
  module_interaction?: {
3696
- items: Array<{
3699
+ items: {
3697
3700
  desc: {
3698
- rich_text_nodes: Array<{
3701
+ rich_text_nodes: {
3699
3702
  orig_text: string
3700
3703
  text: string
3701
3704
  type: 'RICH_TEXT_NODE_TYPE_AT' | 'RICH_TEXT_NODE_TYPE_TEXT'
3702
3705
  rid?: string
3703
- }>
3706
+ }[]
3704
3707
  text: string
3705
3708
  }
3706
3709
  type: number
3707
- }>
3710
+ }[]
3708
3711
  }
3709
3712
  }
3710
3713
  type: 'DYNAMIC_TYPE_DRAW' | 'DYNAMIC_TYPE_FORWARD'
@@ -3729,7 +3732,7 @@ export declare namespace BilibiliInternal {
3729
3732
  container_size: { height: number; width: number }
3730
3733
  fallback_layers: {
3731
3734
  is_critical_group: boolean
3732
- layers: Array<{
3735
+ layers: {
3733
3736
  general_spec: {
3734
3737
  pos_spec: { axis_x: number; axis_y: number; coordinate_pos: number }
3735
3738
  render_spec: { opacity: number }
@@ -3738,7 +3741,7 @@ export declare namespace BilibiliInternal {
3738
3741
  layer_config: {
3739
3742
  is_critical?: boolean
3740
3743
  tags: {
3741
- AVATAR_LAYER?: {}
3744
+ AVATAR_LAYER?: Record<string, unknown>
3742
3745
  GENERAL_CFG?: {
3743
3746
  config_type: number
3744
3747
  general_config: {
@@ -3750,8 +3753,8 @@ export declare namespace BilibiliInternal {
3750
3753
  }
3751
3754
  }
3752
3755
  }
3753
- PENDENT_LAYER?: {}
3754
- ICON_LAYER?: {}
3756
+ PENDENT_LAYER?: Record<string, unknown>
3757
+ ICON_LAYER?: Record<string, unknown>
3755
3758
  }
3756
3759
  }
3757
3760
  resource: {
@@ -3769,7 +3772,7 @@ export declare namespace BilibiliInternal {
3769
3772
  res_type: number
3770
3773
  }
3771
3774
  visible: boolean
3772
- }>
3775
+ }[]
3773
3776
  }
3774
3777
  mid: string
3775
3778
  }
@@ -3855,16 +3858,19 @@ export declare namespace BilibiliInternal {
3855
3858
  desc: null
3856
3859
  major: {
3857
3860
  opus: {
3858
- fold_action: Array<'展开' | '收起'>
3861
+ /**
3862
+ * @example ['展开', '收起']
3863
+ */
3864
+ fold_action: string[]
3859
3865
  jump_url: string
3860
- pics: Array<{
3866
+ pics: {
3861
3867
  height: number
3862
3868
  size: number
3863
3869
  url: string
3864
3870
  width: number
3865
- }>
3871
+ }[]
3866
3872
  summary: {
3867
- rich_text_nodes: Array<{
3873
+ rich_text_nodes: {
3868
3874
  orig_text: string
3869
3875
  text: string
3870
3876
  type:
@@ -3880,7 +3886,7 @@ export declare namespace BilibiliInternal {
3880
3886
  text: string
3881
3887
  type: number
3882
3888
  }
3883
- }>
3889
+ }[]
3884
3890
  text: string
3885
3891
  }
3886
3892
  title: null
@@ -3893,7 +3899,7 @@ export declare namespace BilibiliInternal {
3893
3899
  type: 'DYNAMIC_TYPE_DRAW' | 'DYNAMIC_TYPE_FORWARD'
3894
3900
  visible: boolean
3895
3901
  }
3896
- }>
3902
+ }[]
3897
3903
  offset: string
3898
3904
  update_baseline: string
3899
3905
  update_num: number
@@ -3948,8 +3954,12 @@ export declare namespace BilibiliInternal {
3948
3954
  /** 装扮销售类型 */
3949
3955
  export type SuitSaleType = 'pay'
3950
3956
 
3951
- /** 装扮状态 */
3952
- export type SuitState = 'active' | string
3957
+ /**
3958
+ * 装扮状态
3959
+ *
3960
+ * @example 'active'
3961
+ */
3962
+ export type SuitState = string
3953
3963
 
3954
3964
  /** Data of `Suit` */
3955
3965
  export interface SuitData {
@@ -4940,9 +4950,9 @@ export declare namespace BilibiliInternal {
4940
4950
  /** 通常为 0 */
4941
4951
  type: number
4942
4952
  /** 通常为空 */
4943
- sub: any[]
4953
+ sub: unknown[]
4944
4954
  /** 通常为空 */
4945
- hero_list: any[]
4955
+ hero_list: unknown[]
4946
4956
  /** 通常为 0 */
4947
4957
  sort: number
4948
4958
  }
@@ -5088,7 +5098,7 @@ export declare namespace BilibiliInternal {
5088
5098
  code: number
5089
5099
  /** 正常则返回 'ok' */
5090
5100
  message: string
5091
- data: {}
5101
+ data: Record<string, unknown>
5092
5102
  }
5093
5103
 
5094
5104
  /**
@@ -5119,7 +5129,7 @@ export declare namespace BilibiliInternal {
5119
5129
  message: string
5120
5130
  /** b站内部追踪用的,ie `'1804937190217424896'` */
5121
5131
  request_id: string
5122
- data: {}
5132
+ data: Record<string, unknown>
5123
5133
  }
5124
5134
  }
5125
5135
  }
@@ -5249,7 +5259,7 @@ export declare namespace BilibiliInternal {
5249
5259
  /**
5250
5260
  * 舰队指挥官对象,并非所有事件都有
5251
5261
  *
5252
- * @updated May 25, 2025, 10:13:44AM PDT
5262
+ * @updated May 25, 2025, 10:13:44 AM PDT
5253
5263
  *
5254
5264
  * 已知有:
5255
5265
  * - `DANMU_MSG`
@@ -5276,9 +5286,9 @@ export declare namespace BilibiliInternal {
5276
5286
  info: [
5277
5287
  // [0]
5278
5288
  [
5279
- any, // [0][0]
5280
- any, // [0][1]
5281
- any, // [0][2]
5289
+ unknown, // [0][0]
5290
+ unknown, // [0][1]
5291
+ unknown, // [0][2]
5282
5292
  /**
5283
5293
  * textColor
5284
5294
  * [0][3]: 弹幕颜色
@@ -5289,15 +5299,15 @@ export declare namespace BilibiliInternal {
5289
5299
  * [0][4]: 时间戳 1692802683877
5290
5300
  */
5291
5301
  number,
5292
- any, // [0][5]
5293
- any, // [0][6]
5294
- any, // [0][7]
5295
- any, // [0][8]
5302
+ unknown, // [0][5]
5303
+ unknown, // [0][6]
5304
+ unknown, // [0][7]
5305
+ unknown, // [0][8]
5296
5306
  /**
5297
5307
  * [0][9]: sendType
5298
5308
  * 弹幕类型
5299
5309
  */
5300
- any, // [0][9]
5310
+ unknown, // [0][9]
5301
5311
  /**
5302
5312
  * [0][10]: 未知
5303
5313
  * 已知: 2、5
@@ -5415,12 +5425,12 @@ export declare namespace BilibiliInternal {
5415
5425
  * [3][3]: medalRoom
5416
5426
  */
5417
5427
  number,
5418
- any, // [3][4]
5419
- any, // [3][5]
5420
- any, // [3][6]
5421
- any, // [3][7]: medalBgStart, // 8
5422
- any, // [3][8]: medalBorder, // 7
5423
- any, // [3][9]: medalBgEnd, // 9
5428
+ unknown, // [3][4]
5429
+ unknown, // [3][5]
5430
+ unknown, // [3][6]
5431
+ unknown, // [3][7]: medalBgStart, // 8
5432
+ unknown, // [3][8]: medalBorder, // 7
5433
+ unknown, // [3][9]: medalBgEnd, // 9
5424
5434
  /**
5425
5435
  * [3][10]: medalGuardType
5426
5436
  */
@@ -5443,12 +5453,12 @@ export declare namespace BilibiliInternal {
5443
5453
  * userLvl
5444
5454
  */
5445
5455
  number,
5446
- any,
5456
+ unknown,
5447
5457
  /**
5448
5458
  * userLvlBorder
5449
5459
  */
5450
5460
  number,
5451
- any,
5461
+ unknown,
5452
5462
  /**
5453
5463
  * currentRank
5454
5464
  * 0: 未上榜
@@ -5475,7 +5485,7 @@ export declare namespace BilibiliInternal {
5475
5485
  number,
5476
5486
 
5477
5487
  // [8],通常为 null
5478
- any, // 8
5488
+ null, // 8
5479
5489
 
5480
5490
  // [9]
5481
5491
  {
@@ -5490,10 +5500,10 @@ export declare namespace BilibiliInternal {
5490
5500
  },
5491
5501
 
5492
5502
  // [10]: 0
5493
- any,
5503
+ unknown,
5494
5504
 
5495
5505
  // [11]: 0
5496
- any,
5506
+ unknown,
5497
5507
 
5498
5508
  // [12]: null
5499
5509
  null,
@@ -5594,7 +5604,7 @@ export declare namespace BilibiliInternal {
5594
5604
  jump_to_url: string
5595
5605
  space_type: string
5596
5606
  space_url: string
5597
- animation: ExtraMetaAnimationProps
5607
+ animation: Record<string, unknown>
5598
5608
  emots: { [key: string]: ExtraMetaEmoteItem }
5599
5609
  is_audited: boolean
5600
5610
  /**
@@ -5606,9 +5616,6 @@ export declare namespace BilibiliInternal {
5606
5616
  reply_uname?: string
5607
5617
  }
5608
5618
 
5609
- /** Props of `ExtraMeta` */
5610
- interface ExtraMetaAnimationProps {}
5611
-
5612
5619
  /** Item of `ExtraMeta` */
5613
5620
  export interface ExtraMetaEmoteItem {
5614
5621
  emoticon_id: number
@@ -6840,7 +6847,7 @@ export declare namespace BilibiliInternal {
6840
6847
  award_image: string
6841
6848
  award_name: string
6842
6849
  award_num: number
6843
- award_users: Array<{
6850
+ award_users: {
6844
6851
  uid: number
6845
6852
  uname: string
6846
6853
  face: string
@@ -6849,7 +6856,7 @@ export declare namespace BilibiliInternal {
6849
6856
  */
6850
6857
  level: number
6851
6858
  color: number
6852
- }>
6859
+ }[]
6853
6860
  /**
6854
6861
  * 天选唯一识别 ID
6855
6862
  */
@@ -8244,7 +8251,7 @@ export declare namespace Aliyun {
8244
8251
  per: string
8245
8252
  prov: string
8246
8253
  }
8247
- | {}
8254
+ | Record<string, unknown>
8248
8255
  /** 状态,'OK',当传入的地址无效时,依然返回 OK 😅 */
8249
8256
  status: string
8250
8257
  /** 算法处理耗时 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.1.114",
3
+ "version": "1.2.0",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"