@laplace.live/internal 1.2.46 → 1.2.47

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 +15 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -551,6 +551,21 @@ export declare namespace LaplaceInternal {
551
551
  * - `?tags=1,2,3` — filter to users who have all listed tag IDs (AND)
552
552
  */
553
553
  export interface ListBilibiliUsers {
554
+ data: ListBilibiliUsersItem[]
555
+ total: number
556
+ }
557
+
558
+ /**
559
+ * Single user item returned by the list endpoint.
560
+ *
561
+ * Differs from {@link BilibiliUser} (single-user endpoint) because the list
562
+ * query returns raw DB rows without relation joins or sanitization:
563
+ * - `guild` is a raw numeric FK (not a resolved name string)
564
+ * - `tags` is a raw `int[]` (not resolved {@link TagWithCount} objects)
565
+ * - `mcnInfo.history` entries include `mcnId` (stripped in single-user endpoint)
566
+ * - No `guildDetails` relation (only present when joined via single-user query)
567
+ */
568
+ export interface ListBilibiliUsersItem {
554
569
  id: number
555
570
  room: number | null
556
571
  username: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.2.46",
3
+ "version": "1.2.47",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"