@vizzly/services 0.15.0-dev-df6a888afc7272341aed2da83a5290bca83e406b → 0.15.0-dev-40c479fdafffb16cba288545eceac8ea5f1efddb
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/index.js +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/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 +2 -2
- package/dist/shared-logic/src/Query/buildFromQueryAttributes.d.ts +1 -1
- package/dist/shared-logic/src/Query/types.d.ts +6 -109
- package/package.json +1 -1
- 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,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']) => 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: {
|
|
@@ -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 {};
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fix-type-alias": "tsc-alias -p tsconfig.json",
|
|
27
27
|
"prepare": "yarn build"
|
|
28
28
|
},
|
|
29
|
-
"version": "0.15.0-dev-
|
|
29
|
+
"version": "0.15.0-dev-40c479fdafffb16cba288545eceac8ea5f1efddb",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@vizzly/api-client": "0.0.57",
|
|
32
32
|
"@vizzly/joi": "^17.11.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;
|