@libxai/board 1.5.84 → 1.5.86

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/dist/index.d.cts CHANGED
@@ -3998,6 +3998,21 @@ interface ListViewConfig {
3998
3998
  rateMap?: Record<string, number>;
3999
3999
  /** Show a sticky "TOTAL PROJECT" row at the bottom of the list */
4000
4000
  showProjectTotals?: boolean;
4001
+ /**
4002
+ * v2.5.2: Canonical dollar totals override for the TOTAL PROJECT footer.
4003
+ * When provided, replaces the internally-computed dollar totals (which
4004
+ * multiply task.timeLoggedMinutes by current assignee rates) with the
4005
+ * consumer's authoritative figures — typically sourced from time_logs ×
4006
+ * rate_at_time. Lets the footer stay in sync with the Portfolio view
4007
+ * and the financial health sidebar, which use frozen per-log rates.
4008
+ * Hours totals (spent/allocated/quoted in minutes) remain computed
4009
+ * internally from the rendered task tree.
4010
+ */
4011
+ totalsDollarOverride?: {
4012
+ spent?: number;
4013
+ allocated?: number;
4014
+ quoted?: number;
4015
+ };
4001
4016
  /** v2.5.0: Render content just before the Create Task button (e.g., share/export dropdown) */
4002
4017
  toolbarEndContent?: ReactNode;
4003
4018
  }
package/dist/index.d.ts CHANGED
@@ -3998,6 +3998,21 @@ interface ListViewConfig {
3998
3998
  rateMap?: Record<string, number>;
3999
3999
  /** Show a sticky "TOTAL PROJECT" row at the bottom of the list */
4000
4000
  showProjectTotals?: boolean;
4001
+ /**
4002
+ * v2.5.2: Canonical dollar totals override for the TOTAL PROJECT footer.
4003
+ * When provided, replaces the internally-computed dollar totals (which
4004
+ * multiply task.timeLoggedMinutes by current assignee rates) with the
4005
+ * consumer's authoritative figures — typically sourced from time_logs ×
4006
+ * rate_at_time. Lets the footer stay in sync with the Portfolio view
4007
+ * and the financial health sidebar, which use frozen per-log rates.
4008
+ * Hours totals (spent/allocated/quoted in minutes) remain computed
4009
+ * internally from the rendered task tree.
4010
+ */
4011
+ totalsDollarOverride?: {
4012
+ spent?: number;
4013
+ allocated?: number;
4014
+ quoted?: number;
4015
+ };
4001
4016
  /** v2.5.0: Render content just before the Create Task button (e.g., share/export dropdown) */
4002
4017
  toolbarEndContent?: ReactNode;
4003
4018
  }