@vizzly/dashboard 0.15.0-dev-df6a888afc7272341aed2da83a5290bca83e406b → 0.15.0-dev-abd38c3135e9c81774564b32bbe7750a29cc6448
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/dist/dashboard.cjs.development.js +202 -358
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +202 -358
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/LineChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/RadarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/SunburstChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/WaterfallChart/toQueries.d.ts +1 -1
- package/dist/shared-logic/src/AdditionalFilter/types.d.ts +4 -1
- package/dist/shared-logic/src/CustomField/SimpleMath/index.d.ts +1 -1
- package/dist/shared-logic/src/Filter/Filter.d.ts +1 -1
- package/dist/shared-logic/src/Filter/types.d.ts +2 -4
- package/dist/shared-logic/src/JSQueryEngine/types.d.ts +2 -8
- package/dist/shared-logic/src/Query/Query.d.ts +9 -3
- package/dist/shared-logic/src/Query/buildFromQueryAttributes.d.ts +1 -1
- package/dist/shared-logic/src/Query/types.d.ts +6 -109
- package/dist/shared-logic/src/TimeDimension/TimeDimension.d.ts +3 -1
- package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +1 -1
- package/dist/shared-ui/src/base/Panel/Panel.d.ts +1 -1
- package/package.json +3 -3
- package/dist/shared-logic/src/Filter/Where.d.ts +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
|
|
2
|
-
queries: import("../../../../../shared-logic/src/Query/types").Query
|
|
2
|
+
queries: import("../../../../../shared-logic/src/Query/types").Query[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { QueryAttributes } from '../QueryAttributes/types';
|
|
2
2
|
import * as FilterType from './constants';
|
|
3
3
|
export declare type FilterConfig = {
|
|
4
|
+
/** Quick-access filters added to each view */
|
|
4
5
|
localFilters?: Array<AdditionalFilter>;
|
|
6
|
+
/** Filters existing on the dashboard level */
|
|
5
7
|
globalFilters?: Array<AdditionalFilter>;
|
|
6
|
-
|
|
8
|
+
/** Filters existing in the "advanced" section of the data panel */
|
|
9
|
+
viewFilters?: QueryAttributes['filter'];
|
|
7
10
|
};
|
|
8
11
|
export declare type AdditionalFilter = NumericFilter | SingleSelectFilter | DateFilter | DateAndTimeFilter | DateTimeFilter | MultiSelectFilter | AdvancedFilter;
|
|
9
12
|
export declare type Field = {
|
|
@@ -8,4 +8,4 @@ import { Params } from '../../../../results-driver/src/types';
|
|
|
8
8
|
import { VariableList } from '../../Variables/types';
|
|
9
9
|
export declare const init: (publicName: string, leftFieldId: string, operator: MathOperator, rightFieldId: string, queryEngineConfig: QueryEngineConfig) => SimpleMathField;
|
|
10
10
|
export declare const build: (measureAttribute: QueryAttributes.Measure, customField: SimpleMathField, dataSet: DataSet, params: Params) => Query['measure'][number];
|
|
11
|
-
export declare const buildSide: (value: string, dataSet: DataSet, variables: VariableList) => QueryNameSpace.FieldDefinition
|
|
11
|
+
export declare const buildSide: (value: string, dataSet: DataSet, variables: VariableList) => QueryNameSpace.FieldDefinition;
|
|
@@ -4,7 +4,7 @@ import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
|
4
4
|
import { DataSet } from '../DataSet/types';
|
|
5
5
|
import { Params } from '../../../results-driver/src/types';
|
|
6
6
|
export declare const addAndFilters: (filter: QueryAttributes['filter'], filterToAddToAll: QueryAttributes.Filter[]) => QueryAttributes['filter'];
|
|
7
|
-
export declare const filterAttributeToQueryFilter: (
|
|
7
|
+
export declare const filterAttributeToQueryFilter: (filterAttrs: QueryAttributes.Filter[][], queryEngineConfig: QueryEngineConfig, dataSet: DataSet, params: Params) => Query['filter'];
|
|
8
8
|
export declare const takeUsedFields: (filter: QueryAttributes['filter']) => string[];
|
|
9
9
|
export declare const isAvailable: (filter?: QueryAttributes.Filter[][] | undefined) => boolean | undefined;
|
|
10
10
|
export declare const isAdditionalFilter: (value: any) => boolean;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import type { Query } from '@vizzly/sqlbuilder-public';
|
|
1
2
|
export declare enum Clause {
|
|
2
3
|
AND_WHERE = "andWhere",
|
|
3
4
|
OR_WHERE = "orWhere",
|
|
4
5
|
WHERE = "where"
|
|
5
6
|
}
|
|
6
|
-
export declare type WhereClause =
|
|
7
|
-
type: Clause;
|
|
8
|
-
value: any;
|
|
9
|
-
};
|
|
7
|
+
export declare type WhereClause = Query['filter'];
|
|
@@ -2,11 +2,5 @@ import { Query, SubQuery } from '../Query/types';
|
|
|
2
2
|
export declare type DataMap = {
|
|
3
3
|
[key: string]: string | boolean | number | Date | null | string[];
|
|
4
4
|
};
|
|
5
|
-
declare type
|
|
6
|
-
export declare type
|
|
7
|
-
export declare type JSQueryEngineAggregateFunction = 'countDistinct' | 'count' | 'mean' | 'sum' | 'min' | 'max' | 'none';
|
|
8
|
-
export declare type JSQueryEngineFunction = JSQueryEngineTimeFunction | JSQueryEngineAggregateFunction;
|
|
9
|
-
export declare type JSQueryEngineMathsOp = '*' | '-' | '/' | '+';
|
|
10
|
-
export declare type JSQueryEngineSubQuery = SubQuery<JSQueryEngineFunction, JSQueryEngineOperator, JSQueryEngineMathsOp>;
|
|
11
|
-
export declare type JSQueryEngineQuery = Query<JSQueryEngineFunction, JSQueryEngineOperator, JSQueryEngineMathsOp>;
|
|
12
|
-
export {};
|
|
5
|
+
export declare type JSQueryEngineSubQuery = SubQuery;
|
|
6
|
+
export declare type JSQueryEngineQuery = Query;
|
|
@@ -3,8 +3,8 @@ import { QueryAttributes } from '../QueryAttributes/types';
|
|
|
3
3
|
import { QueryEngineConfig, SupportedFeature as SupportedFeatureType } from '../QueryEngineConfig/types';
|
|
4
4
|
import { DataSet } from '../DataSet/types';
|
|
5
5
|
import { Result } from '../Result/types';
|
|
6
|
-
export declare const build: (dataSet: DataSet<DataSet.Field>, measureAttr: QueryAttributes.Measure[], orderAttr: QueryAttributes.Order[], dimensionAttr: QueryAttributes.Dimension[], timeDimensionAttr: QueryAttributes.TimeDimension | null, limitAttr: number | undefined, offsetAttr: number | undefined, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../results-driver/src/types").Params
|
|
7
|
-
query: Query
|
|
6
|
+
export declare const build: (dataSet: DataSet<DataSet.Field>, measureAttr: QueryAttributes.Measure[], filterAttr: QueryAttributes.Filter[][], orderAttr: QueryAttributes.Order[], dimensionAttr: QueryAttributes.Dimension[], timeDimensionAttr: QueryAttributes.TimeDimension | null, limitAttr: number | undefined, offsetAttr: number | undefined, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../results-driver/src/types").Params) => {
|
|
7
|
+
query: Query;
|
|
8
8
|
measureDescription: import("./types").MeasureDescription[];
|
|
9
9
|
};
|
|
10
10
|
export declare const hasDimensions: (query: {
|
|
@@ -14,7 +14,13 @@ export declare const buildPreAggregatedPreparedQuery: (query: PreAggregatedQuery
|
|
|
14
14
|
query: PreAggregatedQuery;
|
|
15
15
|
resultFields: Result.Field[];
|
|
16
16
|
};
|
|
17
|
-
export declare const buildUniqueArrayValuesPreparedQuery: (dataSetId: string, dataSetField: DataSet['fields'][number], optionsFilters?:
|
|
17
|
+
export declare const buildUniqueArrayValuesPreparedQuery: (dataSetId: string, dataSetField: DataSet['fields'][number], optionsFilters?: {
|
|
18
|
+
type: "andWhere" | "orWhere";
|
|
19
|
+
value: import("@vizzly/sqlbuilder-public").RecursiveFilter[];
|
|
20
|
+
} | {
|
|
21
|
+
type: "where";
|
|
22
|
+
value: import("@vizzly/sqlbuilder-public/dist/Query/types").QueryNameSpace.Filter<import("@vizzly/sqlbuilder-public/dist/Query/types").QueryNameSpace.FieldDefinition<string, string, import("../CustomField/types").MathOperator, import("@vizzly/sqlbuilder-public").RecursiveFilter>, string>;
|
|
23
|
+
} | undefined) => {
|
|
18
24
|
query: PreparedQuery;
|
|
19
25
|
resultFields: Result.Field[];
|
|
20
26
|
};
|
|
@@ -3,7 +3,7 @@ import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
|
3
3
|
import { MeasureDescription, Query } from './types';
|
|
4
4
|
import { DataSet } from '../DataSet/types';
|
|
5
5
|
import { Params } from '../../../results-driver/src/types';
|
|
6
|
-
export declare const buildFromQueryAttributes: (dataSet: DataSet, measureAttr: QueryAttributes.Measure[], orderAttr: QueryAttributes.Order[], dimensionAttr: QueryAttributes.Dimension[], timeDimensionAttr: QueryAttributes.TimeDimension | null, limitAttr: QueryAttributes.Limit | undefined, offsetAttr: QueryAttributes.Offset | undefined, queryEngineConfig: QueryEngineConfig, params: Params
|
|
6
|
+
export declare const buildFromQueryAttributes: (dataSet: DataSet, measureAttr: QueryAttributes.Measure[], filterAttr: QueryAttributes.Filter[][], orderAttr: QueryAttributes.Order[], dimensionAttr: QueryAttributes.Dimension[], timeDimensionAttr: QueryAttributes.TimeDimension | null, limitAttr: QueryAttributes.Limit | undefined, offsetAttr: QueryAttributes.Offset | undefined, queryEngineConfig: QueryEngineConfig, params: Params) => {
|
|
7
7
|
query: Query;
|
|
8
8
|
measureDescription: Array<MeasureDescription>;
|
|
9
9
|
};
|
|
@@ -1,108 +1,15 @@
|
|
|
1
1
|
import { DataSet } from '../DataSet/types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Which direction should the values be sorted in?
|
|
5
|
-
*/
|
|
6
|
-
type SortDirection = 'asc' | 'desc';
|
|
7
|
-
/**
|
|
8
|
-
* ID of the field. This is the same ID that is used in
|
|
9
|
-
* the data sets.
|
|
10
|
-
*/
|
|
11
|
-
type Field = string;
|
|
12
|
-
/**
|
|
13
|
-
* Index of the measure to group the aggregates on.
|
|
14
|
-
* Index starts from 0.
|
|
15
|
-
*/
|
|
16
|
-
type Group = {
|
|
17
|
-
index: number;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Index of the measure to sort the results by.
|
|
21
|
-
* Index starts from 0.
|
|
22
|
-
*/
|
|
23
|
-
type Order = {
|
|
24
|
-
index: number;
|
|
25
|
-
direction: SortDirection;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Defines filters to apply on the query. This can be thought of
|
|
29
|
-
* as the WHERE clause in a SQL statement.
|
|
30
|
-
*/
|
|
31
|
-
type Filter<Field, ComparisonOperator> = {
|
|
32
|
-
field: Field | BasicType;
|
|
33
|
-
op: ComparisonOperator;
|
|
34
|
-
value: any;
|
|
35
|
-
};
|
|
36
|
-
type SecureFilterGuard<ComparisonOperator> = {
|
|
37
|
-
fieldId: string;
|
|
38
|
-
op: ComparisonOperator;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Limit the number of results returned from the query.
|
|
42
|
-
*/
|
|
43
|
-
type Limit = number;
|
|
44
|
-
/**
|
|
45
|
-
* Sets the offset of results to return.
|
|
46
|
-
*/
|
|
47
|
-
type Offset = number;
|
|
48
|
-
type Cases<SupportedFunction = string, ComparisonOperator = string, MathsOp = string> = {
|
|
49
|
-
returns: BasicType | {
|
|
50
|
-
type: 'field';
|
|
51
|
-
value: string;
|
|
52
|
-
function: SupportedFunction;
|
|
53
|
-
};
|
|
54
|
-
filter: QueryNameSpace.Filter<QueryNameSpace.FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>, ComparisonOperator>[][];
|
|
55
|
-
};
|
|
56
|
-
type BasicType = {
|
|
57
|
-
type: 'number';
|
|
58
|
-
value: number;
|
|
59
|
-
} | {
|
|
60
|
-
type: 'string';
|
|
61
|
-
value: string;
|
|
62
|
-
} | {
|
|
63
|
-
type: 'null';
|
|
64
|
-
} | {
|
|
65
|
-
type: 'boolean';
|
|
66
|
-
value: boolean | null;
|
|
67
|
-
};
|
|
68
|
-
type ComplexType<SupportedFunction = string, ComparisonOperator = string, MathsOp = string> = {
|
|
69
|
-
type: 'field';
|
|
70
|
-
value: string;
|
|
71
|
-
function: SupportedFunction;
|
|
72
|
-
} | {
|
|
73
|
-
type: 'switchField';
|
|
74
|
-
value: {
|
|
75
|
-
cases: Cases<SupportedFunction, ComparisonOperator, MathsOp>[];
|
|
76
|
-
};
|
|
77
|
-
} | {
|
|
78
|
-
type: 'subquery';
|
|
79
|
-
value: SubQuery<SupportedFunction, ComparisonOperator, MathsOp>;
|
|
80
|
-
} | {
|
|
81
|
-
type: 'maths';
|
|
82
|
-
left: FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>;
|
|
83
|
-
op: MathsOp;
|
|
84
|
-
right: FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>;
|
|
85
|
-
} | {
|
|
86
|
-
type: 'date_maths';
|
|
87
|
-
left: FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>;
|
|
88
|
-
op: MathsOp;
|
|
89
|
-
right: FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>;
|
|
90
|
-
} | {
|
|
91
|
-
type: 'function';
|
|
92
|
-
function: SupportedFunction;
|
|
93
|
-
value: FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>;
|
|
94
|
-
};
|
|
95
|
-
type FieldDefinition<SupportedFunction = string, ComparisonOperator = string, MathsOp = string> = BasicType | ComplexType<SupportedFunction, ComparisonOperator, MathsOp>;
|
|
96
|
-
}
|
|
2
|
+
import { QueryNameSpace, SQLQuery } from '@vizzly/sqlbuilder-public';
|
|
3
|
+
export type { QueryNameSpace } from '@vizzly/sqlbuilder-public';
|
|
97
4
|
export declare type MeasureDescription = {
|
|
98
5
|
/** What is the underlying field of the data set? */
|
|
99
6
|
field: DataSet.Field;
|
|
100
7
|
/** What function was applied? */
|
|
101
8
|
functionId: string;
|
|
102
9
|
};
|
|
103
|
-
export declare type SubQuery
|
|
104
|
-
measure: [QueryNameSpace.FieldDefinition
|
|
105
|
-
filter:
|
|
10
|
+
export declare type SubQuery = {
|
|
11
|
+
measure: [QueryNameSpace.FieldDefinition];
|
|
12
|
+
filter: Query['filter'];
|
|
106
13
|
};
|
|
107
14
|
/** For when a query cannot be generalised into the TraditionalQuery format. We can provide a very specific query for a specific purpose. */
|
|
108
15
|
declare type BasePreparedQuery<PreparedQueryType> = {
|
|
@@ -123,16 +30,6 @@ export declare type PreAggregatedQuery = BasePreparedQuery<'preAggregated'> & {
|
|
|
123
30
|
};
|
|
124
31
|
};
|
|
125
32
|
export declare type PreparedQuery = UniqueArrayValuesQuery | PreAggregatedQuery;
|
|
126
|
-
|
|
127
|
-
export declare type Query<SupportedFunction = string, ComparisonOperator = string, MathsOp = string> = {
|
|
128
|
-
type: 'query';
|
|
33
|
+
export declare type Query = Omit<SQLQuery, 'timeZone'> & {
|
|
129
34
|
timeZone?: string;
|
|
130
|
-
dataSetId: string;
|
|
131
|
-
measure: Array<QueryNameSpace.FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>>;
|
|
132
|
-
filter: QueryNameSpace.Filter<QueryNameSpace.FieldDefinition<SupportedFunction, ComparisonOperator, MathsOp>, ComparisonOperator>[][];
|
|
133
|
-
order: Array<QueryNameSpace.Order>;
|
|
134
|
-
group: Array<QueryNameSpace.Group>;
|
|
135
|
-
limit?: QueryNameSpace.Limit;
|
|
136
|
-
offset?: QueryNameSpace.Offset;
|
|
137
35
|
};
|
|
138
|
-
export {};
|
|
@@ -3,6 +3,8 @@ import { QueryAttributes } from '../QueryAttributes/types';
|
|
|
3
3
|
export declare const id: (metric: QueryAttributes.TimeDimension) => string;
|
|
4
4
|
export declare const decodeId: (metric: string, supportedTimeTruncFunctions: SupportedTimeTruncFunctions) => QueryAttributes.TimeDimension | null;
|
|
5
5
|
export declare const vizzlyManagedTimeDimensions: SupportedTimeTruncFunctions;
|
|
6
|
-
|
|
6
|
+
declare type SupportedTimeFunctions = 'minute' | 'hour' | 'second' | 'week' | 'quarter' | 'year' | 'month' | 'day';
|
|
7
|
+
export declare const supportedTimeTruncFunctions: (keys?: SupportedTimeFunctions[] | undefined) => SupportedTimeTruncFunctions;
|
|
7
8
|
export declare const isSupportedTimeTruncFunction: (supportedTimeFunctions: SupportedTimeTruncFunctions, proposedFunction: string) => boolean;
|
|
8
9
|
export declare const getPublicName: (id: keyof typeof vizzlyManagedTimeDimensions) => string;
|
|
10
|
+
export {};
|
|
@@ -15,7 +15,7 @@ export declare type runQueriesCallback = (queries: Component.Attributes | Additi
|
|
|
15
15
|
dataAccessToken?: string;
|
|
16
16
|
filterConfig?: FilterConfig;
|
|
17
17
|
}) => Promise<(Result | null)[] | Array<Result['content'] | null> | CallbackError>;
|
|
18
|
-
declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryEngineConfig: QueryEngineConfigType, timeRangeOptions: TimeRangeOptions, variables: VariableList, runQueries?: ((queries: import("../../../../shared-logic/src/Query/types").Query
|
|
18
|
+
declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryEngineConfig: QueryEngineConfigType, timeRangeOptions: TimeRangeOptions, variables: VariableList, runQueries?: ((queries: import("../../../../shared-logic/src/Query/types").Query[], params: {
|
|
19
19
|
dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[];
|
|
20
20
|
abortSignal?: AbortSignal | undefined;
|
|
21
21
|
dataAccessToken?: string | undefined;
|
|
@@ -4,7 +4,7 @@ export declare const Panel: React.ForwardRefExoticComponent<{
|
|
|
4
4
|
testId?: string | undefined;
|
|
5
5
|
vizzlyPrefix?: string | undefined;
|
|
6
6
|
transform?: boolean | undefined;
|
|
7
|
-
role?: (string & {}) | "grid" | "none" | "button" | "checkbox" | "listbox" | "radio" | "region" | "cell" | "table" | "row" | "menu" | "listitem" | "menubar" | "menuitem" | "progressbar" | "separator" | "tab" | "tabpanel" | "toolbar" | "tooltip" | "treeitem" | "scrollbar" | "heading" | "search" | "link" | "article" | "dialog" | "figure" | "form" | "img" | "main" | "option" | "switch" | "alert" | "alertdialog" | "application" | "banner" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "directory" | "document" | "feed" | "gridcell" | "
|
|
7
|
+
role?: (string & {}) | "grid" | "none" | "button" | "checkbox" | "listbox" | "radio" | "region" | "cell" | "table" | "row" | "menu" | "listitem" | "menubar" | "menuitem" | "progressbar" | "separator" | "tab" | "tabpanel" | "toolbar" | "tooltip" | "treeitem" | "scrollbar" | "group" | "heading" | "search" | "link" | "article" | "dialog" | "figure" | "form" | "img" | "main" | "option" | "switch" | "alert" | "alertdialog" | "application" | "banner" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "directory" | "document" | "feed" | "gridcell" | "list" | "log" | "marquee" | "math" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "note" | "presentation" | "radiogroup" | "rowgroup" | "rowheader" | "searchbox" | "slider" | "spinbutton" | "status" | "tablist" | "term" | "textbox" | "timer" | "tree" | "treegrid" | undefined;
|
|
8
8
|
onHover?: ((active: boolean) => void) | undefined;
|
|
9
9
|
width?: CSSProperties['width'];
|
|
10
10
|
padding?: CSSProperties['padding'];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.15.0-dev-
|
|
4
|
+
"version": "0.15.0-dev-abd38c3135e9c81774564b32bbe7750a29cc6448",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@visx/visx": "^3.10.2",
|
|
56
56
|
"@vizzly/api-client": "0.0.57",
|
|
57
57
|
"@vizzly/joi": "^17.7.0",
|
|
58
|
-
"@vizzly/semantic-layer-public": "0.0.
|
|
59
|
-
"@vizzly/sqlbuilder-public": "0.1.
|
|
58
|
+
"@vizzly/semantic-layer-public": "0.0.235",
|
|
59
|
+
"@vizzly/sqlbuilder-public": "0.1.54",
|
|
60
60
|
"chroma-js": "2.4.2",
|
|
61
61
|
"copy-to-clipboard": "^3.3.3",
|
|
62
62
|
"cross-fetch": "^4.0.0",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../DataSet/types';
|
|
2
|
-
import { WhereClause } from './types';
|
|
3
|
-
import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
4
|
-
import { Params } from '../../../results-driver/src/types';
|
|
5
|
-
export declare const filterConfigToWhere: (dataSet: DataSet, queryEngineConfig: QueryEngineConfig, params: Params) => WhereClause | undefined;
|
|
6
|
-
export declare const isWhereClause: (thing: any) => thing is WhereClause;
|