@laplace.live/internal 1.2.29 → 1.2.31
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 +26 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -895,6 +895,32 @@ export declare namespace LaplaceInternal {
|
|
|
895
895
|
status: ContributionStatus
|
|
896
896
|
}
|
|
897
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), or null to remove */
|
|
912
|
+
source?: string | null
|
|
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
|
+
|
|
898
924
|
/**
|
|
899
925
|
* Response for GET /laplace/fertility-contribution-stats
|
|
900
926
|
* Public endpoint showing contribution statistics
|