@infosel-sdk/markets 1.2.4 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +235 -0
- package/README.md +111 -423
- package/package.json +1 -1
- package/src/__tests__/__mocks__/apis/markets-api.mock.d.ts +0 -73
- package/src/__tests__/__mocks__/apis/markets-api.mock.js +3 -45
- package/src/__tests__/__mocks__/apis/markets-api.mock.js.map +1 -1
- package/src/__tests__/utils/mock-datasource.js +0 -16
- package/src/__tests__/utils/mock-datasource.js.map +1 -1
- package/src/__tests__/utils/mock-factories.d.ts +0 -104
- package/src/__tests__/utils/mock-factories.js +6 -24
- package/src/__tests__/utils/mock-factories.js.map +1 -1
- package/src/__tests__/utils/mock-repository.d.ts +0 -12
- package/src/__tests__/utils/mock-repository.js +2 -46
- package/src/__tests__/utils/mock-repository.js.map +1 -1
- package/src/__tests__/utils/test-helpers.d.ts +0 -2
- package/src/__tests__/utils/test-helpers.js +0 -6
- package/src/__tests__/utils/test-helpers.js.map +1 -1
- package/src/data/datasources/markets_datasource_impl.d.ts +6 -55
- package/src/data/datasources/markets_datasource_impl.js +11 -985
- package/src/data/datasources/markets_datasource_impl.js.map +1 -1
- package/src/data/di/infosel_markets_component.d.ts +4 -60
- package/src/data/di/infosel_markets_component.js +0 -137
- package/src/data/di/infosel_markets_component.js.map +1 -1
- package/src/data/di/infosel_markets_module.d.ts +1 -4
- package/src/data/di/infosel_markets_module.js +1 -7
- package/src/data/di/infosel_markets_module.js.map +1 -1
- package/src/data/mappers/markets_mapper.d.ts +1 -41
- package/src/data/mappers/markets_mapper.js +7 -177
- package/src/data/mappers/markets_mapper.js.map +1 -1
- package/src/data/models/instrument_fields_model.d.ts +7 -0
- package/src/data/repositories/markets_repository_impl.d.ts +4 -48
- package/src/data/repositories/markets_repository_impl.js +0 -57
- package/src/data/repositories/markets_repository_impl.js.map +1 -1
- package/src/domain/datasources/markets_datasource.d.ts +4 -47
- package/src/domain/di/markets_component.d.ts +18 -41
- package/src/domain/di/markets_module.d.ts +1 -2
- package/src/domain/entities/get_last_request.d.ts +4 -0
- package/src/{data/models/user_model.js → domain/entities/get_last_request.js} +1 -1
- package/src/domain/entities/get_last_request.js.map +1 -0
- package/src/domain/entities/index.d.ts +0 -20
- package/src/domain/entities/index.js +0 -20
- package/src/domain/entities/index.js.map +1 -1
- package/src/domain/entities/instrument_fields.d.ts +7 -0
- package/src/domain/repositories/markets_repository.d.ts +4 -43
- package/src/domain/use_cases/get_instrument_fields_use_case.d.ts +3 -2
- package/src/domain/use_cases/get_instrument_fields_use_case.js.map +1 -1
- package/src/domain/use_cases/get_instrument_multiple_fields_use_case.d.ts +2 -1
- package/src/domain/use_cases/get_instrument_multiple_fields_use_case.js.map +1 -1
- package/src/index.d.ts +1 -4
- package/src/index.js +0 -2
- package/src/index.js.map +1 -1
- package/src/data/models/delete_workspace_response_model.d.ts +0 -5
- package/src/data/models/delete_workspace_response_model.js +0 -3
- package/src/data/models/delete_workspace_response_model.js.map +0 -1
- package/src/data/models/get_user_workspaces_response_model.d.ts +0 -15
- package/src/data/models/get_user_workspaces_response_model.js +0 -3
- package/src/data/models/get_user_workspaces_response_model.js.map +0 -1
- package/src/data/models/project_model.d.ts +0 -12
- package/src/data/models/project_model.js +0 -3
- package/src/data/models/project_model.js.map +0 -1
- package/src/data/models/project_widgets_response_model.d.ts +0 -8
- package/src/data/models/project_widgets_response_model.js +0 -3
- package/src/data/models/project_widgets_response_model.js.map +0 -1
- package/src/data/models/user_model.d.ts +0 -7
- package/src/data/models/user_model.js.map +0 -1
- package/src/data/models/user_widgets_response_model.d.ts +0 -7
- package/src/data/models/user_widgets_response_model.js +0 -3
- package/src/data/models/user_widgets_response_model.js.map +0 -1
- package/src/data/models/widget_brokerage_concentration_configuration.d.ts +0 -4
- package/src/data/models/widget_brokerage_concentration_configuration.js +0 -3
- package/src/data/models/widget_brokerage_concentration_configuration.js.map +0 -1
- package/src/data/models/widget_brokerage_participation_configuration.d.ts +0 -10
- package/src/data/models/widget_brokerage_participation_configuration.js +0 -3
- package/src/data/models/widget_brokerage_participation_configuration.js.map +0 -1
- package/src/data/models/widget_brokerage_trades_configuration.d.ts +0 -11
- package/src/data/models/widget_brokerage_trades_configuration.js +0 -3
- package/src/data/models/widget_brokerage_trades_configuration.js.map +0 -1
- package/src/data/models/widget_chart_configuration_model.d.ts +0 -4
- package/src/data/models/widget_chart_configuration_model.js +0 -3
- package/src/data/models/widget_chart_configuration_model.js.map +0 -1
- package/src/data/models/widget_decreed_search_configuration.d.ts +0 -10
- package/src/data/models/widget_decreed_search_configuration.js +0 -3
- package/src/data/models/widget_decreed_search_configuration.js.map +0 -1
- package/src/data/models/widget_dynamic_table_configuration.d.ts +0 -14
- package/src/data/models/widget_dynamic_table_configuration.js +0 -3
- package/src/data/models/widget_dynamic_table_configuration.js.map +0 -1
- package/src/data/models/widget_indices_components_configuration.d.ts +0 -7
- package/src/data/models/widget_indices_components_configuration.js +0 -3
- package/src/data/models/widget_indices_components_configuration.js.map +0 -1
- package/src/data/models/widget_layout_model.d.ts +0 -6
- package/src/data/models/widget_layout_model.js +0 -3
- package/src/data/models/widget_layout_model.js.map +0 -1
- package/src/data/models/widget_market_total_configuration.d.ts +0 -4
- package/src/data/models/widget_market_total_configuration.js +0 -3
- package/src/data/models/widget_market_total_configuration.js.map +0 -1
- package/src/data/models/widget_model.d.ts +0 -33
- package/src/data/models/widget_model.js +0 -3
- package/src/data/models/widget_model.js.map +0 -1
- package/src/data/models/widget_size_model.d.ts +0 -14
- package/src/data/models/widget_size_model.js +0 -3
- package/src/data/models/widget_size_model.js.map +0 -1
- package/src/data/models/widget_table_column_format_model.d.ts +0 -6
- package/src/data/models/widget_table_column_format_model.js +0 -3
- package/src/data/models/widget_table_column_format_model.js.map +0 -1
- package/src/data/models/widget_table_column_model.d.ts +0 -8
- package/src/data/models/widget_table_column_model.js +0 -3
- package/src/data/models/widget_table_column_model.js.map +0 -1
- package/src/data/models/widget_ticker_configuration.d.ts +0 -7
- package/src/data/models/widget_ticker_configuration.js +0 -3
- package/src/data/models/widget_ticker_configuration.js.map +0 -1
- package/src/data/models/widget_traded_packages_configuration.d.ts +0 -4
- package/src/data/models/widget_traded_packages_configuration.js +0 -3
- package/src/data/models/widget_traded_packages_configuration.js.map +0 -1
- package/src/data/models/workspace_model.d.ts +0 -6
- package/src/data/models/workspace_model.js +0 -3
- package/src/data/models/workspace_model.js.map +0 -1
- package/src/domain/entities/chart_configuration.d.ts +0 -5
- package/src/domain/entities/chart_configuration.js +0 -3
- package/src/domain/entities/chart_configuration.js.map +0 -1
- package/src/domain/entities/create_instrument_request.d.ts +0 -5
- package/src/domain/entities/create_instrument_request.js +0 -3
- package/src/domain/entities/create_instrument_request.js.map +0 -1
- package/src/domain/entities/create_widget_request.d.ts +0 -36
- package/src/domain/entities/create_widget_request.js +0 -3
- package/src/domain/entities/create_widget_request.js.map +0 -1
- package/src/domain/entities/create_workspace_request.d.ts +0 -5
- package/src/domain/entities/create_workspace_request.js +0 -3
- package/src/domain/entities/create_workspace_request.js.map +0 -1
- package/src/domain/entities/delete_workspace_request.d.ts +0 -3
- package/src/domain/entities/delete_workspace_request.js +0 -3
- package/src/domain/entities/delete_workspace_request.js.map +0 -1
- package/src/domain/entities/duplicate_widget_request.d.ts +0 -5
- package/src/domain/entities/duplicate_widget_request.js +0 -3
- package/src/domain/entities/duplicate_widget_request.js.map +0 -1
- package/src/domain/entities/duplicate_workspace_request.d.ts +0 -5
- package/src/domain/entities/duplicate_workspace_request.js +0 -3
- package/src/domain/entities/duplicate_workspace_request.js.map +0 -1
- package/src/domain/entities/get_instruments_request.d.ts +0 -12
- package/src/domain/entities/get_instruments_request.js +0 -3
- package/src/domain/entities/get_instruments_request.js.map +0 -1
- package/src/domain/entities/get_project_widgets_request.d.ts +0 -12
- package/src/domain/entities/get_project_widgets_request.js +0 -3
- package/src/domain/entities/get_project_widgets_request.js.map +0 -1
- package/src/domain/entities/get_user_widgets_request.d.ts +0 -3
- package/src/domain/entities/get_user_widgets_request.js +0 -3
- package/src/domain/entities/get_user_widgets_request.js.map +0 -1
- package/src/domain/entities/get_user_workspaces_request.d.ts +0 -4
- package/src/domain/entities/get_user_workspaces_request.js +0 -3
- package/src/domain/entities/get_user_workspaces_request.js.map +0 -1
- package/src/domain/entities/get_workspace_request.d.ts +0 -3
- package/src/domain/entities/get_workspace_request.js +0 -3
- package/src/domain/entities/get_workspace_request.js.map +0 -1
- package/src/domain/entities/get_workspaces_by_user_request.d.ts +0 -12
- package/src/domain/entities/get_workspaces_by_user_request.js +0 -3
- package/src/domain/entities/get_workspaces_by_user_request.js.map +0 -1
- package/src/domain/entities/get_workspaces_request.d.ts +0 -12
- package/src/domain/entities/get_workspaces_request.js +0 -3
- package/src/domain/entities/get_workspaces_request.js.map +0 -1
- package/src/domain/entities/instruments_response.d.ts +0 -6
- package/src/domain/entities/instruments_response.js +0 -3
- package/src/domain/entities/instruments_response.js.map +0 -1
- package/src/domain/entities/news_configuration.d.ts +0 -8
- package/src/domain/entities/news_configuration.js +0 -3
- package/src/domain/entities/news_configuration.js.map +0 -1
- package/src/domain/entities/project_widgets_container.d.ts +0 -12
- package/src/domain/entities/project_widgets_container.js +0 -3
- package/src/domain/entities/project_widgets_container.js.map +0 -1
- package/src/domain/entities/update_widget_chart_request.d.ts +0 -4
- package/src/domain/entities/update_widget_chart_request.js +0 -3
- package/src/domain/entities/update_widget_chart_request.js.map +0 -1
- package/src/domain/entities/update_widget_instruments_reques.d.ts +0 -11
- package/src/domain/entities/update_widget_instruments_reques.js +0 -3
- package/src/domain/entities/update_widget_instruments_reques.js.map +0 -1
- package/src/domain/entities/update_workspace_request.d.ts +0 -19
- package/src/domain/entities/update_workspace_request.js +0 -3
- package/src/domain/entities/update_workspace_request.js.map +0 -1
- package/src/domain/entities/user_widgets.d.ts +0 -5
- package/src/domain/entities/user_widgets.js +0 -3
- package/src/domain/entities/user_widgets.js.map +0 -1
- package/src/domain/entities/user_workspaces.d.ts +0 -8
- package/src/domain/entities/user_workspaces.js +0 -3
- package/src/domain/entities/user_workspaces.js.map +0 -1
- package/src/domain/entities/widget.d.ts +0 -129
- package/src/domain/entities/widget.js +0 -3
- package/src/domain/entities/widget.js.map +0 -1
- package/src/domain/entities/widget_layout_config.d.ts +0 -15
- package/src/domain/entities/widget_layout_config.js +0 -3
- package/src/domain/entities/widget_layout_config.js.map +0 -1
- package/src/domain/entities/widget_size_config.d.ts +0 -6
- package/src/domain/entities/widget_size_config.js +0 -3
- package/src/domain/entities/widget_size_config.js.map +0 -1
- package/src/domain/entities/workspace.d.ts +0 -13
- package/src/domain/entities/workspace.js +0 -3
- package/src/domain/entities/workspace.js.map +0 -1
- package/src/domain/entities/workspace_widgets.d.ts +0 -6
- package/src/domain/entities/workspace_widgets.js +0 -3
- package/src/domain/entities/workspace_widgets.js.map +0 -1
- package/src/domain/entities/workspaces_container.d.ts +0 -18
- package/src/domain/entities/workspaces_container.js +0 -3
- package/src/domain/entities/workspaces_container.js.map +0 -1
- package/src/domain/use_cases/create_instrument_use_case.d.ts +0 -9
- package/src/domain/use_cases/create_instrument_use_case.js +0 -22
- package/src/domain/use_cases/create_instrument_use_case.js.map +0 -1
- package/src/domain/use_cases/create_widget_use_case.d.ts +0 -9
- package/src/domain/use_cases/create_widget_use_case.js +0 -32
- package/src/domain/use_cases/create_widget_use_case.js.map +0 -1
- package/src/domain/use_cases/create_workspace_use_case.d.ts +0 -9
- package/src/domain/use_cases/create_workspace_use_case.js +0 -22
- package/src/domain/use_cases/create_workspace_use_case.js.map +0 -1
- package/src/domain/use_cases/delete_instrument_use_case.d.ts +0 -7
- package/src/domain/use_cases/delete_instrument_use_case.js +0 -19
- package/src/domain/use_cases/delete_instrument_use_case.js.map +0 -1
- package/src/domain/use_cases/delete_widget_use_case.d.ts +0 -7
- package/src/domain/use_cases/delete_widget_use_case.js +0 -19
- package/src/domain/use_cases/delete_widget_use_case.js.map +0 -1
- package/src/domain/use_cases/delete_workspace_use_case.d.ts +0 -8
- package/src/domain/use_cases/delete_workspace_use_case.js +0 -22
- package/src/domain/use_cases/delete_workspace_use_case.js.map +0 -1
- package/src/domain/use_cases/duplicate_widget_use_case.d.ts +0 -8
- package/src/domain/use_cases/duplicate_widget_use_case.js +0 -15
- package/src/domain/use_cases/duplicate_widget_use_case.js.map +0 -1
- package/src/domain/use_cases/duplicate_workspace_use_case.d.ts +0 -8
- package/src/domain/use_cases/duplicate_workspace_use_case.js +0 -15
- package/src/domain/use_cases/duplicate_workspace_use_case.js.map +0 -1
- package/src/domain/use_cases/get_instruments_use_case.d.ts +0 -9
- package/src/domain/use_cases/get_instruments_use_case.js +0 -16
- package/src/domain/use_cases/get_instruments_use_case.js.map +0 -1
- package/src/domain/use_cases/get_project_widgets_use_case.d.ts +0 -9
- package/src/domain/use_cases/get_project_widgets_use_case.js +0 -19
- package/src/domain/use_cases/get_project_widgets_use_case.js.map +0 -1
- package/src/domain/use_cases/get_user_widgets_use_case.d.ts +0 -9
- package/src/domain/use_cases/get_user_widgets_use_case.js +0 -22
- package/src/domain/use_cases/get_user_widgets_use_case.js.map +0 -1
- package/src/domain/use_cases/get_user_workspace_use_case.d.ts +0 -9
- package/src/domain/use_cases/get_user_workspace_use_case.js +0 -22
- package/src/domain/use_cases/get_user_workspace_use_case.js.map +0 -1
- package/src/domain/use_cases/get_workspace_use_case.d.ts +0 -9
- package/src/domain/use_cases/get_workspace_use_case.js +0 -19
- package/src/domain/use_cases/get_workspace_use_case.js.map +0 -1
- package/src/domain/use_cases/get_workspaces_by_project_id_use_case.d.ts +0 -9
- package/src/domain/use_cases/get_workspaces_by_project_id_use_case.js +0 -19
- package/src/domain/use_cases/get_workspaces_by_project_id_use_case.js.map +0 -1
- package/src/domain/use_cases/get_workspaces_by_user_use_case.d.ts +0 -9
- package/src/domain/use_cases/get_workspaces_by_user_use_case.js +0 -19
- package/src/domain/use_cases/get_workspaces_by_user_use_case.js.map +0 -1
- package/src/domain/use_cases/get_workspaces_use_case.d.ts +0 -9
- package/src/domain/use_cases/get_workspaces_use_case.js +0 -19
- package/src/domain/use_cases/get_workspaces_use_case.js.map +0 -1
- package/src/domain/use_cases/update_widget_chart_use_case.d.ts +0 -7
- package/src/domain/use_cases/update_widget_chart_use_case.js +0 -15
- package/src/domain/use_cases/update_widget_chart_use_case.js.map +0 -1
- package/src/domain/use_cases/update_widget_instruments_use_case.d.ts +0 -9
- package/src/domain/use_cases/update_widget_instruments_use_case.js +0 -22
- package/src/domain/use_cases/update_widget_instruments_use_case.js.map +0 -1
- package/src/domain/use_cases/update_workspace_use_case.d.ts +0 -8
- package/src/domain/use_cases/update_workspace_use_case.js +0 -15
- package/src/domain/use_cases/update_workspace_use_case.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget_traded_packages_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_traded_packages_configuration.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspace_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/workspace_model.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chart_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/chart_configuration.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create_instrument_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/create_instrument_request.ts"],"names":[],"mappings":""}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ChartConfiguration } from './chart_configuration';
|
|
2
|
-
import { NewsConfiguration } from './news_configuration';
|
|
3
|
-
import { WidgetDynamicTableConfiguration } from './widget';
|
|
4
|
-
import { WidgetSizeConfigCreate } from './widget_layout_config';
|
|
5
|
-
import { WidgetLayoutConfig } from './widget_size_config';
|
|
6
|
-
type WidgetTypeBase = 'FINANCIAL_STATEMENTS' | 'PREDEFINED_TABLE' | 'CUSTOM_TABLE' | 'TICKER_TAPE' | 'SHORT_SALES' | 'MARKET_TOTAL' | 'TRADED_PACKAGES' | 'BROKERAGE_TRADES' | 'BROKERAGE_CONCENTRATION' | 'BROKERAGE_PARTICIPATION' | 'DECREED_RIGHTS_SEARCHER' | 'INDICES_COMPONENTS' | 'UNKNOWN';
|
|
7
|
-
type BaseCreateWidgetRequest = {
|
|
8
|
-
readonly workspaceId?: string;
|
|
9
|
-
readonly userId?: string;
|
|
10
|
-
readonly name: string;
|
|
11
|
-
readonly instruments?: {
|
|
12
|
-
readonly uniqueKey: string;
|
|
13
|
-
readonly symbol: string;
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
16
|
-
type CreateWidgetRequest = (BaseCreateWidgetRequest & {
|
|
17
|
-
readonly type: WidgetTypeBase;
|
|
18
|
-
readonly sizes?: WidgetSizeConfigCreate;
|
|
19
|
-
readonly layout?: WidgetLayoutConfig;
|
|
20
|
-
}) | (BaseCreateWidgetRequest & {
|
|
21
|
-
readonly type: 'NEWS_LIST';
|
|
22
|
-
readonly newsConfiguration?: NewsConfiguration;
|
|
23
|
-
readonly sizes?: WidgetSizeConfigCreate;
|
|
24
|
-
readonly layout?: WidgetLayoutConfig;
|
|
25
|
-
}) | (BaseCreateWidgetRequest & {
|
|
26
|
-
readonly type: 'CHART';
|
|
27
|
-
readonly chartConfiguration?: ChartConfiguration;
|
|
28
|
-
readonly sizes?: WidgetSizeConfigCreate;
|
|
29
|
-
readonly layout?: WidgetLayoutConfig;
|
|
30
|
-
}) | (BaseCreateWidgetRequest & {
|
|
31
|
-
readonly type: 'DYNAMIC_TABLE';
|
|
32
|
-
readonly dynamicTableConfiguration?: WidgetDynamicTableConfiguration;
|
|
33
|
-
readonly sizes?: WidgetSizeConfigCreate;
|
|
34
|
-
readonly layout?: WidgetLayoutConfig;
|
|
35
|
-
});
|
|
36
|
-
export default CreateWidgetRequest;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create_widget_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/create_widget_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create_workspace_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/create_workspace_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete_workspace_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/delete_workspace_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"duplicate_widget_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/duplicate_widget_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"duplicate_workspace_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/duplicate_workspace_request.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface GetInstrumentsRequest {
|
|
2
|
-
readonly widgetId: string;
|
|
3
|
-
readonly workspaceId?: string;
|
|
4
|
-
readonly sort?: {
|
|
5
|
-
readonly column: string;
|
|
6
|
-
readonly direction: 'ASC' | 'DESC';
|
|
7
|
-
};
|
|
8
|
-
readonly pagination?: {
|
|
9
|
-
readonly offset: number;
|
|
10
|
-
readonly limit: number;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_instruments_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/get_instruments_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_project_widgets_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/get_project_widgets_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_user_widgets_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/get_user_widgets_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_user_workspaces_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/get_user_workspaces_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_workspace_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/get_workspace_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_workspaces_by_user_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/get_workspaces_by_user_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get_workspaces_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/get_workspaces_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"instruments_response.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instruments_response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"news_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/news_configuration.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InstrumentFields } from './instrument_fields';
|
|
2
|
-
import { Widget } from './widget';
|
|
3
|
-
import { InstrumentsContainer } from './workspaces_container';
|
|
4
|
-
export interface InstrumentFieldsContainer {
|
|
5
|
-
[instrumentKey: string]: InstrumentFields;
|
|
6
|
-
}
|
|
7
|
-
export interface ProjectWidgetsContainer {
|
|
8
|
-
readonly id: string;
|
|
9
|
-
readonly name: string;
|
|
10
|
-
readonly widgets: Widget[];
|
|
11
|
-
readonly instruments: InstrumentsContainer;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project_widgets_container.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/project_widgets_container.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update_widget_chart_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/update_widget_chart_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update_widget_instruments_reques.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/update_widget_instruments_reques.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export default interface UpdateWorkspaceRequest {
|
|
2
|
-
readonly id: string;
|
|
3
|
-
readonly name?: string;
|
|
4
|
-
readonly order?: number;
|
|
5
|
-
readonly sizes?: {
|
|
6
|
-
readonly id: string;
|
|
7
|
-
readonly type: string;
|
|
8
|
-
readonly x: number;
|
|
9
|
-
readonly y: number;
|
|
10
|
-
readonly width: number;
|
|
11
|
-
readonly height: number;
|
|
12
|
-
readonly minWidth: number;
|
|
13
|
-
readonly minHeight: number;
|
|
14
|
-
readonly maxWidth: number;
|
|
15
|
-
readonly maxHeight: number;
|
|
16
|
-
readonly draggable: boolean;
|
|
17
|
-
readonly resizable: boolean;
|
|
18
|
-
}[];
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update_workspace_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/update_workspace_request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_widgets.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/user_widgets.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user_workspaces.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/user_workspaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { Instrument } from './instrument';
|
|
2
|
-
export type WidgetType = 'FINANCIAL_STATEMENTS' | 'DYNAMIC_TABLE' | 'PREDEFINED_TABLE' | 'CUSTOM_TABLE' | 'NEWS_LIST' | 'TICKER_TAPE' | 'CHART' | 'SHORT_SALES' | 'MARKET_TOTAL' | 'TRADED_PACKAGES' | 'BROKERAGE_TRADES' | 'BROKERAGE_CONCENTRATION' | 'BROKERAGE_PARTICIPATION' | 'DECREED_RIGHTS_SEARCHER' | 'INDICES_COMPONENTS' | 'UNKNOWN';
|
|
3
|
-
export interface WidgetLayout {
|
|
4
|
-
readonly x: number;
|
|
5
|
-
readonly y: number;
|
|
6
|
-
readonly draggable: boolean;
|
|
7
|
-
readonly resizable: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface WidgetSize {
|
|
10
|
-
readonly id: string;
|
|
11
|
-
readonly width: number;
|
|
12
|
-
readonly height: number;
|
|
13
|
-
readonly minWidth: number;
|
|
14
|
-
readonly minHeight: number;
|
|
15
|
-
readonly maxWidth: number;
|
|
16
|
-
readonly maxHeight: number;
|
|
17
|
-
readonly x: number;
|
|
18
|
-
readonly y: number;
|
|
19
|
-
readonly draggable: boolean;
|
|
20
|
-
readonly resizable: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface WidgetTableColumn {
|
|
23
|
-
readonly id: string;
|
|
24
|
-
readonly field: string;
|
|
25
|
-
readonly description: string;
|
|
26
|
-
readonly visible: boolean;
|
|
27
|
-
readonly active: boolean;
|
|
28
|
-
readonly format: WidgetTableColumnsFormat;
|
|
29
|
-
}
|
|
30
|
-
export interface WidgetTableColumnsFormat {
|
|
31
|
-
readonly type: 'number' | 'percentage' | 'text' | 'time' | 'date' | 'currency';
|
|
32
|
-
readonly decimals?: number;
|
|
33
|
-
readonly formatTime?: string;
|
|
34
|
-
readonly formatDate?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface WidgetTickerConfiguration {
|
|
37
|
-
readonly id: string;
|
|
38
|
-
readonly position: 'top' | 'bottom';
|
|
39
|
-
readonly size: 'small' | 'large';
|
|
40
|
-
readonly visible: boolean;
|
|
41
|
-
readonly speed: number;
|
|
42
|
-
}
|
|
43
|
-
export interface WidgetDynamicTableConfiguration {
|
|
44
|
-
readonly period: number;
|
|
45
|
-
readonly instrumentLimit: number;
|
|
46
|
-
readonly field: string;
|
|
47
|
-
readonly condition: string;
|
|
48
|
-
readonly marketTypeId: number;
|
|
49
|
-
readonly valueTypeIds: number[];
|
|
50
|
-
readonly exchangeId: number;
|
|
51
|
-
readonly scope: string;
|
|
52
|
-
readonly hasActivity: string;
|
|
53
|
-
readonly isFiltered: string;
|
|
54
|
-
readonly operatingCompany: string;
|
|
55
|
-
readonly isYields: boolean;
|
|
56
|
-
}
|
|
57
|
-
export interface WidgetChartConfiguration {
|
|
58
|
-
readonly id: string;
|
|
59
|
-
readonly globalConfiguration: string;
|
|
60
|
-
}
|
|
61
|
-
export interface WidgetMarketTotalConfiguration {
|
|
62
|
-
readonly id: string;
|
|
63
|
-
readonly scope: string;
|
|
64
|
-
}
|
|
65
|
-
export interface WidgetTradedPackagesConfiguration {
|
|
66
|
-
readonly id: string;
|
|
67
|
-
readonly scope: string;
|
|
68
|
-
}
|
|
69
|
-
export interface WidgetBrokerageTradesConfiguration {
|
|
70
|
-
readonly id: string;
|
|
71
|
-
readonly scope: string;
|
|
72
|
-
readonly broker: string;
|
|
73
|
-
readonly symbol: string;
|
|
74
|
-
readonly concertationType: string;
|
|
75
|
-
readonly limit: string;
|
|
76
|
-
readonly offset: string;
|
|
77
|
-
readonly operationType: string;
|
|
78
|
-
readonly order: string;
|
|
79
|
-
}
|
|
80
|
-
export interface WidgetBrokerageConcentrationConfiguration {
|
|
81
|
-
readonly id: string;
|
|
82
|
-
readonly scope: string;
|
|
83
|
-
}
|
|
84
|
-
export interface WidgetBrokerageParticipationConfiguration {
|
|
85
|
-
readonly id: string;
|
|
86
|
-
readonly broker: string;
|
|
87
|
-
readonly instrumentType: string;
|
|
88
|
-
readonly crosses: boolean;
|
|
89
|
-
readonly purchases: boolean;
|
|
90
|
-
readonly sales: boolean;
|
|
91
|
-
readonly totals: boolean;
|
|
92
|
-
readonly symbol: string;
|
|
93
|
-
}
|
|
94
|
-
export interface WidgetDecreedSearchConfiguration {
|
|
95
|
-
readonly id: string;
|
|
96
|
-
readonly scope: string;
|
|
97
|
-
readonly endDate: string;
|
|
98
|
-
readonly issuer: string;
|
|
99
|
-
readonly limit: number;
|
|
100
|
-
readonly offset: number;
|
|
101
|
-
readonly startDate: string;
|
|
102
|
-
readonly type: string;
|
|
103
|
-
}
|
|
104
|
-
export interface WidgetIndicesComponentsConfiguration {
|
|
105
|
-
readonly id: string;
|
|
106
|
-
readonly scope: string;
|
|
107
|
-
readonly component: string;
|
|
108
|
-
readonly sector: string;
|
|
109
|
-
readonly type: string;
|
|
110
|
-
}
|
|
111
|
-
export interface Widget {
|
|
112
|
-
readonly id: string;
|
|
113
|
-
readonly name: string;
|
|
114
|
-
readonly type: WidgetType;
|
|
115
|
-
readonly layout: WidgetLayout;
|
|
116
|
-
readonly size: WidgetSize;
|
|
117
|
-
readonly tableColumns: WidgetTableColumn[];
|
|
118
|
-
readonly tickerConfiguration: WidgetTickerConfiguration;
|
|
119
|
-
readonly instruments: Instrument[];
|
|
120
|
-
readonly dynamicTableConfiguration: WidgetDynamicTableConfiguration;
|
|
121
|
-
readonly chartConfiguration: WidgetChartConfiguration;
|
|
122
|
-
readonly marketTotalConfiguration: WidgetMarketTotalConfiguration;
|
|
123
|
-
readonly tradedPackagesConfiguration: WidgetTradedPackagesConfiguration;
|
|
124
|
-
readonly brokerageTradesConfiguration: WidgetBrokerageTradesConfiguration;
|
|
125
|
-
readonly brokerageConcentrationConfiguration: WidgetBrokerageConcentrationConfiguration;
|
|
126
|
-
readonly brokerageParticipationConfiguration: WidgetBrokerageParticipationConfiguration;
|
|
127
|
-
readonly decreedRightsSearcherConfiguration: WidgetDecreedSearchConfiguration;
|
|
128
|
-
readonly indicesComponentsConfiguration: WidgetIndicesComponentsConfiguration;
|
|
129
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/widget.ts"],"names":[],"mappings":""}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface WidgetSizeConfig {
|
|
2
|
-
readonly width: number;
|
|
3
|
-
readonly height: number;
|
|
4
|
-
readonly minWidth: number;
|
|
5
|
-
readonly minHeight: number;
|
|
6
|
-
readonly maxWidth: number;
|
|
7
|
-
readonly maxHeight: number;
|
|
8
|
-
readonly x: number;
|
|
9
|
-
readonly y: number;
|
|
10
|
-
}
|
|
11
|
-
export interface WidgetSizeConfigCreate {
|
|
12
|
-
readonly create: {
|
|
13
|
-
readonly node: WidgetSizeConfig;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget_layout_config.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/widget_layout_config.ts"],"names":[],"mappings":""}
|