@vizzly/services 0.14.4-dev-9d703b952fc4f8757e0aae09b4325b2ed3521f45 → 0.14.4-dev-76edeccc1decaf049cbb0c1cdae16c74c5959d4f
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.
|
@@ -2,5 +2,9 @@ import { QueryAttributes } from '../QueryAttributes/types';
|
|
|
2
2
|
import { Component } from './types';
|
|
3
3
|
export declare const usedMeasures: (attrs: Partial<Component.Attributes | QueryAttributes>) => QueryAttributes['measure'];
|
|
4
4
|
export declare const usedDimensions: (attrs: Partial<Component.Attributes | QueryAttributes>) => QueryAttributes['dimension'];
|
|
5
|
-
declare const usedFields: (attrs: Partial<Component.Attributes | QueryAttributes>) =>
|
|
5
|
+
declare const usedFields: (attrs: Partial<Component.Attributes | QueryAttributes>) => Array<{
|
|
6
|
+
dataSetId: string;
|
|
7
|
+
fieldId: string;
|
|
8
|
+
function: string;
|
|
9
|
+
}>;
|
|
6
10
|
export default usedFields;
|
|
@@ -2,6 +2,7 @@ import { Component as ComponentType } from '../Component/types';
|
|
|
2
2
|
import { DataSet } from '../DataSet/types';
|
|
3
3
|
import { CustomField } from '../CustomField/types';
|
|
4
4
|
import { Dashboard, SaveableDashboardDefinition, ImportableDashboard } from './types';
|
|
5
|
+
import { FieldUsage } from '@vizzly/api-client';
|
|
5
6
|
export * from './saveableDashboardDefinitionSchema';
|
|
6
7
|
export * from './fromRaw';
|
|
7
8
|
export declare const indexOfDataSet: (dashboard: Dashboard, dataSetId: string) => number;
|
|
@@ -35,3 +36,4 @@ export declare const VIZZLY_EDITOR_ID = "vizzly_editor";
|
|
|
35
36
|
export declare function updateWithProgrammaticDashboard(allDashboards: Dashboard[], programmaticDashboards: Dashboard[]): Dashboard[];
|
|
36
37
|
export declare const addUniqueLibraryComponents: (programmaticLibrary: ComponentType[], dashboardLibrary: ComponentType[]) => ComponentType[];
|
|
37
38
|
export declare const checkAndReturnProgrammaticDashboardId: (dashboards: Dashboard[]) => string | undefined;
|
|
39
|
+
export declare const getFieldUsage: (dashboardDefinition: SaveableDashboardDefinition, dataSets: DataSet[]) => FieldUsage;
|
package/package.json
CHANGED
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"fix-type-alias": "tsc-alias -p tsconfig.json",
|
|
27
27
|
"prepare": "yarn build"
|
|
28
28
|
},
|
|
29
|
-
"version": "0.14.4-dev-
|
|
29
|
+
"version": "0.14.4-dev-76edeccc1decaf049cbb0c1cdae16c74c5959d4f",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@vizzly/api-client": "0.0.
|
|
31
|
+
"@vizzly/api-client": "0.0.51",
|
|
32
32
|
"@vizzly/joi": "^17.11.0",
|
|
33
33
|
"lodash": "^4.17.21"
|
|
34
34
|
}
|