@laplace.live/internal 1.2.9 → 1.2.11
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 +21 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -594,6 +594,27 @@ export declare namespace LaplaceInternal {
|
|
|
594
594
|
/** json config URL, only the hash part */
|
|
595
595
|
json: string
|
|
596
596
|
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Successful response for guild members list
|
|
600
|
+
* @example /laplace/bilibili-guilds/:guildName
|
|
601
|
+
*/
|
|
602
|
+
export interface ListGuildMembers {
|
|
603
|
+
success: true
|
|
604
|
+
guild: string
|
|
605
|
+
count: number
|
|
606
|
+
members: LaplaceInternal.HTTPS.Workers.BilibiliUser[]
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Error response when guild is not found
|
|
611
|
+
* @example /laplace/bilibili-guilds/:guildName
|
|
612
|
+
*/
|
|
613
|
+
export interface ListGuildMembersNotFound {
|
|
614
|
+
success: false
|
|
615
|
+
error: string
|
|
616
|
+
guild: string
|
|
617
|
+
}
|
|
597
618
|
}
|
|
598
619
|
|
|
599
620
|
/** Migrated from experiments.sparanoid.net */
|