@laplace.live/internal 1.2.40 → 1.2.42
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.
- package/index.d.ts +40 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -740,6 +740,17 @@ export declare namespace LaplaceInternal {
|
|
|
740
740
|
updatedAt: number
|
|
741
741
|
}[]
|
|
742
742
|
} | null
|
|
743
|
+
/** MCN agency membership info */
|
|
744
|
+
mcnInfo: {
|
|
745
|
+
history: {
|
|
746
|
+
/** MCN agency ID */
|
|
747
|
+
mcnId: number
|
|
748
|
+
/** MCN agency name */
|
|
749
|
+
mcnName: string
|
|
750
|
+
/** Unix timestamp in milliseconds */
|
|
751
|
+
updatedAt: number
|
|
752
|
+
}[]
|
|
753
|
+
} | null
|
|
743
754
|
} | null
|
|
744
755
|
status: FertilityStatus
|
|
745
756
|
dayInCycle: number
|
|
@@ -778,6 +789,17 @@ export declare namespace LaplaceInternal {
|
|
|
778
789
|
updatedAt: number
|
|
779
790
|
}[]
|
|
780
791
|
} | null
|
|
792
|
+
/** MCN agency membership info */
|
|
793
|
+
mcnInfo: {
|
|
794
|
+
history: {
|
|
795
|
+
/** MCN agency ID */
|
|
796
|
+
mcnId: number
|
|
797
|
+
/** MCN agency name */
|
|
798
|
+
mcnName: string
|
|
799
|
+
/** Unix timestamp in milliseconds */
|
|
800
|
+
updatedAt: number
|
|
801
|
+
}[]
|
|
802
|
+
} | null
|
|
781
803
|
} | null
|
|
782
804
|
status: FertilityStatus
|
|
783
805
|
dayInCycle: number
|
|
@@ -1116,7 +1138,7 @@ export declare namespace LaplaceInternal {
|
|
|
1116
1138
|
}
|
|
1117
1139
|
|
|
1118
1140
|
/**
|
|
1119
|
-
* Request body for POST /laplace/mcn-update
|
|
1141
|
+
* Request body for POST /laplace/mcn-batch-update
|
|
1120
1142
|
* Batch updates MCN info for multiple users (max 10,000 entries)
|
|
1121
1143
|
*/
|
|
1122
1144
|
export interface McnBatchUpdateRequest {
|
|
@@ -1124,17 +1146,21 @@ export declare namespace LaplaceInternal {
|
|
|
1124
1146
|
}
|
|
1125
1147
|
|
|
1126
1148
|
/**
|
|
1127
|
-
* Response for POST /laplace/mcn-update
|
|
1149
|
+
* Response for POST /laplace/mcn-batch-update
|
|
1128
1150
|
*/
|
|
1129
1151
|
export interface McnBatchUpdateResponse {
|
|
1130
1152
|
success: true
|
|
1131
1153
|
/** Total entries received */
|
|
1132
1154
|
total: number
|
|
1133
|
-
/**
|
|
1155
|
+
/** Count of users whose mcnInfo was changed */
|
|
1134
1156
|
updated: number
|
|
1135
|
-
/**
|
|
1157
|
+
/** UIDs whose mcnInfo was changed (new MCN or MCN change) */
|
|
1158
|
+
updatedUids: number[]
|
|
1159
|
+
/** Count of users whose MCN matched the latest history entry (no-op) */
|
|
1136
1160
|
unchanged: number
|
|
1137
|
-
/** UIDs
|
|
1161
|
+
/** UIDs whose MCN matched the latest history entry (no-op) */
|
|
1162
|
+
unchangedUids: number[]
|
|
1163
|
+
/** Count of UIDs not found in bilibili_users */
|
|
1138
1164
|
skipped: number
|
|
1139
1165
|
/** List of missing UIDs */
|
|
1140
1166
|
skippedUids: number[]
|
|
@@ -1151,8 +1177,8 @@ export declare namespace LaplaceInternal {
|
|
|
1151
1177
|
export interface GuildBatchUpdateEntry {
|
|
1152
1178
|
/** User's Bilibili UID (maps to bilibili_users.id) */
|
|
1153
1179
|
upper_mid: number
|
|
1154
|
-
/** Guild name */
|
|
1155
|
-
live_guild_name: string
|
|
1180
|
+
/** Guild name (null if user is not in any guild) */
|
|
1181
|
+
live_guild_name: string | null
|
|
1156
1182
|
}
|
|
1157
1183
|
|
|
1158
1184
|
/**
|
|
@@ -1170,11 +1196,15 @@ export declare namespace LaplaceInternal {
|
|
|
1170
1196
|
success: true
|
|
1171
1197
|
/** Total entries received */
|
|
1172
1198
|
total: number
|
|
1173
|
-
/**
|
|
1199
|
+
/** Count of users whose guildInfo was changed */
|
|
1174
1200
|
updated: number
|
|
1175
|
-
/**
|
|
1201
|
+
/** UIDs whose guildInfo was changed (new guild or guild change) */
|
|
1202
|
+
updatedUids: number[]
|
|
1203
|
+
/** Count of users whose guild matched the latest history entry (no-op) */
|
|
1176
1204
|
unchanged: number
|
|
1177
|
-
/** UIDs
|
|
1205
|
+
/** UIDs whose guild matched the latest history entry (no-op) */
|
|
1206
|
+
unchangedUids: number[]
|
|
1207
|
+
/** Count of UIDs not found in bilibili_users */
|
|
1178
1208
|
skipped: number
|
|
1179
1209
|
/** List of missing UIDs */
|
|
1180
1210
|
skippedUids: number[]
|