@vizzly/dashboard 0.15.0-dev-07a02115d3c40095b001c7233200f91882c770bd → 0.15.0-dev-68900bb4173166c3ce8d5eadf72189aa89e2a1fe
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.15.0-dev-
|
|
4
|
+
"version": "0.15.0-dev-68900bb4173166c3ce8d5eadf72189aa89e2a1fe",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@vizzly/api-client": "0.0.57",
|
|
57
57
|
"@vizzly/joi": "^17.7.0",
|
|
58
58
|
"@vizzly/semantic-layer-public": "0.0.241",
|
|
59
|
-
"@vizzly/sqlbuilder-public": "0.1.
|
|
59
|
+
"@vizzly/sqlbuilder-public": "0.1.69",
|
|
60
60
|
"chroma-js": "2.4.2",
|
|
61
61
|
"copy-to-clipboard": "^3.3.3",
|
|
62
62
|
"cross-fetch": "^4.0.0",
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Params } from '../../../results-driver/src/types';
|
|
2
|
-
import { DataSet } from '../DataSet/types';
|
|
3
|
-
import { Query } from '../Query/types';
|
|
4
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
5
|
-
import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
6
|
-
import { VariableList } from '../Variables/types';
|
|
7
|
-
export declare const addAndFilters: (filter: QueryAttributes['filter'], filterToAddToAll: QueryAttributes.Filter[][]) => QueryAttributes['filter'];
|
|
8
|
-
export declare const convertArrayFilterStructureToQueryFilter: (arrayFilterStructure: QueryAttributes.Filter[][], variables: VariableList) => Query['filter'];
|
|
9
|
-
export declare const combineQueryFilters: (filter: Query['filter'], filterToAddToAll: Query['filter']) => Query['filter'];
|
|
10
|
-
/**
|
|
11
|
-
* Iterates through a query filter and, for each custom metric field, builds a custom metric.
|
|
12
|
-
*/
|
|
13
|
-
export declare function buildQueryCustomMetrics(filter: Query['filter'], dataSet: DataSet, queryEngineConfig: QueryEngineConfig, params: Params): Query['filter'];
|
|
14
|
-
export declare function getFieldFromFilter(filter: Query['filter']): {
|
|
15
|
-
type: "number";
|
|
16
|
-
value: number;
|
|
17
|
-
as?: string | undefined;
|
|
18
|
-
} | {
|
|
19
|
-
type: "string";
|
|
20
|
-
value: string;
|
|
21
|
-
as?: string | undefined;
|
|
22
|
-
} | {
|
|
23
|
-
type: "boolean";
|
|
24
|
-
value: boolean | null;
|
|
25
|
-
as?: string | undefined;
|
|
26
|
-
} | {
|
|
27
|
-
type: "field";
|
|
28
|
-
value: string;
|
|
29
|
-
function: string;
|
|
30
|
-
as?: string | undefined;
|
|
31
|
-
} | {
|
|
32
|
-
type: "switchField";
|
|
33
|
-
value: {
|
|
34
|
-
cases: import("@vizzly/sqlbuilder-public/dist/Query/types").QueryNameSpace.Cases<string>[];
|
|
35
|
-
};
|
|
36
|
-
as?: string | undefined;
|
|
37
|
-
} | {
|
|
38
|
-
type: "subquery";
|
|
39
|
-
value: import("@vizzly/sqlbuilder-public").SubQuery<string, string, import("../CustomField/types").MathOperator, import("@vizzly/sqlbuilder-public").RecursiveFilter>;
|
|
40
|
-
as?: string | undefined;
|
|
41
|
-
} | {
|
|
42
|
-
type: "function";
|
|
43
|
-
function: string;
|
|
44
|
-
value: import("@vizzly/sqlbuilder-public/dist/Query/types").QueryNameSpace.FieldDefinition<string, string, import("../CustomField/types").MathOperator, import("@vizzly/sqlbuilder-public").RecursiveFilter>;
|
|
45
|
-
as?: string | undefined;
|
|
46
|
-
} | null;
|
|
47
|
-
export declare const takeUsedFields: (filter: QueryAttributes['filter']) => string[];
|
|
48
|
-
export declare const isAvailable: (filter?: QueryAttributes.Filter[][] | undefined) => boolean | undefined;
|
|
49
|
-
export declare const isAdditionalFilter: (value: any) => boolean;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { PreAggregatedQuery, PreparedQuery, Query } from './types';
|
|
2
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
3
|
-
import { QueryEngineConfig, SupportedFeature as SupportedFeatureType } from '../QueryEngineConfig/types';
|
|
4
|
-
import { DataSet } from '../DataSet/types';
|
|
5
|
-
import { Result } from '../Result/types';
|
|
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
|
-
measureDescription: import("./types").MeasureDescription[];
|
|
9
|
-
};
|
|
10
|
-
export declare const hasDimensions: (query: {
|
|
11
|
-
group: Query['group'];
|
|
12
|
-
}) => boolean;
|
|
13
|
-
export declare const buildPreAggregatedPreparedQuery: (query: PreAggregatedQuery, dataSet: DataSet) => {
|
|
14
|
-
query: PreAggregatedQuery;
|
|
15
|
-
resultFields: Result.Field[];
|
|
16
|
-
};
|
|
17
|
-
export declare const buildUniqueArrayValuesPreparedQuery: (dataSetId: string, dataSetField: DataSet['fields'][number], optionsFilters?: {
|
|
18
|
-
type: "andWhere" | "orWhere";
|
|
19
|
-
value: import("@vizzly/sqlbuilder-public").RecursiveFilter[];
|
|
20
|
-
} | {
|
|
21
|
-
type: "where";
|
|
22
|
-
value: import("@vizzly/sqlbuilder-public/dist/Query/types").QueryNameSpace.Filter<import("@vizzly/sqlbuilder-public/dist/Query/types").QueryNameSpace.FieldDefinition<string, string, import("../CustomField/types").MathOperator, import("@vizzly/sqlbuilder-public").RecursiveFilter>, string>;
|
|
23
|
-
} | undefined) => {
|
|
24
|
-
query: PreparedQuery;
|
|
25
|
-
resultFields: Result.Field[];
|
|
26
|
-
};
|
|
27
|
-
export declare const buildFilterQuery: (dataSet: DataSet, fieldId: string, optionsFilters?: QueryAttributes.Filter[][] | undefined, optionsOrders?: QueryAttributes.Order[] | undefined) => QueryAttributes;
|
|
28
|
-
export declare const supportsFeature: (queryEngineConfig: QueryEngineConfig, feature: SupportedFeatureType) => boolean;
|