@laplace.live/internal 1.3.9 → 1.3.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "module": "src/index.d.ts",
5
5
  "exports": {
6
6
  ".": "./src/index.d.ts",
@@ -732,6 +732,13 @@ export declare namespace LaplaceInternal {
732
732
  nextPeriod: Date
733
733
  /** How many history entries used for calculation */
734
734
  dataPoints: number
735
+ /**
736
+ * Number of complete cycles estimated to have passed since the last
737
+ * observed period. Zero when data is fresh; non-zero when no recent
738
+ * observation exists, in which case dayInCycle, status, and nextPeriod
739
+ * are projected forward assuming the cycle continued normally.
740
+ */
741
+ cyclesElapsedSinceObservation: number
735
742
  }
736
743
 
737
744
  /**
@@ -775,6 +782,12 @@ export declare namespace LaplaceInternal {
775
782
  effectiveCycleLength: number
776
783
  effectivePeriodLength: number
777
784
  dataPoints: number
785
+ /**
786
+ * Complete cycles estimated to have passed since the last observed
787
+ * period. Zero when data is fresh; non-zero indicates dayInCycle and
788
+ * status are projected from a stale observation.
789
+ */
790
+ cyclesElapsedSinceObservation: number
778
791
  userPreferences: {
779
792
  cycleLength: number
780
793
  periodLength: number
@@ -824,10 +837,16 @@ export declare namespace LaplaceInternal {
824
837
  nextPeriod: string
825
838
  /** Calculated cycle length based on history (median) or user preference */
826
839
  effectiveCycleLength: number
827
- /** Calculated period length based on history (mean) or user preference */
840
+ /** Calculated period length based on history (median) or user preference */
828
841
  effectivePeriodLength: number
829
842
  /** Number of history entries used for calculation */
830
843
  dataPoints: number
844
+ /**
845
+ * Complete cycles estimated to have passed since the last observed
846
+ * period. Zero when data is fresh; non-zero indicates dayInCycle and
847
+ * status are projected from a stale observation.
848
+ */
849
+ cyclesElapsedSinceObservation: number
831
850
  }
832
851
 
833
852
  /**