@laplace.live/internal 1.2.27 → 1.2.29

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 +28 -1
  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
@@ -820,7 +836,7 @@ export declare namespace LaplaceInternal {
820
836
  periodLength?: number
821
837
  /** Optional: Update user's preferred cycle length (15-60) */
822
838
  cycleLength?: number
823
- /** Evidence URL (required, must be a valid URL, max 256 chars) */
839
+ /** Evidence URL (required, must be HTTP/HTTPS, max 256 chars) */
824
840
  source: string
825
841
  /** Cloudflare Turnstile token for bot verification */
826
842
  turnstileToken: string
@@ -878,6 +894,17 @@ export declare namespace LaplaceInternal {
878
894
  id: number
879
895
  status: ContributionStatus
880
896
  }
897
+
898
+ /**
899
+ * Response for GET /laplace/fertility-contribution-stats
900
+ * Public endpoint showing contribution statistics
901
+ */
902
+ export interface FertilityContributionStatsResponse {
903
+ pending: number
904
+ approved: number
905
+ rejected: number
906
+ total: number
907
+ }
881
908
  }
882
909
 
883
910
  /** 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.27",
3
+ "version": "1.2.29",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"