feat(FEAT-MO-001): 同步市场概览前端契约
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import type { components } from '@/api/generated/schema';
|
||||
|
||||
export type SummaryResponse = components['schemas']['SummaryResponseDto'];
|
||||
export type IndicesResponse = components['schemas']['IndicesResponseDto'];
|
||||
export type BreadthResponse = components['schemas']['BreadthResponseDto'];
|
||||
export type SectorsResponse = components['schemas']['SectorsResponseDto'];
|
||||
export type FundsResponse = components['schemas']['FundsResponseDto'];
|
||||
export type SummaryData = NonNullable<SummaryResponse['data']>;
|
||||
export type IndicesData = NonNullable<IndicesResponse['data']>;
|
||||
export type BreadthData = NonNullable<BreadthResponse['data']>;
|
||||
export type SectorsData = NonNullable<SectorsResponse['data']>;
|
||||
export type FundsData = NonNullable<FundsResponse['data']>;
|
||||
|
||||
export type OverviewModuleStatus = 'idle' | 'loading' | 'ready' | 'error';
|
||||
Reference in New Issue
Block a user