mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
* feat(lint): allow circular self deps * feat(lint): enforce module boundaries * feat(lib): move data provider response interface to common * feat(lib): move symbol item interface to common * feat(lib): move activity interface to common * feat(lint): temporarily disable @nx/enforce-module-boundaries for ui files * feat(lint): temporarily disable @nx/enforce-module-boundaries for client files * feat(lint): ignore circular deps between client and ui * feat(common): implement barrel export for data provider response interface * feat(common): implement barrel export for activity interface * feat(common): implement barrel export for symbol item interfacepull/5417/merge
committed by
GitHub
89 changed files with 159 additions and 134 deletions
@ -1,3 +1,3 @@ |
|||
import { Activity } from '@ghostfolio/api/app/order/interfaces/activities.interface'; |
|||
import { Activity } from '@ghostfolio/common/interfaces'; |
|||
|
|||
export interface ActivityResponse extends Activity {} |
|||
|
|||
@ -0,0 +1,16 @@ |
|||
import { DataProviderInfo } from '@ghostfolio/common/interfaces'; |
|||
import { MarketState } from '@ghostfolio/common/types'; |
|||
|
|||
import { DataSource } from '@prisma/client'; |
|||
|
|||
export interface DataProviderHistoricalResponse { |
|||
marketPrice: number; |
|||
} |
|||
|
|||
export interface DataProviderResponse { |
|||
currency: string; |
|||
dataProviderInfo?: DataProviderInfo; |
|||
dataSource: DataSource; |
|||
marketPrice: number; |
|||
marketState: MarketState; |
|||
} |
|||
Loading…
Reference in new issue