@vizzly/services 0.15.0-dev-89f22e757a24a3586c300b3ebb6b29827e8cc0e8 → 0.15.0-dev-f576f0918251ec7901abbda943caec672e40c29c
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/types/services/src/Services/View.d.ts +1 -1
- package/dist/types/services/src/VizzlyLoader.d.ts +3 -3
- package/dist/types/services/src/eventbus.types.d.ts +1 -1
- package/dist/types/services/src/index.d.ts +7 -7
- package/dist/types/services/src/schemaValidations/dashboard.d.ts +1 -1
- package/package.json +6 -9
- package/dist/types/shared-logic/src/AI/types.d.ts +0 -31
- package/dist/types/shared-logic/src/AdditionalFilter/validate.d.ts +0 -3
- package/dist/types/shared-logic/src/AliasFields/types.d.ts +0 -5
- package/dist/types/shared-logic/src/ApiConfig/ApiConfig.d.ts +0 -8
- package/dist/types/shared-logic/src/ApiConfig/index.d.ts +0 -1
- package/dist/types/shared-logic/src/ApiResource/index.d.ts +0 -7
- package/dist/types/shared-logic/src/AreaChartV2/buildAreaChartRepresentation.d.ts +0 -40
- package/dist/types/shared-logic/src/AreaChartV2/types.d.ts +0 -12
- package/dist/types/shared-logic/src/BarChartV2/buildBarChartRepresentation.d.ts +0 -41
- package/dist/types/shared-logic/src/BarChartV2/types.d.ts +0 -10
- package/dist/types/shared-logic/src/Base64/index.d.ts +0 -3
- package/dist/types/shared-logic/src/BubbleChart/getAxisFormattingFunction.d.ts +0 -13
- package/dist/types/shared-logic/src/BubbleChart/getConditionalFormatting.d.ts +0 -7
- package/dist/types/shared-logic/src/BubbleChart/getGoalLines.d.ts +0 -8
- package/dist/types/shared-logic/src/BubbleChart/getMinAndMax.d.ts +0 -15
- package/dist/types/shared-logic/src/BubbleChart/getScaleAndTicks.d.ts +0 -42
- package/dist/types/shared-logic/src/BubbleChart/getStyleDefinition.d.ts +0 -8
- package/dist/types/shared-logic/src/BubbleChart/types.d.ts +0 -86
- package/dist/types/shared-logic/src/BubbleChartV2/buildBubbleChartRepresentation.d.ts +0 -38
- package/dist/types/shared-logic/src/BubbleChartV2/buildTrendAndForecast.d.ts +0 -25
- package/dist/types/shared-logic/src/BubbleChartV2/getConditionalFormatting.d.ts +0 -7
- package/dist/types/shared-logic/src/BubbleChartV2/getGoalLines.d.ts +0 -8
- package/dist/types/shared-logic/src/BubbleChartV2/getMinAndMax.d.ts +0 -15
- package/dist/types/shared-logic/src/BubbleChartV2/getScaleAndTicks.d.ts +0 -43
- package/dist/types/shared-logic/src/BubbleChartV2/getStyleDefinition.d.ts +0 -8
- package/dist/types/shared-logic/src/BubbleChartV2/getTrendsAndForecastsData.d.ts +0 -41
- package/dist/types/shared-logic/src/BubbleChartV2/types.d.ts +0 -89
- package/dist/types/shared-logic/src/Callbacks/cell.funcs.d.ts +0 -72
- package/dist/types/shared-logic/src/Callbacks/index.d.ts +0 -1
- package/dist/types/shared-logic/src/Callbacks/labelFormat.d.ts +0 -3
- package/dist/types/shared-logic/src/Callbacks/onViewClickGrouping.d.ts +0 -6
- package/dist/types/shared-logic/src/Callbacks/types.d.ts +0 -18
- package/dist/types/shared-logic/src/ChartsV2/adjustTicks.d.ts +0 -12
- package/dist/types/shared-logic/src/ChartsV2/buildFieldFormatMaps.d.ts +0 -12
- package/dist/types/shared-logic/src/ChartsV2/buildTrendAndForecast.d.ts +0 -25
- package/dist/types/shared-logic/src/ChartsV2/convertToStackedPercentages.d.ts +0 -1
- package/dist/types/shared-logic/src/ChartsV2/fillMissingKeysForChartData.d.ts +0 -4
- package/dist/types/shared-logic/src/ChartsV2/formattingFunctionAxis.d.ts +0 -2
- package/dist/types/shared-logic/src/ChartsV2/getConditionalFormatting.d.ts +0 -7
- package/dist/types/shared-logic/src/ChartsV2/getGoalLines.d.ts +0 -8
- package/dist/types/shared-logic/src/ChartsV2/getMetricAxisTicks.d.ts +0 -25
- package/dist/types/shared-logic/src/ChartsV2/getStackedMinAndMax.d.ts +0 -16
- package/dist/types/shared-logic/src/ChartsV2/getStackedPercentageAxisTicks.d.ts +0 -2
- package/dist/types/shared-logic/src/ChartsV2/getStackedPercentageScaleLinearDomain.d.ts +0 -1
- package/dist/types/shared-logic/src/ChartsV2/getStackedPercentageTickValues.d.ts +0 -1
- package/dist/types/shared-logic/src/ChartsV2/getStackedScaleAndTicks.d.ts +0 -42
- package/dist/types/shared-logic/src/ChartsV2/getStyleDefinition.d.ts +0 -9
- package/dist/types/shared-logic/src/ChartsV2/getTrendsAndForecastsData.d.ts +0 -41
- package/dist/types/shared-logic/src/ChartsV2/getXKeyField.d.ts +0 -3
- package/dist/types/shared-logic/src/ChartsV2/types.d.ts +0 -97
- package/dist/types/shared-logic/src/ComboChartV2/adjustColors.d.ts +0 -1
- package/dist/types/shared-logic/src/ComboChartV2/buildComboChartRepresentation.d.ts +0 -55
- package/dist/types/shared-logic/src/ComboChartV2/types.d.ts +0 -21
- package/dist/types/shared-logic/src/Component/allViewConstants.d.ts +0 -1
- package/dist/types/shared-logic/src/Component/onChangeTypes.d.ts +0 -29
- package/dist/types/shared-logic/src/ConditionalFormatting/utils.d.ts +0 -7
- package/dist/types/shared-logic/src/CustomField/CustomMetric/__mocks__/mockDataSet.d.ts +0 -2
- package/dist/types/shared-logic/src/CustomField/CustomMetric/combineForCustomMetricFilters.d.ts +0 -2
- package/dist/types/shared-logic/src/CustomView/CustomView.d.ts +0 -5
- package/dist/types/shared-logic/src/DashboardAPI/dashboardAPI.d.ts +0 -7
- package/dist/types/shared-logic/src/DashboardAPI/dataConfigurationAndIdentity.d.ts +0 -7
- package/dist/types/shared-logic/src/DashboardAPI/dataSets.d.ts +0 -10
- package/dist/types/shared-logic/src/DashboardAPI/getDashboardAdminOverride.d.ts +0 -1
- package/dist/types/shared-logic/src/DashboardAPI/types.d.ts +0 -18
- package/dist/types/shared-logic/src/DashboardPermission/index.d.ts +0 -7
- package/dist/types/shared-logic/src/DashboardPermission/types.d.ts +0 -12
- package/dist/types/shared-logic/src/DashboardSession/types.d.ts +0 -9
- package/dist/types/shared-logic/src/DataIngest/types.d.ts +0 -10
- package/dist/types/shared-logic/src/DataLabel/index.d.ts +0 -17
- package/dist/types/shared-logic/src/DataTable/resultToPivotTableRepresentation.d.ts +0 -7
- package/dist/types/shared-logic/src/DateTime/DateTimeFilterOptions.d.ts +0 -105
- package/dist/types/shared-logic/src/Dimension/Dimension.d.ts +0 -6
- package/dist/types/shared-logic/src/Dimension/index.d.ts +0 -1
- package/dist/types/shared-logic/src/Documentation/index.d.ts +0 -3
- package/dist/types/shared-logic/src/Documentation/joiToAiDefinition.d.ts +0 -5
- package/dist/types/shared-logic/src/Documentation/joiToDocumentation.d.ts +0 -4
- package/dist/types/shared-logic/src/Documentation/joiToSchemaDefinition.d.ts +0 -2
- package/dist/types/shared-logic/src/Downloads/downloadToJSON.d.ts +0 -4
- package/dist/types/shared-logic/src/Downloads/index.d.ts +0 -1
- package/dist/types/shared-logic/src/Drilldown/Drilldown.d.ts +0 -30
- package/dist/types/shared-logic/src/FeatureToggle/FeatureToggle.d.ts +0 -4
- package/dist/types/shared-logic/src/FeatureToggle/index.d.ts +0 -1
- package/dist/types/shared-logic/src/FeatureToggle/types.d.ts +0 -46
- package/dist/types/shared-logic/src/Field/attributesSchema.d.ts +0 -2
- package/dist/types/shared-logic/src/Generate/aggregateMathsField.d.ts +0 -4
- package/dist/types/shared-logic/src/Generate/chunk.d.ts +0 -1
- package/dist/types/shared-logic/src/Generate/conditionalPercentageField.d.ts +0 -4
- package/dist/types/shared-logic/src/Generate/customFields.d.ts +0 -4
- package/dist/types/shared-logic/src/Generate/dateCalculationField.d.ts +0 -4
- package/dist/types/shared-logic/src/Generate/dimension.d.ts +0 -4
- package/dist/types/shared-logic/src/Generate/filter.d.ts +0 -5
- package/dist/types/shared-logic/src/Generate/measures.d.ts +0 -5
- package/dist/types/shared-logic/src/Generate/order.d.ts +0 -5
- package/dist/types/shared-logic/src/Generate/query.d.ts +0 -10
- package/dist/types/shared-logic/src/Generate/roundedNumberField.d.ts +0 -4
- package/dist/types/shared-logic/src/Generate/rulesField.d.ts +0 -4
- package/dist/types/shared-logic/src/Generate/seededShuffle.d.ts +0 -2
- package/dist/types/shared-logic/src/Generate/simpleMathsFields.d.ts +0 -4
- package/dist/types/shared-logic/src/Generate/timeDimension.d.ts +0 -5
- package/dist/types/shared-logic/src/GlobalLibrary/GlobalLibrary.d.ts +0 -1
- package/dist/types/shared-logic/src/GlobalLibrary/fromRaw.d.ts +0 -10
- package/dist/types/shared-logic/src/GlobalLibrary/getStrategy.d.ts +0 -4
- package/dist/types/shared-logic/src/GlobalLibrary/globalLibraries.d.ts +0 -10
- package/dist/types/shared-logic/src/GlobalLibrary/index.d.ts +0 -4
- package/dist/types/shared-logic/src/GlobalLibrary/types.d.ts +0 -19
- package/dist/types/shared-logic/src/GlobalLibrary/validation.d.ts +0 -3
- package/dist/types/shared-logic/src/Headline/headline.utils.d.ts +0 -10
- package/dist/types/shared-logic/src/HorizontalBarChartV2/buildHorizontalBarChartRepresentation.d.ts +0 -41
- package/dist/types/shared-logic/src/HorizontalBarChartV2/types.d.ts +0 -41
- package/dist/types/shared-logic/src/IdentityConfig/IdentityConfig.d.ts +0 -4
- package/dist/types/shared-logic/src/IdentityConfig/index.d.ts +0 -1
- package/dist/types/shared-logic/src/IdentityConfig/types.d.ts +0 -45
- package/dist/types/shared-logic/src/InstantDashboardProject/index.d.ts +0 -2
- package/dist/types/shared-logic/src/JSQueryEngine/buildResultFields.d.ts +0 -3
- package/dist/types/shared-logic/src/JSQueryEngine/fetchData.d.ts +0 -9
- package/dist/types/shared-logic/src/JSQueryEngine/getInMemoryDb.d.ts +0 -2
- package/dist/types/shared-logic/src/JSQueryEngine/index.d.ts +0 -1
- package/dist/types/shared-logic/src/JSQueryEngine/localQueryEngineConfig.d.ts +0 -1
- package/dist/types/shared-logic/src/JSQueryEngine/localRunQueriesCallback.d.ts +0 -7
- package/dist/types/shared-logic/src/JSQueryEngine/runQueryV3.d.ts +0 -5
- package/dist/types/shared-logic/src/JSQueryEngine/types.d.ts +0 -6
- package/dist/types/shared-logic/src/JWT/JWT.d.ts +0 -2
- package/dist/types/shared-logic/src/LineChartV2/buildLineChartRepresentation.d.ts +0 -40
- package/dist/types/shared-logic/src/LineChartV2/types.d.ts +0 -12
- package/dist/types/shared-logic/src/PDFGenerator/constants.d.ts +0 -3
- package/dist/types/shared-logic/src/PDFGenerator/converter.d.ts +0 -36
- package/dist/types/shared-logic/src/PDFGenerator/generatePNG.d.ts +0 -3
- package/dist/types/shared-logic/src/PDFGenerator/index.d.ts +0 -7
- package/dist/types/shared-logic/src/PDFGenerator/pageBreaks.d.ts +0 -5
- package/dist/types/shared-logic/src/PDFGenerator/types.d.ts +0 -92
- package/dist/types/shared-logic/src/PDFGenerator/utils.d.ts +0 -2
- package/dist/types/shared-logic/src/Parameters/parameters.d.ts +0 -4
- package/dist/types/shared-logic/src/PieChart/onViewClick.d.ts +0 -16
- package/dist/types/shared-logic/src/PivotConfig/index.d.ts +0 -10
- package/dist/types/shared-logic/src/PivotConfig/types.d.ts +0 -16
- package/dist/types/shared-logic/src/PivotConfigForMetricAxis/index.d.ts +0 -3
- package/dist/types/shared-logic/src/Progress/utils.d.ts +0 -2
- package/dist/types/shared-logic/src/Project/Project.d.ts +0 -10
- package/dist/types/shared-logic/src/Project/types.d.ts +0 -74
- package/dist/types/shared-logic/src/QueryEngine/buildManagedQueryEngineEndpoint.d.ts +0 -1
- package/dist/types/shared-logic/src/QueryEngine/buildQueryEngineSignInUrl.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngine/formatLoadedFromString.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngine/index.d.ts +0 -3
- package/dist/types/shared-logic/src/QueryEngine/types.d.ts +0 -57
- package/dist/types/shared-logic/src/QueryEngineConfig/QueryEngineConfig.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngineConfig/bigquery.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngineConfig/compareSupport.d.ts +0 -14
- package/dist/types/shared-logic/src/QueryEngineConfig/getQueryEngineConfig.d.ts +0 -3
- package/dist/types/shared-logic/src/QueryEngineConfig/index.d.ts +0 -5
- package/dist/types/shared-logic/src/QueryEngineConfig/loadQueryEngineConfig.d.ts +0 -3
- package/dist/types/shared-logic/src/QueryEngineConfig/localJS.d.ts +0 -3
- package/dist/types/shared-logic/src/QueryEngineConfig/mariadb.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngineConfig/microsoftSQLServer.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngineConfig/mysql.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngineConfig/postgres.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngineConfig/redshift.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngineConfig/snowflake.d.ts +0 -2
- package/dist/types/shared-logic/src/QueryEngineConfig/supportedConstants.d.ts +0 -7
- package/dist/types/shared-logic/src/QueryEngineConfig/supportedFeature.d.ts +0 -2
- package/dist/types/shared-logic/src/RadarChart/adjustTicks.d.ts +0 -3
- package/dist/types/shared-logic/src/RadarChart/buildRadarChartRepresentation.d.ts +0 -34
- package/dist/types/shared-logic/src/RadarChart/getMinAndMax.d.ts +0 -13
- package/dist/types/shared-logic/src/RadarChart/getScaleAndTicks.d.ts +0 -37
- package/dist/types/shared-logic/src/RadarChart/types.d.ts +0 -46
- package/dist/types/shared-logic/src/Result/Result.d.ts +0 -39
- package/dist/types/shared-logic/src/Result/formatResult.d.ts +0 -36
- package/dist/types/shared-logic/src/Result/formattedResultToSeries.d.ts +0 -25
- package/dist/types/shared-logic/src/Result/formattedResultToSeriesForMetricAxis.d.ts +0 -25
- package/dist/types/shared-logic/src/Result/index.d.ts +0 -1
- package/dist/types/shared-logic/src/SQLViews/index.d.ts +0 -11
- package/dist/types/shared-logic/src/SQLViews/types.d.ts +0 -7
- package/dist/types/shared-logic/src/SimpleInsecureHash/index.d.ts +0 -1
- package/dist/types/shared-logic/src/Strategy/types.d.ts +0 -7
- package/dist/types/shared-logic/src/Tags/index.d.ts +0 -14
- package/dist/types/shared-logic/src/Threshold/threshold.utils.d.ts +0 -10
- package/dist/types/shared-logic/src/Tiers/Tiers.d.ts +0 -14
- package/dist/types/shared-logic/src/Tiers/types.d.ts +0 -12
- package/dist/types/shared-logic/src/Translations/extract/buildJsonFile.d.ts +0 -2
- package/dist/types/shared-logic/src/Translations/extract/buildTypes.d.ts +0 -1
- package/dist/types/shared-logic/src/Translations/extract/extractPanelConfig.d.ts +0 -3
- package/dist/types/shared-logic/src/Translations/extract/extractSupportedConstant.d.ts +0 -6
- package/dist/types/shared-logic/src/Translations/extract/func.d.ts +0 -5
- package/dist/types/shared-logic/src/Translations/extract/index.d.ts +0 -4
- package/dist/types/shared-logic/src/Translations/translateQueryEngineConfig.d.ts +0 -3
- package/dist/types/shared-logic/src/Trends/linearForecasting.d.ts +0 -8
- package/dist/types/shared-logic/src/Trends/trends.d.ts +0 -26
- package/dist/types/shared-logic/src/ViewConfiguration/types.d.ts +0 -4
- package/dist/types/shared-logic/src/VizzlyConfig/constants.d.ts +0 -18
- package/dist/types/shared-logic/src/VizzlyConfig/types.d.ts +0 -1
- package/dist/types/shared-logic/src/VizzlyState/index.d.ts +0 -68
- package/dist/types/shared-logic/src/WaterfallChart/adjustTicks.d.ts +0 -3
- package/dist/types/shared-logic/src/WaterfallChart/buildWaterfallChartRepresentation.d.ts +0 -38
- package/dist/types/shared-logic/src/WaterfallChart/getNiceInterval.d.ts +0 -1
- package/dist/types/shared-logic/src/WaterfallChart/getRepresentationData.d.ts +0 -22
- package/dist/types/shared-logic/src/WaterfallChart/getYTicks.d.ts +0 -8
- package/dist/types/shared-logic/src/WaterfallChart/types.d.ts +0 -72
- package/dist/types/shared-logic/src/Webhook/Webhook.d.ts +0 -2
- package/dist/types/shared-logic/src/Webhook/index.d.ts +0 -2
- package/dist/types/shared-logic/src/Webhook/types.d.ts +0 -25
- package/dist/types/shared-logic/src/api/httpClient.d.ts +0 -7
- package/dist/types/shared-logic/src/api/index.d.ts +0 -46
- package/dist/types/shared-logic/src/api/queryEngine/createConfigFromUpload.d.ts +0 -2
- package/dist/types/shared-logic/src/api/queryEngine/createResults.d.ts +0 -10
- package/dist/types/shared-logic/src/api/queryEngine/createSqlPreview.d.ts +0 -5
- package/dist/types/shared-logic/src/api/queryEngine/createUser.d.ts +0 -2
- package/dist/types/shared-logic/src/api/queryEngine/fetchDataSets.d.ts +0 -4
- package/dist/types/shared-logic/src/api/queryEngine/fetchSelfHostedQueryEngineConfig.d.ts +0 -3
- package/dist/types/shared-logic/src/api/queryEngine/getProject.d.ts +0 -3
- package/dist/types/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +0 -21
- package/dist/types/shared-logic/src/api/queryEngine/getStarted.d.ts +0 -2
- package/dist/types/shared-logic/src/api/queryEngine/getTeamMembers.d.ts +0 -3
- package/dist/types/shared-logic/src/api/queryEngine/isVizzly.d.ts +0 -3
- package/dist/types/shared-logic/src/api/queryEngine/queryEngineHttpClient.d.ts +0 -3
- package/dist/types/shared-logic/src/api/queryEngine/saveConfig.d.ts +0 -2
- package/dist/types/shared-logic/src/api/queryEngine/saveConnection.d.ts +0 -7
- package/dist/types/shared-logic/src/api/queryEngine/signIn.d.ts +0 -8
- package/dist/types/shared-logic/src/api/queryEngine/status.d.ts +0 -3
- package/dist/types/shared-logic/src/api/queryEngine/updateUser.d.ts +0 -2
- package/dist/types/shared-logic/src/api/queryEngine/uploadDataToVizzlyCloud.d.ts +0 -3
- package/dist/types/shared-logic/src/api/types.d.ts +0 -25
- package/dist/types/shared-logic/src/api/vizzly/aiActions.d.ts +0 -18
- package/dist/types/shared-logic/src/api/vizzly/aiHelpers/buildAIResponse.d.ts +0 -5
- package/dist/types/shared-logic/src/api/vizzly/aiHelpers/buildDataSets.d.ts +0 -4
- package/dist/types/shared-logic/src/api/vizzly/aiHelpers/checkAiResponseStatus.d.ts +0 -3
- package/dist/types/shared-logic/src/api/vizzly/aiHelpers/types.d.ts +0 -23
- package/dist/types/shared-logic/src/api/vizzly/aiHelpers/validateAndUpcastAIAttributes.d.ts +0 -4
- package/dist/types/shared-logic/src/api/vizzly/aiHelpers/view.d.ts +0 -10
- package/dist/types/shared-logic/src/api/vizzly/askAi.d.ts +0 -6
- package/dist/types/shared-logic/src/api/vizzly/askAiForQuestionSuggestions.d.ts +0 -4
- package/dist/types/shared-logic/src/api/vizzly/createParentDashboard.d.ts +0 -4
- package/dist/types/shared-logic/src/api/vizzly/createParentGlobalLibrary.d.ts +0 -3
- package/dist/types/shared-logic/src/api/vizzly/createProjectApiKey.d.ts +0 -2
- package/dist/types/shared-logic/src/api/vizzly/createSelfHostedDynamicQueryEngine.d.ts +0 -3
- package/dist/types/shared-logic/src/api/vizzly/createSelfHostedInBrowserQueryEngineProject.d.ts +0 -3
- package/dist/types/shared-logic/src/api/vizzly/createSelfHostedQueryEngineProject.d.ts +0 -3
- package/dist/types/shared-logic/src/api/vizzly/createVizzlyConfigVersion.d.ts +0 -2
- package/dist/types/shared-logic/src/api/vizzly/duplicateParentDashboard.d.ts +0 -3
- package/dist/types/shared-logic/src/api/vizzly/getManagedQueryEngineKeyPair.d.ts +0 -5
- package/dist/types/shared-logic/src/api/vizzly/getParentDashboards.d.ts +0 -9
- package/dist/types/shared-logic/src/api/vizzly/getProjectAccessToken.d.ts +0 -2
- package/dist/types/shared-logic/src/api/vizzly/saveScheduledReport.d.ts +0 -6
- package/dist/types/shared-logic/src/api/vizzly/updateParentGlobalLibrary.d.ts +0 -7
- package/dist/types/shared-logic/src/api/vizzly/updateProjectApiKey.d.ts +0 -6
- package/dist/types/shared-logic/src/errors/AIAborted.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/AIContainsErrors.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/AIFailedToFetch.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/AIUsageLimitReached.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/AggregateFieldValueInResultExpectsNumber.d.ts +0 -5
- package/dist/types/shared-logic/src/errors/DashboardQuotaReached.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/EncryptedProjectSecretAlreadyExists.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/FailedToCreateConfigFromUpload.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/FailedToCreateDashboard.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/FailedToCreateDashboardAccess.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/FailedToGetDashboard.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/FailedToLoadIdentity.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/FailedToLoadQueryEngineConfig.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/FailedToResolveDataSets.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/FailedToSaveVizzlyConfigVersion.d.ts +0 -3
- package/dist/types/shared-logic/src/errors/FailedToSetupProject.d.ts +0 -3
- package/dist/types/shared-logic/src/errors/FailedToUpdateDashboard.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/IdentityMustBeCallback.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/InvalidDataSetsPropType.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/InvalidIdentityPropType.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/InvalidIdentityReturn.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/InvalidQueryEngineEndpoint.d.ts +0 -6
- package/dist/types/shared-logic/src/errors/InvalidQueryEngineEndpointType.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/LoadingAborted.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/MissingDateTimeFormatOption.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/MissingDimensionInResult.d.ts +0 -5
- package/dist/types/shared-logic/src/errors/MissingMeasuresInResult.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/MissingTimeDimensionInResult.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/MissingVizzlyInMemoryDb.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/MoreResultsThanExpectedWithNoDimension.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/NewVizzlyImplementation.d.ts +0 -3
- package/dist/types/shared-logic/src/errors/NoDataSetResolved.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/ProjectEncryptedSecretAlreadySaved.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/QueryLimitExceededInResult.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/ReadOnlyPermissionNotFound.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/ReadPermissionNotFound.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/ResultContainsValueOfWrongType.d.ts +0 -5
- package/dist/types/shared-logic/src/errors/SQLPreviewError.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/ServicesValidation.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/StateValidation.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/ValueNotFoundInVariable.d.ts +0 -6
- package/dist/types/shared-logic/src/errors/VizzlyApiCallErrorFailedToSetupProject.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/VizzlyApiError.d.ts +0 -6
- package/dist/types/shared-logic/src/errors/WritePermissionNotFound.d.ts +0 -4
- package/dist/types/shared-logic/src/errors/index.d.ts +0 -6
- package/dist/types/shared-logic/src/getVizzly.d.ts +0 -5
- package/dist/types/shared-logic/src/tests/exampleDataSet.d.ts +0 -95
- package/dist/types/shared-logic/src/utils/DateTime.d.ts +0 -19
- package/dist/types/shared-logic/src/utils/arrayHelpers.d.ts +0 -6
- package/dist/types/shared-logic/src/utils/defaultSortingDateTimes.d.ts +0 -4
- package/dist/types/shared-logic/src/utils/htmlHelper.d.ts +0 -2
- package/dist/types/shared-logic/src/utils/index.d.ts +0 -5
- package/dist/types/shared-logic/src/utils/numberHelpers.d.ts +0 -9
- package/dist/types/shared-logic/src/utils/pathHelpers.d.ts +0 -5
- package/dist/types/shared-logic/src/validations.d.ts +0 -5
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Component, FormatType } from '../Component/types';
|
|
2
|
-
import { PivotConfig } from '../PivotConfig/types';
|
|
3
|
-
import { Result } from '../Result/types';
|
|
4
|
-
import { ValueAlias } from '../ValueAlias/types';
|
|
5
|
-
import { DateTimeFormatter, NumberFormatter, Step, WaterfallChartRepresentation } from './types';
|
|
6
|
-
import { RulesField } from '../CustomField/types';
|
|
7
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
8
|
-
export type WaterfallChartRepresentationArgs = {
|
|
9
|
-
approxYAxisLabelCount: number;
|
|
10
|
-
axisTitles?: Component.AxisTitles;
|
|
11
|
-
comparison: RulesField | null;
|
|
12
|
-
dateTimeFormatOptions: {
|
|
13
|
-
[id: string]: DateTimeFormatter;
|
|
14
|
-
};
|
|
15
|
-
defaultFormats: () => {
|
|
16
|
-
[functionId: string]: string;
|
|
17
|
-
};
|
|
18
|
-
measure: QueryAttributes.Measure[];
|
|
19
|
-
nullValue?: string;
|
|
20
|
-
numberFormatOptions: {
|
|
21
|
-
[id: string]: NumberFormatter;
|
|
22
|
-
};
|
|
23
|
-
pivotConfig: PivotConfig;
|
|
24
|
-
result: Result;
|
|
25
|
-
showTotalBar: boolean;
|
|
26
|
-
valueAlias?: ValueAlias;
|
|
27
|
-
xAxisFormat: FormatType;
|
|
28
|
-
xAxisPostfix: string;
|
|
29
|
-
xAxisPrefix: string;
|
|
30
|
-
yAxisFormat: FormatType;
|
|
31
|
-
yAxisPostfix: string;
|
|
32
|
-
yAxisPrefix: string;
|
|
33
|
-
};
|
|
34
|
-
export type WaterfallChartRepresentationResult = {
|
|
35
|
-
waterfallChartRepresentation: WaterfallChartRepresentation;
|
|
36
|
-
waterfallChartSteps: Step[];
|
|
37
|
-
};
|
|
38
|
-
export declare const buildWaterfallChartRepresentation: ({ approxYAxisLabelCount, axisTitles, comparison, dateTimeFormatOptions, defaultFormats, measure, nullValue, numberFormatOptions, pivotConfig, result, showTotalBar, valueAlias, xAxisFormat, xAxisPostfix, xAxisPrefix, yAxisFormat, yAxisPostfix, yAxisPrefix, }: WaterfallChartRepresentationArgs) => WaterfallChartRepresentationResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getNiceInterval(interval: number): number;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Tick } from '../ChartsV2/types';
|
|
2
|
-
import { RulesField } from '../CustomField/types';
|
|
3
|
-
import { FormattedChartData, Result } from '../Result/types';
|
|
4
|
-
import { Data, Step } from './types';
|
|
5
|
-
export type GetRepresentationDataArgs = {
|
|
6
|
-
content: FormattedChartData[][];
|
|
7
|
-
xKey: string;
|
|
8
|
-
yKey: string;
|
|
9
|
-
approxYAxisLabelCount: number;
|
|
10
|
-
showTotalBar: boolean;
|
|
11
|
-
formattingFunctionY: (value: any) => string;
|
|
12
|
-
comparison: RulesField | null;
|
|
13
|
-
metricField: Result.Field | undefined;
|
|
14
|
-
};
|
|
15
|
-
export declare const getRepresentationData: (args: GetRepresentationDataArgs) => {
|
|
16
|
-
data: Data[];
|
|
17
|
-
steps: Step[];
|
|
18
|
-
xTicks: Tick<string>[];
|
|
19
|
-
yTicks: Tick<number>[];
|
|
20
|
-
yMinValue: number;
|
|
21
|
-
yMaxValue: number;
|
|
22
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Tick } from '../ChartsV2/types';
|
|
2
|
-
export type GetYTicksArgs = {
|
|
3
|
-
yMinValue: number;
|
|
4
|
-
yMaxValue: number;
|
|
5
|
-
approxYAxisLabelCount: number;
|
|
6
|
-
formattingFunctionY: (value: any) => string;
|
|
7
|
-
};
|
|
8
|
-
export declare const getYTicks: ({ yMinValue, yMaxValue, approxYAxisLabelCount, formattingFunctionY, }: GetYTicksArgs) => Tick<number>[];
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { BaseChartRepresentation, Tick } from '../ChartsV2/types';
|
|
2
|
-
import { DataType } from '../Field/types';
|
|
3
|
-
export type KeyId = string;
|
|
4
|
-
export type Operator = string;
|
|
5
|
-
export type ConditionalFormattingRule = {
|
|
6
|
-
operator: Operator;
|
|
7
|
-
value: any;
|
|
8
|
-
color: string;
|
|
9
|
-
yKey: KeyId;
|
|
10
|
-
};
|
|
11
|
-
export type Axis<SupportedVizzlyDataTypes, AxisKeys> = {
|
|
12
|
-
ticks: Tick<SupportedVizzlyDataTypes>[];
|
|
13
|
-
scale: {
|
|
14
|
-
dataType: DataType;
|
|
15
|
-
key: KeyId | null;
|
|
16
|
-
ordering: 'asc' | 'desc' | null;
|
|
17
|
-
min: SupportedVizzlyDataTypes | null;
|
|
18
|
-
max: SupportedVizzlyDataTypes | null;
|
|
19
|
-
};
|
|
20
|
-
postfix: string;
|
|
21
|
-
prefix: string;
|
|
22
|
-
title: string | null;
|
|
23
|
-
} & AxisKeys;
|
|
24
|
-
export type Key = {
|
|
25
|
-
key: KeyId;
|
|
26
|
-
keyFormatted: string;
|
|
27
|
-
dataType: DataType;
|
|
28
|
-
};
|
|
29
|
-
export type DataItem = {
|
|
30
|
-
value: number | string | null;
|
|
31
|
-
formattedValue: string | null;
|
|
32
|
-
};
|
|
33
|
-
export type Data = {
|
|
34
|
-
[keyId: string]: DataItem;
|
|
35
|
-
};
|
|
36
|
-
export type Step = {
|
|
37
|
-
x: Date | string | number | null;
|
|
38
|
-
y: number;
|
|
39
|
-
start: number;
|
|
40
|
-
end: number;
|
|
41
|
-
};
|
|
42
|
-
export type DateTimeFormatter = {
|
|
43
|
-
formatter: (date: Date) => string;
|
|
44
|
-
description: string;
|
|
45
|
-
};
|
|
46
|
-
export type NumberFormatter = {
|
|
47
|
-
formatter: (number: number | undefined | null, noValueReplacement?: string) => string;
|
|
48
|
-
description: string;
|
|
49
|
-
};
|
|
50
|
-
export type WaterfallChartRepresentation = Omit<BaseChartRepresentation, 'y'> & {
|
|
51
|
-
y: Axis<number, {
|
|
52
|
-
key: KeyId;
|
|
53
|
-
}>;
|
|
54
|
-
};
|
|
55
|
-
export type WaterfallChartOptions = {
|
|
56
|
-
showTooltipRoundedTotal: boolean;
|
|
57
|
-
showLegend: boolean;
|
|
58
|
-
showLabels: boolean;
|
|
59
|
-
removeStroke: boolean;
|
|
60
|
-
axis: {
|
|
61
|
-
showXAxisLabels: boolean;
|
|
62
|
-
showYAxisLabels: boolean;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export type LegendItemStyle = {
|
|
66
|
-
type: 'bar';
|
|
67
|
-
};
|
|
68
|
-
export type LegendItem = {
|
|
69
|
-
yKey: KeyId;
|
|
70
|
-
color: string;
|
|
71
|
-
style: LegendItemStyle;
|
|
72
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type Webhook = {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
endpoint: string;
|
|
5
|
-
organisationId: string;
|
|
6
|
-
active: boolean;
|
|
7
|
-
createdAt: Date;
|
|
8
|
-
updatedAt: Date;
|
|
9
|
-
project_id: string;
|
|
10
|
-
};
|
|
11
|
-
export type RawWebhook = {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
endpoint: string;
|
|
15
|
-
organisation_id: string;
|
|
16
|
-
active: boolean;
|
|
17
|
-
created_at: string;
|
|
18
|
-
updated_at: string;
|
|
19
|
-
project_id: string;
|
|
20
|
-
};
|
|
21
|
-
export type WebhookHealthSummary = {
|
|
22
|
-
[webhookId: string]: {
|
|
23
|
-
[httpStatus: string]: number;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ApiConfig } from '../ApiConfig';
|
|
2
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
3
|
-
export declare const api: (config: ApiConfig) => {
|
|
4
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
5
|
-
config: ApiConfig;
|
|
6
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
7
|
-
getParentDashboards: () => Promise<{
|
|
8
|
-
id: string;
|
|
9
|
-
created_at: string;
|
|
10
|
-
updated_at: string;
|
|
11
|
-
webhook_id: string | null;
|
|
12
|
-
}[] | undefined>;
|
|
13
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
14
|
-
saveScheduledReport: (params: {
|
|
15
|
-
dashboardAccessToken: string;
|
|
16
|
-
scheduledReportId: string;
|
|
17
|
-
cronSchedule: string | null;
|
|
18
|
-
}) => Promise<boolean>;
|
|
19
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
20
|
-
askAi: (conversationId: string | undefined, currentAttributes: import("../../../shared-logic/src/Component/types").Component.Attributes, question: string, dashboardAccessToken: string, dataSets: import("../DataSet/types").DataSet[], queryEngineConfig: import("../QueryEngineConfig/types").QueryEngineConfig, abortSignal: AbortSignal) => Promise<import("./vizzly/aiHelpers/types").AiConversation>;
|
|
21
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
22
|
-
aiActions: (conversationId: string, messageId: string, dashboardAccessToken: string, options: import("./vizzly/aiActions").AIOptions) => Promise<import("./vizzly/aiActions").AIActionReponse>;
|
|
23
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
24
|
-
askAiForQuestionSuggestions: (dashboardAccessToken: string, dataSets: import("../DataSet/types").DataSet[]) => Promise<import("./vizzly/aiHelpers/types").AskAiQuestionSuggestions>;
|
|
25
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
26
|
-
createVizzlyConfigVersion: (projectId: string, encryptedVizzlyConfig: string) => Promise<boolean>;
|
|
27
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
28
|
-
createProjectApiKey: (projectId: string) => Promise<string>;
|
|
29
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
30
|
-
updateProjectApiKey: (projectId: string, projectApiKeyId: string, updateParams: {
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
}) => Promise<string>;
|
|
33
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
34
|
-
getProjectAccessToken: (projectId: string, appSessionAuthToken?: string, resourceFilters?: string[]) => Promise<string | undefined>;
|
|
35
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
36
|
-
createSelfHostedQueryEngineProject: (appSessionToken?: string) => Promise<import("../Project/types").Project | undefined>;
|
|
37
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
38
|
-
createSelfHostedDynamicQueryEngineProject: (appSessionToken?: string) => Promise<import("../Project/types").Project | undefined>;
|
|
39
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
40
|
-
createSelfHostedInBrowserQueryEngineProject: (appSessionToken?: string) => Promise<import("../Project/types").Project | undefined>;
|
|
41
|
-
/** @deprecated Use vizzly/api-client package instead */
|
|
42
|
-
getManagedQueryEngineKeyPair: (managedProjectId: string, keyPairId: string, appSessionToken?: string) => Promise<{
|
|
43
|
-
publicKey: string;
|
|
44
|
-
privateKey: string | null;
|
|
45
|
-
} | undefined>;
|
|
46
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
2
|
-
export declare const createConfigFromUpload: (queryEngineEndpoint: QueryEngineEndpoint, queryEngineAccessToken: string, table: string, _configStoreId: string, fieldPublicNames: Array<string>) => Promise<boolean>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PreparedQuery, Query } from '../../Query/types';
|
|
2
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
3
|
-
type CreateResultsResponse = {
|
|
4
|
-
results: {
|
|
5
|
-
content: any[][];
|
|
6
|
-
hasMoreResults: boolean | null;
|
|
7
|
-
}[];
|
|
8
|
-
};
|
|
9
|
-
export declare const createResults: (queries: (Query | PreparedQuery)[], queryEngineEndpoint: QueryEngineEndpoint, dataAccessToken?: string, abortSignal?: AbortSignal) => Promise<CreateResultsResponse | null>;
|
|
10
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
2
|
-
import { Result } from '../../Result/types';
|
|
3
|
-
export declare const createSqlPreview: (queryEngineEndpoint: QueryEngineEndpoint, sql: string, parameters: string | undefined, limit: number, connectionId: string | undefined, dataSets: any[] | undefined, abortSignal?: AbortSignal) => Promise<Result & {
|
|
4
|
-
statement: string;
|
|
5
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../../DataSet/types';
|
|
2
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
3
|
-
declare const _default: (queryEngineEndpoint: QueryEngineEndpoint, accessToken: string, abortSignal?: AbortSignal) => Promise<DataSet[]>;
|
|
4
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AdditionalFilter, FilterConfig, TimeRangeOptions } from '../../AdditionalFilter/types';
|
|
2
|
-
import { CustomDriver } from 'results-driver/src/types';
|
|
3
|
-
import { loadDataCallback } from '../../Callbacks/types';
|
|
4
|
-
import { QueryEngineConfig as QueryEngineConfigType, QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
5
|
-
import { Component } from '../../Component/types';
|
|
6
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
7
|
-
import { PreparedQuery } from '../../Query/types';
|
|
8
|
-
import { Result } from '../../Result/types';
|
|
9
|
-
import { DataSet } from '../../DataSet/types';
|
|
10
|
-
import { IdentityConfig as IdentityConfigType } from '../../IdentityConfig/types';
|
|
11
|
-
import { VariableList } from '../../Variables/types';
|
|
12
|
-
import { AliasFields } from '../../AliasFields/types';
|
|
13
|
-
type CallbackError = null;
|
|
14
|
-
export type runQueriesCallback = (queries: Component.Attributes | AdditionalFilter | QueryAttributes[] | [PreparedQuery], params: {
|
|
15
|
-
dataSets: DataSet[];
|
|
16
|
-
abortSignal?: AbortSignal;
|
|
17
|
-
dataAccessToken?: string;
|
|
18
|
-
filterConfig?: FilterConfig;
|
|
19
|
-
}) => Promise<(Result | null)[] | Array<Result['content'] | null> | CallbackError>;
|
|
20
|
-
declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryEngineConfig: QueryEngineConfigType, timeRangeOptions: TimeRangeOptions, variables: VariableList, aliasFields: AliasFields, runQueries?: CustomDriver["runQueries"], data?: loadDataCallback, queryEngineEndpoint?: QueryEngineEndpoint, timeZone?: string) => runQueriesCallback;
|
|
21
|
-
export default getRunQueriesCallback;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
2
|
-
import { TeamMemberFromAPI } from '@vizzly/api-client';
|
|
3
|
-
export declare const getTeamMembers: (queryEngineEndpoint: QueryEngineEndpoint, abortSignal?: AbortSignal) => Promise<Array<TeamMemberFromAPI> | undefined>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
2
|
-
import { Client } from '../../VizzlyConfig/types';
|
|
3
|
-
type Response = {} | {
|
|
4
|
-
reason: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const saveConnection: (queryEngineEndpoint: QueryEngineEndpoint, integrationClient: Client, connection: any, connectionId: string, abortSignal?: AbortSignal) => Promise<Response | null>;
|
|
7
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
2
|
-
export declare const signIn: (queryEngineEndpoint: QueryEngineEndpoint, queryEngineAccessToken: string, abortSignal?: AbortSignal) => Promise<boolean>;
|
|
3
|
-
export declare const signInWithEmailAndPassword: (queryEngineEndpoint: QueryEngineEndpoint, email: string, password: string, abortSignal?: AbortSignal) => Promise<{
|
|
4
|
-
success: true;
|
|
5
|
-
} | {
|
|
6
|
-
success: false;
|
|
7
|
-
message: string;
|
|
8
|
-
}>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { QueryEngineDescription } from '../../QueryEngine/types';
|
|
2
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
3
|
-
export declare const status: (queryEngineEndpoint: QueryEngineEndpoint, abortSignal?: AbortSignal) => Promise<QueryEngineDescription | null>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Ingest } from '../../DataIngest/types';
|
|
2
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
3
|
-
export declare const uploadDataToVizzlyCloud: (queryEngineEndpoint: QueryEngineEndpoint, queryEngineAccessToken: string, ingest: Ingest) => Promise<number>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type Response<T> = {
|
|
2
|
-
statusCode: number;
|
|
3
|
-
response: T;
|
|
4
|
-
};
|
|
5
|
-
export type Request<T> = {
|
|
6
|
-
path: string;
|
|
7
|
-
abortSignal?: AbortSignal;
|
|
8
|
-
method: 'get' | 'post' | 'delete' | 'put';
|
|
9
|
-
body?: T;
|
|
10
|
-
mode?: 'cors';
|
|
11
|
-
headers?: {
|
|
12
|
-
[key: string]: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
/** Should a request to the Vizzly API endpoint to fetch the access tokens be made first? */
|
|
15
|
-
preFetchProjectAccessTokens?: {
|
|
16
|
-
projectId: string;
|
|
17
|
-
resourceFilters: string[];
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export type NoBody = undefined;
|
|
21
|
-
export type HttpClient = <ResponseBody>(request: Request<any>) => Promise<{
|
|
22
|
-
status: number;
|
|
23
|
-
body: ResponseBody;
|
|
24
|
-
headers: Headers | null;
|
|
25
|
-
}>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Message } from '../../AI/types';
|
|
2
|
-
import { HttpClient } from '../types';
|
|
3
|
-
export type AIActionReponse = {
|
|
4
|
-
success: boolean;
|
|
5
|
-
};
|
|
6
|
-
export type AIOptions = {
|
|
7
|
-
reaction: Message['reaction'];
|
|
8
|
-
};
|
|
9
|
-
type APIResponse = {
|
|
10
|
-
status: number;
|
|
11
|
-
body: any;
|
|
12
|
-
headers: any;
|
|
13
|
-
};
|
|
14
|
-
export declare const aiActions: (httpClient: HttpClient) => (conversationId: string, messageId: string, dashboardAccessToken: string, options: AIOptions) => Promise<AIActionReponse>;
|
|
15
|
-
export declare const buildAIActionResponse: (response: APIResponse) => {
|
|
16
|
-
success: boolean;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../../../DataSet/types';
|
|
2
|
-
import { QueryEngineConfig } from '../../../QueryEngineConfig/types';
|
|
3
|
-
import { AiConversation, AskAIResponse } from './types';
|
|
4
|
-
import { Component } from '../../../Component/types';
|
|
5
|
-
export declare const buildAIResponse: (askAiResponse: AskAIResponse, currentAttributes: Component.Attributes, queryEngineConfig: QueryEngineConfig, dataSets: DataSet[]) => AiConversation;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ConversationState } from '../../../AI/types';
|
|
2
|
-
import { Component } from '../../../Component/types';
|
|
3
|
-
import { View } from '@vizzly/ai-types';
|
|
4
|
-
export type AskAIResponse = {
|
|
5
|
-
message_id: string;
|
|
6
|
-
conversation_id: string;
|
|
7
|
-
ai_view: View;
|
|
8
|
-
conversation_content: {
|
|
9
|
-
messages: ConversationState['messageHistory'];
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export type AskAIUsageResponse = {
|
|
13
|
-
quota: number;
|
|
14
|
-
used: number;
|
|
15
|
-
};
|
|
16
|
-
export type AiConversation = {
|
|
17
|
-
conversationId: ConversationState['conversationId'];
|
|
18
|
-
attributes: Component.Attributes;
|
|
19
|
-
messageHistory: ConversationState['messageHistory'];
|
|
20
|
-
};
|
|
21
|
-
export type AskAiQuestionSuggestions = {
|
|
22
|
-
suggestions: string[];
|
|
23
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { QueryEngineConfig } from '../../../QueryEngineConfig/types';
|
|
2
|
-
import { Component } from '../../../Component/types';
|
|
3
|
-
declare const validateAndUpcast: (aiAttributes: Partial<Component.Attributes>, queryEngineConfig: QueryEngineConfig) => Component.Attributes;
|
|
4
|
-
export default validateAndUpcast;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { View } from '@vizzly/ai-types';
|
|
2
|
-
import { Component } from '../../../Component/types';
|
|
3
|
-
import { DataSet } from '../../../DataSet/types';
|
|
4
|
-
import { QueryEngineConfig } from '../../../QueryEngineConfig/types';
|
|
5
|
-
/**
|
|
6
|
-
* Convert the complex view used on the frontend, to the simplified
|
|
7
|
-
* version that the AI is used too...
|
|
8
|
-
*/
|
|
9
|
-
export declare const attributesToAiView: (dataSet: DataSet, originalAttributes: Component.Attributes) => View;
|
|
10
|
-
export declare const mergeAiViewIntoCurrentAttributes: (dataSets: DataSet[], currentAttributes: Component.Attributes, aiView: View, queryEngineConfig: QueryEngineConfig) => Component.Attributes;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../types';
|
|
2
|
-
import { DataSet } from '../../DataSet/types';
|
|
3
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
4
|
-
import { AiConversation } from './aiHelpers/types';
|
|
5
|
-
import { Component } from '../../Component/types';
|
|
6
|
-
export declare const askAi: (httpClient: HttpClient) => (conversationId: string | undefined, currentAttributes: Component.Attributes, question: string, dashboardAccessToken: string, dataSets: DataSet[], queryEngineConfig: QueryEngineConfig, abortSignal: AbortSignal) => Promise<AiConversation>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../types';
|
|
2
|
-
import { DataSet } from '../../DataSet/types';
|
|
3
|
-
import { AskAiQuestionSuggestions } from './aiHelpers/types';
|
|
4
|
-
export declare const askAiForQuestionSuggestions: (httpClient: HttpClient) => (dashboardAccessToken: string, dataSets: DataSet[]) => Promise<AskAiQuestionSuggestions>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../types';
|
|
2
|
-
import { SaveableDashboardDefinition } from '../../Dashboard';
|
|
3
|
-
import { WebParentDashboard } from '../../Dashboard/types';
|
|
4
|
-
export declare const createParentDashboard: (httpClient: HttpClient) => (saveableDashboardDefinition: SaveableDashboardDefinition, projectId: string, childDashboardId?: string) => Promise<WebParentDashboard | undefined>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../types';
|
|
2
|
-
export declare const getManagedQueryEngineKeyPair: (httpClient: HttpClient) => (managedProjectId: string, keyPairId: string, appSessionToken?: string) => Promise<{
|
|
3
|
-
publicKey: string;
|
|
4
|
-
privateKey: string | null;
|
|
5
|
-
} | undefined>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../types';
|
|
2
|
-
type MinimalDashboard = {
|
|
3
|
-
id: string;
|
|
4
|
-
created_at: string;
|
|
5
|
-
updated_at: string;
|
|
6
|
-
webhook_id: string | null;
|
|
7
|
-
};
|
|
8
|
-
export declare const getParentDashboards: (httpClient: HttpClient) => () => Promise<MinimalDashboard[] | undefined>;
|
|
9
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '../types';
|
|
2
|
-
type UpdateParams = {
|
|
3
|
-
name?: string;
|
|
4
|
-
deleted?: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare const updateParentGlobalLibrary: (httpClient: HttpClient) => (globalLibraryId: string, updateParams: UpdateParams) => Promise<boolean>;
|
|
7
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import ValidationError from './ValidationError';
|
|
2
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
3
|
-
export default class AggregateFieldValueInResultExpectsNumber extends ValidationError {
|
|
4
|
-
constructor(fieldId: string, func: QueryAttributes.Aggregate, value: any);
|
|
5
|
-
}
|