@vizzly/services 0.14.3 → 0.14.4-dev-a2406fa5ee1f286d29afa442071cfb1b64b8db85
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/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 +4 -0
- 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/RichText/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +1 -1
- package/dist/services/src/index.d.ts +0 -1
- package/dist/shared-logic/src/AdditionalFilter/AdditionalFilter.d.ts +1 -1
- package/dist/shared-logic/src/AdditionalFilter/constants.d.ts +0 -3
- package/dist/shared-logic/src/AdditionalFilter/types.d.ts +0 -1
- package/dist/shared-logic/src/Component/types.d.ts +24 -3
- package/dist/shared-logic/src/ComponentInterface/types.d.ts +2 -0
- package/dist/shared-logic/src/CustomField/CustomField.d.ts +3 -2
- package/dist/shared-logic/src/CustomField/CustomMetric/build.d.ts +11 -0
- package/dist/shared-logic/src/CustomField/CustomMetric/index.d.ts +10 -0
- package/dist/shared-logic/src/CustomField/CustomMetric/types.d.ts +41 -0
- package/dist/shared-logic/src/CustomField/types.d.ts +10 -2
- package/dist/shared-logic/src/Filter/combineFilters.d.ts +1 -0
- package/dist/shared-logic/src/Filter/relative.d.ts +2 -1
- package/dist/shared-logic/src/LineChartV2/attributesSchema.d.ts +3 -0
- package/dist/shared-logic/src/LineChartV2/constants.d.ts +3 -0
- package/dist/shared-logic/src/LineChartV2/index.d.ts +4 -0
- package/dist/shared-logic/src/LineChartV2/setAttributes.d.ts +4 -0
- package/dist/shared-logic/src/Logger/Logger.d.ts +2 -0
- package/dist/shared-logic/src/Variables/Variables.d.ts +1 -0
- package/dist/shared-logic/src/getComponentInterface.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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<string, string, string>[];
|
|
3
|
+
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes, 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) => {
|
|
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.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | 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.PieChartAttributes, 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
2
|
queries: import("../../../../../shared-logic/src/Query/types").Query<string, string, string>[];
|
|
3
3
|
resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
|
|
4
4
|
};
|
|
@@ -4,7 +4,7 @@ import { Query as QueryType } from '../../../../shared-logic/src/Query/types';
|
|
|
4
4
|
import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
|
|
5
5
|
import { Result } from '../../../../shared-logic/src/Result/types';
|
|
6
6
|
import { Params } from '../../types';
|
|
7
|
-
export declare const commonToQueries: (attributes: Component.AreaChartAttributes | Component.BarChartAttributes | Component.DataTableAttributes | Component.BasicTableAttributes | Component.HorizontalBarChartAttributes | Component.LineChartAttributes | Component.PieChartAttributes | Component.FunnelChartAttributes | Component.RichTextAttributes, dataSet: DataSet, queryEngineConfig: QueryEngineConfig, params: Params) => {
|
|
7
|
+
export declare const commonToQueries: (attributes: Component.AreaChartAttributes | Component.BarChartAttributes | Component.DataTableAttributes | Component.BasicTableAttributes | Component.HorizontalBarChartAttributes | Component.LineChartAttributes | Component.LineChartV2Attributes | Component.PieChartAttributes | Component.FunnelChartAttributes | Component.RichTextAttributes, dataSet: DataSet, queryEngineConfig: QueryEngineConfig, params: Params) => {
|
|
8
8
|
queries: QueryType[];
|
|
9
9
|
resultFields: Result.Field[][];
|
|
10
10
|
};
|
|
@@ -90,7 +90,6 @@ declare class VizzlyServices {
|
|
|
90
90
|
query(queries: Query[], params?: QueryParams): Promise<QueryResponse>;
|
|
91
91
|
static upcastDashboard(dashboard: DashboardFromAPI, dataSets: DataSet[], queryEngineConfig: QueryEngineConfig): Array<DashboardLogic.Dashboard>;
|
|
92
92
|
static filterDashboards(dashboards: DashboardLogic.Dashboard[], options: FilterDashboardOptions): DashboardLogic.Dashboard[];
|
|
93
|
-
static validateDashboard(dashboard: unknown): void;
|
|
94
93
|
updateGlobalLibrary(params: UpdateGlobalLibraryParams): Promise<GlobalLibrary | undefined>;
|
|
95
94
|
private static eventBusController;
|
|
96
95
|
/**
|
|
@@ -15,7 +15,7 @@ export declare function removeBrokenFiltersThenLoad(filters: AdditionalFilter[],
|
|
|
15
15
|
} | undefined): AdditionalFilter[];
|
|
16
16
|
export declare const dump: (hydrated: AdditionalFilter) => AdditionalFilter;
|
|
17
17
|
export declare const load: (dumped: AdditionalFilter, componentInterfaceConfig?: import("../ComponentInterface/types").ComponentInterfaceConfig | undefined) => AdditionalFilter;
|
|
18
|
-
export declare const toRelativeQueryAttributesFilters: (filters: DateAndTimeFilter | DateFilter, startDate?: Date) => QueryAttributes.Filter[];
|
|
18
|
+
export declare const toRelativeQueryAttributesFilters: (filters: DateAndTimeFilter | DateFilter, dataSet: DataSet, startDate?: Date) => QueryAttributes.Filter[];
|
|
19
19
|
export declare const hasActiveFilter: (additionalFilters: AdditionalFilter[]) => boolean;
|
|
20
20
|
export declare const getTitle: (additionalFilter: AdditionalFilter, dataSets: DataSet[], textOverride?: TextOverride) => string;
|
|
21
21
|
export declare const requiredFiltersAreSet: (filter: AdditionalFilter | AdditionalFilter[]) => boolean;
|
|
@@ -8,9 +8,6 @@ export declare const DATE_TIME_FILTER = "dateTimeFilter";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const DATE_AND_TIME_FILTER = "dateAndTimeFilter";
|
|
10
10
|
export declare const SINGLE_SELECT_FILTER = "singleSelectFilter";
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated The "multiSelectFilter" has been deprecated. Use "advancedFilter".
|
|
13
|
-
*/
|
|
14
11
|
export declare const MULTI_SELECT_FILTER = "multiSelectFilter";
|
|
15
12
|
/**
|
|
16
13
|
* @deprecated The "numericFilter" has been deprecated. Use "advancedFilter".
|
|
@@ -19,7 +19,6 @@ declare type BaseAdditionalFilter<T extends AdditionalFilterType> = {
|
|
|
19
19
|
* NOTE:
|
|
20
20
|
* - The "dateTimeFilter" type value has been deprecated. Use "dateFilter".
|
|
21
21
|
* - The "dateAndTimeFilter" type value has been deprecated. Use "dateFilter".
|
|
22
|
-
* - The "multiSelectFilter" type value has been deprecated. Use "advancedFilter".
|
|
23
22
|
* - The "numericFilter" type value has been deprecated. Use "advancedFilter".
|
|
24
23
|
*/
|
|
25
24
|
type: T;
|
|
@@ -12,7 +12,7 @@ import { DataSet } from '../DataSet/types';
|
|
|
12
12
|
export declare type getNumberFormatter = (formatterId: string | undefined | null) => (number: number) => string;
|
|
13
13
|
export declare type FormatType = string | null;
|
|
14
14
|
export declare type ApproxAxisLabelCount = 'auto' | number;
|
|
15
|
-
export declare type ComponentType = 'areaChart' | 'barChart' | 'basicTable' | 'comboChart' | 'custom' | 'dataTable' | 'funnelChart' | 'horizontalBarChart' | 'lineChart' | 'mercatorMap' | 'pieChart' | 'progress' | 'richText' | 'scatterChart' | 'singleStat';
|
|
15
|
+
export declare type ComponentType = 'areaChart' | 'barChart' | 'basicTable' | 'comboChart' | 'custom' | 'dataTable' | 'funnelChart' | 'horizontalBarChart' | 'lineChart' | 'lineChartV2' | 'mercatorMap' | 'pieChart' | 'progress' | 'richText' | 'scatterChart' | 'singleStat';
|
|
16
16
|
export declare const componentTypes: string[];
|
|
17
17
|
export declare namespace Component {
|
|
18
18
|
export type LineCurve = 'natural' | 'straight' | 'step' | 'stepBefore' | 'stepAfter' | 'dotted';
|
|
@@ -167,6 +167,27 @@ export declare namespace Component {
|
|
|
167
167
|
headline?: Headline;
|
|
168
168
|
trends?: Array<Trends>;
|
|
169
169
|
};
|
|
170
|
+
export type LineChartV2Attributes = BaseAttributes & BaseQueryAttributes & {
|
|
171
|
+
type: 'lineChartV2';
|
|
172
|
+
stacked?: boolean | '100%';
|
|
173
|
+
xAxisPrefix: string;
|
|
174
|
+
yAxisPrefix: string;
|
|
175
|
+
xAxisPostfix: string;
|
|
176
|
+
yAxisPostfix: string;
|
|
177
|
+
lineCurve: LineCurve;
|
|
178
|
+
xAxisFormat: FormatType;
|
|
179
|
+
yAxisFormat: FormatType;
|
|
180
|
+
approxXAxisLabelCount: ApproxAxisLabelCount;
|
|
181
|
+
approxYAxisLabelCount: ApproxAxisLabelCount;
|
|
182
|
+
conditionalFormattingRules: Array<ConditionalFormatting.Rule>;
|
|
183
|
+
drilldown: QueryAttributes.Dimension[];
|
|
184
|
+
legend: boolean;
|
|
185
|
+
parameters?: Parameters;
|
|
186
|
+
goalLines?: Array<Component.GoalLine.Rule>;
|
|
187
|
+
axisTitles?: AxisTitles;
|
|
188
|
+
headline?: Headline;
|
|
189
|
+
trends?: Array<Trends>;
|
|
190
|
+
};
|
|
170
191
|
export type PieChartAttributes = BaseAttributes & BaseQueryAttributes & {
|
|
171
192
|
type: 'pieChart';
|
|
172
193
|
conditionalFormattingRules: Array<ConditionalFormatting.Rule>;
|
|
@@ -312,8 +333,8 @@ export declare namespace Component {
|
|
|
312
333
|
goalLines?: Array<Component.GoalLine.Rule>;
|
|
313
334
|
axisTitles?: AxisTitles;
|
|
314
335
|
};
|
|
315
|
-
export type ViewType = 'areaChart' | 'barChart' | 'basicTable' | 'comboChart' | 'custom' | 'dataTable' | 'funnelChart' | 'horizontalBarChart' | 'lineChart' | 'mercatorMap' | 'pieChart' | 'progress' | 'richText' | 'scatterChart' | 'singleStat';
|
|
316
|
-
export type Attributes = AreaChartAttributes | BarChartAttributes | BasicTableAttributes | ComboChartAttributes | CustomViewAttributes | DataTableAttributes | FunnelChartAttributes | HorizontalBarChartAttributes | LineChartAttributes | MercatorMapAttributes | PieChartAttributes | ProgressAttributes | RichTextAttributes | ScatterChartAttributes | SingleStatAttributes;
|
|
336
|
+
export type ViewType = 'areaChart' | 'barChart' | 'basicTable' | 'comboChart' | 'custom' | 'dataTable' | 'funnelChart' | 'horizontalBarChart' | 'lineChart' | 'lineChartV2' | 'mercatorMap' | 'pieChart' | 'progress' | 'richText' | 'scatterChart' | 'singleStat';
|
|
337
|
+
export type Attributes = AreaChartAttributes | BarChartAttributes | BasicTableAttributes | ComboChartAttributes | CustomViewAttributes | DataTableAttributes | FunnelChartAttributes | HorizontalBarChartAttributes | LineChartAttributes | LineChartV2Attributes | MercatorMapAttributes | PieChartAttributes | ProgressAttributes | RichTextAttributes | ScatterChartAttributes | SingleStatAttributes;
|
|
317
338
|
export interface RenderTableCell {
|
|
318
339
|
viewId: string;
|
|
319
340
|
type: 'basicTable' | 'dataTable';
|
|
@@ -8,6 +8,7 @@ import DataSetNotFound from '../errors/DataSetNotFound';
|
|
|
8
8
|
import CorruptedView from '../errors/CorruptedView';
|
|
9
9
|
import { ComponentInterfaceConfig } from './types/ComponentInterfaceConfig';
|
|
10
10
|
import { ComponentNamespace } from './types/namespaces.types';
|
|
11
|
+
import { AcceptedTypes } from '../CustomField/types';
|
|
11
12
|
export * from './types/ComponentInterfaceConfig';
|
|
12
13
|
export interface ComponentInterface<Hydrated = any, Dumped = any> extends Dumpable<Hydrated, Dumped> {
|
|
13
14
|
title: string;
|
|
@@ -33,6 +34,7 @@ export interface ComponentInterface<Hydrated = any, Dumped = any> extends Dumpab
|
|
|
33
34
|
roundedNumbers: boolean;
|
|
34
35
|
dateCalculations: boolean;
|
|
35
36
|
conditional: boolean;
|
|
37
|
+
calculatedField: Array<AcceptedTypes> | false;
|
|
36
38
|
};
|
|
37
39
|
supportedFeatures: {
|
|
38
40
|
parameters: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataSet as DataSetType } from '../DataSet/types';
|
|
2
|
-
import { AggregateMathField, ConditionalField, CustomField, PercentageField, RoundedNumberField, RulesField, SimpleMathField } from '../CustomField/types';
|
|
2
|
+
import { AggregateMathField, ConditionalField, CustomField, DateCalculationField, MetricField, PercentageField, RoundedNumberField, RulesField, SimpleMathField } from '../CustomField/types';
|
|
3
3
|
import { QueryAttributes } from '../QueryAttributes/types';
|
|
4
4
|
import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
5
5
|
import { Query } from '../Query/types';
|
|
@@ -11,7 +11,8 @@ export declare const isAggregateMathField: (field: DataSetType.Field) => field i
|
|
|
11
11
|
export declare const isPercentageField: (field: DataSetType.Field) => field is PercentageField;
|
|
12
12
|
export declare const isRules: (field: DataSetType.Field) => field is RulesField;
|
|
13
13
|
export declare const isConditional: (field: DataSetType.Field) => field is ConditionalField;
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const isMetric: (field: DataSetType.Field) => field is MetricField;
|
|
15
|
+
export declare const isDateCalculation: (field: DataSetType.Field) => field is DateCalculationField;
|
|
15
16
|
export declare const getCustomFieldCategory: (field: CustomField) => CustomFieldCategory;
|
|
16
17
|
export declare const isCustomField: (field: DataSetType.Field) => field is CustomField;
|
|
17
18
|
/**
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DataSet } from '../../DataSet/types';
|
|
2
|
+
import { Query, QueryNameSpace } from '../../Query/types';
|
|
3
|
+
import * as Filter from '../../Filter';
|
|
4
|
+
import * as Types from './types';
|
|
5
|
+
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
6
|
+
import { Params } from '../../../../results-driver/src/types';
|
|
7
|
+
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
8
|
+
export declare const buildOperator: (operator: Types.Operator, dataSet: DataSet, params: Params, measureAttribute?: QueryAttributes.Measure) => Query['measure'][number];
|
|
9
|
+
export declare const buildIfLogic: (ifLogic: Types.IfLogic, dataSet: DataSet, localAndDashboardFilters: QueryAttributes.Filter[], queryEngineConfig: QueryEngineConfig, params: Params, measureAttribute?: QueryAttributes.Measure) => QueryNameSpace.FieldDefinition<string, string, string>;
|
|
10
|
+
export declare const buildNumber: (numberInput: Types.NumberInput) => QueryNameSpace.FieldDefinition<string, string, string>;
|
|
11
|
+
export declare const buildField: (field: Types.Field) => QueryNameSpace.FieldDefinition<string, string, string>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataSet } from '../../DataSet/types';
|
|
2
|
+
import { Query } from '../../Query/types';
|
|
3
|
+
import * as Types from './types';
|
|
4
|
+
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
5
|
+
import { Params } from '../../../../results-driver/src/types';
|
|
6
|
+
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
7
|
+
import { MetricField } from '../types';
|
|
8
|
+
export declare const init: (publicName: string, metric: Types.Metric, queryEngineConfig: QueryEngineConfig) => MetricField;
|
|
9
|
+
export declare const build: (measureAttribute: QueryAttributes.Measure, customField: MetricField, dataSet: DataSet, queryEngineConfig: QueryEngineConfig, params: Params) => Query['measure'][number];
|
|
10
|
+
export declare const validate: (field: MetricField) => boolean;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
|
|
2
|
+
export declare enum PropertyType {
|
|
3
|
+
Operator = "operator",
|
|
4
|
+
IfLogic = "ifLogic",
|
|
5
|
+
NumberInput = "number",
|
|
6
|
+
Variable = "variable",
|
|
7
|
+
Field = "field"
|
|
8
|
+
}
|
|
9
|
+
export declare type Operator = {
|
|
10
|
+
type: PropertyType.Operator;
|
|
11
|
+
op: OperatorType;
|
|
12
|
+
values: Array<Operator | NumberInput | Field | Variable | IfLogic>;
|
|
13
|
+
};
|
|
14
|
+
export declare type NumberInput = {
|
|
15
|
+
type: PropertyType.NumberInput;
|
|
16
|
+
value: number | undefined;
|
|
17
|
+
};
|
|
18
|
+
export declare type Variable = {
|
|
19
|
+
type: PropertyType.Variable;
|
|
20
|
+
value: string;
|
|
21
|
+
};
|
|
22
|
+
export declare type Field = {
|
|
23
|
+
type: PropertyType.Field;
|
|
24
|
+
fieldId: string;
|
|
25
|
+
function: string;
|
|
26
|
+
};
|
|
27
|
+
export declare type IfLogic = {
|
|
28
|
+
type: PropertyType.IfLogic;
|
|
29
|
+
cases: Array<{
|
|
30
|
+
filter: Array<QueryAttributes.Filter[]>;
|
|
31
|
+
returns: Operator | NumberInput | Field | Variable | IfLogic | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
else: Operator | NumberInput | Field | Variable | IfLogic | undefined;
|
|
34
|
+
};
|
|
35
|
+
export declare type Metric = Operator | IfLogic;
|
|
36
|
+
export declare enum OperatorType {
|
|
37
|
+
Divide = "/",
|
|
38
|
+
Multiply = "*",
|
|
39
|
+
Subtract = "-",
|
|
40
|
+
Add = "+"
|
|
41
|
+
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { QueryAttributes } from '../QueryAttributes/types';
|
|
2
2
|
import { BaseField, DataType, NonDateTimeField } from '../Field/types';
|
|
3
3
|
import { Rules } from './Rules/types';
|
|
4
|
+
import { Metric } from './CustomMetric/types';
|
|
4
5
|
declare type BaseCustomField = Omit<NonDateTimeField, 'dashboardFilterGroups'>;
|
|
5
6
|
export declare type PercentageField = BaseCustomField & Percentage;
|
|
6
7
|
export declare type RoundedNumberField = BaseCustomField & RoundedNumber;
|
|
7
8
|
export declare type DateCalculationField = BaseCustomField & DateCalculation;
|
|
8
9
|
export declare type AggregateMathField = BaseCustomField & AggregateMath;
|
|
9
10
|
export declare type ConditionalField = BaseCustomField & Conditional;
|
|
11
|
+
export declare type MetricField = BaseCustomField & {
|
|
12
|
+
metric: Metric;
|
|
13
|
+
};
|
|
10
14
|
export declare type SimpleMathField = BaseCustomField & SimpleMath & {
|
|
11
15
|
dataType: 'number';
|
|
12
16
|
};
|
|
@@ -14,7 +18,7 @@ export interface RulesField extends BaseField {
|
|
|
14
18
|
rules: Rules[];
|
|
15
19
|
dataType: 'string';
|
|
16
20
|
}
|
|
17
|
-
export declare type CustomField = PercentageField | SimpleMathField | AggregateMathField | RulesField | RoundedNumberField | DateCalculationField | ConditionalField;
|
|
21
|
+
export declare type CustomField = PercentageField | SimpleMathField | AggregateMathField | RulesField | RoundedNumberField | DateCalculationField | ConditionalField | MetricField;
|
|
18
22
|
export declare type Conditional = {
|
|
19
23
|
fieldId: string;
|
|
20
24
|
function: string;
|
|
@@ -66,6 +70,10 @@ export declare type DateCalculation = {
|
|
|
66
70
|
dateCalculationFunction: 'seconds_between' | 'minutes_between' | 'hours_between' | 'days_between';
|
|
67
71
|
};
|
|
68
72
|
export declare type MathOperator = '*' | '-' | '/' | '+';
|
|
69
|
-
export declare type CustomFieldCategory = 'percentage' | 'math' | 'rules' | 'roundedNumber' | 'dateCalculation' | 'conditional';
|
|
73
|
+
export declare type CustomFieldCategory = 'percentage' | 'math' | 'rules' | 'roundedNumber' | 'dateCalculation' | 'conditional' | 'calculatedField';
|
|
74
|
+
export declare enum AcceptedTypes {
|
|
75
|
+
Maths = "maths",
|
|
76
|
+
IfStatement = "ifStatement"
|
|
77
|
+
}
|
|
70
78
|
export declare type MaybeOldCustomField = CustomField;
|
|
71
79
|
export {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { QueryAttributes } from '../QueryAttributes/types';
|
|
2
2
|
export declare const combineFilters: (array1: QueryAttributes.Filter[][], array2: QueryAttributes.Filter[][]) => QueryAttributes.Filter[][];
|
|
3
|
+
export declare function combineForCustomMetricFilters(filters: QueryAttributes.Filter[][] | undefined, customFilters: QueryAttributes.Filter[][] | undefined): QueryAttributes.Filter[][];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DataSet as DataSetType } from '../DataSet/types';
|
|
1
2
|
import { Field } from '../AdditionalFilter/types';
|
|
2
3
|
import { QueryAttributes } from '../QueryAttributes/types';
|
|
3
4
|
import { TextOverride } from '../Translations/types';
|
|
@@ -50,5 +51,5 @@ export declare function isRelative(value: any): any;
|
|
|
50
51
|
export declare function isRelativeDateDefined(value: RelativeDate): boolean;
|
|
51
52
|
export declare const init: () => RelativeDate;
|
|
52
53
|
export declare const calculateRelativeDate: (relativeDate: RelativeDate, startDate?: Date) => Date;
|
|
53
|
-
export declare const buildRelativeRange: (relativeFilters: QueryAttributes.Filter[][], appliesToFields?: Field[]) => QueryAttributes.Filter[][];
|
|
54
|
+
export declare const buildRelativeRange: (relativeFilters: QueryAttributes.Filter[][], dataSet: DataSetType, appliesToFields?: Field[]) => QueryAttributes.Filter[][];
|
|
54
55
|
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Component } from '../Component/types';
|
|
2
|
+
import { ComponentInterfaceConfig } from '../ComponentInterface/types';
|
|
3
|
+
declare const _default: (config: ComponentInterfaceConfig) => (lineChart: Component.LineChartV2Attributes, partial: Partial<Component.LineChartV2Attributes>) => Component.LineChartV2Attributes;
|
|
4
|
+
export default _default;
|
|
@@ -6,6 +6,8 @@ export declare const setupLogger: (newLogLevel: LogLevel, onLogLevelChange?: ((n
|
|
|
6
6
|
logInfo: (...message: any) => void;
|
|
7
7
|
logWarning: (...message: any) => void;
|
|
8
8
|
logProperties: (...message: any) => void;
|
|
9
|
+
getCurrentLogLevel: () => LogLevel;
|
|
10
|
+
updateLogLevel: (newLevel: LogLevel) => void;
|
|
9
11
|
};
|
|
10
12
|
export declare const logDebug: (...message: any) => void;
|
|
11
13
|
export declare const logInfo: (...message: any) => void;
|
|
@@ -5,3 +5,4 @@ export declare const build: (variables?: VariablesCallback) => VariableList;
|
|
|
5
5
|
export declare const findVariable: (value: string, detect: (input: string) => string[] | undefined, variableList?: VariableList) => string[] | undefined;
|
|
6
6
|
export declare const useValue: (value: any, variables?: VariableList) => any;
|
|
7
7
|
export declare const validate: (value: string, variables?: VariableList) => boolean;
|
|
8
|
+
export declare function extractValue(variables: VariableList, key: string): import("./types").VariableTypes;
|
|
@@ -13,6 +13,7 @@ declare function getComponentInterface(type: 'basicTable', config?: ComponentInt
|
|
|
13
13
|
declare function getComponentInterface(type: 'horizontalBarChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.HorizontalBarChartAttributes>;
|
|
14
14
|
declare function getComponentInterface(type: 'areaChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.AreaChartAttributes>;
|
|
15
15
|
declare function getComponentInterface(type: 'lineChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.LineChartAttributes>;
|
|
16
|
+
declare function getComponentInterface(type: 'lineChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.LineChartV2Attributes>;
|
|
16
17
|
declare function getComponentInterface(type: 'barChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.BarChartAttributes>;
|
|
17
18
|
declare function getComponentInterface(type: 'funnelChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.FunnelChartAttributes>;
|
|
18
19
|
declare function getComponentInterface(type: ComponentType, config?: ComponentInterfaceConfig): ComponentInterface<Component.Attributes>;
|
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.14.
|
|
29
|
+
"version": "0.14.4-dev-a2406fa5ee1f286d29afa442071cfb1b64b8db85",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@vizzly/api-client": "0.0.43",
|
|
32
32
|
"@vizzly/joi": "^17.11.0",
|