Expand financials surfaces with ratios, KPIs, and cadence support

- Add bundled financial modeling pipeline (ratios, KPI dimensions/notes, trend series, standardization)
- Introduce company financial bundles storage (Drizzle migration + repo wiring)
- Refactor financials page/API/query flow to use surfaceKind + cadence and new response shapes
This commit is contained in:
2026-03-07 15:16:35 -05:00
parent a42622ba6e
commit db01f207a5
33 changed files with 3589 additions and 1643 deletions

View File

@@ -2,8 +2,7 @@ import { describe, expect, it } from 'bun:test';
import { __financialStatementsInternals } from './financial-statements';
describe('financial statements service internals', () => {
it('returns default sync limits by window', () => {
expect(__financialStatementsInternals.defaultFinancialSyncLimit('10y')).toBe(60);
expect(__financialStatementsInternals.defaultFinancialSyncLimit('all')).toBe(120);
it('returns the default sync limit', () => {
expect(__financialStatementsInternals.defaultFinancialSyncLimit()).toBe(60);
});
});