@laplace.live/internal 1.2.45 → 1.2.46

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 +41 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -540,6 +540,47 @@ export declare namespace LaplaceInternal {
540
540
  tags?: LaplaceInternal.HTTPS.Workers.TagWithCount[]
541
541
  }
542
542
 
543
+ /**
544
+ * 列表哔哩哔哩用户(分页)
545
+ * @link /laplace/bilibili-users
546
+ *
547
+ * Query params:
548
+ * - `?page=1` — page number (min 1, default 1)
549
+ * - `?pageSize=100` — items per page (1–500, default 100)
550
+ * - `?all=true` — return all rows without pagination
551
+ * - `?tags=1,2,3` — filter to users who have all listed tag IDs (AND)
552
+ */
553
+ export interface ListBilibiliUsers {
554
+ id: number
555
+ room: number | null
556
+ username: string
557
+ liveFansCount: number | null
558
+ liveFansMedal: string | null
559
+ liveStatus: number | null
560
+ /** @deprecated use `guildInfo` instead */
561
+ guild: number | null
562
+ avatar: string | null
563
+ guildInfo: {
564
+ history: {
565
+ name: string
566
+ /** Unix timestamp */
567
+ updatedAt: number
568
+ }[]
569
+ } | null
570
+ mcnInfo: {
571
+ history: {
572
+ mcnId: number
573
+ mcnName: string
574
+ /** Unix timestamp */
575
+ updatedAt: number
576
+ }[]
577
+ } | null
578
+ /** Raw integer tag IDs assigned to this user */
579
+ tags: number[] | null
580
+ /** ISO 8601 timestamp */
581
+ updatedAt: string
582
+ }
583
+
543
584
  // ============================================
544
585
  // Tag Types
545
586
  // ============================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.2.45",
3
+ "version": "1.2.46",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"