@laplace.live/internal 1.2.11 → 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 +40 -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
|
/**
|
|
@@ -497,6 +501,9 @@ export declare namespace LaplaceInternal {
|
|
|
497
501
|
} | null
|
|
498
502
|
/** 工会详细信息 */
|
|
499
503
|
guildInfo: {
|
|
504
|
+
/**
|
|
505
|
+
* @deprecated use `history` instead, latest guild is now migrated to history in Sep 25, 2025, 4:51:27 AM PDT
|
|
506
|
+
*/
|
|
500
507
|
current: {
|
|
501
508
|
name: string
|
|
502
509
|
/** Unix timestamp
|
|
@@ -615,6 +622,39 @@ export declare namespace LaplaceInternal {
|
|
|
615
622
|
error: string
|
|
616
623
|
guild: string
|
|
617
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
|
+
}
|
|
618
658
|
}
|
|
619
659
|
|
|
620
660
|
/** Migrated from experiments.sparanoid.net */
|