import { VersionInfo } from '@start9labs/start-sdk'

// Retire the legacy lp_profiles table + the orphaned LP Tracker page, and repoint the
// Dashboard "Total Committed" KPI onto the canonical fundraising grid. Code-only, no
// schema change (the empty lp_profiles table is left in place; migrations are no-ops):
//   * Removed /api/lp-profiles* endpoints + handlers, the unused lp-breakdown report,
//     the contact-dossier LP section, the demo-seed LP block, and (frontend) the
//     orphaned LPTrackerPage component + its lp-tracker->fundraising-grid redirect.
//   * Dashboard "Total Committed" now sums fundraising_investors.total_invested
//     (graveyarded investors excluded) instead of the orphaned lp_profiles table, which
//     read ~$0. "Total Funded" dropped (the grid has no funded-vs-committed concept).
//   * Tests: test_dashboard_report.py added; test_soft_delete_reads.py updated.
export const v_0_1_0_78 = VersionInfo.of({
  version: '0.1.0:78',
  releaseNotes: {
    en_US: [
      'Dashboard "Total Committed" now reflects real committed capital from the fundraising grid',
      'instead of the retired LP-profile table. Removed the unused LP Tracker page and its',
      'legacy data endpoints; the grid remains the single source of truth for investors.',
    ].join(' '),
  },
  migrations: { up: async () => {}, down: async () => {} },
})
