@laplace.live/internal 1.2.27 → 1.2.28
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 +12 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -820,7 +820,7 @@ export declare namespace LaplaceInternal {
|
|
|
820
820
|
periodLength?: number
|
|
821
821
|
/** Optional: Update user's preferred cycle length (15-60) */
|
|
822
822
|
cycleLength?: number
|
|
823
|
-
/** Evidence URL (required, must be
|
|
823
|
+
/** Evidence URL (required, must be HTTP/HTTPS, max 256 chars) */
|
|
824
824
|
source: string
|
|
825
825
|
/** Cloudflare Turnstile token for bot verification */
|
|
826
826
|
turnstileToken: string
|
|
@@ -878,6 +878,17 @@ export declare namespace LaplaceInternal {
|
|
|
878
878
|
id: number
|
|
879
879
|
status: ContributionStatus
|
|
880
880
|
}
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Response for GET /laplace/fertility-contribution-stats
|
|
884
|
+
* Public endpoint showing contribution statistics
|
|
885
|
+
*/
|
|
886
|
+
export interface FertilityContributionStatsResponse {
|
|
887
|
+
pending: number
|
|
888
|
+
approved: number
|
|
889
|
+
rejected: number
|
|
890
|
+
total: number
|
|
891
|
+
}
|
|
881
892
|
}
|
|
882
893
|
|
|
883
894
|
/** Migrated from experiments.sparanoid.net */
|