@laplace.live/internal 1.2.12 → 1.2.13
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 +37 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -300,6 +300,10 @@ export declare namespace LaplaceInternal {
|
|
|
300
300
|
*/
|
|
301
301
|
status: 0 | 404
|
|
302
302
|
uid: number
|
|
303
|
+
/** 真实房间号 */
|
|
304
|
+
roomId: number
|
|
305
|
+
/** 短房间号 */
|
|
306
|
+
shortRoomId: number
|
|
303
307
|
}
|
|
304
308
|
|
|
305
309
|
/**
|
|
@@ -618,6 +622,39 @@ export declare namespace LaplaceInternal {
|
|
|
618
622
|
error: string
|
|
619
623
|
guild: string
|
|
620
624
|
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Request body for guild info update
|
|
628
|
+
* @example POST /laplace/guild-update
|
|
629
|
+
*/
|
|
630
|
+
export interface UpdateGuildInfoRequest {
|
|
631
|
+
uid: number
|
|
632
|
+
guildName: string
|
|
633
|
+
updatedAt?: number
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Successful response for guild info update
|
|
638
|
+
* @example POST /laplace/guild-update
|
|
639
|
+
*/
|
|
640
|
+
export interface UpdateGuildInfoResponse {
|
|
641
|
+
success: true
|
|
642
|
+
message: string
|
|
643
|
+
uid: number
|
|
644
|
+
guildName: string
|
|
645
|
+
updatedAt: number
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Error response for guild info update
|
|
650
|
+
* @example POST /laplace/guild-update
|
|
651
|
+
*/
|
|
652
|
+
export interface UpdateGuildInfoError {
|
|
653
|
+
success: false
|
|
654
|
+
error: string
|
|
655
|
+
uid?: number
|
|
656
|
+
details?: string
|
|
657
|
+
}
|
|
621
658
|
}
|
|
622
659
|
|
|
623
660
|
/** Migrated from experiments.sparanoid.net */
|