@laplace.live/internal 1.2.1 → 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 +8 -29
  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
  }
@@ -5327,7 +5327,6 @@ export declare namespace BilibiliInternal {
5327
5327
  * 未知,通常为 `'{}'`
5328
5328
  */
5329
5329
  '{}', // [0][14]
5330
-
5331
5330
  {
5332
5331
  /**
5333
5332
  * extra: extraJsonStr = {}
@@ -5356,12 +5355,10 @@ export declare namespace BilibiliInternal {
5356
5355
  // not_show, // 0
5357
5356
  // } // 16
5358
5357
  ],
5359
-
5360
5358
  /**
5361
5359
  * [1]: message
5362
5360
  */
5363
5361
  string,
5364
-
5365
5362
  // [2]
5366
5363
  [
5367
5364
  /**
@@ -5372,7 +5369,6 @@ export declare namespace BilibiliInternal {
5372
5369
  * [2][1]: username
5373
5370
  */
5374
5371
  string,
5375
-
5376
5372
  /**
5377
5373
  * [2][2]: userType
5378
5374
  * 0: normal user
@@ -5387,27 +5383,23 @@ export declare namespace BilibiliInternal {
5387
5383
  * [2][4]: isSvip
5388
5384
  */
5389
5385
  boolean, // 4
5390
-
5391
5386
  /**
5392
5387
  * [2][5]: isNewUser
5393
5388
  * < 10000: new user
5394
5389
  */
5395
5390
  boolean, // 5
5396
-
5397
5391
  /**
5398
5392
  * [2][6]: phoneVerified
5399
5393
  * 0: not verified
5400
5394
  * 1: verified
5401
5395
  */
5402
5396
  number, // 6
5403
-
5404
5397
  // username color in HEX format. normal user is empty
5405
5398
  /**
5406
5399
  * [2][7]: nameColor
5407
5400
  */
5408
5401
  string, // 7
5409
5402
  ],
5410
-
5411
5403
  // [3] badge
5412
5404
  (
5413
5405
  | [
@@ -5448,7 +5440,6 @@ export declare namespace BilibiliInternal {
5448
5440
  ]
5449
5441
  | null
5450
5442
  ),
5451
-
5452
5443
  // [4]
5453
5444
  [
5454
5445
  /**
@@ -5470,13 +5461,10 @@ export declare namespace BilibiliInternal {
5470
5461
  */
5471
5462
  number,
5472
5463
  ],
5473
-
5474
5464
  // [5] 头衔,有头衔时会返回 ["title-902-1", "title-902-1"],无头衔时会返回 ["", ""]
5475
5465
  [string, string], // 5
5476
-
5477
5466
  // [6],通常为一个数字,0,不知道是干什么的
5478
5467
  number, // 6
5479
-
5480
5468
  /**
5481
5469
  * [7]: guardType
5482
5470
  * 0: 白字
@@ -5485,10 +5473,8 @@ export declare namespace BilibiliInternal {
5485
5473
  * 3: 舰长
5486
5474
  */
5487
5475
  number,
5488
-
5489
5476
  // [8],通常为 null
5490
5477
  null, // 8
5491
-
5492
5478
  // [9]
5493
5479
  {
5494
5480
  // This is short and may have collision with high traffic danmakus
@@ -5500,25 +5486,18 @@ export declare namespace BilibiliInternal {
5500
5486
  */
5501
5487
  ct: string
5502
5488
  },
5503
-
5504
5489
  // [10]: 0
5505
5490
  unknown,
5506
-
5507
5491
  // [11]: 0
5508
5492
  unknown,
5509
-
5510
5493
  // [12]: null
5511
5494
  null,
5512
-
5513
5495
  // [13]: null
5514
5496
  null,
5515
-
5516
5497
  // [14]: 0
5517
5498
  number,
5518
-
5519
5499
  // [15]: 70
5520
5500
  number,
5521
-
5522
5501
  // [16]
5523
5502
  [
5524
5503
  /**
@@ -5526,7 +5505,6 @@ export declare namespace BilibiliInternal {
5526
5505
  */
5527
5506
  number,
5528
5507
  ],
5529
-
5530
5508
  /**
5531
5509
  * [17]
5532
5510
  * 当是大航海套票时,此字段存在
@@ -8253,7 +8231,8 @@ export declare namespace Aliyun {
8253
8231
  per: string
8254
8232
  prov: string
8255
8233
  }
8256
- | Record<string, unknown>
8234
+ // biome-ignore lint/complexity/noBannedTypes: expected empty object
8235
+ | {}
8257
8236
  /** 状态,'OK',当传入的地址无效时,依然返回 OK 😅 */
8258
8237
  status: string
8259
8238
  /** 算法处理耗时 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"