@gooddata/sdk-model 11.41.0-alpha.2 → 11.41.0-alpha.4
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/esm/dashboard/parameter.d.ts +20 -0
- package/esm/execution/results/index.d.ts +83 -0
- package/esm/execution/results/index.js +46 -1
- package/esm/exports/index.d.ts +9 -0
- package/esm/index.d.ts +2 -2
- package/esm/index.js +1 -1
- package/esm/sdk-model.d.ts +123 -0
- package/esm/tsdoc-metadata.json +1 -1
- package/package.json +3 -3
|
@@ -42,6 +42,26 @@ export interface IDashboardParameter {
|
|
|
42
42
|
*/
|
|
43
43
|
readonly label?: string;
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* Backend-neutral parameter value carried on a dashboard tabular export.
|
|
47
|
+
*
|
|
48
|
+
* @alpha
|
|
49
|
+
*/
|
|
50
|
+
export interface IDashboardExportParameter {
|
|
51
|
+
/**
|
|
52
|
+
* Parameter identifier; drives AFM execution. Matches the workspace catalog parameter's id.
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
/**
|
|
56
|
+
* Value to apply for the parameter, encoded as a string.
|
|
57
|
+
*/
|
|
58
|
+
value: string;
|
|
59
|
+
/**
|
|
60
|
+
* Display title rendered into the export's info sheet. Presentation-only; not consumed by
|
|
61
|
+
* execution.
|
|
62
|
+
*/
|
|
63
|
+
title: string;
|
|
64
|
+
}
|
|
45
65
|
/**
|
|
46
66
|
* Tests whether the provided object is an instance of {@link IDashboardParameter}.
|
|
47
67
|
*
|
|
@@ -432,6 +432,89 @@ export interface IResultWarning {
|
|
|
432
432
|
*/
|
|
433
433
|
parameters?: (ObjRef | string)[];
|
|
434
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* Known row-oriented execution result limit types.
|
|
437
|
+
*
|
|
438
|
+
* @alpha
|
|
439
|
+
*/
|
|
440
|
+
export declare const ExecutionResultRowLimitTypes: readonly ["rowCount", "rows", "xtab-rows"];
|
|
441
|
+
/**
|
|
442
|
+
* Known column-oriented execution result limit types.
|
|
443
|
+
*
|
|
444
|
+
* @alpha
|
|
445
|
+
*/
|
|
446
|
+
export declare const ExecutionResultColumnLimitTypes: readonly ["columnCount", "columns", "xtab-columns"];
|
|
447
|
+
/**
|
|
448
|
+
* Known cell-oriented execution result limit types.
|
|
449
|
+
*
|
|
450
|
+
* @alpha
|
|
451
|
+
*/
|
|
452
|
+
export declare const ExecutionResultCellLimitTypes: readonly ["cellCount", "cells", "xtab-cells"];
|
|
453
|
+
/**
|
|
454
|
+
* Known execution result limit types grouped by semantic kind.
|
|
455
|
+
*
|
|
456
|
+
* @alpha
|
|
457
|
+
*/
|
|
458
|
+
export declare const ExecutionResultLimitTypes: {
|
|
459
|
+
readonly rows: readonly ["rowCount", "rows", "xtab-rows"];
|
|
460
|
+
readonly columns: readonly ["columnCount", "columns", "xtab-columns"];
|
|
461
|
+
readonly cells: readonly ["cellCount", "cells", "xtab-cells"];
|
|
462
|
+
};
|
|
463
|
+
/**
|
|
464
|
+
* All known row-oriented execution result limit types.
|
|
465
|
+
*
|
|
466
|
+
* @alpha
|
|
467
|
+
*/
|
|
468
|
+
export type ExecutionResultRowLimitType = (typeof ExecutionResultRowLimitTypes)[number];
|
|
469
|
+
/**
|
|
470
|
+
* All known column-oriented execution result limit types.
|
|
471
|
+
*
|
|
472
|
+
* @alpha
|
|
473
|
+
*/
|
|
474
|
+
export type ExecutionResultColumnLimitType = (typeof ExecutionResultColumnLimitTypes)[number];
|
|
475
|
+
/**
|
|
476
|
+
* All known cell-oriented execution result limit types.
|
|
477
|
+
*
|
|
478
|
+
* @alpha
|
|
479
|
+
*/
|
|
480
|
+
export type ExecutionResultCellLimitType = (typeof ExecutionResultCellLimitTypes)[number];
|
|
481
|
+
/**
|
|
482
|
+
* Semantic kind of a known execution result limit type.
|
|
483
|
+
*
|
|
484
|
+
* @alpha
|
|
485
|
+
*/
|
|
486
|
+
export type ExecutionResultLimitKind = keyof typeof ExecutionResultLimitTypes;
|
|
487
|
+
/**
|
|
488
|
+
* All known execution result limit types.
|
|
489
|
+
*
|
|
490
|
+
* @alpha
|
|
491
|
+
*/
|
|
492
|
+
export type ExecutionResultLimitType = ExecutionResultRowLimitType | ExecutionResultColumnLimitType | ExecutionResultCellLimitType;
|
|
493
|
+
/**
|
|
494
|
+
* Describes a limit broken during result computation, resulting in partial data being returned.
|
|
495
|
+
*
|
|
496
|
+
* @alpha
|
|
497
|
+
*/
|
|
498
|
+
export interface IExecutionResultLimitBreak<TLimitType extends string = ExecutionResultLimitType | (string & {})> {
|
|
499
|
+
/**
|
|
500
|
+
* Type of the limit that was broken.
|
|
501
|
+
*/
|
|
502
|
+
readonly limitType: TLimitType;
|
|
503
|
+
/**
|
|
504
|
+
* The configured limit value.
|
|
505
|
+
*/
|
|
506
|
+
readonly limit: number;
|
|
507
|
+
/**
|
|
508
|
+
* The actual value that triggered the limit. It is omitted when the value cannot be determined exactly.
|
|
509
|
+
*/
|
|
510
|
+
readonly value?: number;
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* Returns semantic kind for a known execution result limit type.
|
|
514
|
+
*
|
|
515
|
+
* @alpha
|
|
516
|
+
*/
|
|
517
|
+
export declare function executionResultLimitTypeToKind(limitType: string): ExecutionResultLimitKind | "unknown";
|
|
435
518
|
/**
|
|
436
519
|
* Type-guard testing whether the provided object is an instance of {@link IAttributeDescriptor}.
|
|
437
520
|
*
|
|
@@ -1,5 +1,50 @@
|
|
|
1
|
-
// (C) 2019-
|
|
1
|
+
// (C) 2019-2026 GoodData Corporation
|
|
2
2
|
import { isEmpty } from "lodash-es";
|
|
3
|
+
/**
|
|
4
|
+
* Known row-oriented execution result limit types.
|
|
5
|
+
*
|
|
6
|
+
* @alpha
|
|
7
|
+
*/
|
|
8
|
+
export const ExecutionResultRowLimitTypes = ["rowCount", "rows", "xtab-rows"];
|
|
9
|
+
/**
|
|
10
|
+
* Known column-oriented execution result limit types.
|
|
11
|
+
*
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
14
|
+
export const ExecutionResultColumnLimitTypes = ["columnCount", "columns", "xtab-columns"];
|
|
15
|
+
/**
|
|
16
|
+
* Known cell-oriented execution result limit types.
|
|
17
|
+
*
|
|
18
|
+
* @alpha
|
|
19
|
+
*/
|
|
20
|
+
export const ExecutionResultCellLimitTypes = ["cellCount", "cells", "xtab-cells"];
|
|
21
|
+
/**
|
|
22
|
+
* Known execution result limit types grouped by semantic kind.
|
|
23
|
+
*
|
|
24
|
+
* @alpha
|
|
25
|
+
*/
|
|
26
|
+
export const ExecutionResultLimitTypes = {
|
|
27
|
+
rows: ExecutionResultRowLimitTypes,
|
|
28
|
+
columns: ExecutionResultColumnLimitTypes,
|
|
29
|
+
cells: ExecutionResultCellLimitTypes,
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Returns semantic kind for a known execution result limit type.
|
|
33
|
+
*
|
|
34
|
+
* @alpha
|
|
35
|
+
*/
|
|
36
|
+
export function executionResultLimitTypeToKind(limitType) {
|
|
37
|
+
if (ExecutionResultRowLimitTypes.includes(limitType)) {
|
|
38
|
+
return "rows";
|
|
39
|
+
}
|
|
40
|
+
if (ExecutionResultColumnLimitTypes.includes(limitType)) {
|
|
41
|
+
return "columns";
|
|
42
|
+
}
|
|
43
|
+
if (ExecutionResultCellLimitTypes.includes(limitType)) {
|
|
44
|
+
return "cells";
|
|
45
|
+
}
|
|
46
|
+
return "unknown";
|
|
47
|
+
}
|
|
3
48
|
//
|
|
4
49
|
// Type guards
|
|
5
50
|
//
|
package/esm/exports/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type IAuditable } from "../base/metadata.js";
|
|
2
2
|
import { type FilterContextItem } from "../dashboard/filterContext.js";
|
|
3
|
+
import { type IDashboardExportParameter } from "../dashboard/parameter.js";
|
|
3
4
|
import { type IFilter } from "../execution/filter/index.js";
|
|
4
5
|
import { type IMetadataObject, type IMetadataObjectDefinition } from "../ldm/metadata/types.js";
|
|
5
6
|
import { type Identifier } from "../objRef/index.js";
|
|
@@ -57,6 +58,10 @@ export interface IExportDefinitionVisualizationObjectContent {
|
|
|
57
58
|
*/
|
|
58
59
|
dashboard?: Identifier;
|
|
59
60
|
filters?: IFilter[] | FilterContextItem[];
|
|
61
|
+
/**
|
|
62
|
+
* Parameter runtime-overrides applied on export, keyed by the owning tab's localIdentifier.
|
|
63
|
+
*/
|
|
64
|
+
parametersByTab?: Record<string, IDashboardExportParameter[]>;
|
|
60
65
|
}
|
|
61
66
|
/**
|
|
62
67
|
* Export definition dashboard content configuration.
|
|
@@ -69,6 +74,10 @@ export interface IExportDefinitionDashboardContent {
|
|
|
69
74
|
dashboard: Identifier;
|
|
70
75
|
filters?: FilterContextItem[];
|
|
71
76
|
filtersByTab?: Record<string, FilterContextItem[]>;
|
|
77
|
+
/**
|
|
78
|
+
* Parameter runtime-overrides applied on export, keyed by tab localIdentifier.
|
|
79
|
+
*/
|
|
80
|
+
parametersByTab?: Record<string, IDashboardExportParameter[]>;
|
|
72
81
|
}
|
|
73
82
|
/**
|
|
74
83
|
* Dashboard attachment types.
|
package/esm/index.d.ts
CHANGED
|
@@ -76,13 +76,13 @@ export { type IDashboardAttachment, type IWidgetAttachment, type IExportOptions,
|
|
|
76
76
|
export { type IUser, type IUserGroup, type IWorkspaceUser, type IOrganizationUser, type IOrganizationUserGroup, userFullName, isIOrganizationUser, isIOrganizationUserGroup, } from "./user/index.js";
|
|
77
77
|
export { type IDashboardLayout, type IDashboardWidget, type IDashboardLayoutSection, type IDashboardLayoutSectionHeader, type IDashboardLayoutSize, type IDashboardLayoutSizeByScreenSize, type IDashboardLayoutItem, type IDashboardLayoutWidget, type IDashboardLayoutConfiguration, type IDashboardLayoutSectionsConfiguration, type IDashboardLayoutContainerDirection, type ScreenSize, isDashboardLayout, isDashboardLayoutSection, isDashboardLayoutItem, isDashboardWidget, } from "./dashboard/layout.js";
|
|
78
78
|
export { type IDashboard, type IDashboardDefinition, type IListedDashboard, type ListedDashboardAvailability, type IDashboardBase, type IDashboardDateFilterConfig, type DashboardDateFilterConfigMode, type IDashboardAttributeFilterConfig, type IDashboardMeasureValueFilterConfig, type IDashboardDateFilterConfigItem, type DashboardAttributeFilterConfigMode, type DashboardAttributeFilterSelectionType, DashboardAttributeFilterSelectionTypeValues, type IDashboardDateFilterAddedPresets, type IDashboardPluginBase, type IDashboardPlugin, type IDashboardPluginDefinition, type IDashboardPluginLink, type IAccessControlAware, type ShareStatus, type SharePermission, type IDashboardPermissions, type IExistingDashboard, type IDashboardTab, type IDashboardFilterGroup, type IDashboardFilterGroupItem, type IDashboardFilterGroupsConfig, DashboardDateFilterConfigModeValues, DashboardAttributeFilterConfigModeValues, isDashboard, isDashboardDefinition, isListedDashboard, isDashboardTab, } from "./dashboard/dashboard.js";
|
|
79
|
-
export { type IDashboardParameter, type DashboardParameterMode, DashboardParameterModeValues, isDashboardParameter, } from "./dashboard/parameter.js";
|
|
79
|
+
export { type IDashboardParameter, type IDashboardExportParameter, type DashboardParameterMode, DashboardParameterModeValues, isDashboardParameter, } from "./dashboard/parameter.js";
|
|
80
80
|
export { type ISettings, type IUserSettings, type IWorkspaceSettings, type IUserWorkspaceSettings, } from "./settings/index.js";
|
|
81
81
|
export { type ISeparators, type IPermanentSettings, type IFeatureFlags, type PlatformEdition, type IWhiteLabeling, type IAlertDefault, type WeekStart, type IFiscalYear, type IActiveCalendars, type CalendarType, type IOpenAiConfig, type ILlmEndpoint, type ILlmActiveProvider, type IAiRateLimit, type DashboardFiltersApplyMode, type EarlyAccessFeatureContext, type EarlyAccessFeatureStatus, type IEarlyAccessFeatureConfig, type IEarlyAccessFeaturesConfig, type IProductionFeatureConfig, type IProductionFeaturesConfig, type IMetricFormatOverrideSetting, isSeparators, } from "./settings/settings.js";
|
|
82
82
|
export type { IWorkspaceUserGroup } from "./userGroup/index.js";
|
|
83
83
|
export type { ThemeFontUri, ThemeColor, IThemeColorFamily, IThemeComplementaryPalette, IThemeWidgetTitle, IThemeTypography, IThemeFontsDef, IThemePalette, IThemeKpi, IThemeKpiValue, IThemeChart, IThemeTable, ITheme, IThemeAnalyticalDesigner, IThemeAnalyticalDesignerTitle, IThemeButton, IThemeDashboard, IThemeDashboardContent, IThemeDashboardContentKpi, IThemeDashboardContentWidget, IThemeDashboardEditPanel, IThemeDashboardFilterBar, IThemeDashboardFilterBarButton, IThemeDashboardNavigation, IThemeDashboardNavigationItem, IThemeDashboardNavigationTitle, IThemeDashboardSection, IThemeDashboardSectionDescription, IThemeDashboardSectionTitle, IThemeDashboardTitle, IThemeMetadataObject, IThemeDefinition, IThemeModal, IThemeModalTitle, IThemeTooltip, IThemeImages, IThemeMessage, IThemeMessageVariant, IThemeToastMessage, IThemeToastMessageVariant, IThemeHeader, ImageUri, IThemeAxis, IThemeChartTooltip, IThemeDataLabel, ThemeDashboardDensity, } from "./theme/index.js";
|
|
84
84
|
export type { IWorkspacePermissions, WorkspacePermission } from "./permissions/index.js";
|
|
85
|
-
export { type DataValue, type ForecastDataValue, type IGeoJsonFeature, type IMeasureDescriptor, type IMeasureDescriptorObject, type IMeasureDescriptorItem, type IDimensionItemDescriptor, type IDimensionDescriptor, type IAttributeHeaderFormOf, type IAttributeDescriptorBody, type IAttributeDescriptor, type IMeasureGroupDescriptor, type IResultAttributeHeader, type IResultHeader, type IResultMeasureHeader, type IResultAttributeHeaderItem, type IResultMeasureHeaderItem, type IResultTotalHeader, type IResultTotalHeaderItem, type ITotalDescriptor, type ITotalDescriptorItem, type IResultWarning, type IColorDescriptor, type IColorDescriptorItem, isColorDescriptor, isAttributeDescriptor, isMeasureGroupDescriptor, isTotalDescriptor, isMeasureDescriptor, isResultAttributeHeader, isResultMeasureHeader, isResultTotalHeader, resultHeaderName, attributeDescriptorLocalId, attributeDescriptorName, geoFeatureId, } from "./execution/results/index.js";
|
|
85
|
+
export { type DataValue, type ForecastDataValue, type ExecutionResultCellLimitType, type ExecutionResultColumnLimitType, type ExecutionResultLimitKind, type ExecutionResultLimitType, type ExecutionResultRowLimitType, type IExecutionResultLimitBreak, type IGeoJsonFeature, type IMeasureDescriptor, type IMeasureDescriptorObject, type IMeasureDescriptorItem, type IDimensionItemDescriptor, type IDimensionDescriptor, type IAttributeHeaderFormOf, type IAttributeDescriptorBody, type IAttributeDescriptor, type IMeasureGroupDescriptor, type IResultAttributeHeader, type IResultHeader, type IResultMeasureHeader, type IResultAttributeHeaderItem, type IResultMeasureHeaderItem, type IResultTotalHeader, type IResultTotalHeaderItem, type ITotalDescriptor, type ITotalDescriptorItem, type IResultWarning, type IColorDescriptor, type IColorDescriptorItem, ExecutionResultCellLimitTypes, ExecutionResultColumnLimitTypes, ExecutionResultLimitTypes, ExecutionResultRowLimitTypes, isColorDescriptor, isAttributeDescriptor, isMeasureGroupDescriptor, isTotalDescriptor, isMeasureDescriptor, isResultAttributeHeader, isResultMeasureHeader, isResultTotalHeader, resultHeaderName, attributeDescriptorLocalId, attributeDescriptorName, executionResultLimitTypeToKind, geoFeatureId, } from "./execution/results/index.js";
|
|
86
86
|
export { type AccessGranteeDetail, type IAccessGrantee, type IUserAccess, type IUserAccessGrantee, type IUserGroupAccess, type IUserGroupAccessGrantee, type IGranularAccessGrantee, type AccessGranularPermission, type PermissionSource, type IGranteeGranularity, type IAvailableAccessGrantee, type IAvailableUserAccessGrantee, type IAvailableUserGroupAccessGrantee, type IGranularUserAccess, type IGranularUserGroupAccess, type IGranularRulesAccess, type IGranularUserAccessGrantee, type IGranularUserGroupAccessGrantee, type IGranularRulesAccessGrantee, type WorkspaceAccessPermission, type IWorkspaceAccess, type IUserWorkspaceAccessGrantee, type IUserGroupWorkspaceAccessGrantee, isUserAccess, isUserAccessGrantee, isUserGroupAccess, isUserGroupAccessGrantee, isGranularAccess, isAvailableUserGroupAccessGrantee, isAvailableUserAccessGrantee, isGranularAccessGrantee, isGranularUserAccessGrantee, isGranularUserGroupAccessGrantee, isGranularUserAccess, isGranularUserGroupAccess, isGranularRulesAccessGrantee, isUserWorkspaceAccessGrantee, isUserGroupWorkspaceAccessGrantee, } from "./accessControl/index.js";
|
|
87
87
|
export { type ObjectPermissionsObjectKind, isObjectPermissionsObjectKind, type IObjectAccessList, } from "./accessControl/objectPermissions.js";
|
|
88
88
|
export { type IOrganizationDescriptor, type IOrganizationDescriptorUpdate, type IWorkspacePermissionAssignment, type IAssignedWorkspace, type AssignedWorkspacePermission, type IOrganizationPermissionAssignment, type OrganizationPermissionAssignment, type IOrganizationAssignee, type AssignedDataSourcePermission, type IAssignedDataSource, type IDataSourcePermissionAssignment, AssignedWorkspacePermissionValue, OrganizationPermissionAssignmentValue, AssignedDataSourcePermissionValue, isAssignedWorkspacePermission, } from "./organization/index.js";
|
package/esm/index.js
CHANGED
|
@@ -70,7 +70,7 @@ export { isDashboardLayout, isDashboardLayoutSection, isDashboardLayoutItem, isD
|
|
|
70
70
|
export { DashboardAttributeFilterSelectionTypeValues, DashboardDateFilterConfigModeValues, DashboardAttributeFilterConfigModeValues, isDashboard, isDashboardDefinition, isListedDashboard, isDashboardTab, } from "./dashboard/dashboard.js";
|
|
71
71
|
export { DashboardParameterModeValues, isDashboardParameter, } from "./dashboard/parameter.js";
|
|
72
72
|
export { isSeparators, } from "./settings/settings.js";
|
|
73
|
-
export { isColorDescriptor, isAttributeDescriptor, isMeasureGroupDescriptor, isTotalDescriptor, isMeasureDescriptor, isResultAttributeHeader, isResultMeasureHeader, isResultTotalHeader, resultHeaderName, attributeDescriptorLocalId, attributeDescriptorName, geoFeatureId, } from "./execution/results/index.js";
|
|
73
|
+
export { ExecutionResultCellLimitTypes, ExecutionResultColumnLimitTypes, ExecutionResultLimitTypes, ExecutionResultRowLimitTypes, isColorDescriptor, isAttributeDescriptor, isMeasureGroupDescriptor, isTotalDescriptor, isMeasureDescriptor, isResultAttributeHeader, isResultMeasureHeader, isResultTotalHeader, resultHeaderName, attributeDescriptorLocalId, attributeDescriptorName, executionResultLimitTypeToKind, geoFeatureId, } from "./execution/results/index.js";
|
|
74
74
|
export { isUserAccess, isUserAccessGrantee, isUserGroupAccess, isUserGroupAccessGrantee, isGranularAccess, isAvailableUserGroupAccessGrantee, isAvailableUserAccessGrantee, isGranularAccessGrantee, isGranularUserAccessGrantee, isGranularUserGroupAccessGrantee, isGranularUserAccess, isGranularUserGroupAccess, isGranularRulesAccessGrantee, isUserWorkspaceAccessGrantee, isUserGroupWorkspaceAccessGrantee, } from "./accessControl/index.js";
|
|
75
75
|
export { isObjectPermissionsObjectKind, } from "./accessControl/objectPermissions.js";
|
|
76
76
|
export { AssignedWorkspacePermissionValue, OrganizationPermissionAssignmentValue, AssignedDataSourcePermissionValue, isAssignedWorkspacePermission, } from "./organization/index.js";
|
package/esm/sdk-model.d.ts
CHANGED
|
@@ -1745,6 +1745,80 @@ export declare function emptyDef(workspace: string): IExecutionDefinition;
|
|
|
1745
1745
|
*/
|
|
1746
1746
|
export declare type EmptyValues = "include" | "exclude" | "only";
|
|
1747
1747
|
|
|
1748
|
+
/**
|
|
1749
|
+
* All known cell-oriented execution result limit types.
|
|
1750
|
+
*
|
|
1751
|
+
* @alpha
|
|
1752
|
+
*/
|
|
1753
|
+
export declare type ExecutionResultCellLimitType = (typeof ExecutionResultCellLimitTypes)[number];
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Known cell-oriented execution result limit types.
|
|
1757
|
+
*
|
|
1758
|
+
* @alpha
|
|
1759
|
+
*/
|
|
1760
|
+
export declare const ExecutionResultCellLimitTypes: readonly ["cellCount", "cells", "xtab-cells"];
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* All known column-oriented execution result limit types.
|
|
1764
|
+
*
|
|
1765
|
+
* @alpha
|
|
1766
|
+
*/
|
|
1767
|
+
export declare type ExecutionResultColumnLimitType = (typeof ExecutionResultColumnLimitTypes)[number];
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* Known column-oriented execution result limit types.
|
|
1771
|
+
*
|
|
1772
|
+
* @alpha
|
|
1773
|
+
*/
|
|
1774
|
+
export declare const ExecutionResultColumnLimitTypes: readonly ["columnCount", "columns", "xtab-columns"];
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* Semantic kind of a known execution result limit type.
|
|
1778
|
+
*
|
|
1779
|
+
* @alpha
|
|
1780
|
+
*/
|
|
1781
|
+
export declare type ExecutionResultLimitKind = keyof typeof ExecutionResultLimitTypes;
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* All known execution result limit types.
|
|
1785
|
+
*
|
|
1786
|
+
* @alpha
|
|
1787
|
+
*/
|
|
1788
|
+
export declare type ExecutionResultLimitType = ExecutionResultRowLimitType | ExecutionResultColumnLimitType | ExecutionResultCellLimitType;
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Known execution result limit types grouped by semantic kind.
|
|
1792
|
+
*
|
|
1793
|
+
* @alpha
|
|
1794
|
+
*/
|
|
1795
|
+
export declare const ExecutionResultLimitTypes: {
|
|
1796
|
+
readonly rows: readonly ["rowCount", "rows", "xtab-rows"];
|
|
1797
|
+
readonly columns: readonly ["columnCount", "columns", "xtab-columns"];
|
|
1798
|
+
readonly cells: readonly ["cellCount", "cells", "xtab-cells"];
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* Returns semantic kind for a known execution result limit type.
|
|
1803
|
+
*
|
|
1804
|
+
* @alpha
|
|
1805
|
+
*/
|
|
1806
|
+
export declare function executionResultLimitTypeToKind(limitType: string): ExecutionResultLimitKind | "unknown";
|
|
1807
|
+
|
|
1808
|
+
/**
|
|
1809
|
+
* All known row-oriented execution result limit types.
|
|
1810
|
+
*
|
|
1811
|
+
* @alpha
|
|
1812
|
+
*/
|
|
1813
|
+
export declare type ExecutionResultRowLimitType = (typeof ExecutionResultRowLimitTypes)[number];
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* Known row-oriented execution result limit types.
|
|
1817
|
+
*
|
|
1818
|
+
* @alpha
|
|
1819
|
+
*/
|
|
1820
|
+
export declare const ExecutionResultRowLimitTypes: readonly ["rowCount", "rows", "xtab-rows"];
|
|
1821
|
+
|
|
1748
1822
|
/**
|
|
1749
1823
|
* Gets the date when the exportDefinition was created
|
|
1750
1824
|
*
|
|
@@ -4674,6 +4748,27 @@ export declare interface IDashboardDefinition<TWidget = IDashboardWidget> extend
|
|
|
4674
4748
|
readonly tabs?: IDashboardTab<TWidget>[];
|
|
4675
4749
|
}
|
|
4676
4750
|
|
|
4751
|
+
/**
|
|
4752
|
+
* Backend-neutral parameter value carried on a dashboard tabular export.
|
|
4753
|
+
*
|
|
4754
|
+
* @alpha
|
|
4755
|
+
*/
|
|
4756
|
+
export declare interface IDashboardExportParameter {
|
|
4757
|
+
/**
|
|
4758
|
+
* Parameter identifier; drives AFM execution. Matches the workspace catalog parameter's id.
|
|
4759
|
+
*/
|
|
4760
|
+
id: string;
|
|
4761
|
+
/**
|
|
4762
|
+
* Value to apply for the parameter, encoded as a string.
|
|
4763
|
+
*/
|
|
4764
|
+
value: string;
|
|
4765
|
+
/**
|
|
4766
|
+
* Display title rendered into the export's info sheet. Presentation-only; not consumed by
|
|
4767
|
+
* execution.
|
|
4768
|
+
*/
|
|
4769
|
+
title: string;
|
|
4770
|
+
}
|
|
4771
|
+
|
|
4677
4772
|
/**
|
|
4678
4773
|
* Single dashboard filter group configuration.
|
|
4679
4774
|
* Title is displayed in the filter bar.
|
|
@@ -6091,6 +6186,26 @@ export declare interface IExecutionDefinition {
|
|
|
6091
6186
|
readonly executionConfig?: IExecutionConfig;
|
|
6092
6187
|
}
|
|
6093
6188
|
|
|
6189
|
+
/**
|
|
6190
|
+
* Describes a limit broken during result computation, resulting in partial data being returned.
|
|
6191
|
+
*
|
|
6192
|
+
* @alpha
|
|
6193
|
+
*/
|
|
6194
|
+
export declare interface IExecutionResultLimitBreak<TLimitType extends string = ExecutionResultLimitType | (string & {})> {
|
|
6195
|
+
/**
|
|
6196
|
+
* Type of the limit that was broken.
|
|
6197
|
+
*/
|
|
6198
|
+
readonly limitType: TLimitType;
|
|
6199
|
+
/**
|
|
6200
|
+
* The configured limit value.
|
|
6201
|
+
*/
|
|
6202
|
+
readonly limit: number;
|
|
6203
|
+
/**
|
|
6204
|
+
* The actual value that triggered the limit. It is omitted when the value cannot be determined exactly.
|
|
6205
|
+
*/
|
|
6206
|
+
readonly value?: number;
|
|
6207
|
+
}
|
|
6208
|
+
|
|
6094
6209
|
/**
|
|
6095
6210
|
* Object describing minimal properties of existing dashboard.
|
|
6096
6211
|
*
|
|
@@ -6124,6 +6239,10 @@ export declare interface IExportDefinitionDashboardContent {
|
|
|
6124
6239
|
dashboard: Identifier;
|
|
6125
6240
|
filters?: FilterContextItem[];
|
|
6126
6241
|
filtersByTab?: Record<string, FilterContextItem[]>;
|
|
6242
|
+
/**
|
|
6243
|
+
* Parameter runtime-overrides applied on export, keyed by tab localIdentifier.
|
|
6244
|
+
*/
|
|
6245
|
+
parametersByTab?: Record<string, IDashboardExportParameter[]>;
|
|
6127
6246
|
}
|
|
6128
6247
|
|
|
6129
6248
|
/**
|
|
@@ -6195,6 +6314,10 @@ export declare interface IExportDefinitionVisualizationObjectContent {
|
|
|
6195
6314
|
*/
|
|
6196
6315
|
dashboard?: Identifier;
|
|
6197
6316
|
filters?: IFilter[] | FilterContextItem[];
|
|
6317
|
+
/**
|
|
6318
|
+
* Parameter runtime-overrides applied on export, keyed by the owning tab's localIdentifier.
|
|
6319
|
+
*/
|
|
6320
|
+
parametersByTab?: Record<string, IDashboardExportParameter[]>;
|
|
6198
6321
|
}
|
|
6199
6322
|
|
|
6200
6323
|
/**
|
package/esm/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-model",
|
|
3
|
-
"version": "11.41.0-alpha.
|
|
3
|
+
"version": "11.41.0-alpha.4",
|
|
4
4
|
"description": "GoodData Model definitions used by UI components and Backend SPI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"oxlint-tsgolint": "0.15.0",
|
|
58
58
|
"typescript": "5.9.3",
|
|
59
59
|
"vitest": "4.1.8",
|
|
60
|
-
"@gooddata/eslint-config": "11.41.0-alpha.
|
|
61
|
-
"@gooddata/oxlint-config": "11.41.0-alpha.
|
|
60
|
+
"@gooddata/eslint-config": "11.41.0-alpha.4",
|
|
61
|
+
"@gooddata/oxlint-config": "11.41.0-alpha.4"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"_phase:build": "npm run build",
|