@laplace.live/internal 1.2.9 → 1.2.10

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 +19 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -594,6 +594,25 @@ 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
+ guild: string
604
+ count: number
605
+ members: LaplaceInternal.HTTPS.Workers.BilibiliUser[]
606
+ }
607
+
608
+ /**
609
+ * Error response when guild is not found
610
+ * @example /laplace/bilibili-guilds/:guildName
611
+ */
612
+ export interface ListGuildMembersNotFound {
613
+ error: string
614
+ guild: string
615
+ }
597
616
  }
598
617
 
599
618
  /** Migrated from experiments.sparanoid.net */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"