devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
50 lines (49 loc) • 2.57 kB
TypeScript
/**
* DevExpress HTML/JS Reporting (designer\services\_reportDataSourceService.d.ts)
* Version: 24.2.6
* Build date: Mar 18, 2025
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
import { FederationDataSource, JsonDataSource, SqlDataSource, TableQuery } from '@devexpress/analytics-core/analytics-data';
import { DxPromise } from '@devexpress/analytics-core/analytics-internal';
import { IDataMemberInfo, IPathRequest } from '@devexpress/analytics-core/analytics-utils';
import { IConnectionStringDefinition, IObjectDataSourceWizardState } from '@devexpress/analytics-core/analytics-wizard';
export declare class ReportDataSourceService {
static fieldListCallback(request: IPathRequest): DxPromise<IDataMemberInfo[]>;
static getCustomQueriesPreset(dataSource: SqlDataSource): DxPromise<TableQuery[]>;
static getWizardSqlDataConnections(): DxPromise<IConnectionStringDefinition[]>;
static getWizardJsonDataConnections(): DxPromise<IConnectionStringDefinition[]>;
static sqlDataSourceFromBase64(base64: string): DxPromise<{
sqlDataSourceJSON: string;
queryName: string;
relationsEditing: boolean;
}>;
static sqlRebuildResultSchema(base64: string): DxPromise<string>;
static getSqlDataSourceBase64(dataSource: SqlDataSource): DxPromise<string>;
static federationDataSourceFromBase64(base64: string, dependentDataSources: string[]): DxPromise<{
federationDataSourceJSON: string;
}>;
static federationRebuildResultSchema(base64: string, dependentDataSources: string[]): DxPromise<string>;
static getFederationDataSourceBase64(dataSource: FederationDataSource, dependentDataSources: string[]): DxPromise<string>;
static getJsonDataSourceBase64(dataSource: JsonDataSource): DxPromise<{
base64: string;
schema: string;
isSupportQueries: boolean;
isListType: boolean;
}>;
static getObjectDataSourceBase64(json: IObjectDataSourceWizardState): DxPromise<{
base64: string;
isSupportQueries: boolean;
isListType: boolean;
}>;
static editObjectDataSourceParameters(json: IObjectDataSourceWizardState, base64: string): DxPromise<{
base64: string;
isSupportQueries: boolean;
isListType: boolean;
}>;
static objectDataSourceFromBase64(base64: string): DxPromise<IObjectDataSourceWizardState>;
static jsonDataSourceFromBase64(base64: string): DxPromise<{
jsonDataSourceJSON: string;
}>;
}