@laplace.live/internal 1.2.0 → 1.2.2

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +11 -30
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @laplace.live/internal
2
2
 
3
- Sparanoid general types
3
+ LAPLACE Live! general types
4
4
 
5
5
  To install:
6
6
 
package/index.d.ts CHANGED
@@ -3517,10 +3517,10 @@ export declare namespace BilibiliInternal {
3517
3517
  config_type: number
3518
3518
  general_config: {
3519
3519
  web_css_style: {
3520
- 'borderRadius': '50%'
3520
+ borderRadius: '50%'
3521
3521
  'background-color'?: 'rgb(255,255,255)'
3522
- 'border'?: '2px solid rgba(255,255,255,1)'
3523
- 'boxSizing'?: 'border-box'
3522
+ border?: '2px solid rgba(255,255,255,1)'
3523
+ boxSizing?: 'border-box'
3524
3524
  }
3525
3525
  }
3526
3526
  }
@@ -3746,10 +3746,10 @@ export declare namespace BilibiliInternal {
3746
3746
  config_type: number
3747
3747
  general_config: {
3748
3748
  web_css_style: {
3749
- 'borderRadius': '50%'
3749
+ borderRadius: '50%'
3750
3750
  'background-color'?: 'rgb(255,255,255)'
3751
- 'border'?: '2px solid rgba(255,255,255,1)'
3752
- 'boxSizing'?: 'border-box'
3751
+ border?: '2px solid rgba(255,255,255,1)'
3752
+ boxSizing?: 'border-box'
3753
3753
  }
3754
3754
  }
3755
3755
  }
@@ -5306,8 +5306,10 @@ export declare namespace BilibiliInternal {
5306
5306
  /**
5307
5307
  * [0][9]: sendType
5308
5308
  * 弹幕类型
5309
+ *
5310
+ * @default 0
5309
5311
  */
5310
- unknown, // [0][9]
5312
+ number, // [0][9]
5311
5313
  /**
5312
5314
  * [0][10]: 未知
5313
5315
  * 已知: 2、5
@@ -5325,7 +5327,6 @@ export declare namespace BilibiliInternal {
5325
5327
  * 未知,通常为 `'{}'`
5326
5328
  */
5327
5329
  '{}', // [0][14]
5328
-
5329
5330
  {
5330
5331
  /**
5331
5332
  * extra: extraJsonStr = {}
@@ -5354,12 +5355,10 @@ export declare namespace BilibiliInternal {
5354
5355
  // not_show, // 0
5355
5356
  // } // 16
5356
5357
  ],
5357
-
5358
5358
  /**
5359
5359
  * [1]: message
5360
5360
  */
5361
5361
  string,
5362
-
5363
5362
  // [2]
5364
5363
  [
5365
5364
  /**
@@ -5370,7 +5369,6 @@ export declare namespace BilibiliInternal {
5370
5369
  * [2][1]: username
5371
5370
  */
5372
5371
  string,
5373
-
5374
5372
  /**
5375
5373
  * [2][2]: userType
5376
5374
  * 0: normal user
@@ -5385,27 +5383,23 @@ export declare namespace BilibiliInternal {
5385
5383
  * [2][4]: isSvip
5386
5384
  */
5387
5385
  boolean, // 4
5388
-
5389
5386
  /**
5390
5387
  * [2][5]: isNewUser
5391
5388
  * < 10000: new user
5392
5389
  */
5393
5390
  boolean, // 5
5394
-
5395
5391
  /**
5396
5392
  * [2][6]: phoneVerified
5397
5393
  * 0: not verified
5398
5394
  * 1: verified
5399
5395
  */
5400
5396
  number, // 6
5401
-
5402
5397
  // username color in HEX format. normal user is empty
5403
5398
  /**
5404
5399
  * [2][7]: nameColor
5405
5400
  */
5406
5401
  string, // 7
5407
5402
  ],
5408
-
5409
5403
  // [3] badge
5410
5404
  (
5411
5405
  | [
@@ -5446,7 +5440,6 @@ export declare namespace BilibiliInternal {
5446
5440
  ]
5447
5441
  | null
5448
5442
  ),
5449
-
5450
5443
  // [4]
5451
5444
  [
5452
5445
  /**
@@ -5468,13 +5461,10 @@ export declare namespace BilibiliInternal {
5468
5461
  */
5469
5462
  number,
5470
5463
  ],
5471
-
5472
5464
  // [5] 头衔,有头衔时会返回 ["title-902-1", "title-902-1"],无头衔时会返回 ["", ""]
5473
5465
  [string, string], // 5
5474
-
5475
5466
  // [6],通常为一个数字,0,不知道是干什么的
5476
5467
  number, // 6
5477
-
5478
5468
  /**
5479
5469
  * [7]: guardType
5480
5470
  * 0: 白字
@@ -5483,10 +5473,8 @@ export declare namespace BilibiliInternal {
5483
5473
  * 3: 舰长
5484
5474
  */
5485
5475
  number,
5486
-
5487
5476
  // [8],通常为 null
5488
5477
  null, // 8
5489
-
5490
5478
  // [9]
5491
5479
  {
5492
5480
  // This is short and may have collision with high traffic danmakus
@@ -5498,25 +5486,18 @@ export declare namespace BilibiliInternal {
5498
5486
  */
5499
5487
  ct: string
5500
5488
  },
5501
-
5502
5489
  // [10]: 0
5503
5490
  unknown,
5504
-
5505
5491
  // [11]: 0
5506
5492
  unknown,
5507
-
5508
5493
  // [12]: null
5509
5494
  null,
5510
-
5511
5495
  // [13]: null
5512
5496
  null,
5513
-
5514
5497
  // [14]: 0
5515
5498
  number,
5516
-
5517
5499
  // [15]: 70
5518
5500
  number,
5519
-
5520
5501
  // [16]
5521
5502
  [
5522
5503
  /**
@@ -5524,7 +5505,6 @@ export declare namespace BilibiliInternal {
5524
5505
  */
5525
5506
  number,
5526
5507
  ],
5527
-
5528
5508
  /**
5529
5509
  * [17]
5530
5510
  * 当是大航海套票时,此字段存在
@@ -8251,7 +8231,8 @@ export declare namespace Aliyun {
8251
8231
  per: string
8252
8232
  prov: string
8253
8233
  }
8254
- | Record<string, unknown>
8234
+ // biome-ignore lint/complexity/noBannedTypes: expected empty object
8235
+ | {}
8255
8236
  /** 状态,'OK',当传入的地址无效时,依然返回 OK 😅 */
8256
8237
  status: string
8257
8238
  /** 算法处理耗时 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"