@laplace.live/internal 1.2.28 → 1.2.30

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 +42 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -720,6 +720,14 @@ export declare namespace LaplaceInternal {
720
720
  liveStatus: number | null
721
721
  /** Number of live room membership */
722
722
  liveFansCount: number | null
723
+ /** Guild membership info */
724
+ guildInfo: {
725
+ history: {
726
+ name: string
727
+ /** Unix timestamp in milliseconds */
728
+ updatedAt: number
729
+ }[]
730
+ } | null
723
731
  } | null
724
732
  status: FertilityStatus
725
733
  dayInCycle: number
@@ -750,6 +758,14 @@ export declare namespace LaplaceInternal {
750
758
  liveStatus: number | null
751
759
  /** Number of live room followers */
752
760
  liveFansCount: number | null
761
+ /** Guild membership info */
762
+ guildInfo: {
763
+ history: {
764
+ name: string
765
+ /** Unix timestamp in milliseconds */
766
+ updatedAt: number
767
+ }[]
768
+ } | null
753
769
  } | null
754
770
  status: FertilityStatus
755
771
  dayInCycle: number
@@ -879,6 +895,32 @@ export declare namespace LaplaceInternal {
879
895
  status: ContributionStatus
880
896
  }
881
897
 
898
+ /**
899
+ * Request body for PATCH /laplace/fertility-contribution-update/:id
900
+ * All fields are optional - only provided fields will be updated
901
+ */
902
+ export interface FertilityContributionUpdateRequest {
903
+ /** Bilibili user ID */
904
+ uid?: number
905
+ /** Unix timestamp (ms) when period started */
906
+ periodStart?: number
907
+ /** How many days this period lasted (1-15), or null to clear */
908
+ periodLength?: number | null
909
+ /** User's preferred cycle length (15-60), or null to clear */
910
+ cycleLength?: number | null
911
+ /** Evidence URL (must be HTTP/HTTPS, max 256 chars) */
912
+ source?: string
913
+ }
914
+
915
+ /**
916
+ * Response for PATCH /laplace/fertility-contribution-update/:id
917
+ */
918
+ export interface FertilityContributionUpdateResponse {
919
+ success: true
920
+ id: number
921
+ contribution?: FertilityContribution
922
+ }
923
+
882
924
  /**
883
925
  * Response for GET /laplace/fertility-contribution-stats
884
926
  * Public endpoint showing contribution statistics
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.2.28",
3
+ "version": "1.2.30",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"