feat(financials-v2): add financial statements endpoint and query plumbing
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
export const queryKeys = {
|
||||
companyAnalysis: (ticker: string) => ['analysis', ticker] as const,
|
||||
companyFinancialStatements: (
|
||||
ticker: string,
|
||||
mode: string,
|
||||
statement: string,
|
||||
window: string,
|
||||
includeDimensions: boolean,
|
||||
cursor: string | null,
|
||||
limit: number
|
||||
) => ['financials-v2', ticker, mode, statement, window, includeDimensions ? 'dims' : 'no-dims', cursor ?? '', limit] as const,
|
||||
filings: (ticker: string | null, limit: number) => ['filings', ticker ?? '', limit] as const,
|
||||
report: (accessionNumber: string) => ['report', accessionNumber] as const,
|
||||
watchlist: () => ['watchlist'] as const,
|
||||
|
||||
Reference in New Issue
Block a user