@laplace.live/internal 1.2.37 → 1.2.38

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 +31 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -524,6 +524,20 @@ export declare namespace LaplaceInternal {
524
524
  updatedAt: number
525
525
  }[]
526
526
  } | null
527
+ /** MCN 机构详细信息 */
528
+ mcnInfo: {
529
+ history: {
530
+ /** MCN agency ID */
531
+ mcnId: number
532
+ /** MCN agency name */
533
+ mcnName: string
534
+ /** Unix timestamp
535
+ *
536
+ * @example 1758039520166
537
+ */
538
+ updatedAt: number
539
+ }[]
540
+ } | null
527
541
  }
528
542
 
529
543
  /**
@@ -1010,6 +1024,23 @@ export declare namespace LaplaceInternal {
1010
1024
  updatedAt: number
1011
1025
  }
1012
1026
 
1027
+ // ============================================
1028
+ // MCN History Types
1029
+ // ============================================
1030
+
1031
+ /**
1032
+ * A single MCN agency history entry - tracks each MCN membership change
1033
+ * Stored in the `mcnInfo.history` JSONB column on bilibili_users table
1034
+ */
1035
+ export interface McnHistoryItem {
1036
+ /** MCN agency ID */
1037
+ mcnId: number
1038
+ /** MCN agency name */
1039
+ mcnName: string
1040
+ /** Unix timestamp (ms) - when this MCN membership was recorded */
1041
+ updatedAt: number
1042
+ }
1043
+
1013
1044
  /**
1014
1045
  * Response for GET /laplace/guild-entry/:uid
1015
1046
  * Returns guild history for a specific user
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.2.37",
3
+ "version": "1.2.38",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"