@vizzly/services 0.14.4-dev-3d99cdba2da5da00863e61d49ac858d231e7f3f7 → 0.14.4-dev-c0e1aed8b760727495d04fb7c01850413383bde7
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MeasureDescription } from '../../../../shared-logic/src/Query/types';
|
|
2
2
|
import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
|
|
3
3
|
import { Result } from '../../../../shared-logic/src/Result/types';
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const _outputDataType: (queryEngineConfig: QueryEngineConfig, functionId: string, field: MeasureDescription['field']) => Result['fields'][number]['dataType'];
|
|
5
|
+
export declare const toResultFields: (measureDescriptions: Array<MeasureDescription[]>, queryEngineConfig: QueryEngineConfig) => Array<Result['fields']>;
|
|
@@ -95,7 +95,9 @@ export declare namespace QueryNameSpace {
|
|
|
95
95
|
type FieldDefinition<SupportedFunction = string, ComparisonOperator = string, MathsOp = string> = BasicType | ComplexType<SupportedFunction, ComparisonOperator, MathsOp>;
|
|
96
96
|
}
|
|
97
97
|
export declare type MeasureDescription = {
|
|
98
|
+
/** What is the underlying field of the data set? */
|
|
98
99
|
field: DataSet.Field;
|
|
100
|
+
/** What function was applied? */
|
|
99
101
|
functionId: string;
|
|
100
102
|
};
|
|
101
103
|
export declare type SubQuery<SupportedFunction = string, ComparisonOperator = string, MathsOp = string> = {
|
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.4-dev-
|
|
29
|
+
"version": "0.14.4-dev-c0e1aed8b760727495d04fb7c01850413383bde7",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@vizzly/api-client": "0.0.43",
|
|
32
32
|
"@vizzly/joi": "^17.11.0",
|