@lightdash/common 2.228.1 → 2.229.1
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/cjs/.tsbuildinfo +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/cjs/authorization/canMutateVerifiedContent.test.d.ts +0 -2
- package/dist/cjs/authorization/canMutateVerifiedContent.test.d.ts.map +0 -1
- package/dist/cjs/authorization/canMutateVerifiedContent.test.js +0 -42
- package/dist/cjs/authorization/canMutateVerifiedContent.test.js.map +0 -1
- package/dist/cjs/authorization/collapseAbilityRules.test.d.ts +0 -2
- package/dist/cjs/authorization/collapseAbilityRules.test.d.ts.map +0 -1
- package/dist/cjs/authorization/collapseAbilityRules.test.js +0 -308
- package/dist/cjs/authorization/collapseAbilityRules.test.js.map +0 -1
- package/dist/cjs/authorization/embedPermissions.test.d.ts +0 -2
- package/dist/cjs/authorization/embedPermissions.test.d.ts.map +0 -1
- package/dist/cjs/authorization/embedPermissions.test.js +0 -233
- package/dist/cjs/authorization/embedPermissions.test.js.map +0 -1
- package/dist/cjs/authorization/getDashboardDeleteAccess.test.d.ts +0 -2
- package/dist/cjs/authorization/getDashboardDeleteAccess.test.d.ts.map +0 -1
- package/dist/cjs/authorization/getDashboardDeleteAccess.test.js +0 -127
- package/dist/cjs/authorization/getDashboardDeleteAccess.test.js.map +0 -1
- package/dist/cjs/authorization/getUserAbilityBuilder.test.d.ts +0 -2
- package/dist/cjs/authorization/getUserAbilityBuilder.test.d.ts.map +0 -1
- package/dist/cjs/authorization/getUserAbilityBuilder.test.js +0 -771
- package/dist/cjs/authorization/getUserAbilityBuilder.test.js.map +0 -1
- package/dist/cjs/authorization/index.mock.d.ts +0 -41
- package/dist/cjs/authorization/index.mock.d.ts.map +0 -1
- package/dist/cjs/authorization/index.mock.js +0 -47
- package/dist/cjs/authorization/index.mock.js.map +0 -1
- package/dist/cjs/authorization/index.test.d.ts +0 -2
- package/dist/cjs/authorization/index.test.d.ts.map +0 -1
- package/dist/cjs/authorization/index.test.js +0 -252
- package/dist/cjs/authorization/index.test.js.map +0 -1
- package/dist/cjs/authorization/jwtAbility.test.d.ts +0 -2
- package/dist/cjs/authorization/jwtAbility.test.d.ts.map +0 -1
- package/dist/cjs/authorization/jwtAbility.test.js +0 -594
- package/dist/cjs/authorization/jwtAbility.test.js.map +0 -1
- package/dist/cjs/authorization/organizationMemberAbility.mock.d.ts +0 -8
- package/dist/cjs/authorization/organizationMemberAbility.mock.d.ts.map +0 -1
- package/dist/cjs/authorization/organizationMemberAbility.mock.js +0 -39
- package/dist/cjs/authorization/organizationMemberAbility.mock.js.map +0 -1
- package/dist/cjs/authorization/organizationMemberAbility.test.d.ts +0 -2
- package/dist/cjs/authorization/organizationMemberAbility.test.d.ts.map +0 -1
- package/dist/cjs/authorization/organizationMemberAbility.test.js +0 -1486
- package/dist/cjs/authorization/organizationMemberAbility.test.js.map +0 -1
- package/dist/cjs/authorization/parseScopes.test.d.ts +0 -2
- package/dist/cjs/authorization/parseScopes.test.d.ts.map +0 -1
- package/dist/cjs/authorization/parseScopes.test.js +0 -125
- package/dist/cjs/authorization/parseScopes.test.js.map +0 -1
- package/dist/cjs/authorization/projectMemberAbility.mock.d.ts +0 -7
- package/dist/cjs/authorization/projectMemberAbility.mock.d.ts.map +0 -1
- package/dist/cjs/authorization/projectMemberAbility.mock.js +0 -30
- package/dist/cjs/authorization/projectMemberAbility.mock.js.map +0 -1
- package/dist/cjs/authorization/projectMemberAbility.test.d.ts +0 -2
- package/dist/cjs/authorization/projectMemberAbility.test.d.ts.map +0 -1
- package/dist/cjs/authorization/projectMemberAbility.test.js +0 -1191
- package/dist/cjs/authorization/projectMemberAbility.test.js.map +0 -1
- package/dist/cjs/authorization/roadmapAccess.test.d.ts +0 -2
- package/dist/cjs/authorization/roadmapAccess.test.d.ts.map +0 -1
- package/dist/cjs/authorization/roadmapAccess.test.js +0 -161
- package/dist/cjs/authorization/roadmapAccess.test.js.map +0 -1
- package/dist/cjs/authorization/rolePresets.test.d.ts +0 -2
- package/dist/cjs/authorization/rolePresets.test.d.ts.map +0 -1
- package/dist/cjs/authorization/rolePresets.test.js +0 -67
- package/dist/cjs/authorization/rolePresets.test.js.map +0 -1
- package/dist/cjs/authorization/roleToScopeMapping.test.d.ts +0 -2
- package/dist/cjs/authorization/roleToScopeMapping.test.d.ts.map +0 -1
- package/dist/cjs/authorization/roleToScopeMapping.test.js +0 -625
- package/dist/cjs/authorization/roleToScopeMapping.test.js.map +0 -1
- package/dist/cjs/authorization/roleToScopeMapping.testUtils.d.ts +0 -1615
- package/dist/cjs/authorization/roleToScopeMapping.testUtils.d.ts.map +0 -1
- package/dist/cjs/authorization/roleToScopeMapping.testUtils.js +0 -345
- package/dist/cjs/authorization/roleToScopeMapping.testUtils.js.map +0 -1
- package/dist/cjs/authorization/roleToScopeParity.test.d.ts +0 -2
- package/dist/cjs/authorization/roleToScopeParity.test.d.ts.map +0 -1
- package/dist/cjs/authorization/roleToScopeParity.test.js +0 -337
- package/dist/cjs/authorization/roleToScopeParity.test.js.map +0 -1
- package/dist/cjs/authorization/scopeAbilityBuilder.test.d.ts +0 -2
- package/dist/cjs/authorization/scopeAbilityBuilder.test.d.ts.map +0 -1
- package/dist/cjs/authorization/scopeAbilityBuilder.test.js +0 -1873
- package/dist/cjs/authorization/scopeAbilityBuilder.test.js.map +0 -1
- package/dist/cjs/authorization/scopes.level.test.d.ts +0 -2
- package/dist/cjs/authorization/scopes.level.test.d.ts.map +0 -1
- package/dist/cjs/authorization/scopes.level.test.js +0 -57
- package/dist/cjs/authorization/scopes.level.test.js.map +0 -1
- package/dist/cjs/authorization/scopes.test.d.ts +0 -2
- package/dist/cjs/authorization/scopes.test.d.ts.map +0 -1
- package/dist/cjs/authorization/scopes.test.js +0 -199
- package/dist/cjs/authorization/scopes.test.js.map +0 -1
- package/dist/cjs/authorization/serviceAccountAbility.test.d.ts +0 -2
- package/dist/cjs/authorization/serviceAccountAbility.test.d.ts.map +0 -1
- package/dist/cjs/authorization/serviceAccountAbility.test.js +0 -224
- package/dist/cjs/authorization/serviceAccountAbility.test.js.map +0 -1
- package/dist/cjs/authorization/space/customRoleProjectRole.test.d.ts +0 -2
- package/dist/cjs/authorization/space/customRoleProjectRole.test.d.ts.map +0 -1
- package/dist/cjs/authorization/space/customRoleProjectRole.test.js +0 -56
- package/dist/cjs/authorization/space/customRoleProjectRole.test.js.map +0 -1
- package/dist/cjs/authorization/space/spaceAccessResolver.test.d.ts +0 -2
- package/dist/cjs/authorization/space/spaceAccessResolver.test.d.ts.map +0 -1
- package/dist/cjs/authorization/space/spaceAccessResolver.test.js +0 -709
- package/dist/cjs/authorization/space/spaceAccessResolver.test.js.map +0 -1
- package/dist/cjs/compiler/exploreCompiler.mock.d.ts +0 -78
- package/dist/cjs/compiler/exploreCompiler.mock.d.ts.map +0 -1
- package/dist/cjs/compiler/exploreCompiler.mock.js +0 -2451
- package/dist/cjs/compiler/exploreCompiler.mock.js.map +0 -1
- package/dist/cjs/compiler/exploreCompiler.test.d.ts +0 -2
- package/dist/cjs/compiler/exploreCompiler.test.d.ts.map +0 -1
- package/dist/cjs/compiler/exploreCompiler.test.js +0 -1755
- package/dist/cjs/compiler/exploreCompiler.test.js.map +0 -1
- package/dist/cjs/compiler/fieldSetExpander.test.d.ts +0 -2
- package/dist/cjs/compiler/fieldSetExpander.test.d.ts.map +0 -1
- package/dist/cjs/compiler/fieldSetExpander.test.js +0 -206
- package/dist/cjs/compiler/fieldSetExpander.test.js.map +0 -1
- package/dist/cjs/compiler/filtersCompiler.mock.d.ts +0 -586
- package/dist/cjs/compiler/filtersCompiler.mock.d.ts.map +0 -1
- package/dist/cjs/compiler/filtersCompiler.mock.js +0 -795
- package/dist/cjs/compiler/filtersCompiler.mock.js.map +0 -1
- package/dist/cjs/compiler/filtersCompiler.test.d.ts +0 -2
- package/dist/cjs/compiler/filtersCompiler.test.d.ts.map +0 -1
- package/dist/cjs/compiler/filtersCompiler.test.js +0 -2197
- package/dist/cjs/compiler/filtersCompiler.test.js.map +0 -1
- package/dist/cjs/compiler/joinInflation.test.d.ts +0 -2
- package/dist/cjs/compiler/joinInflation.test.d.ts.map +0 -1
- package/dist/cjs/compiler/joinInflation.test.js +0 -30
- package/dist/cjs/compiler/joinInflation.test.js.map +0 -1
- package/dist/cjs/compiler/lightdashModelConverter.test.d.ts +0 -2
- package/dist/cjs/compiler/lightdashModelConverter.test.d.ts.map +0 -1
- package/dist/cjs/compiler/lightdashModelConverter.test.js +0 -37
- package/dist/cjs/compiler/lightdashModelConverter.test.js.map +0 -1
- package/dist/cjs/compiler/lightdashProjectConfig.test.d.ts +0 -2
- package/dist/cjs/compiler/lightdashProjectConfig.test.d.ts.map +0 -1
- package/dist/cjs/compiler/lightdashProjectConfig.test.js +0 -96
- package/dist/cjs/compiler/lightdashProjectConfig.test.js.map +0 -1
- package/dist/cjs/compiler/parameters.test.d.ts +0 -2
- package/dist/cjs/compiler/parameters.test.d.ts.map +0 -1
- package/dist/cjs/compiler/parameters.test.js +0 -589
- package/dist/cjs/compiler/parameters.test.js.map +0 -1
- package/dist/cjs/compiler/translator.mock.d.ts +0 -159
- package/dist/cjs/compiler/translator.mock.d.ts.map +0 -1
- package/dist/cjs/compiler/translator.mock.js +0 -2236
- package/dist/cjs/compiler/translator.mock.js.map +0 -1
- package/dist/cjs/compiler/translator.test.d.ts +0 -2
- package/dist/cjs/compiler/translator.test.d.ts.map +0 -1
- package/dist/cjs/compiler/translator.test.js +0 -2687
- package/dist/cjs/compiler/translator.test.js.map +0 -1
- package/dist/cjs/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.d.ts +0 -65
- package/dist/cjs/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.d.ts.map +0 -1
- package/dist/cjs/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.js +0 -223
- package/dist/cjs/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.js.map +0 -1
- package/dist/cjs/dbt/DbtSchemaEditor/DbtSchemaEditor.test.d.ts +0 -2
- package/dist/cjs/dbt/DbtSchemaEditor/DbtSchemaEditor.test.d.ts.map +0 -1
- package/dist/cjs/dbt/DbtSchemaEditor/DbtSchemaEditor.test.js +0 -278
- package/dist/cjs/dbt/DbtSchemaEditor/DbtSchemaEditor.test.js.map +0 -1
- package/dist/cjs/dbt/manifest.test.d.ts +0 -2
- package/dist/cjs/dbt/manifest.test.d.ts.map +0 -1
- package/dist/cjs/dbt/manifest.test.js +0 -418
- package/dist/cjs/dbt/manifest.test.js.map +0 -1
- package/dist/cjs/dbt/metricFlow.test.d.ts +0 -2
- package/dist/cjs/dbt/metricFlow.test.d.ts.map +0 -1
- package/dist/cjs/dbt/metricFlow.test.js +0 -1345
- package/dist/cjs/dbt/metricFlow.test.js.map +0 -1
- package/dist/cjs/dbt/validation.csp.test.d.ts +0 -1
- package/dist/cjs/dbt/validation.csp.test.d.ts.map +0 -1
- package/dist/cjs/dbt/validation.csp.test.js +0 -66
- package/dist/cjs/dbt/validation.csp.test.js.map +0 -1
- package/dist/cjs/dbt/validation.test.d.ts +0 -2
- package/dist/cjs/dbt/validation.test.d.ts.map +0 -1
- package/dist/cjs/dbt/validation.test.js +0 -204
- package/dist/cjs/dbt/validation.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/aiAgentReviewClassifierTypes.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/aiAgentReviewClassifierTypes.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/aiAgentReviewClassifierTypes.test.js +0 -548
- package/dist/cjs/ee/AiAgent/aiAgentReviewClassifierTypes.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.js +0 -56
- package/dist/cjs/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/dashboardContext.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/dashboardContext.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/dashboardContext.test.js +0 -61
- package/dist/cjs/ee/AiAgent/dashboardContext.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.js +0 -636
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/projectContext.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/projectContext.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/projectContext.test.js +0 -534
- package/dist/cjs/ee/AiAgent/projectContext.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/McpSchemaCompatLayer.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/McpSchemaCompatLayer.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/McpSchemaCompatLayer.test.js +0 -544
- package/dist/cjs/ee/AiAgent/schemas/McpSchemaCompatLayer.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/defineTool.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/defineTool.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/defineTool.test.js +0 -283
- package/dist/cjs/ee/AiAgent/schemas/defineTool.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/examples.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/examples.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/examples.test.js +0 -88
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/examples.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.js +0 -387
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/operators.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/operators.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/operators.test.js +0 -16
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/operators.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/parse.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/parse.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/parse.test.js +0 -365
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/parse.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.js +0 -220
- package/dist/cjs/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/persistedRunQueryArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/persistedRunQueryArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/persistedRunQueryArgs.test.js +0 -100
- package/dist/cjs/ee/AiAgent/schemas/persistedRunQueryArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -154
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.test.js +0 -21
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.js +0 -36
- package/dist/cjs/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.js +0 -98
- package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.js +0 -60
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.js +0 -9
- package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js +0 -68
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js +0 -27
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.js +0 -176
- package/dist/cjs/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.js +0 -388
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.js +0 -88
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.js +0 -34
- package/dist/cjs/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.js +0 -98
- package/dist/cjs/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.js.map +0 -1
- package/dist/cjs/ee/AiAgent/utils.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/utils.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/utils.test.js +0 -544
- package/dist/cjs/ee/AiAgent/utils.test.js.map +0 -1
- package/dist/cjs/ee/aiDeepResearch/markdown.test.d.ts +0 -2
- package/dist/cjs/ee/aiDeepResearch/markdown.test.d.ts.map +0 -1
- package/dist/cjs/ee/aiDeepResearch/markdown.test.js +0 -331
- package/dist/cjs/ee/aiDeepResearch/markdown.test.js.map +0 -1
- package/dist/cjs/ee/aiDeepResearch/types.test.d.ts +0 -2
- package/dist/cjs/ee/aiDeepResearch/types.test.d.ts.map +0 -1
- package/dist/cjs/ee/aiDeepResearch/types.test.js +0 -9
- package/dist/cjs/ee/aiDeepResearch/types.test.js.map +0 -1
- package/dist/cjs/ee/aiWriteback/mcpTask.test.d.ts +0 -2
- package/dist/cjs/ee/aiWriteback/mcpTask.test.d.ts.map +0 -1
- package/dist/cjs/ee/aiWriteback/mcpTask.test.js +0 -36
- package/dist/cjs/ee/aiWriteback/mcpTask.test.js.map +0 -1
- package/dist/cjs/ee/apps/chartTypeIcons.test.d.ts +0 -2
- package/dist/cjs/ee/apps/chartTypeIcons.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/chartTypeIcons.test.js +0 -30
- package/dist/cjs/ee/apps/chartTypeIcons.test.js.map +0 -1
- package/dist/cjs/ee/apps/code.test.d.ts +0 -2
- package/dist/cjs/ee/apps/code.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/code.test.js +0 -512
- package/dist/cjs/ee/apps/code.test.js.map +0 -1
- package/dist/cjs/ee/apps/customChartTypeSerializer.test.d.ts +0 -2
- package/dist/cjs/ee/apps/customChartTypeSerializer.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/customChartTypeSerializer.test.js +0 -147
- package/dist/cjs/ee/apps/customChartTypeSerializer.test.js.map +0 -1
- package/dist/cjs/ee/apps/dataAppVizSchemaChanges.test.d.ts +0 -2
- package/dist/cjs/ee/apps/dataAppVizSchemaChanges.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/dataAppVizSchemaChanges.test.js +0 -155
- package/dist/cjs/ee/apps/dataAppVizSchemaChanges.test.js.map +0 -1
- package/dist/cjs/ee/apps/dataReferenceChecker.test.d.ts +0 -2
- package/dist/cjs/ee/apps/dataReferenceChecker.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/dataReferenceChecker.test.js +0 -382
- package/dist/cjs/ee/apps/dataReferenceChecker.test.js.map +0 -1
- package/dist/cjs/ee/apps/dataReferences.test.d.ts +0 -2
- package/dist/cjs/ee/apps/dataReferences.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/dataReferences.test.js +0 -609
- package/dist/cjs/ee/apps/dataReferences.test.js.map +0 -1
- package/dist/cjs/ee/apps/dataReferencesDocs.test.d.ts +0 -2
- package/dist/cjs/ee/apps/dataReferencesDocs.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/dataReferencesDocs.test.js +0 -141
- package/dist/cjs/ee/apps/dataReferencesDocs.test.js.map +0 -1
- package/dist/cjs/ee/apps/deliveryCapture.test.d.ts +0 -2
- package/dist/cjs/ee/apps/deliveryCapture.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/deliveryCapture.test.js +0 -207
- package/dist/cjs/ee/apps/deliveryCapture.test.js.map +0 -1
- package/dist/cjs/ee/apps/elementReference.test.d.ts +0 -2
- package/dist/cjs/ee/apps/elementReference.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/elementReference.test.js +0 -36
- package/dist/cjs/ee/apps/elementReference.test.js.map +0 -1
- package/dist/cjs/ee/apps/registry.test.d.ts +0 -2
- package/dist/cjs/ee/apps/registry.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/registry.test.js +0 -92
- package/dist/cjs/ee/apps/registry.test.js.map +0 -1
- package/dist/cjs/ee/apps/types.test.d.ts +0 -2
- package/dist/cjs/ee/apps/types.test.d.ts.map +0 -1
- package/dist/cjs/ee/apps/types.test.js +0 -443
- package/dist/cjs/ee/apps/types.test.js.map +0 -1
- package/dist/cjs/ee/embed/index.test.d.ts +0 -2
- package/dist/cjs/ee/embed/index.test.d.ts.map +0 -1
- package/dist/cjs/ee/embed/index.test.js +0 -159
- package/dist/cjs/ee/embed/index.test.js.map +0 -1
- package/dist/cjs/ee/homepage/schema.test.d.ts +0 -2
- package/dist/cjs/ee/homepage/schema.test.d.ts.map +0 -1
- package/dist/cjs/ee/homepage/schema.test.js +0 -340
- package/dist/cjs/ee/homepage/schema.test.js.map +0 -1
- package/dist/cjs/ee/homepage/verifiedSource.schema.test.d.ts +0 -2
- package/dist/cjs/ee/homepage/verifiedSource.schema.test.d.ts.map +0 -1
- package/dist/cjs/ee/homepage/verifiedSource.schema.test.js +0 -29
- package/dist/cjs/ee/homepage/verifiedSource.schema.test.js.map +0 -1
- package/dist/cjs/ee/mcp/tasks.test.d.ts +0 -2
- package/dist/cjs/ee/mcp/tasks.test.d.ts.map +0 -1
- package/dist/cjs/ee/mcp/tasks.test.js +0 -52
- package/dist/cjs/ee/mcp/tasks.test.js.map +0 -1
- package/dist/cjs/ee/preAggregates/dimensionEligibility.test.d.ts +0 -2
- package/dist/cjs/ee/preAggregates/dimensionEligibility.test.d.ts.map +0 -1
- package/dist/cjs/ee/preAggregates/dimensionEligibility.test.js +0 -218
- package/dist/cjs/ee/preAggregates/dimensionEligibility.test.js.map +0 -1
- package/dist/cjs/ee/preAggregates/metricEligibility.test.d.ts +0 -2
- package/dist/cjs/ee/preAggregates/metricEligibility.test.d.ts.map +0 -1
- package/dist/cjs/ee/preAggregates/metricEligibility.test.js +0 -376
- package/dist/cjs/ee/preAggregates/metricEligibility.test.js.map +0 -1
- package/dist/cjs/ee/preAggregates/numberMetricDependencies.test.d.ts +0 -2
- package/dist/cjs/ee/preAggregates/numberMetricDependencies.test.d.ts.map +0 -1
- package/dist/cjs/ee/preAggregates/numberMetricDependencies.test.js +0 -107
- package/dist/cjs/ee/preAggregates/numberMetricDependencies.test.js.map +0 -1
- package/dist/cjs/ee/types/aiReviewNotification.test.d.ts +0 -2
- package/dist/cjs/ee/types/aiReviewNotification.test.d.ts.map +0 -1
- package/dist/cjs/ee/types/aiReviewNotification.test.js +0 -119
- package/dist/cjs/ee/types/aiReviewNotification.test.js.map +0 -1
- package/dist/cjs/ee/types/managedAgentPolicy.test.d.ts +0 -2
- package/dist/cjs/ee/types/managedAgentPolicy.test.d.ts.map +0 -1
- package/dist/cjs/ee/types/managedAgentPolicy.test.js +0 -50
- package/dist/cjs/ee/types/managedAgentPolicy.test.js.map +0 -1
- package/dist/cjs/ee/types/managedAgentSpaceScope.test.d.ts +0 -2
- package/dist/cjs/ee/types/managedAgentSpaceScope.test.d.ts.map +0 -1
- package/dist/cjs/ee/types/managedAgentSpaceScope.test.js +0 -47
- package/dist/cjs/ee/types/managedAgentSpaceScope.test.js.map +0 -1
- package/dist/cjs/index.barrel.test.d.ts +0 -2
- package/dist/cjs/index.barrel.test.d.ts.map +0 -1
- package/dist/cjs/index.barrel.test.js +0 -65
- package/dist/cjs/index.barrel.test.js.map +0 -1
- package/dist/cjs/index.mock.d.ts +0 -8
- package/dist/cjs/index.mock.d.ts.map +0 -1
- package/dist/cjs/index.mock.js +0 -47
- package/dist/cjs/index.mock.js.map +0 -1
- package/dist/cjs/index.test.d.ts +0 -2
- package/dist/cjs/index.test.d.ts.map +0 -1
- package/dist/cjs/index.test.js +0 -204
- package/dist/cjs/index.test.js.map +0 -1
- package/dist/cjs/lightdash/LightdashModelEditor.test.d.ts +0 -2
- package/dist/cjs/lightdash/LightdashModelEditor.test.d.ts.map +0 -1
- package/dist/cjs/lightdash/LightdashModelEditor.test.js +0 -195
- package/dist/cjs/lightdash/LightdashModelEditor.test.js.map +0 -1
- package/dist/cjs/lightdash/loader.test.d.ts +0 -2
- package/dist/cjs/lightdash/loader.test.d.ts.map +0 -1
- package/dist/cjs/lightdash/loader.test.js +0 -75
- package/dist/cjs/lightdash/loader.test.js.map +0 -1
- package/dist/cjs/packageExports.test.d.ts +0 -2
- package/dist/cjs/packageExports.test.d.ts.map +0 -1
- package/dist/cjs/packageExports.test.js +0 -43
- package/dist/cjs/packageExports.test.js.map +0 -1
- package/dist/cjs/parameters/reservedParameters.test.d.ts +0 -2
- package/dist/cjs/parameters/reservedParameters.test.d.ts.map +0 -1
- package/dist/cjs/parameters/reservedParameters.test.js +0 -103
- package/dist/cjs/parameters/reservedParameters.test.js.map +0 -1
- package/dist/cjs/pivot/buildWarehouseTotals.test.d.ts +0 -2
- package/dist/cjs/pivot/buildWarehouseTotals.test.d.ts.map +0 -1
- package/dist/cjs/pivot/buildWarehouseTotals.test.js +0 -44
- package/dist/cjs/pivot/buildWarehouseTotals.test.js.map +0 -1
- package/dist/cjs/pivot/deriveDataAppVizPivotConfig.test.d.ts +0 -2
- package/dist/cjs/pivot/deriveDataAppVizPivotConfig.test.d.ts.map +0 -1
- package/dist/cjs/pivot/deriveDataAppVizPivotConfig.test.js +0 -33
- package/dist/cjs/pivot/deriveDataAppVizPivotConfig.test.js.map +0 -1
- package/dist/cjs/pivot/derivePivotConfigFromChart.mock.d.ts +0 -8
- package/dist/cjs/pivot/derivePivotConfigFromChart.mock.d.ts.map +0 -1
- package/dist/cjs/pivot/derivePivotConfigFromChart.mock.js +0 -115
- package/dist/cjs/pivot/derivePivotConfigFromChart.mock.js.map +0 -1
- package/dist/cjs/pivot/derivePivotConfigFromChart.test.d.ts +0 -2
- package/dist/cjs/pivot/derivePivotConfigFromChart.test.d.ts.map +0 -1
- package/dist/cjs/pivot/derivePivotConfigFromChart.test.js +0 -1421
- package/dist/cjs/pivot/derivePivotConfigFromChart.test.js.map +0 -1
- package/dist/cjs/pivot/pivotColumnName.test.d.ts +0 -2
- package/dist/cjs/pivot/pivotColumnName.test.d.ts.map +0 -1
- package/dist/cjs/pivot/pivotColumnName.test.js +0 -49
- package/dist/cjs/pivot/pivotColumnName.test.js.map +0 -1
- package/dist/cjs/pivot/pivotConfig.test.d.ts +0 -2
- package/dist/cjs/pivot/pivotConfig.test.d.ts.map +0 -1
- package/dist/cjs/pivot/pivotConfig.test.js +0 -230
- package/dist/cjs/pivot/pivotConfig.test.js.map +0 -1
- package/dist/cjs/pivot/pivotQueryResults.mock.d.ts +0 -14
- package/dist/cjs/pivot/pivotQueryResults.mock.d.ts.map +0 -1
- package/dist/cjs/pivot/pivotQueryResults.mock.js +0 -2086
- package/dist/cjs/pivot/pivotQueryResults.mock.js.map +0 -1
- package/dist/cjs/pivot/pivotQueryResults.test.d.ts +0 -2
- package/dist/cjs/pivot/pivotQueryResults.test.d.ts.map +0 -1
- package/dist/cjs/pivot/pivotQueryResults.test.js +0 -1678
- package/dist/cjs/pivot/pivotQueryResults.test.js.map +0 -1
- package/dist/cjs/pivot/pivotResultsAsCsv.test.d.ts +0 -2
- package/dist/cjs/pivot/pivotResultsAsCsv.test.d.ts.map +0 -1
- package/dist/cjs/pivot/pivotResultsAsCsv.test.js +0 -266
- package/dist/cjs/pivot/pivotResultsAsCsv.test.js.map +0 -1
- package/dist/cjs/pivot/timeIntervalToExcelNumFmt.test.d.ts +0 -2
- package/dist/cjs/pivot/timeIntervalToExcelNumFmt.test.d.ts.map +0 -1
- package/dist/cjs/pivot/timeIntervalToExcelNumFmt.test.js +0 -56
- package/dist/cjs/pivot/timeIntervalToExcelNumFmt.test.js.map +0 -1
- package/dist/cjs/preAggregates/definition.test.d.ts +0 -2
- package/dist/cjs/preAggregates/definition.test.d.ts.map +0 -1
- package/dist/cjs/preAggregates/definition.test.js +0 -293
- package/dist/cjs/preAggregates/definition.test.js.map +0 -1
- package/dist/cjs/preAggregates/schema.test.d.ts +0 -2
- package/dist/cjs/preAggregates/schema.test.d.ts.map +0 -1
- package/dist/cjs/preAggregates/schema.test.js +0 -228
- package/dist/cjs/preAggregates/schema.test.js.map +0 -1
- package/dist/cjs/schemas/generateChartAsCodeSchema.test.d.ts +0 -2
- package/dist/cjs/schemas/generateChartAsCodeSchema.test.d.ts.map +0 -1
- package/dist/cjs/schemas/generateChartAsCodeSchema.test.js +0 -179
- package/dist/cjs/schemas/generateChartAsCodeSchema.test.js.map +0 -1
- package/dist/cjs/schemas/generateDashboardAsCodeSchema.test.d.ts +0 -2
- package/dist/cjs/schemas/generateDashboardAsCodeSchema.test.d.ts.map +0 -1
- package/dist/cjs/schemas/generateDashboardAsCodeSchema.test.js +0 -507
- package/dist/cjs/schemas/generateDashboardAsCodeSchema.test.js.map +0 -1
- package/dist/cjs/templating/liquidSql.test.d.ts +0 -2
- package/dist/cjs/templating/liquidSql.test.d.ts.map +0 -1
- package/dist/cjs/templating/liquidSql.test.js +0 -399
- package/dist/cjs/templating/liquidSql.test.js.map +0 -1
- package/dist/cjs/templating/template.mock.d.ts +0 -45
- package/dist/cjs/templating/template.mock.d.ts.map +0 -1
- package/dist/cjs/templating/template.mock.js +0 -48
- package/dist/cjs/templating/template.mock.js.map +0 -1
- package/dist/cjs/templating/template.test.d.ts +0 -2
- package/dist/cjs/templating/template.test.d.ts.map +0 -1
- package/dist/cjs/templating/template.test.js +0 -23
- package/dist/cjs/templating/template.test.js.map +0 -1
- package/dist/cjs/types/api/notifications.test.d.ts +0 -2
- package/dist/cjs/types/api/notifications.test.d.ts.map +0 -1
- package/dist/cjs/types/api/notifications.test.js +0 -7
- package/dist/cjs/types/api/notifications.test.js.map +0 -1
- package/dist/cjs/types/applyDimensionOverrides.test.d.ts +0 -2
- package/dist/cjs/types/applyDimensionOverrides.test.d.ts.map +0 -1
- package/dist/cjs/types/applyDimensionOverrides.test.js +0 -582
- package/dist/cjs/types/applyDimensionOverrides.test.js.map +0 -1
- package/dist/cjs/types/applyMetricOverrides.test.d.ts +0 -2
- package/dist/cjs/types/applyMetricOverrides.test.d.ts.map +0 -1
- package/dist/cjs/types/applyMetricOverrides.test.js +0 -82
- package/dist/cjs/types/applyMetricOverrides.test.js.map +0 -1
- package/dist/cjs/types/contentAsCode/base.test.d.ts +0 -2
- package/dist/cjs/types/contentAsCode/base.test.d.ts.map +0 -1
- package/dist/cjs/types/contentAsCode/base.test.js +0 -61
- package/dist/cjs/types/contentAsCode/base.test.js.map +0 -1
- package/dist/cjs/types/contentAsCode/draftRebase.test.d.ts +0 -2
- package/dist/cjs/types/contentAsCode/draftRebase.test.d.ts.map +0 -1
- package/dist/cjs/types/contentAsCode/draftRebase.test.js +0 -117
- package/dist/cjs/types/contentAsCode/draftRebase.test.js.map +0 -1
- package/dist/cjs/types/contentAsCode/parsers.test.d.ts +0 -2
- package/dist/cjs/types/contentAsCode/parsers.test.d.ts.map +0 -1
- package/dist/cjs/types/contentAsCode/parsers.test.js +0 -46
- package/dist/cjs/types/contentAsCode/parsers.test.js.map +0 -1
- package/dist/cjs/types/dataRetention.test.d.ts +0 -2
- package/dist/cjs/types/dataRetention.test.d.ts.map +0 -1
- package/dist/cjs/types/dataRetention.test.js +0 -57
- package/dist/cjs/types/dataRetention.test.js.map +0 -1
- package/dist/cjs/types/dataTimezonePreview.test.d.ts +0 -2
- package/dist/cjs/types/dataTimezonePreview.test.d.ts.map +0 -1
- package/dist/cjs/types/dataTimezonePreview.test.js +0 -108
- package/dist/cjs/types/dataTimezonePreview.test.js.map +0 -1
- package/dist/cjs/types/dbt.test.d.ts +0 -2
- package/dist/cjs/types/dbt.test.d.ts.map +0 -1
- package/dist/cjs/types/dbt.test.js +0 -391
- package/dist/cjs/types/dbt.test.js.map +0 -1
- package/dist/cjs/types/errors.test.d.ts +0 -2
- package/dist/cjs/types/errors.test.d.ts.map +0 -1
- package/dist/cjs/types/errors.test.js +0 -16
- package/dist/cjs/types/errors.test.js.map +0 -1
- package/dist/cjs/types/field.test.d.ts +0 -2
- package/dist/cjs/types/field.test.d.ts.map +0 -1
- package/dist/cjs/types/field.test.js +0 -85
- package/dist/cjs/types/field.test.js.map +0 -1
- package/dist/cjs/types/filter.test.d.ts +0 -2
- package/dist/cjs/types/filter.test.d.ts.map +0 -1
- package/dist/cjs/types/filter.test.js +0 -399
- package/dist/cjs/types/filter.test.js.map +0 -1
- package/dist/cjs/types/filterGrammar.test.d.ts +0 -2
- package/dist/cjs/types/filterGrammar.test.d.ts.map +0 -1
- package/dist/cjs/types/filterGrammar.test.js +0 -748
- package/dist/cjs/types/filterGrammar.test.js.map +0 -1
- package/dist/cjs/types/filterGrammarConversion.test.d.ts +0 -2
- package/dist/cjs/types/filterGrammarConversion.test.d.ts.map +0 -1
- package/dist/cjs/types/filterGrammarConversion.test.js +0 -310
- package/dist/cjs/types/filterGrammarConversion.test.js.map +0 -1
- package/dist/cjs/types/gitIntegration.test.d.ts +0 -2
- package/dist/cjs/types/gitIntegration.test.d.ts.map +0 -1
- package/dist/cjs/types/gitIntegration.test.js +0 -53
- package/dist/cjs/types/gitIntegration.test.js.map +0 -1
- package/dist/cjs/types/jira.test.d.ts +0 -2
- package/dist/cjs/types/jira.test.d.ts.map +0 -1
- package/dist/cjs/types/jira.test.js +0 -13
- package/dist/cjs/types/jira.test.js.map +0 -1
- package/dist/cjs/types/linear.test.d.ts +0 -2
- package/dist/cjs/types/linear.test.d.ts.map +0 -1
- package/dist/cjs/types/linear.test.js +0 -15
- package/dist/cjs/types/linear.test.js.map +0 -1
- package/dist/cjs/types/mergeQuery.test.d.ts +0 -2
- package/dist/cjs/types/mergeQuery.test.d.ts.map +0 -1
- package/dist/cjs/types/mergeQuery.test.js +0 -387
- package/dist/cjs/types/mergeQuery.test.js.map +0 -1
- package/dist/cjs/types/organizationSettings.test.d.ts +0 -2
- package/dist/cjs/types/organizationSettings.test.d.ts.map +0 -1
- package/dist/cjs/types/organizationSettings.test.js +0 -107
- package/dist/cjs/types/organizationSettings.test.js.map +0 -1
- package/dist/cjs/types/periodOverPeriodComparison.test.d.ts +0 -2
- package/dist/cjs/types/periodOverPeriodComparison.test.d.ts.map +0 -1
- package/dist/cjs/types/periodOverPeriodComparison.test.js +0 -101
- package/dist/cjs/types/periodOverPeriodComparison.test.js.map +0 -1
- package/dist/cjs/types/projects.test.d.ts +0 -2
- package/dist/cjs/types/projects.test.d.ts.map +0 -1
- package/dist/cjs/types/projects.test.js +0 -321
- package/dist/cjs/types/projects.test.js.map +0 -1
- package/dist/cjs/types/savedCharts.test.d.ts +0 -2
- package/dist/cjs/types/savedCharts.test.d.ts.map +0 -1
- package/dist/cjs/types/savedCharts.test.js +0 -138
- package/dist/cjs/types/savedCharts.test.js.map +0 -1
- package/dist/cjs/types/scheduler.test.d.ts +0 -2
- package/dist/cjs/types/scheduler.test.d.ts.map +0 -1
- package/dist/cjs/types/scheduler.test.js +0 -38
- package/dist/cjs/types/scheduler.test.js.map +0 -1
- package/dist/cjs/types/schedulerTaskList.test.d.ts +0 -2
- package/dist/cjs/types/schedulerTaskList.test.d.ts.map +0 -1
- package/dist/cjs/types/schedulerTaskList.test.js +0 -18
- package/dist/cjs/types/schedulerTaskList.test.js.map +0 -1
- package/dist/cjs/types/userAvatars.test.d.ts +0 -2
- package/dist/cjs/types/userAvatars.test.d.ts.map +0 -1
- package/dist/cjs/types/userAvatars.test.js +0 -126
- package/dist/cjs/types/userAvatars.test.js.map +0 -1
- package/dist/cjs/types/userWarehouseCredentials.test.d.ts +0 -2
- package/dist/cjs/types/userWarehouseCredentials.test.d.ts.map +0 -1
- package/dist/cjs/types/userWarehouseCredentials.test.js +0 -82
- package/dist/cjs/types/userWarehouseCredentials.test.js.map +0 -1
- package/dist/cjs/types/warehouse.test.d.ts +0 -2
- package/dist/cjs/types/warehouse.test.d.ts.map +0 -1
- package/dist/cjs/types/warehouse.test.js +0 -106
- package/dist/cjs/types/warehouse.test.js.map +0 -1
- package/dist/cjs/utils/accessors.test.d.ts +0 -2
- package/dist/cjs/utils/accessors.test.d.ts.map +0 -1
- package/dist/cjs/utils/accessors.test.js +0 -47
- package/dist/cjs/utils/accessors.test.js.map +0 -1
- package/dist/cjs/utils/additionalMetrics.test.d.ts +0 -2
- package/dist/cjs/utils/additionalMetrics.test.d.ts.map +0 -1
- package/dist/cjs/utils/additionalMetrics.test.js +0 -338
- package/dist/cjs/utils/additionalMetrics.test.js.map +0 -1
- package/dist/cjs/utils/applyChartFilterOverrides.test.d.ts +0 -2
- package/dist/cjs/utils/applyChartFilterOverrides.test.d.ts.map +0 -1
- package/dist/cjs/utils/applyChartFilterOverrides.test.js +0 -218
- package/dist/cjs/utils/applyChartFilterOverrides.test.js.map +0 -1
- package/dist/cjs/utils/bigNumber.test.d.ts +0 -2
- package/dist/cjs/utils/bigNumber.test.d.ts.map +0 -1
- package/dist/cjs/utils/bigNumber.test.js +0 -104
- package/dist/cjs/utils/bigNumber.test.js.map +0 -1
- package/dist/cjs/utils/booleanConverter.test.d.ts +0 -2
- package/dist/cjs/utils/booleanConverter.test.d.ts.map +0 -1
- package/dist/cjs/utils/booleanConverter.test.js +0 -61
- package/dist/cjs/utils/booleanConverter.test.js.map +0 -1
- package/dist/cjs/utils/chartValidation.test.d.ts +0 -2
- package/dist/cjs/utils/chartValidation.test.d.ts.map +0 -1
- package/dist/cjs/utils/chartValidation.test.js +0 -47
- package/dist/cjs/utils/chartValidation.test.js.map +0 -1
- package/dist/cjs/utils/charts.test.d.ts +0 -2
- package/dist/cjs/utils/charts.test.d.ts.map +0 -1
- package/dist/cjs/utils/charts.test.js +0 -46
- package/dist/cjs/utils/charts.test.js.map +0 -1
- package/dist/cjs/utils/colors.test.d.ts +0 -2
- package/dist/cjs/utils/colors.test.d.ts.map +0 -1
- package/dist/cjs/utils/colors.test.js +0 -87
- package/dist/cjs/utils/colors.test.js.map +0 -1
- package/dist/cjs/utils/conditionalFormatExpressions.test.d.ts +0 -2
- package/dist/cjs/utils/conditionalFormatExpressions.test.d.ts.map +0 -1
- package/dist/cjs/utils/conditionalFormatExpressions.test.js +0 -163
- package/dist/cjs/utils/conditionalFormatExpressions.test.js.map +0 -1
- package/dist/cjs/utils/conditionalFormatting.test.d.ts +0 -2
- package/dist/cjs/utils/conditionalFormatting.test.d.ts.map +0 -1
- package/dist/cjs/utils/conditionalFormatting.test.js +0 -361
- package/dist/cjs/utils/conditionalFormatting.test.js.map +0 -1
- package/dist/cjs/utils/connectionChanges.test.d.ts +0 -2
- package/dist/cjs/utils/connectionChanges.test.d.ts.map +0 -1
- package/dist/cjs/utils/connectionChanges.test.js +0 -168
- package/dist/cjs/utils/connectionChanges.test.js.map +0 -1
- package/dist/cjs/utils/customDimensions.test.d.ts +0 -2
- package/dist/cjs/utils/customDimensions.test.d.ts.map +0 -1
- package/dist/cjs/utils/customDimensions.test.js +0 -234
- package/dist/cjs/utils/customDimensions.test.js.map +0 -1
- package/dist/cjs/utils/dashboard.test.d.ts +0 -2
- package/dist/cjs/utils/dashboard.test.d.ts.map +0 -1
- package/dist/cjs/utils/dashboard.test.js +0 -83
- package/dist/cjs/utils/dashboard.test.js.map +0 -1
- package/dist/cjs/utils/dateZoom.test.d.ts +0 -2
- package/dist/cjs/utils/dateZoom.test.d.ts.map +0 -1
- package/dist/cjs/utils/dateZoom.test.js +0 -1036
- package/dist/cjs/utils/dateZoom.test.js.map +0 -1
- package/dist/cjs/utils/dbt.test.d.ts +0 -2
- package/dist/cjs/utils/dbt.test.d.ts.map +0 -1
- package/dist/cjs/utils/dbt.test.js +0 -41
- package/dist/cjs/utils/dbt.test.js.map +0 -1
- package/dist/cjs/utils/dependencyGraph.test.d.ts +0 -2
- package/dist/cjs/utils/dependencyGraph.test.d.ts.map +0 -1
- package/dist/cjs/utils/dependencyGraph.test.js +0 -115
- package/dist/cjs/utils/dependencyGraph.test.js.map +0 -1
- package/dist/cjs/utils/email.test.d.ts +0 -2
- package/dist/cjs/utils/email.test.d.ts.map +0 -1
- package/dist/cjs/utils/email.test.js +0 -91
- package/dist/cjs/utils/email.test.js.map +0 -1
- package/dist/cjs/utils/exportTabs.test.d.ts +0 -2
- package/dist/cjs/utils/exportTabs.test.d.ts.map +0 -1
- package/dist/cjs/utils/exportTabs.test.js +0 -123
- package/dist/cjs/utils/exportTabs.test.js.map +0 -1
- package/dist/cjs/utils/fields.mock.d.ts +0 -20
- package/dist/cjs/utils/fields.mock.d.ts.map +0 -1
- package/dist/cjs/utils/fields.mock.js +0 -256
- package/dist/cjs/utils/fields.mock.js.map +0 -1
- package/dist/cjs/utils/fields.test.d.ts +0 -2
- package/dist/cjs/utils/fields.test.d.ts.map +0 -1
- package/dist/cjs/utils/fields.test.js +0 -282
- package/dist/cjs/utils/fields.test.js.map +0 -1
- package/dist/cjs/utils/filterLabels.test.d.ts +0 -2
- package/dist/cjs/utils/filterLabels.test.d.ts.map +0 -1
- package/dist/cjs/utils/filterLabels.test.js +0 -81
- package/dist/cjs/utils/filterLabels.test.js.map +0 -1
- package/dist/cjs/utils/filterLabelsGolden.test.d.ts +0 -2
- package/dist/cjs/utils/filterLabelsGolden.test.d.ts.map +0 -1
- package/dist/cjs/utils/filterLabelsGolden.test.js +0 -87
- package/dist/cjs/utils/filterLabelsGolden.test.js.map +0 -1
- package/dist/cjs/utils/filters.mock.d.ts +0 -28
- package/dist/cjs/utils/filters.mock.d.ts.map +0 -1
- package/dist/cjs/utils/filters.mock.js +0 -540
- package/dist/cjs/utils/filters.mock.js.map +0 -1
- package/dist/cjs/utils/filters.test.d.ts +0 -2
- package/dist/cjs/utils/filters.test.d.ts.map +0 -1
- package/dist/cjs/utils/filters.test.js +0 -1986
- package/dist/cjs/utils/filters.test.js.map +0 -1
- package/dist/cjs/utils/formatting.mock.d.ts +0 -6
- package/dist/cjs/utils/formatting.mock.d.ts.map +0 -1
- package/dist/cjs/utils/formatting.mock.js +0 -38
- package/dist/cjs/utils/formatting.mock.js.map +0 -1
- package/dist/cjs/utils/formatting.test.d.ts +0 -2
- package/dist/cjs/utils/formatting.test.d.ts.map +0 -1
- package/dist/cjs/utils/formatting.test.js +0 -2631
- package/dist/cjs/utils/formatting.test.js.map +0 -1
- package/dist/cjs/utils/github.test.d.ts +0 -2
- package/dist/cjs/utils/github.test.d.ts.map +0 -1
- package/dist/cjs/utils/github.test.js +0 -25
- package/dist/cjs/utils/github.test.js.map +0 -1
- package/dist/cjs/utils/i18n/chartAsCode.test.d.ts +0 -2
- package/dist/cjs/utils/i18n/chartAsCode.test.d.ts.map +0 -1
- package/dist/cjs/utils/i18n/chartAsCode.test.js +0 -367
- package/dist/cjs/utils/i18n/chartAsCode.test.js.map +0 -1
- package/dist/cjs/utils/i18n/dashboardAsCode.test.d.ts +0 -2
- package/dist/cjs/utils/i18n/dashboardAsCode.test.d.ts.map +0 -1
- package/dist/cjs/utils/i18n/dashboardAsCode.test.js +0 -169
- package/dist/cjs/utils/i18n/dashboardAsCode.test.js.map +0 -1
- package/dist/cjs/utils/i18n/uiStrings.test.d.ts +0 -2
- package/dist/cjs/utils/i18n/uiStrings.test.d.ts.map +0 -1
- package/dist/cjs/utils/i18n/uiStrings.test.js +0 -44
- package/dist/cjs/utils/i18n/uiStrings.test.js.map +0 -1
- package/dist/cjs/utils/loadLightdashProjectConfig.mock.d.ts +0 -24
- package/dist/cjs/utils/loadLightdashProjectConfig.mock.d.ts.map +0 -1
- package/dist/cjs/utils/loadLightdashProjectConfig.mock.js +0 -204
- package/dist/cjs/utils/loadLightdashProjectConfig.mock.js.map +0 -1
- package/dist/cjs/utils/loadLightdashProjectConfig.test.d.ts +0 -2
- package/dist/cjs/utils/loadLightdashProjectConfig.test.d.ts.map +0 -1
- package/dist/cjs/utils/loadLightdashProjectConfig.test.js +0 -223
- package/dist/cjs/utils/loadLightdashProjectConfig.test.js.map +0 -1
- package/dist/cjs/utils/mergeQueryItems.test.d.ts +0 -2
- package/dist/cjs/utils/mergeQueryItems.test.d.ts.map +0 -1
- package/dist/cjs/utils/mergeQueryItems.test.js +0 -68
- package/dist/cjs/utils/mergeQueryItems.test.js.map +0 -1
- package/dist/cjs/utils/metricsExplorer.test.d.ts +0 -2
- package/dist/cjs/utils/metricsExplorer.test.d.ts.map +0 -1
- package/dist/cjs/utils/metricsExplorer.test.js +0 -178
- package/dist/cjs/utils/metricsExplorer.test.js.map +0 -1
- package/dist/cjs/utils/normalizeCellRawForFilter.test.d.ts +0 -2
- package/dist/cjs/utils/normalizeCellRawForFilter.test.d.ts.map +0 -1
- package/dist/cjs/utils/normalizeCellRawForFilter.test.js +0 -65
- package/dist/cjs/utils/normalizeCellRawForFilter.test.js.map +0 -1
- package/dist/cjs/utils/oauth.test.d.ts +0 -2
- package/dist/cjs/utils/oauth.test.d.ts.map +0 -1
- package/dist/cjs/utils/oauth.test.js +0 -91
- package/dist/cjs/utils/oauth.test.js.map +0 -1
- package/dist/cjs/utils/previewDeployWorkflow.test.d.ts +0 -2
- package/dist/cjs/utils/previewDeployWorkflow.test.d.ts.map +0 -1
- package/dist/cjs/utils/previewDeployWorkflow.test.js +0 -175
- package/dist/cjs/utils/previewDeployWorkflow.test.js.map +0 -1
- package/dist/cjs/utils/projectMemberRole.test.d.ts +0 -2
- package/dist/cjs/utils/projectMemberRole.test.d.ts.map +0 -1
- package/dist/cjs/utils/projectMemberRole.test.js +0 -38
- package/dist/cjs/utils/projectMemberRole.test.js.map +0 -1
- package/dist/cjs/utils/queryHistoryList.test.d.ts +0 -2
- package/dist/cjs/utils/queryHistoryList.test.d.ts.map +0 -1
- package/dist/cjs/utils/queryHistoryList.test.js +0 -91
- package/dist/cjs/utils/queryHistoryList.test.js.map +0 -1
- package/dist/cjs/utils/resolveQueryTimezone.test.d.ts +0 -2
- package/dist/cjs/utils/resolveQueryTimezone.test.d.ts.map +0 -1
- package/dist/cjs/utils/resolveQueryTimezone.test.js +0 -153
- package/dist/cjs/utils/resolveQueryTimezone.test.js.map +0 -1
- package/dist/cjs/utils/resultColumns.test.d.ts +0 -2
- package/dist/cjs/utils/resultColumns.test.d.ts.map +0 -1
- package/dist/cjs/utils/resultColumns.test.js +0 -193
- package/dist/cjs/utils/resultColumns.test.js.map +0 -1
- package/dist/cjs/utils/sanitizeHtml.test.d.ts +0 -2
- package/dist/cjs/utils/sanitizeHtml.test.d.ts.map +0 -1
- package/dist/cjs/utils/sanitizeHtml.test.js +0 -200
- package/dist/cjs/utils/sanitizeHtml.test.js.map +0 -1
- package/dist/cjs/utils/scheduler.test.d.ts +0 -2
- package/dist/cjs/utils/scheduler.test.d.ts.map +0 -1
- package/dist/cjs/utils/scheduler.test.js +0 -63
- package/dist/cjs/utils/scheduler.test.js.map +0 -1
- package/dist/cjs/utils/searchParams.test.d.ts +0 -2
- package/dist/cjs/utils/searchParams.test.d.ts.map +0 -1
- package/dist/cjs/utils/searchParams.test.js +0 -22
- package/dist/cjs/utils/searchParams.test.js.map +0 -1
- package/dist/cjs/utils/slack.test.d.ts +0 -2
- package/dist/cjs/utils/slack.test.d.ts.map +0 -1
- package/dist/cjs/utils/slack.test.js +0 -102
- package/dist/cjs/utils/slack.test.js.map +0 -1
- package/dist/cjs/utils/slug.test.d.ts +0 -2
- package/dist/cjs/utils/slug.test.d.ts.map +0 -1
- package/dist/cjs/utils/slug.test.js +0 -131
- package/dist/cjs/utils/slug.test.js.map +0 -1
- package/dist/cjs/utils/tableCalculationFunctions.test.d.ts +0 -2
- package/dist/cjs/utils/tableCalculationFunctions.test.d.ts.map +0 -1
- package/dist/cjs/utils/tableCalculationFunctions.test.js +0 -946
- package/dist/cjs/utils/tableCalculationFunctions.test.js.map +0 -1
- package/dist/cjs/utils/tableCalculationFunctions.utility.test.d.ts +0 -2
- package/dist/cjs/utils/tableCalculationFunctions.utility.test.d.ts.map +0 -1
- package/dist/cjs/utils/tableCalculationFunctions.utility.test.js +0 -86
- package/dist/cjs/utils/tableCalculationFunctions.utility.test.js.map +0 -1
- package/dist/cjs/utils/timeFrames.test.d.ts +0 -2
- package/dist/cjs/utils/timeFrames.test.d.ts.map +0 -1
- package/dist/cjs/utils/timeFrames.test.js +0 -862
- package/dist/cjs/utils/timeFrames.test.js.map +0 -1
- package/dist/cjs/utils/virtualView.test.d.ts +0 -2
- package/dist/cjs/utils/virtualView.test.d.ts.map +0 -1
- package/dist/cjs/utils/virtualView.test.js +0 -156
- package/dist/cjs/utils/virtualView.test.js.map +0 -1
- package/dist/cjs/utils/warehouse.test.d.ts +0 -2
- package/dist/cjs/utils/warehouse.test.d.ts.map +0 -1
- package/dist/cjs/utils/warehouse.test.js +0 -46
- package/dist/cjs/utils/warehouse.test.js.map +0 -1
- package/dist/cjs/utils/warehouseLocation.test.d.ts +0 -2
- package/dist/cjs/utils/warehouseLocation.test.d.ts.map +0 -1
- package/dist/cjs/utils/warehouseLocation.test.js +0 -167
- package/dist/cjs/utils/warehouseLocation.test.js.map +0 -1
- package/dist/cjs/utils/warehouseResourceLimits.test.d.ts +0 -2
- package/dist/cjs/utils/warehouseResourceLimits.test.d.ts.map +0 -1
- package/dist/cjs/utils/warehouseResourceLimits.test.js +0 -17
- package/dist/cjs/utils/warehouseResourceLimits.test.js.map +0 -1
- package/dist/cjs/utils/zodJsonSchema.test.d.ts +0 -2
- package/dist/cjs/utils/zodJsonSchema.test.d.ts.map +0 -1
- package/dist/cjs/utils/zodJsonSchema.test.js +0 -143
- package/dist/cjs/utils/zodJsonSchema.test.js.map +0 -1
- package/dist/cjs/visualizations/BigNumberDataModel.test.d.ts +0 -2
- package/dist/cjs/visualizations/BigNumberDataModel.test.d.ts.map +0 -1
- package/dist/cjs/visualizations/BigNumberDataModel.test.js +0 -346
- package/dist/cjs/visualizations/BigNumberDataModel.test.js.map +0 -1
- package/dist/cjs/visualizations/CartesianChartDataModel.test.d.ts +0 -2
- package/dist/cjs/visualizations/CartesianChartDataModel.test.d.ts.map +0 -1
- package/dist/cjs/visualizations/CartesianChartDataModel.test.js +0 -223
- package/dist/cjs/visualizations/CartesianChartDataModel.test.js.map +0 -1
- package/dist/cjs/visualizations/TableDataModel.test.d.ts +0 -2
- package/dist/cjs/visualizations/TableDataModel.test.d.ts.map +0 -1
- package/dist/cjs/visualizations/TableDataModel.test.js +0 -64
- package/dist/cjs/visualizations/TableDataModel.test.js.map +0 -1
- package/dist/cjs/visualizations/helpers/styles/barChartStyles.test.d.ts +0 -2
- package/dist/cjs/visualizations/helpers/styles/barChartStyles.test.d.ts.map +0 -1
- package/dist/cjs/visualizations/helpers/styles/barChartStyles.test.js +0 -76
- package/dist/cjs/visualizations/helpers/styles/barChartStyles.test.js.map +0 -1
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.test.d.ts +0 -2
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.test.d.ts.map +0 -1
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.test.js +0 -31
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.test.js.map +0 -1
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.test.d.ts +0 -2
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.test.d.ts.map +0 -1
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.test.js +0 -39
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.test.js.map +0 -1
- package/dist/cjs/visualizations/helpers/tooltipFormatter.test.d.ts +0 -2
- package/dist/cjs/visualizations/helpers/tooltipFormatter.test.d.ts.map +0 -1
- package/dist/cjs/visualizations/helpers/tooltipFormatter.test.js +0 -287
- package/dist/cjs/visualizations/helpers/tooltipFormatter.test.js.map +0 -1
- package/dist/esm/authorization/canMutateVerifiedContent.test.d.ts +0 -2
- package/dist/esm/authorization/canMutateVerifiedContent.test.d.ts.map +0 -1
- package/dist/esm/authorization/canMutateVerifiedContent.test.js +0 -40
- package/dist/esm/authorization/canMutateVerifiedContent.test.js.map +0 -1
- package/dist/esm/authorization/collapseAbilityRules.test.d.ts +0 -2
- package/dist/esm/authorization/collapseAbilityRules.test.d.ts.map +0 -1
- package/dist/esm/authorization/collapseAbilityRules.test.js +0 -306
- package/dist/esm/authorization/collapseAbilityRules.test.js.map +0 -1
- package/dist/esm/authorization/embedPermissions.test.d.ts +0 -2
- package/dist/esm/authorization/embedPermissions.test.d.ts.map +0 -1
- package/dist/esm/authorization/embedPermissions.test.js +0 -230
- package/dist/esm/authorization/embedPermissions.test.js.map +0 -1
- package/dist/esm/authorization/getDashboardDeleteAccess.test.d.ts +0 -2
- package/dist/esm/authorization/getDashboardDeleteAccess.test.d.ts.map +0 -1
- package/dist/esm/authorization/getDashboardDeleteAccess.test.js +0 -125
- package/dist/esm/authorization/getDashboardDeleteAccess.test.js.map +0 -1
- package/dist/esm/authorization/getUserAbilityBuilder.test.d.ts +0 -2
- package/dist/esm/authorization/getUserAbilityBuilder.test.d.ts.map +0 -1
- package/dist/esm/authorization/getUserAbilityBuilder.test.js +0 -768
- package/dist/esm/authorization/getUserAbilityBuilder.test.js.map +0 -1
- package/dist/esm/authorization/index.mock.d.ts +0 -41
- package/dist/esm/authorization/index.mock.d.ts.map +0 -1
- package/dist/esm/authorization/index.mock.js +0 -44
- package/dist/esm/authorization/index.mock.js.map +0 -1
- package/dist/esm/authorization/index.test.d.ts +0 -2
- package/dist/esm/authorization/index.test.d.ts.map +0 -1
- package/dist/esm/authorization/index.test.js +0 -250
- package/dist/esm/authorization/index.test.js.map +0 -1
- package/dist/esm/authorization/jwtAbility.test.d.ts +0 -2
- package/dist/esm/authorization/jwtAbility.test.d.ts.map +0 -1
- package/dist/esm/authorization/jwtAbility.test.js +0 -592
- package/dist/esm/authorization/jwtAbility.test.js.map +0 -1
- package/dist/esm/authorization/organizationMemberAbility.mock.d.ts +0 -8
- package/dist/esm/authorization/organizationMemberAbility.mock.d.ts.map +0 -1
- package/dist/esm/authorization/organizationMemberAbility.mock.js +0 -36
- package/dist/esm/authorization/organizationMemberAbility.mock.js.map +0 -1
- package/dist/esm/authorization/organizationMemberAbility.test.d.ts +0 -2
- package/dist/esm/authorization/organizationMemberAbility.test.d.ts.map +0 -1
- package/dist/esm/authorization/organizationMemberAbility.test.js +0 -1483
- package/dist/esm/authorization/organizationMemberAbility.test.js.map +0 -1
- package/dist/esm/authorization/parseScopes.test.d.ts +0 -2
- package/dist/esm/authorization/parseScopes.test.d.ts.map +0 -1
- package/dist/esm/authorization/parseScopes.test.js +0 -123
- package/dist/esm/authorization/parseScopes.test.js.map +0 -1
- package/dist/esm/authorization/projectMemberAbility.mock.d.ts +0 -7
- package/dist/esm/authorization/projectMemberAbility.mock.d.ts.map +0 -1
- package/dist/esm/authorization/projectMemberAbility.mock.js +0 -27
- package/dist/esm/authorization/projectMemberAbility.mock.js.map +0 -1
- package/dist/esm/authorization/projectMemberAbility.test.d.ts +0 -2
- package/dist/esm/authorization/projectMemberAbility.test.d.ts.map +0 -1
- package/dist/esm/authorization/projectMemberAbility.test.js +0 -1189
- package/dist/esm/authorization/projectMemberAbility.test.js.map +0 -1
- package/dist/esm/authorization/roadmapAccess.test.d.ts +0 -2
- package/dist/esm/authorization/roadmapAccess.test.d.ts.map +0 -1
- package/dist/esm/authorization/roadmapAccess.test.js +0 -159
- package/dist/esm/authorization/roadmapAccess.test.js.map +0 -1
- package/dist/esm/authorization/rolePresets.test.d.ts +0 -2
- package/dist/esm/authorization/rolePresets.test.d.ts.map +0 -1
- package/dist/esm/authorization/rolePresets.test.js +0 -65
- package/dist/esm/authorization/rolePresets.test.js.map +0 -1
- package/dist/esm/authorization/roleToScopeMapping.test.d.ts +0 -2
- package/dist/esm/authorization/roleToScopeMapping.test.d.ts.map +0 -1
- package/dist/esm/authorization/roleToScopeMapping.test.js +0 -623
- package/dist/esm/authorization/roleToScopeMapping.test.js.map +0 -1
- package/dist/esm/authorization/roleToScopeMapping.testUtils.d.ts +0 -1615
- package/dist/esm/authorization/roleToScopeMapping.testUtils.d.ts.map +0 -1
- package/dist/esm/authorization/roleToScopeMapping.testUtils.js +0 -335
- package/dist/esm/authorization/roleToScopeMapping.testUtils.js.map +0 -1
- package/dist/esm/authorization/roleToScopeParity.test.d.ts +0 -2
- package/dist/esm/authorization/roleToScopeParity.test.d.ts.map +0 -1
- package/dist/esm/authorization/roleToScopeParity.test.js +0 -335
- package/dist/esm/authorization/roleToScopeParity.test.js.map +0 -1
- package/dist/esm/authorization/scopeAbilityBuilder.test.d.ts +0 -2
- package/dist/esm/authorization/scopeAbilityBuilder.test.d.ts.map +0 -1
- package/dist/esm/authorization/scopeAbilityBuilder.test.js +0 -1871
- package/dist/esm/authorization/scopeAbilityBuilder.test.js.map +0 -1
- package/dist/esm/authorization/scopes.level.test.d.ts +0 -2
- package/dist/esm/authorization/scopes.level.test.d.ts.map +0 -1
- package/dist/esm/authorization/scopes.level.test.js +0 -55
- package/dist/esm/authorization/scopes.level.test.js.map +0 -1
- package/dist/esm/authorization/scopes.test.d.ts +0 -2
- package/dist/esm/authorization/scopes.test.d.ts.map +0 -1
- package/dist/esm/authorization/scopes.test.js +0 -197
- package/dist/esm/authorization/scopes.test.js.map +0 -1
- package/dist/esm/authorization/serviceAccountAbility.test.d.ts +0 -2
- package/dist/esm/authorization/serviceAccountAbility.test.d.ts.map +0 -1
- package/dist/esm/authorization/serviceAccountAbility.test.js +0 -222
- package/dist/esm/authorization/serviceAccountAbility.test.js.map +0 -1
- package/dist/esm/authorization/space/customRoleProjectRole.test.d.ts +0 -2
- package/dist/esm/authorization/space/customRoleProjectRole.test.d.ts.map +0 -1
- package/dist/esm/authorization/space/customRoleProjectRole.test.js +0 -54
- package/dist/esm/authorization/space/customRoleProjectRole.test.js.map +0 -1
- package/dist/esm/authorization/space/spaceAccessResolver.test.d.ts +0 -2
- package/dist/esm/authorization/space/spaceAccessResolver.test.d.ts.map +0 -1
- package/dist/esm/authorization/space/spaceAccessResolver.test.js +0 -707
- package/dist/esm/authorization/space/spaceAccessResolver.test.js.map +0 -1
- package/dist/esm/compiler/exploreCompiler.mock.d.ts +0 -78
- package/dist/esm/compiler/exploreCompiler.mock.d.ts.map +0 -1
- package/dist/esm/compiler/exploreCompiler.mock.js +0 -2446
- package/dist/esm/compiler/exploreCompiler.mock.js.map +0 -1
- package/dist/esm/compiler/exploreCompiler.test.d.ts +0 -2
- package/dist/esm/compiler/exploreCompiler.test.d.ts.map +0 -1
- package/dist/esm/compiler/exploreCompiler.test.js +0 -1753
- package/dist/esm/compiler/exploreCompiler.test.js.map +0 -1
- package/dist/esm/compiler/fieldSetExpander.test.d.ts +0 -2
- package/dist/esm/compiler/fieldSetExpander.test.d.ts.map +0 -1
- package/dist/esm/compiler/fieldSetExpander.test.js +0 -204
- package/dist/esm/compiler/fieldSetExpander.test.js.map +0 -1
- package/dist/esm/compiler/filtersCompiler.mock.d.ts +0 -586
- package/dist/esm/compiler/filtersCompiler.mock.d.ts.map +0 -1
- package/dist/esm/compiler/filtersCompiler.mock.js +0 -791
- package/dist/esm/compiler/filtersCompiler.mock.js.map +0 -1
- package/dist/esm/compiler/filtersCompiler.test.d.ts +0 -2
- package/dist/esm/compiler/filtersCompiler.test.d.ts.map +0 -1
- package/dist/esm/compiler/filtersCompiler.test.js +0 -2194
- package/dist/esm/compiler/filtersCompiler.test.js.map +0 -1
- package/dist/esm/compiler/joinInflation.test.d.ts +0 -2
- package/dist/esm/compiler/joinInflation.test.d.ts.map +0 -1
- package/dist/esm/compiler/joinInflation.test.js +0 -28
- package/dist/esm/compiler/joinInflation.test.js.map +0 -1
- package/dist/esm/compiler/lightdashModelConverter.test.d.ts +0 -2
- package/dist/esm/compiler/lightdashModelConverter.test.d.ts.map +0 -1
- package/dist/esm/compiler/lightdashModelConverter.test.js +0 -35
- package/dist/esm/compiler/lightdashModelConverter.test.js.map +0 -1
- package/dist/esm/compiler/lightdashProjectConfig.test.d.ts +0 -2
- package/dist/esm/compiler/lightdashProjectConfig.test.d.ts.map +0 -1
- package/dist/esm/compiler/lightdashProjectConfig.test.js +0 -94
- package/dist/esm/compiler/lightdashProjectConfig.test.js.map +0 -1
- package/dist/esm/compiler/parameters.test.d.ts +0 -2
- package/dist/esm/compiler/parameters.test.d.ts.map +0 -1
- package/dist/esm/compiler/parameters.test.js +0 -587
- package/dist/esm/compiler/parameters.test.js.map +0 -1
- package/dist/esm/compiler/translator.mock.d.ts +0 -159
- package/dist/esm/compiler/translator.mock.d.ts.map +0 -1
- package/dist/esm/compiler/translator.mock.js +0 -2232
- package/dist/esm/compiler/translator.mock.js.map +0 -1
- package/dist/esm/compiler/translator.test.d.ts +0 -2
- package/dist/esm/compiler/translator.test.d.ts.map +0 -1
- package/dist/esm/compiler/translator.test.js +0 -2685
- package/dist/esm/compiler/translator.test.js.map +0 -1
- package/dist/esm/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.d.ts +0 -65
- package/dist/esm/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.d.ts.map +0 -1
- package/dist/esm/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.js +0 -220
- package/dist/esm/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.js.map +0 -1
- package/dist/esm/dbt/DbtSchemaEditor/DbtSchemaEditor.test.d.ts +0 -2
- package/dist/esm/dbt/DbtSchemaEditor/DbtSchemaEditor.test.d.ts.map +0 -1
- package/dist/esm/dbt/DbtSchemaEditor/DbtSchemaEditor.test.js +0 -275
- package/dist/esm/dbt/DbtSchemaEditor/DbtSchemaEditor.test.js.map +0 -1
- package/dist/esm/dbt/manifest.test.d.ts +0 -2
- package/dist/esm/dbt/manifest.test.d.ts.map +0 -1
- package/dist/esm/dbt/manifest.test.js +0 -416
- package/dist/esm/dbt/manifest.test.js.map +0 -1
- package/dist/esm/dbt/metricFlow.test.d.ts +0 -2
- package/dist/esm/dbt/metricFlow.test.d.ts.map +0 -1
- package/dist/esm/dbt/metricFlow.test.js +0 -1343
- package/dist/esm/dbt/metricFlow.test.js.map +0 -1
- package/dist/esm/dbt/validation.csp.test.d.ts +0 -1
- package/dist/esm/dbt/validation.csp.test.d.ts.map +0 -1
- package/dist/esm/dbt/validation.csp.test.js +0 -33
- package/dist/esm/dbt/validation.csp.test.js.map +0 -1
- package/dist/esm/dbt/validation.test.d.ts +0 -2
- package/dist/esm/dbt/validation.test.d.ts.map +0 -1
- package/dist/esm/dbt/validation.test.js +0 -201
- package/dist/esm/dbt/validation.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/aiAgentReviewClassifierTypes.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/aiAgentReviewClassifierTypes.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/aiAgentReviewClassifierTypes.test.js +0 -546
- package/dist/esm/ee/AiAgent/aiAgentReviewClassifierTypes.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.js +0 -54
- package/dist/esm/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/dashboardContext.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/dashboardContext.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/dashboardContext.test.js +0 -59
- package/dist/esm/ee/AiAgent/dashboardContext.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.js +0 -634
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/projectContext.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/projectContext.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/projectContext.test.js +0 -532
- package/dist/esm/ee/AiAgent/projectContext.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/McpSchemaCompatLayer.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/McpSchemaCompatLayer.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/McpSchemaCompatLayer.test.js +0 -541
- package/dist/esm/ee/AiAgent/schemas/McpSchemaCompatLayer.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/defineTool.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/defineTool.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/defineTool.test.js +0 -281
- package/dist/esm/ee/AiAgent/schemas/defineTool.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/examples.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/examples.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/examples.test.js +0 -86
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/examples.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.js +0 -384
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/operators.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/operators.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/operators.test.js +0 -14
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/operators.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/parse.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/parse.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/parse.test.js +0 -362
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/parse.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.js +0 -218
- package/dist/esm/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/persistedRunQueryArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/persistedRunQueryArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/persistedRunQueryArgs.test.js +0 -98
- package/dist/esm/ee/AiAgent/schemas/persistedRunQueryArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -152
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.test.js +0 -19
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.js +0 -34
- package/dist/esm/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.js +0 -96
- package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.js +0 -58
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.js +0 -7
- package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js +0 -66
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js +0 -25
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.js +0 -173
- package/dist/esm/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.js +0 -386
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.js +0 -86
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.js +0 -32
- package/dist/esm/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.js +0 -96
- package/dist/esm/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/utils.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/utils.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/utils.test.js +0 -542
- package/dist/esm/ee/AiAgent/utils.test.js.map +0 -1
- package/dist/esm/ee/aiDeepResearch/markdown.test.d.ts +0 -2
- package/dist/esm/ee/aiDeepResearch/markdown.test.d.ts.map +0 -1
- package/dist/esm/ee/aiDeepResearch/markdown.test.js +0 -329
- package/dist/esm/ee/aiDeepResearch/markdown.test.js.map +0 -1
- package/dist/esm/ee/aiDeepResearch/types.test.d.ts +0 -2
- package/dist/esm/ee/aiDeepResearch/types.test.d.ts.map +0 -1
- package/dist/esm/ee/aiDeepResearch/types.test.js +0 -7
- package/dist/esm/ee/aiDeepResearch/types.test.js.map +0 -1
- package/dist/esm/ee/aiWriteback/mcpTask.test.d.ts +0 -2
- package/dist/esm/ee/aiWriteback/mcpTask.test.d.ts.map +0 -1
- package/dist/esm/ee/aiWriteback/mcpTask.test.js +0 -34
- package/dist/esm/ee/aiWriteback/mcpTask.test.js.map +0 -1
- package/dist/esm/ee/apps/chartTypeIcons.test.d.ts +0 -2
- package/dist/esm/ee/apps/chartTypeIcons.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/chartTypeIcons.test.js +0 -28
- package/dist/esm/ee/apps/chartTypeIcons.test.js.map +0 -1
- package/dist/esm/ee/apps/code.test.d.ts +0 -2
- package/dist/esm/ee/apps/code.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/code.test.js +0 -510
- package/dist/esm/ee/apps/code.test.js.map +0 -1
- package/dist/esm/ee/apps/customChartTypeSerializer.test.d.ts +0 -2
- package/dist/esm/ee/apps/customChartTypeSerializer.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/customChartTypeSerializer.test.js +0 -145
- package/dist/esm/ee/apps/customChartTypeSerializer.test.js.map +0 -1
- package/dist/esm/ee/apps/dataAppVizSchemaChanges.test.d.ts +0 -2
- package/dist/esm/ee/apps/dataAppVizSchemaChanges.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/dataAppVizSchemaChanges.test.js +0 -153
- package/dist/esm/ee/apps/dataAppVizSchemaChanges.test.js.map +0 -1
- package/dist/esm/ee/apps/dataReferenceChecker.test.d.ts +0 -2
- package/dist/esm/ee/apps/dataReferenceChecker.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/dataReferenceChecker.test.js +0 -380
- package/dist/esm/ee/apps/dataReferenceChecker.test.js.map +0 -1
- package/dist/esm/ee/apps/dataReferences.test.d.ts +0 -2
- package/dist/esm/ee/apps/dataReferences.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/dataReferences.test.js +0 -607
- package/dist/esm/ee/apps/dataReferences.test.js.map +0 -1
- package/dist/esm/ee/apps/dataReferencesDocs.test.d.ts +0 -2
- package/dist/esm/ee/apps/dataReferencesDocs.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/dataReferencesDocs.test.js +0 -139
- package/dist/esm/ee/apps/dataReferencesDocs.test.js.map +0 -1
- package/dist/esm/ee/apps/deliveryCapture.test.d.ts +0 -2
- package/dist/esm/ee/apps/deliveryCapture.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/deliveryCapture.test.js +0 -205
- package/dist/esm/ee/apps/deliveryCapture.test.js.map +0 -1
- package/dist/esm/ee/apps/elementReference.test.d.ts +0 -2
- package/dist/esm/ee/apps/elementReference.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/elementReference.test.js +0 -34
- package/dist/esm/ee/apps/elementReference.test.js.map +0 -1
- package/dist/esm/ee/apps/registry.test.d.ts +0 -2
- package/dist/esm/ee/apps/registry.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/registry.test.js +0 -90
- package/dist/esm/ee/apps/registry.test.js.map +0 -1
- package/dist/esm/ee/apps/types.test.d.ts +0 -2
- package/dist/esm/ee/apps/types.test.d.ts.map +0 -1
- package/dist/esm/ee/apps/types.test.js +0 -441
- package/dist/esm/ee/apps/types.test.js.map +0 -1
- package/dist/esm/ee/embed/index.test.d.ts +0 -2
- package/dist/esm/ee/embed/index.test.d.ts.map +0 -1
- package/dist/esm/ee/embed/index.test.js +0 -157
- package/dist/esm/ee/embed/index.test.js.map +0 -1
- package/dist/esm/ee/homepage/schema.test.d.ts +0 -2
- package/dist/esm/ee/homepage/schema.test.d.ts.map +0 -1
- package/dist/esm/ee/homepage/schema.test.js +0 -338
- package/dist/esm/ee/homepage/schema.test.js.map +0 -1
- package/dist/esm/ee/homepage/verifiedSource.schema.test.d.ts +0 -2
- package/dist/esm/ee/homepage/verifiedSource.schema.test.d.ts.map +0 -1
- package/dist/esm/ee/homepage/verifiedSource.schema.test.js +0 -27
- package/dist/esm/ee/homepage/verifiedSource.schema.test.js.map +0 -1
- package/dist/esm/ee/mcp/tasks.test.d.ts +0 -2
- package/dist/esm/ee/mcp/tasks.test.d.ts.map +0 -1
- package/dist/esm/ee/mcp/tasks.test.js +0 -50
- package/dist/esm/ee/mcp/tasks.test.js.map +0 -1
- package/dist/esm/ee/preAggregates/dimensionEligibility.test.d.ts +0 -2
- package/dist/esm/ee/preAggregates/dimensionEligibility.test.d.ts.map +0 -1
- package/dist/esm/ee/preAggregates/dimensionEligibility.test.js +0 -216
- package/dist/esm/ee/preAggregates/dimensionEligibility.test.js.map +0 -1
- package/dist/esm/ee/preAggregates/metricEligibility.test.d.ts +0 -2
- package/dist/esm/ee/preAggregates/metricEligibility.test.d.ts.map +0 -1
- package/dist/esm/ee/preAggregates/metricEligibility.test.js +0 -374
- package/dist/esm/ee/preAggregates/metricEligibility.test.js.map +0 -1
- package/dist/esm/ee/preAggregates/numberMetricDependencies.test.d.ts +0 -2
- package/dist/esm/ee/preAggregates/numberMetricDependencies.test.d.ts.map +0 -1
- package/dist/esm/ee/preAggregates/numberMetricDependencies.test.js +0 -105
- package/dist/esm/ee/preAggregates/numberMetricDependencies.test.js.map +0 -1
- package/dist/esm/ee/types/aiReviewNotification.test.d.ts +0 -2
- package/dist/esm/ee/types/aiReviewNotification.test.d.ts.map +0 -1
- package/dist/esm/ee/types/aiReviewNotification.test.js +0 -117
- package/dist/esm/ee/types/aiReviewNotification.test.js.map +0 -1
- package/dist/esm/ee/types/managedAgentPolicy.test.d.ts +0 -2
- package/dist/esm/ee/types/managedAgentPolicy.test.d.ts.map +0 -1
- package/dist/esm/ee/types/managedAgentPolicy.test.js +0 -48
- package/dist/esm/ee/types/managedAgentPolicy.test.js.map +0 -1
- package/dist/esm/ee/types/managedAgentSpaceScope.test.d.ts +0 -2
- package/dist/esm/ee/types/managedAgentSpaceScope.test.d.ts.map +0 -1
- package/dist/esm/ee/types/managedAgentSpaceScope.test.js +0 -45
- package/dist/esm/ee/types/managedAgentSpaceScope.test.js.map +0 -1
- package/dist/esm/index.barrel.test.d.ts +0 -2
- package/dist/esm/index.barrel.test.d.ts.map +0 -1
- package/dist/esm/index.barrel.test.js +0 -62
- package/dist/esm/index.barrel.test.js.map +0 -1
- package/dist/esm/index.mock.d.ts +0 -8
- package/dist/esm/index.mock.d.ts.map +0 -1
- package/dist/esm/index.mock.js +0 -44
- package/dist/esm/index.mock.js.map +0 -1
- package/dist/esm/index.test.d.ts +0 -2
- package/dist/esm/index.test.d.ts.map +0 -1
- package/dist/esm/index.test.js +0 -201
- package/dist/esm/index.test.js.map +0 -1
- package/dist/esm/lightdash/LightdashModelEditor.test.d.ts +0 -2
- package/dist/esm/lightdash/LightdashModelEditor.test.d.ts.map +0 -1
- package/dist/esm/lightdash/LightdashModelEditor.test.js +0 -193
- package/dist/esm/lightdash/LightdashModelEditor.test.js.map +0 -1
- package/dist/esm/lightdash/loader.test.d.ts +0 -2
- package/dist/esm/lightdash/loader.test.d.ts.map +0 -1
- package/dist/esm/lightdash/loader.test.js +0 -72
- package/dist/esm/lightdash/loader.test.js.map +0 -1
- package/dist/esm/packageExports.test.d.ts +0 -2
- package/dist/esm/packageExports.test.d.ts.map +0 -1
- package/dist/esm/packageExports.test.js +0 -40
- package/dist/esm/packageExports.test.js.map +0 -1
- package/dist/esm/parameters/reservedParameters.test.d.ts +0 -2
- package/dist/esm/parameters/reservedParameters.test.d.ts.map +0 -1
- package/dist/esm/parameters/reservedParameters.test.js +0 -101
- package/dist/esm/parameters/reservedParameters.test.js.map +0 -1
- package/dist/esm/pivot/buildWarehouseTotals.test.d.ts +0 -2
- package/dist/esm/pivot/buildWarehouseTotals.test.d.ts.map +0 -1
- package/dist/esm/pivot/buildWarehouseTotals.test.js +0 -42
- package/dist/esm/pivot/buildWarehouseTotals.test.js.map +0 -1
- package/dist/esm/pivot/deriveDataAppVizPivotConfig.test.d.ts +0 -2
- package/dist/esm/pivot/deriveDataAppVizPivotConfig.test.d.ts.map +0 -1
- package/dist/esm/pivot/deriveDataAppVizPivotConfig.test.js +0 -31
- package/dist/esm/pivot/deriveDataAppVizPivotConfig.test.js.map +0 -1
- package/dist/esm/pivot/derivePivotConfigFromChart.mock.d.ts +0 -8
- package/dist/esm/pivot/derivePivotConfigFromChart.mock.d.ts.map +0 -1
- package/dist/esm/pivot/derivePivotConfigFromChart.mock.js +0 -112
- package/dist/esm/pivot/derivePivotConfigFromChart.mock.js.map +0 -1
- package/dist/esm/pivot/derivePivotConfigFromChart.test.d.ts +0 -2
- package/dist/esm/pivot/derivePivotConfigFromChart.test.d.ts.map +0 -1
- package/dist/esm/pivot/derivePivotConfigFromChart.test.js +0 -1419
- package/dist/esm/pivot/derivePivotConfigFromChart.test.js.map +0 -1
- package/dist/esm/pivot/pivotColumnName.test.d.ts +0 -2
- package/dist/esm/pivot/pivotColumnName.test.d.ts.map +0 -1
- package/dist/esm/pivot/pivotColumnName.test.js +0 -47
- package/dist/esm/pivot/pivotColumnName.test.js.map +0 -1
- package/dist/esm/pivot/pivotConfig.test.d.ts +0 -2
- package/dist/esm/pivot/pivotConfig.test.d.ts.map +0 -1
- package/dist/esm/pivot/pivotConfig.test.js +0 -228
- package/dist/esm/pivot/pivotConfig.test.js.map +0 -1
- package/dist/esm/pivot/pivotQueryResults.mock.d.ts +0 -14
- package/dist/esm/pivot/pivotQueryResults.mock.d.ts.map +0 -1
- package/dist/esm/pivot/pivotQueryResults.mock.js +0 -2082
- package/dist/esm/pivot/pivotQueryResults.mock.js.map +0 -1
- package/dist/esm/pivot/pivotQueryResults.test.d.ts +0 -2
- package/dist/esm/pivot/pivotQueryResults.test.d.ts.map +0 -1
- package/dist/esm/pivot/pivotQueryResults.test.js +0 -1676
- package/dist/esm/pivot/pivotQueryResults.test.js.map +0 -1
- package/dist/esm/pivot/pivotResultsAsCsv.test.d.ts +0 -2
- package/dist/esm/pivot/pivotResultsAsCsv.test.d.ts.map +0 -1
- package/dist/esm/pivot/pivotResultsAsCsv.test.js +0 -264
- package/dist/esm/pivot/pivotResultsAsCsv.test.js.map +0 -1
- package/dist/esm/pivot/timeIntervalToExcelNumFmt.test.d.ts +0 -2
- package/dist/esm/pivot/timeIntervalToExcelNumFmt.test.d.ts.map +0 -1
- package/dist/esm/pivot/timeIntervalToExcelNumFmt.test.js +0 -54
- package/dist/esm/pivot/timeIntervalToExcelNumFmt.test.js.map +0 -1
- package/dist/esm/preAggregates/definition.test.d.ts +0 -2
- package/dist/esm/preAggregates/definition.test.d.ts.map +0 -1
- package/dist/esm/preAggregates/definition.test.js +0 -291
- package/dist/esm/preAggregates/definition.test.js.map +0 -1
- package/dist/esm/preAggregates/schema.test.d.ts +0 -2
- package/dist/esm/preAggregates/schema.test.d.ts.map +0 -1
- package/dist/esm/preAggregates/schema.test.js +0 -225
- package/dist/esm/preAggregates/schema.test.js.map +0 -1
- package/dist/esm/schemas/generateChartAsCodeSchema.test.d.ts +0 -2
- package/dist/esm/schemas/generateChartAsCodeSchema.test.d.ts.map +0 -1
- package/dist/esm/schemas/generateChartAsCodeSchema.test.js +0 -177
- package/dist/esm/schemas/generateChartAsCodeSchema.test.js.map +0 -1
- package/dist/esm/schemas/generateDashboardAsCodeSchema.test.d.ts +0 -2
- package/dist/esm/schemas/generateDashboardAsCodeSchema.test.d.ts.map +0 -1
- package/dist/esm/schemas/generateDashboardAsCodeSchema.test.js +0 -504
- package/dist/esm/schemas/generateDashboardAsCodeSchema.test.js.map +0 -1
- package/dist/esm/templating/liquidSql.test.d.ts +0 -2
- package/dist/esm/templating/liquidSql.test.d.ts.map +0 -1
- package/dist/esm/templating/liquidSql.test.js +0 -397
- package/dist/esm/templating/liquidSql.test.js.map +0 -1
- package/dist/esm/templating/template.mock.d.ts +0 -45
- package/dist/esm/templating/template.mock.d.ts.map +0 -1
- package/dist/esm/templating/template.mock.js +0 -45
- package/dist/esm/templating/template.mock.js.map +0 -1
- package/dist/esm/templating/template.test.d.ts +0 -2
- package/dist/esm/templating/template.test.d.ts.map +0 -1
- package/dist/esm/templating/template.test.js +0 -21
- package/dist/esm/templating/template.test.js.map +0 -1
- package/dist/esm/types/api/notifications.test.d.ts +0 -2
- package/dist/esm/types/api/notifications.test.d.ts.map +0 -1
- package/dist/esm/types/api/notifications.test.js +0 -5
- package/dist/esm/types/api/notifications.test.js.map +0 -1
- package/dist/esm/types/applyDimensionOverrides.test.d.ts +0 -2
- package/dist/esm/types/applyDimensionOverrides.test.d.ts.map +0 -1
- package/dist/esm/types/applyDimensionOverrides.test.js +0 -579
- package/dist/esm/types/applyDimensionOverrides.test.js.map +0 -1
- package/dist/esm/types/applyMetricOverrides.test.d.ts +0 -2
- package/dist/esm/types/applyMetricOverrides.test.d.ts.map +0 -1
- package/dist/esm/types/applyMetricOverrides.test.js +0 -80
- package/dist/esm/types/applyMetricOverrides.test.js.map +0 -1
- package/dist/esm/types/contentAsCode/base.test.d.ts +0 -2
- package/dist/esm/types/contentAsCode/base.test.d.ts.map +0 -1
- package/dist/esm/types/contentAsCode/base.test.js +0 -59
- package/dist/esm/types/contentAsCode/base.test.js.map +0 -1
- package/dist/esm/types/contentAsCode/draftRebase.test.d.ts +0 -2
- package/dist/esm/types/contentAsCode/draftRebase.test.d.ts.map +0 -1
- package/dist/esm/types/contentAsCode/draftRebase.test.js +0 -115
- package/dist/esm/types/contentAsCode/draftRebase.test.js.map +0 -1
- package/dist/esm/types/contentAsCode/parsers.test.d.ts +0 -2
- package/dist/esm/types/contentAsCode/parsers.test.d.ts.map +0 -1
- package/dist/esm/types/contentAsCode/parsers.test.js +0 -44
- package/dist/esm/types/contentAsCode/parsers.test.js.map +0 -1
- package/dist/esm/types/dataRetention.test.d.ts +0 -2
- package/dist/esm/types/dataRetention.test.d.ts.map +0 -1
- package/dist/esm/types/dataRetention.test.js +0 -55
- package/dist/esm/types/dataRetention.test.js.map +0 -1
- package/dist/esm/types/dataTimezonePreview.test.d.ts +0 -2
- package/dist/esm/types/dataTimezonePreview.test.d.ts.map +0 -1
- package/dist/esm/types/dataTimezonePreview.test.js +0 -106
- package/dist/esm/types/dataTimezonePreview.test.js.map +0 -1
- package/dist/esm/types/dbt.test.d.ts +0 -2
- package/dist/esm/types/dbt.test.d.ts.map +0 -1
- package/dist/esm/types/dbt.test.js +0 -389
- package/dist/esm/types/dbt.test.js.map +0 -1
- package/dist/esm/types/errors.test.d.ts +0 -2
- package/dist/esm/types/errors.test.d.ts.map +0 -1
- package/dist/esm/types/errors.test.js +0 -14
- package/dist/esm/types/errors.test.js.map +0 -1
- package/dist/esm/types/field.test.d.ts +0 -2
- package/dist/esm/types/field.test.d.ts.map +0 -1
- package/dist/esm/types/field.test.js +0 -83
- package/dist/esm/types/field.test.js.map +0 -1
- package/dist/esm/types/filter.test.d.ts +0 -2
- package/dist/esm/types/filter.test.d.ts.map +0 -1
- package/dist/esm/types/filter.test.js +0 -396
- package/dist/esm/types/filter.test.js.map +0 -1
- package/dist/esm/types/filterGrammar.test.d.ts +0 -2
- package/dist/esm/types/filterGrammar.test.d.ts.map +0 -1
- package/dist/esm/types/filterGrammar.test.js +0 -745
- package/dist/esm/types/filterGrammar.test.js.map +0 -1
- package/dist/esm/types/filterGrammarConversion.test.d.ts +0 -2
- package/dist/esm/types/filterGrammarConversion.test.d.ts.map +0 -1
- package/dist/esm/types/filterGrammarConversion.test.js +0 -308
- package/dist/esm/types/filterGrammarConversion.test.js.map +0 -1
- package/dist/esm/types/gitIntegration.test.d.ts +0 -2
- package/dist/esm/types/gitIntegration.test.d.ts.map +0 -1
- package/dist/esm/types/gitIntegration.test.js +0 -51
- package/dist/esm/types/gitIntegration.test.js.map +0 -1
- package/dist/esm/types/jira.test.d.ts +0 -2
- package/dist/esm/types/jira.test.d.ts.map +0 -1
- package/dist/esm/types/jira.test.js +0 -11
- package/dist/esm/types/jira.test.js.map +0 -1
- package/dist/esm/types/linear.test.d.ts +0 -2
- package/dist/esm/types/linear.test.d.ts.map +0 -1
- package/dist/esm/types/linear.test.js +0 -13
- package/dist/esm/types/linear.test.js.map +0 -1
- package/dist/esm/types/mergeQuery.test.d.ts +0 -2
- package/dist/esm/types/mergeQuery.test.d.ts.map +0 -1
- package/dist/esm/types/mergeQuery.test.js +0 -385
- package/dist/esm/types/mergeQuery.test.js.map +0 -1
- package/dist/esm/types/organizationSettings.test.d.ts +0 -2
- package/dist/esm/types/organizationSettings.test.d.ts.map +0 -1
- package/dist/esm/types/organizationSettings.test.js +0 -105
- package/dist/esm/types/organizationSettings.test.js.map +0 -1
- package/dist/esm/types/periodOverPeriodComparison.test.d.ts +0 -2
- package/dist/esm/types/periodOverPeriodComparison.test.d.ts.map +0 -1
- package/dist/esm/types/periodOverPeriodComparison.test.js +0 -99
- package/dist/esm/types/periodOverPeriodComparison.test.js.map +0 -1
- package/dist/esm/types/projects.test.d.ts +0 -2
- package/dist/esm/types/projects.test.d.ts.map +0 -1
- package/dist/esm/types/projects.test.js +0 -319
- package/dist/esm/types/projects.test.js.map +0 -1
- package/dist/esm/types/savedCharts.test.d.ts +0 -2
- package/dist/esm/types/savedCharts.test.d.ts.map +0 -1
- package/dist/esm/types/savedCharts.test.js +0 -136
- package/dist/esm/types/savedCharts.test.js.map +0 -1
- package/dist/esm/types/scheduler.test.d.ts +0 -2
- package/dist/esm/types/scheduler.test.d.ts.map +0 -1
- package/dist/esm/types/scheduler.test.js +0 -36
- package/dist/esm/types/scheduler.test.js.map +0 -1
- package/dist/esm/types/schedulerTaskList.test.d.ts +0 -2
- package/dist/esm/types/schedulerTaskList.test.d.ts.map +0 -1
- package/dist/esm/types/schedulerTaskList.test.js +0 -16
- package/dist/esm/types/schedulerTaskList.test.js.map +0 -1
- package/dist/esm/types/userAvatars.test.d.ts +0 -2
- package/dist/esm/types/userAvatars.test.d.ts.map +0 -1
- package/dist/esm/types/userAvatars.test.js +0 -124
- package/dist/esm/types/userAvatars.test.js.map +0 -1
- package/dist/esm/types/userWarehouseCredentials.test.d.ts +0 -2
- package/dist/esm/types/userWarehouseCredentials.test.d.ts.map +0 -1
- package/dist/esm/types/userWarehouseCredentials.test.js +0 -80
- package/dist/esm/types/userWarehouseCredentials.test.js.map +0 -1
- package/dist/esm/types/warehouse.test.d.ts +0 -2
- package/dist/esm/types/warehouse.test.d.ts.map +0 -1
- package/dist/esm/types/warehouse.test.js +0 -104
- package/dist/esm/types/warehouse.test.js.map +0 -1
- package/dist/esm/utils/accessors.test.d.ts +0 -2
- package/dist/esm/utils/accessors.test.d.ts.map +0 -1
- package/dist/esm/utils/accessors.test.js +0 -45
- package/dist/esm/utils/accessors.test.js.map +0 -1
- package/dist/esm/utils/additionalMetrics.test.d.ts +0 -2
- package/dist/esm/utils/additionalMetrics.test.d.ts.map +0 -1
- package/dist/esm/utils/additionalMetrics.test.js +0 -336
- package/dist/esm/utils/additionalMetrics.test.js.map +0 -1
- package/dist/esm/utils/applyChartFilterOverrides.test.d.ts +0 -2
- package/dist/esm/utils/applyChartFilterOverrides.test.d.ts.map +0 -1
- package/dist/esm/utils/applyChartFilterOverrides.test.js +0 -216
- package/dist/esm/utils/applyChartFilterOverrides.test.js.map +0 -1
- package/dist/esm/utils/bigNumber.test.d.ts +0 -2
- package/dist/esm/utils/bigNumber.test.d.ts.map +0 -1
- package/dist/esm/utils/bigNumber.test.js +0 -102
- package/dist/esm/utils/bigNumber.test.js.map +0 -1
- package/dist/esm/utils/booleanConverter.test.d.ts +0 -2
- package/dist/esm/utils/booleanConverter.test.d.ts.map +0 -1
- package/dist/esm/utils/booleanConverter.test.js +0 -59
- package/dist/esm/utils/booleanConverter.test.js.map +0 -1
- package/dist/esm/utils/chartValidation.test.d.ts +0 -2
- package/dist/esm/utils/chartValidation.test.d.ts.map +0 -1
- package/dist/esm/utils/chartValidation.test.js +0 -45
- package/dist/esm/utils/chartValidation.test.js.map +0 -1
- package/dist/esm/utils/charts.test.d.ts +0 -2
- package/dist/esm/utils/charts.test.d.ts.map +0 -1
- package/dist/esm/utils/charts.test.js +0 -44
- package/dist/esm/utils/charts.test.js.map +0 -1
- package/dist/esm/utils/colors.test.d.ts +0 -2
- package/dist/esm/utils/colors.test.d.ts.map +0 -1
- package/dist/esm/utils/colors.test.js +0 -85
- package/dist/esm/utils/colors.test.js.map +0 -1
- package/dist/esm/utils/conditionalFormatExpressions.test.d.ts +0 -2
- package/dist/esm/utils/conditionalFormatExpressions.test.d.ts.map +0 -1
- package/dist/esm/utils/conditionalFormatExpressions.test.js +0 -161
- package/dist/esm/utils/conditionalFormatExpressions.test.js.map +0 -1
- package/dist/esm/utils/conditionalFormatting.test.d.ts +0 -2
- package/dist/esm/utils/conditionalFormatting.test.d.ts.map +0 -1
- package/dist/esm/utils/conditionalFormatting.test.js +0 -359
- package/dist/esm/utils/conditionalFormatting.test.js.map +0 -1
- package/dist/esm/utils/connectionChanges.test.d.ts +0 -2
- package/dist/esm/utils/connectionChanges.test.d.ts.map +0 -1
- package/dist/esm/utils/connectionChanges.test.js +0 -166
- package/dist/esm/utils/connectionChanges.test.js.map +0 -1
- package/dist/esm/utils/customDimensions.test.d.ts +0 -2
- package/dist/esm/utils/customDimensions.test.d.ts.map +0 -1
- package/dist/esm/utils/customDimensions.test.js +0 -232
- package/dist/esm/utils/customDimensions.test.js.map +0 -1
- package/dist/esm/utils/dashboard.test.d.ts +0 -2
- package/dist/esm/utils/dashboard.test.d.ts.map +0 -1
- package/dist/esm/utils/dashboard.test.js +0 -81
- package/dist/esm/utils/dashboard.test.js.map +0 -1
- package/dist/esm/utils/dateZoom.test.d.ts +0 -2
- package/dist/esm/utils/dateZoom.test.d.ts.map +0 -1
- package/dist/esm/utils/dateZoom.test.js +0 -1034
- package/dist/esm/utils/dateZoom.test.js.map +0 -1
- package/dist/esm/utils/dbt.test.d.ts +0 -2
- package/dist/esm/utils/dbt.test.d.ts.map +0 -1
- package/dist/esm/utils/dbt.test.js +0 -39
- package/dist/esm/utils/dbt.test.js.map +0 -1
- package/dist/esm/utils/dependencyGraph.test.d.ts +0 -2
- package/dist/esm/utils/dependencyGraph.test.d.ts.map +0 -1
- package/dist/esm/utils/dependencyGraph.test.js +0 -113
- package/dist/esm/utils/dependencyGraph.test.js.map +0 -1
- package/dist/esm/utils/email.test.d.ts +0 -2
- package/dist/esm/utils/email.test.d.ts.map +0 -1
- package/dist/esm/utils/email.test.js +0 -89
- package/dist/esm/utils/email.test.js.map +0 -1
- package/dist/esm/utils/exportTabs.test.d.ts +0 -2
- package/dist/esm/utils/exportTabs.test.d.ts.map +0 -1
- package/dist/esm/utils/exportTabs.test.js +0 -121
- package/dist/esm/utils/exportTabs.test.js.map +0 -1
- package/dist/esm/utils/fields.mock.d.ts +0 -20
- package/dist/esm/utils/fields.mock.d.ts.map +0 -1
- package/dist/esm/utils/fields.mock.js +0 -252
- package/dist/esm/utils/fields.mock.js.map +0 -1
- package/dist/esm/utils/fields.test.d.ts +0 -2
- package/dist/esm/utils/fields.test.d.ts.map +0 -1
- package/dist/esm/utils/fields.test.js +0 -280
- package/dist/esm/utils/fields.test.js.map +0 -1
- package/dist/esm/utils/filterLabels.test.d.ts +0 -2
- package/dist/esm/utils/filterLabels.test.d.ts.map +0 -1
- package/dist/esm/utils/filterLabels.test.js +0 -79
- package/dist/esm/utils/filterLabels.test.js.map +0 -1
- package/dist/esm/utils/filterLabelsGolden.test.d.ts +0 -2
- package/dist/esm/utils/filterLabelsGolden.test.d.ts.map +0 -1
- package/dist/esm/utils/filterLabelsGolden.test.js +0 -85
- package/dist/esm/utils/filterLabelsGolden.test.js.map +0 -1
- package/dist/esm/utils/filters.mock.d.ts +0 -28
- package/dist/esm/utils/filters.mock.d.ts.map +0 -1
- package/dist/esm/utils/filters.mock.js +0 -533
- package/dist/esm/utils/filters.mock.js.map +0 -1
- package/dist/esm/utils/filters.test.d.ts +0 -2
- package/dist/esm/utils/filters.test.d.ts.map +0 -1
- package/dist/esm/utils/filters.test.js +0 -1984
- package/dist/esm/utils/filters.test.js.map +0 -1
- package/dist/esm/utils/formatting.mock.d.ts +0 -6
- package/dist/esm/utils/formatting.mock.d.ts.map +0 -1
- package/dist/esm/utils/formatting.mock.js +0 -35
- package/dist/esm/utils/formatting.mock.js.map +0 -1
- package/dist/esm/utils/formatting.test.d.ts +0 -2
- package/dist/esm/utils/formatting.test.d.ts.map +0 -1
- package/dist/esm/utils/formatting.test.js +0 -2628
- package/dist/esm/utils/formatting.test.js.map +0 -1
- package/dist/esm/utils/github.test.d.ts +0 -2
- package/dist/esm/utils/github.test.d.ts.map +0 -1
- package/dist/esm/utils/github.test.js +0 -23
- package/dist/esm/utils/github.test.js.map +0 -1
- package/dist/esm/utils/i18n/chartAsCode.test.d.ts +0 -2
- package/dist/esm/utils/i18n/chartAsCode.test.d.ts.map +0 -1
- package/dist/esm/utils/i18n/chartAsCode.test.js +0 -365
- package/dist/esm/utils/i18n/chartAsCode.test.js.map +0 -1
- package/dist/esm/utils/i18n/dashboardAsCode.test.d.ts +0 -2
- package/dist/esm/utils/i18n/dashboardAsCode.test.d.ts.map +0 -1
- package/dist/esm/utils/i18n/dashboardAsCode.test.js +0 -167
- package/dist/esm/utils/i18n/dashboardAsCode.test.js.map +0 -1
- package/dist/esm/utils/i18n/uiStrings.test.d.ts +0 -2
- package/dist/esm/utils/i18n/uiStrings.test.d.ts.map +0 -1
- package/dist/esm/utils/i18n/uiStrings.test.js +0 -42
- package/dist/esm/utils/i18n/uiStrings.test.js.map +0 -1
- package/dist/esm/utils/loadLightdashProjectConfig.mock.d.ts +0 -24
- package/dist/esm/utils/loadLightdashProjectConfig.mock.d.ts.map +0 -1
- package/dist/esm/utils/loadLightdashProjectConfig.mock.js +0 -201
- package/dist/esm/utils/loadLightdashProjectConfig.mock.js.map +0 -1
- package/dist/esm/utils/loadLightdashProjectConfig.test.d.ts +0 -2
- package/dist/esm/utils/loadLightdashProjectConfig.test.d.ts.map +0 -1
- package/dist/esm/utils/loadLightdashProjectConfig.test.js +0 -221
- package/dist/esm/utils/loadLightdashProjectConfig.test.js.map +0 -1
- package/dist/esm/utils/mergeQueryItems.test.d.ts +0 -2
- package/dist/esm/utils/mergeQueryItems.test.d.ts.map +0 -1
- package/dist/esm/utils/mergeQueryItems.test.js +0 -66
- package/dist/esm/utils/mergeQueryItems.test.js.map +0 -1
- package/dist/esm/utils/metricsExplorer.test.d.ts +0 -2
- package/dist/esm/utils/metricsExplorer.test.d.ts.map +0 -1
- package/dist/esm/utils/metricsExplorer.test.js +0 -175
- package/dist/esm/utils/metricsExplorer.test.js.map +0 -1
- package/dist/esm/utils/normalizeCellRawForFilter.test.d.ts +0 -2
- package/dist/esm/utils/normalizeCellRawForFilter.test.d.ts.map +0 -1
- package/dist/esm/utils/normalizeCellRawForFilter.test.js +0 -63
- package/dist/esm/utils/normalizeCellRawForFilter.test.js.map +0 -1
- package/dist/esm/utils/oauth.test.d.ts +0 -2
- package/dist/esm/utils/oauth.test.d.ts.map +0 -1
- package/dist/esm/utils/oauth.test.js +0 -89
- package/dist/esm/utils/oauth.test.js.map +0 -1
- package/dist/esm/utils/previewDeployWorkflow.test.d.ts +0 -2
- package/dist/esm/utils/previewDeployWorkflow.test.d.ts.map +0 -1
- package/dist/esm/utils/previewDeployWorkflow.test.js +0 -173
- package/dist/esm/utils/previewDeployWorkflow.test.js.map +0 -1
- package/dist/esm/utils/projectMemberRole.test.d.ts +0 -2
- package/dist/esm/utils/projectMemberRole.test.d.ts.map +0 -1
- package/dist/esm/utils/projectMemberRole.test.js +0 -36
- package/dist/esm/utils/projectMemberRole.test.js.map +0 -1
- package/dist/esm/utils/queryHistoryList.test.d.ts +0 -2
- package/dist/esm/utils/queryHistoryList.test.d.ts.map +0 -1
- package/dist/esm/utils/queryHistoryList.test.js +0 -89
- package/dist/esm/utils/queryHistoryList.test.js.map +0 -1
- package/dist/esm/utils/resolveQueryTimezone.test.d.ts +0 -2
- package/dist/esm/utils/resolveQueryTimezone.test.d.ts.map +0 -1
- package/dist/esm/utils/resolveQueryTimezone.test.js +0 -151
- package/dist/esm/utils/resolveQueryTimezone.test.js.map +0 -1
- package/dist/esm/utils/resultColumns.test.d.ts +0 -2
- package/dist/esm/utils/resultColumns.test.d.ts.map +0 -1
- package/dist/esm/utils/resultColumns.test.js +0 -191
- package/dist/esm/utils/resultColumns.test.js.map +0 -1
- package/dist/esm/utils/sanitizeHtml.test.d.ts +0 -2
- package/dist/esm/utils/sanitizeHtml.test.d.ts.map +0 -1
- package/dist/esm/utils/sanitizeHtml.test.js +0 -198
- package/dist/esm/utils/sanitizeHtml.test.js.map +0 -1
- package/dist/esm/utils/scheduler.test.d.ts +0 -2
- package/dist/esm/utils/scheduler.test.d.ts.map +0 -1
- package/dist/esm/utils/scheduler.test.js +0 -61
- package/dist/esm/utils/scheduler.test.js.map +0 -1
- package/dist/esm/utils/searchParams.test.d.ts +0 -2
- package/dist/esm/utils/searchParams.test.d.ts.map +0 -1
- package/dist/esm/utils/searchParams.test.js +0 -20
- package/dist/esm/utils/searchParams.test.js.map +0 -1
- package/dist/esm/utils/slack.test.d.ts +0 -2
- package/dist/esm/utils/slack.test.d.ts.map +0 -1
- package/dist/esm/utils/slack.test.js +0 -100
- package/dist/esm/utils/slack.test.js.map +0 -1
- package/dist/esm/utils/slug.test.d.ts +0 -2
- package/dist/esm/utils/slug.test.d.ts.map +0 -1
- package/dist/esm/utils/slug.test.js +0 -129
- package/dist/esm/utils/slug.test.js.map +0 -1
- package/dist/esm/utils/tableCalculationFunctions.test.d.ts +0 -2
- package/dist/esm/utils/tableCalculationFunctions.test.d.ts.map +0 -1
- package/dist/esm/utils/tableCalculationFunctions.test.js +0 -944
- package/dist/esm/utils/tableCalculationFunctions.test.js.map +0 -1
- package/dist/esm/utils/tableCalculationFunctions.utility.test.d.ts +0 -2
- package/dist/esm/utils/tableCalculationFunctions.utility.test.d.ts.map +0 -1
- package/dist/esm/utils/tableCalculationFunctions.utility.test.js +0 -84
- package/dist/esm/utils/tableCalculationFunctions.utility.test.js.map +0 -1
- package/dist/esm/utils/timeFrames.test.d.ts +0 -2
- package/dist/esm/utils/timeFrames.test.d.ts.map +0 -1
- package/dist/esm/utils/timeFrames.test.js +0 -860
- package/dist/esm/utils/timeFrames.test.js.map +0 -1
- package/dist/esm/utils/virtualView.test.d.ts +0 -2
- package/dist/esm/utils/virtualView.test.d.ts.map +0 -1
- package/dist/esm/utils/virtualView.test.js +0 -154
- package/dist/esm/utils/virtualView.test.js.map +0 -1
- package/dist/esm/utils/warehouse.test.d.ts +0 -2
- package/dist/esm/utils/warehouse.test.d.ts.map +0 -1
- package/dist/esm/utils/warehouse.test.js +0 -44
- package/dist/esm/utils/warehouse.test.js.map +0 -1
- package/dist/esm/utils/warehouseLocation.test.d.ts +0 -2
- package/dist/esm/utils/warehouseLocation.test.d.ts.map +0 -1
- package/dist/esm/utils/warehouseLocation.test.js +0 -165
- package/dist/esm/utils/warehouseLocation.test.js.map +0 -1
- package/dist/esm/utils/warehouseResourceLimits.test.d.ts +0 -2
- package/dist/esm/utils/warehouseResourceLimits.test.d.ts.map +0 -1
- package/dist/esm/utils/warehouseResourceLimits.test.js +0 -15
- package/dist/esm/utils/warehouseResourceLimits.test.js.map +0 -1
- package/dist/esm/utils/zodJsonSchema.test.d.ts +0 -2
- package/dist/esm/utils/zodJsonSchema.test.d.ts.map +0 -1
- package/dist/esm/utils/zodJsonSchema.test.js +0 -141
- package/dist/esm/utils/zodJsonSchema.test.js.map +0 -1
- package/dist/esm/visualizations/BigNumberDataModel.test.d.ts +0 -2
- package/dist/esm/visualizations/BigNumberDataModel.test.d.ts.map +0 -1
- package/dist/esm/visualizations/BigNumberDataModel.test.js +0 -344
- package/dist/esm/visualizations/BigNumberDataModel.test.js.map +0 -1
- package/dist/esm/visualizations/CartesianChartDataModel.test.d.ts +0 -2
- package/dist/esm/visualizations/CartesianChartDataModel.test.d.ts.map +0 -1
- package/dist/esm/visualizations/CartesianChartDataModel.test.js +0 -221
- package/dist/esm/visualizations/CartesianChartDataModel.test.js.map +0 -1
- package/dist/esm/visualizations/TableDataModel.test.d.ts +0 -2
- package/dist/esm/visualizations/TableDataModel.test.d.ts.map +0 -1
- package/dist/esm/visualizations/TableDataModel.test.js +0 -62
- package/dist/esm/visualizations/TableDataModel.test.js.map +0 -1
- package/dist/esm/visualizations/helpers/styles/barChartStyles.test.d.ts +0 -2
- package/dist/esm/visualizations/helpers/styles/barChartStyles.test.d.ts.map +0 -1
- package/dist/esm/visualizations/helpers/styles/barChartStyles.test.js +0 -74
- package/dist/esm/visualizations/helpers/styles/barChartStyles.test.js.map +0 -1
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.test.d.ts +0 -2
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.test.d.ts.map +0 -1
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.test.js +0 -29
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.test.js.map +0 -1
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.test.d.ts +0 -2
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.test.d.ts.map +0 -1
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.test.js +0 -37
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.test.js.map +0 -1
- package/dist/esm/visualizations/helpers/tooltipFormatter.test.d.ts +0 -2
- package/dist/esm/visualizations/helpers/tooltipFormatter.test.d.ts.map +0 -1
- package/dist/esm/visualizations/helpers/tooltipFormatter.test.js +0 -285
- package/dist/esm/visualizations/helpers/tooltipFormatter.test.js.map +0 -1
- package/dist/types/authorization/canMutateVerifiedContent.test.d.ts +0 -2
- package/dist/types/authorization/canMutateVerifiedContent.test.d.ts.map +0 -1
- package/dist/types/authorization/canMutateVerifiedContent.test.js +0 -40
- package/dist/types/authorization/canMutateVerifiedContent.test.js.map +0 -1
- package/dist/types/authorization/collapseAbilityRules.test.d.ts +0 -2
- package/dist/types/authorization/collapseAbilityRules.test.d.ts.map +0 -1
- package/dist/types/authorization/collapseAbilityRules.test.js +0 -306
- package/dist/types/authorization/collapseAbilityRules.test.js.map +0 -1
- package/dist/types/authorization/embedPermissions.test.d.ts +0 -2
- package/dist/types/authorization/embedPermissions.test.d.ts.map +0 -1
- package/dist/types/authorization/embedPermissions.test.js +0 -230
- package/dist/types/authorization/embedPermissions.test.js.map +0 -1
- package/dist/types/authorization/getDashboardDeleteAccess.test.d.ts +0 -2
- package/dist/types/authorization/getDashboardDeleteAccess.test.d.ts.map +0 -1
- package/dist/types/authorization/getDashboardDeleteAccess.test.js +0 -125
- package/dist/types/authorization/getDashboardDeleteAccess.test.js.map +0 -1
- package/dist/types/authorization/getUserAbilityBuilder.test.d.ts +0 -2
- package/dist/types/authorization/getUserAbilityBuilder.test.d.ts.map +0 -1
- package/dist/types/authorization/getUserAbilityBuilder.test.js +0 -768
- package/dist/types/authorization/getUserAbilityBuilder.test.js.map +0 -1
- package/dist/types/authorization/index.mock.d.ts +0 -41
- package/dist/types/authorization/index.mock.d.ts.map +0 -1
- package/dist/types/authorization/index.mock.js +0 -44
- package/dist/types/authorization/index.mock.js.map +0 -1
- package/dist/types/authorization/index.test.d.ts +0 -2
- package/dist/types/authorization/index.test.d.ts.map +0 -1
- package/dist/types/authorization/index.test.js +0 -250
- package/dist/types/authorization/index.test.js.map +0 -1
- package/dist/types/authorization/jwtAbility.test.d.ts +0 -2
- package/dist/types/authorization/jwtAbility.test.d.ts.map +0 -1
- package/dist/types/authorization/jwtAbility.test.js +0 -592
- package/dist/types/authorization/jwtAbility.test.js.map +0 -1
- package/dist/types/authorization/organizationMemberAbility.mock.d.ts +0 -8
- package/dist/types/authorization/organizationMemberAbility.mock.d.ts.map +0 -1
- package/dist/types/authorization/organizationMemberAbility.mock.js +0 -36
- package/dist/types/authorization/organizationMemberAbility.mock.js.map +0 -1
- package/dist/types/authorization/organizationMemberAbility.test.d.ts +0 -2
- package/dist/types/authorization/organizationMemberAbility.test.d.ts.map +0 -1
- package/dist/types/authorization/organizationMemberAbility.test.js +0 -1483
- package/dist/types/authorization/organizationMemberAbility.test.js.map +0 -1
- package/dist/types/authorization/parseScopes.test.d.ts +0 -2
- package/dist/types/authorization/parseScopes.test.d.ts.map +0 -1
- package/dist/types/authorization/parseScopes.test.js +0 -123
- package/dist/types/authorization/parseScopes.test.js.map +0 -1
- package/dist/types/authorization/projectMemberAbility.mock.d.ts +0 -7
- package/dist/types/authorization/projectMemberAbility.mock.d.ts.map +0 -1
- package/dist/types/authorization/projectMemberAbility.mock.js +0 -27
- package/dist/types/authorization/projectMemberAbility.mock.js.map +0 -1
- package/dist/types/authorization/projectMemberAbility.test.d.ts +0 -2
- package/dist/types/authorization/projectMemberAbility.test.d.ts.map +0 -1
- package/dist/types/authorization/projectMemberAbility.test.js +0 -1189
- package/dist/types/authorization/projectMemberAbility.test.js.map +0 -1
- package/dist/types/authorization/roadmapAccess.test.d.ts +0 -2
- package/dist/types/authorization/roadmapAccess.test.d.ts.map +0 -1
- package/dist/types/authorization/roadmapAccess.test.js +0 -159
- package/dist/types/authorization/roadmapAccess.test.js.map +0 -1
- package/dist/types/authorization/rolePresets.test.d.ts +0 -2
- package/dist/types/authorization/rolePresets.test.d.ts.map +0 -1
- package/dist/types/authorization/rolePresets.test.js +0 -65
- package/dist/types/authorization/rolePresets.test.js.map +0 -1
- package/dist/types/authorization/roleToScopeMapping.test.d.ts +0 -2
- package/dist/types/authorization/roleToScopeMapping.test.d.ts.map +0 -1
- package/dist/types/authorization/roleToScopeMapping.test.js +0 -623
- package/dist/types/authorization/roleToScopeMapping.test.js.map +0 -1
- package/dist/types/authorization/roleToScopeMapping.testUtils.d.ts +0 -1615
- package/dist/types/authorization/roleToScopeMapping.testUtils.d.ts.map +0 -1
- package/dist/types/authorization/roleToScopeMapping.testUtils.js +0 -335
- package/dist/types/authorization/roleToScopeMapping.testUtils.js.map +0 -1
- package/dist/types/authorization/roleToScopeParity.test.d.ts +0 -2
- package/dist/types/authorization/roleToScopeParity.test.d.ts.map +0 -1
- package/dist/types/authorization/roleToScopeParity.test.js +0 -335
- package/dist/types/authorization/roleToScopeParity.test.js.map +0 -1
- package/dist/types/authorization/scopeAbilityBuilder.test.d.ts +0 -2
- package/dist/types/authorization/scopeAbilityBuilder.test.d.ts.map +0 -1
- package/dist/types/authorization/scopeAbilityBuilder.test.js +0 -1871
- package/dist/types/authorization/scopeAbilityBuilder.test.js.map +0 -1
- package/dist/types/authorization/scopes.level.test.d.ts +0 -2
- package/dist/types/authorization/scopes.level.test.d.ts.map +0 -1
- package/dist/types/authorization/scopes.level.test.js +0 -55
- package/dist/types/authorization/scopes.level.test.js.map +0 -1
- package/dist/types/authorization/scopes.test.d.ts +0 -2
- package/dist/types/authorization/scopes.test.d.ts.map +0 -1
- package/dist/types/authorization/scopes.test.js +0 -197
- package/dist/types/authorization/scopes.test.js.map +0 -1
- package/dist/types/authorization/serviceAccountAbility.test.d.ts +0 -2
- package/dist/types/authorization/serviceAccountAbility.test.d.ts.map +0 -1
- package/dist/types/authorization/serviceAccountAbility.test.js +0 -222
- package/dist/types/authorization/serviceAccountAbility.test.js.map +0 -1
- package/dist/types/authorization/space/customRoleProjectRole.test.d.ts +0 -2
- package/dist/types/authorization/space/customRoleProjectRole.test.d.ts.map +0 -1
- package/dist/types/authorization/space/customRoleProjectRole.test.js +0 -54
- package/dist/types/authorization/space/customRoleProjectRole.test.js.map +0 -1
- package/dist/types/authorization/space/spaceAccessResolver.test.d.ts +0 -2
- package/dist/types/authorization/space/spaceAccessResolver.test.d.ts.map +0 -1
- package/dist/types/authorization/space/spaceAccessResolver.test.js +0 -707
- package/dist/types/authorization/space/spaceAccessResolver.test.js.map +0 -1
- package/dist/types/compiler/exploreCompiler.mock.d.ts +0 -78
- package/dist/types/compiler/exploreCompiler.mock.d.ts.map +0 -1
- package/dist/types/compiler/exploreCompiler.mock.js +0 -2446
- package/dist/types/compiler/exploreCompiler.mock.js.map +0 -1
- package/dist/types/compiler/exploreCompiler.test.d.ts +0 -2
- package/dist/types/compiler/exploreCompiler.test.d.ts.map +0 -1
- package/dist/types/compiler/exploreCompiler.test.js +0 -1753
- package/dist/types/compiler/exploreCompiler.test.js.map +0 -1
- package/dist/types/compiler/fieldSetExpander.test.d.ts +0 -2
- package/dist/types/compiler/fieldSetExpander.test.d.ts.map +0 -1
- package/dist/types/compiler/fieldSetExpander.test.js +0 -204
- package/dist/types/compiler/fieldSetExpander.test.js.map +0 -1
- package/dist/types/compiler/filtersCompiler.mock.d.ts +0 -586
- package/dist/types/compiler/filtersCompiler.mock.d.ts.map +0 -1
- package/dist/types/compiler/filtersCompiler.mock.js +0 -791
- package/dist/types/compiler/filtersCompiler.mock.js.map +0 -1
- package/dist/types/compiler/filtersCompiler.test.d.ts +0 -2
- package/dist/types/compiler/filtersCompiler.test.d.ts.map +0 -1
- package/dist/types/compiler/filtersCompiler.test.js +0 -2194
- package/dist/types/compiler/filtersCompiler.test.js.map +0 -1
- package/dist/types/compiler/joinInflation.test.d.ts +0 -2
- package/dist/types/compiler/joinInflation.test.d.ts.map +0 -1
- package/dist/types/compiler/joinInflation.test.js +0 -28
- package/dist/types/compiler/joinInflation.test.js.map +0 -1
- package/dist/types/compiler/lightdashModelConverter.test.d.ts +0 -2
- package/dist/types/compiler/lightdashModelConverter.test.d.ts.map +0 -1
- package/dist/types/compiler/lightdashModelConverter.test.js +0 -35
- package/dist/types/compiler/lightdashModelConverter.test.js.map +0 -1
- package/dist/types/compiler/lightdashProjectConfig.test.d.ts +0 -2
- package/dist/types/compiler/lightdashProjectConfig.test.d.ts.map +0 -1
- package/dist/types/compiler/lightdashProjectConfig.test.js +0 -94
- package/dist/types/compiler/lightdashProjectConfig.test.js.map +0 -1
- package/dist/types/compiler/parameters.test.d.ts +0 -2
- package/dist/types/compiler/parameters.test.d.ts.map +0 -1
- package/dist/types/compiler/parameters.test.js +0 -587
- package/dist/types/compiler/parameters.test.js.map +0 -1
- package/dist/types/compiler/translator.mock.d.ts +0 -159
- package/dist/types/compiler/translator.mock.d.ts.map +0 -1
- package/dist/types/compiler/translator.mock.js +0 -2232
- package/dist/types/compiler/translator.mock.js.map +0 -1
- package/dist/types/compiler/translator.test.d.ts +0 -2
- package/dist/types/compiler/translator.test.d.ts.map +0 -1
- package/dist/types/compiler/translator.test.js +0 -2685
- package/dist/types/compiler/translator.test.js.map +0 -1
- package/dist/types/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.d.ts +0 -65
- package/dist/types/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.d.ts.map +0 -1
- package/dist/types/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.js +0 -220
- package/dist/types/dbt/DbtSchemaEditor/DbtSchemaEditor.mock.js.map +0 -1
- package/dist/types/dbt/DbtSchemaEditor/DbtSchemaEditor.test.d.ts +0 -2
- package/dist/types/dbt/DbtSchemaEditor/DbtSchemaEditor.test.d.ts.map +0 -1
- package/dist/types/dbt/DbtSchemaEditor/DbtSchemaEditor.test.js +0 -275
- package/dist/types/dbt/DbtSchemaEditor/DbtSchemaEditor.test.js.map +0 -1
- package/dist/types/dbt/manifest.test.d.ts +0 -2
- package/dist/types/dbt/manifest.test.d.ts.map +0 -1
- package/dist/types/dbt/manifest.test.js +0 -416
- package/dist/types/dbt/manifest.test.js.map +0 -1
- package/dist/types/dbt/metricFlow.test.d.ts +0 -2
- package/dist/types/dbt/metricFlow.test.d.ts.map +0 -1
- package/dist/types/dbt/metricFlow.test.js +0 -1343
- package/dist/types/dbt/metricFlow.test.js.map +0 -1
- package/dist/types/dbt/validation.csp.test.d.ts +0 -1
- package/dist/types/dbt/validation.csp.test.d.ts.map +0 -1
- package/dist/types/dbt/validation.csp.test.js +0 -33
- package/dist/types/dbt/validation.csp.test.js.map +0 -1
- package/dist/types/dbt/validation.test.d.ts +0 -2
- package/dist/types/dbt/validation.test.d.ts.map +0 -1
- package/dist/types/dbt/validation.test.js +0 -201
- package/dist/types/dbt/validation.test.js.map +0 -1
- package/dist/types/ee/AiAgent/aiAgentReviewClassifierTypes.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/aiAgentReviewClassifierTypes.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/aiAgentReviewClassifierTypes.test.js +0 -546
- package/dist/types/ee/AiAgent/aiAgentReviewClassifierTypes.test.js.map +0 -1
- package/dist/types/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.js +0 -54
- package/dist/types/ee/AiAgent/chartConfig/web/runQueryTool/getRunQueryChartConfig.test.js.map +0 -1
- package/dist/types/ee/AiAgent/dashboardContext.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/dashboardContext.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/dashboardContext.test.js +0 -59
- package/dist/types/ee/AiAgent/dashboardContext.test.js.map +0 -1
- package/dist/types/ee/AiAgent/filterExploreByTags.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/filterExploreByTags.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/filterExploreByTags.test.js +0 -634
- package/dist/types/ee/AiAgent/filterExploreByTags.test.js.map +0 -1
- package/dist/types/ee/AiAgent/projectContext.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/projectContext.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/projectContext.test.js +0 -532
- package/dist/types/ee/AiAgent/projectContext.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/McpSchemaCompatLayer.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/McpSchemaCompatLayer.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/McpSchemaCompatLayer.test.js +0 -541
- package/dist/types/ee/AiAgent/schemas/McpSchemaCompatLayer.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/defineTool.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/defineTool.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/defineTool.test.js +0 -281
- package/dist/types/ee/AiAgent/schemas/defineTool.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/examples.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/filterExpressions/examples.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/examples.test.js +0 -86
- package/dist/types/ee/AiAgent/schemas/filterExpressions/examples.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.js +0 -384
- package/dist/types/ee/AiAgent/schemas/filterExpressions/expressionSchemas.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/operators.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/filterExpressions/operators.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/operators.test.js +0 -14
- package/dist/types/ee/AiAgent/schemas/filterExpressions/operators.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/parse.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/filterExpressions/parse.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/parse.test.js +0 -362
- package/dist/types/ee/AiAgent/schemas/filterExpressions/parse.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.js +0 -218
- package/dist/types/ee/AiAgent/schemas/filterExpressions/resolvedArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/persistedRunQueryArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/persistedRunQueryArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/persistedRunQueryArgs.test.js +0 -98
- package/dist/types/ee/AiAgent/schemas/persistedRunQueryArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -152
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.test.js +0 -19
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.js +0 -34
- package/dist/types/ee/AiAgent/schemas/tools/builtInToolResultGuard.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.js +0 -96
- package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.js +0 -58
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.js +0 -7
- package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js +0 -66
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js +0 -25
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.js +0 -173
- package/dist/types/ee/AiAgent/schemas/tools/toolJsonSchemaEncoding.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.js +0 -386
- package/dist/types/ee/AiAgent/schemas/tools/toolRunQueryArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.js +0 -86
- package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.js +0 -32
- package/dist/types/ee/AiAgent/schemas/tools/toolUpdateUserNameArgs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.js +0 -96
- package/dist/types/ee/AiAgent/schemas/zod4BehaviorCompatibility.test.js.map +0 -1
- package/dist/types/ee/AiAgent/utils.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/utils.test.d.ts.map +0 -1
- package/dist/types/ee/AiAgent/utils.test.js +0 -542
- package/dist/types/ee/AiAgent/utils.test.js.map +0 -1
- package/dist/types/ee/aiDeepResearch/markdown.test.d.ts +0 -2
- package/dist/types/ee/aiDeepResearch/markdown.test.d.ts.map +0 -1
- package/dist/types/ee/aiDeepResearch/markdown.test.js +0 -329
- package/dist/types/ee/aiDeepResearch/markdown.test.js.map +0 -1
- package/dist/types/ee/aiDeepResearch/types.test.d.ts +0 -2
- package/dist/types/ee/aiDeepResearch/types.test.d.ts.map +0 -1
- package/dist/types/ee/aiDeepResearch/types.test.js +0 -7
- package/dist/types/ee/aiDeepResearch/types.test.js.map +0 -1
- package/dist/types/ee/aiWriteback/mcpTask.test.d.ts +0 -2
- package/dist/types/ee/aiWriteback/mcpTask.test.d.ts.map +0 -1
- package/dist/types/ee/aiWriteback/mcpTask.test.js +0 -34
- package/dist/types/ee/aiWriteback/mcpTask.test.js.map +0 -1
- package/dist/types/ee/apps/chartTypeIcons.test.d.ts +0 -2
- package/dist/types/ee/apps/chartTypeIcons.test.d.ts.map +0 -1
- package/dist/types/ee/apps/chartTypeIcons.test.js +0 -28
- package/dist/types/ee/apps/chartTypeIcons.test.js.map +0 -1
- package/dist/types/ee/apps/code.test.d.ts +0 -2
- package/dist/types/ee/apps/code.test.d.ts.map +0 -1
- package/dist/types/ee/apps/code.test.js +0 -510
- package/dist/types/ee/apps/code.test.js.map +0 -1
- package/dist/types/ee/apps/customChartTypeSerializer.test.d.ts +0 -2
- package/dist/types/ee/apps/customChartTypeSerializer.test.d.ts.map +0 -1
- package/dist/types/ee/apps/customChartTypeSerializer.test.js +0 -145
- package/dist/types/ee/apps/customChartTypeSerializer.test.js.map +0 -1
- package/dist/types/ee/apps/dataAppVizSchemaChanges.test.d.ts +0 -2
- package/dist/types/ee/apps/dataAppVizSchemaChanges.test.d.ts.map +0 -1
- package/dist/types/ee/apps/dataAppVizSchemaChanges.test.js +0 -153
- package/dist/types/ee/apps/dataAppVizSchemaChanges.test.js.map +0 -1
- package/dist/types/ee/apps/dataReferenceChecker.test.d.ts +0 -2
- package/dist/types/ee/apps/dataReferenceChecker.test.d.ts.map +0 -1
- package/dist/types/ee/apps/dataReferenceChecker.test.js +0 -380
- package/dist/types/ee/apps/dataReferenceChecker.test.js.map +0 -1
- package/dist/types/ee/apps/dataReferences.test.d.ts +0 -2
- package/dist/types/ee/apps/dataReferences.test.d.ts.map +0 -1
- package/dist/types/ee/apps/dataReferences.test.js +0 -607
- package/dist/types/ee/apps/dataReferences.test.js.map +0 -1
- package/dist/types/ee/apps/dataReferencesDocs.test.d.ts +0 -2
- package/dist/types/ee/apps/dataReferencesDocs.test.d.ts.map +0 -1
- package/dist/types/ee/apps/dataReferencesDocs.test.js +0 -139
- package/dist/types/ee/apps/dataReferencesDocs.test.js.map +0 -1
- package/dist/types/ee/apps/deliveryCapture.test.d.ts +0 -2
- package/dist/types/ee/apps/deliveryCapture.test.d.ts.map +0 -1
- package/dist/types/ee/apps/deliveryCapture.test.js +0 -205
- package/dist/types/ee/apps/deliveryCapture.test.js.map +0 -1
- package/dist/types/ee/apps/elementReference.test.d.ts +0 -2
- package/dist/types/ee/apps/elementReference.test.d.ts.map +0 -1
- package/dist/types/ee/apps/elementReference.test.js +0 -34
- package/dist/types/ee/apps/elementReference.test.js.map +0 -1
- package/dist/types/ee/apps/registry.test.d.ts +0 -2
- package/dist/types/ee/apps/registry.test.d.ts.map +0 -1
- package/dist/types/ee/apps/registry.test.js +0 -90
- package/dist/types/ee/apps/registry.test.js.map +0 -1
- package/dist/types/ee/apps/types.test.d.ts +0 -2
- package/dist/types/ee/apps/types.test.d.ts.map +0 -1
- package/dist/types/ee/apps/types.test.js +0 -441
- package/dist/types/ee/apps/types.test.js.map +0 -1
- package/dist/types/ee/embed/index.test.d.ts +0 -2
- package/dist/types/ee/embed/index.test.d.ts.map +0 -1
- package/dist/types/ee/embed/index.test.js +0 -157
- package/dist/types/ee/embed/index.test.js.map +0 -1
- package/dist/types/ee/homepage/schema.test.d.ts +0 -2
- package/dist/types/ee/homepage/schema.test.d.ts.map +0 -1
- package/dist/types/ee/homepage/schema.test.js +0 -338
- package/dist/types/ee/homepage/schema.test.js.map +0 -1
- package/dist/types/ee/homepage/verifiedSource.schema.test.d.ts +0 -2
- package/dist/types/ee/homepage/verifiedSource.schema.test.d.ts.map +0 -1
- package/dist/types/ee/homepage/verifiedSource.schema.test.js +0 -27
- package/dist/types/ee/homepage/verifiedSource.schema.test.js.map +0 -1
- package/dist/types/ee/mcp/tasks.test.d.ts +0 -2
- package/dist/types/ee/mcp/tasks.test.d.ts.map +0 -1
- package/dist/types/ee/mcp/tasks.test.js +0 -50
- package/dist/types/ee/mcp/tasks.test.js.map +0 -1
- package/dist/types/ee/preAggregates/dimensionEligibility.test.d.ts +0 -2
- package/dist/types/ee/preAggregates/dimensionEligibility.test.d.ts.map +0 -1
- package/dist/types/ee/preAggregates/dimensionEligibility.test.js +0 -216
- package/dist/types/ee/preAggregates/dimensionEligibility.test.js.map +0 -1
- package/dist/types/ee/preAggregates/metricEligibility.test.d.ts +0 -2
- package/dist/types/ee/preAggregates/metricEligibility.test.d.ts.map +0 -1
- package/dist/types/ee/preAggregates/metricEligibility.test.js +0 -374
- package/dist/types/ee/preAggregates/metricEligibility.test.js.map +0 -1
- package/dist/types/ee/preAggregates/numberMetricDependencies.test.d.ts +0 -2
- package/dist/types/ee/preAggregates/numberMetricDependencies.test.d.ts.map +0 -1
- package/dist/types/ee/preAggregates/numberMetricDependencies.test.js +0 -105
- package/dist/types/ee/preAggregates/numberMetricDependencies.test.js.map +0 -1
- package/dist/types/ee/types/aiReviewNotification.test.d.ts +0 -2
- package/dist/types/ee/types/aiReviewNotification.test.d.ts.map +0 -1
- package/dist/types/ee/types/aiReviewNotification.test.js +0 -117
- package/dist/types/ee/types/aiReviewNotification.test.js.map +0 -1
- package/dist/types/ee/types/managedAgentPolicy.test.d.ts +0 -2
- package/dist/types/ee/types/managedAgentPolicy.test.d.ts.map +0 -1
- package/dist/types/ee/types/managedAgentPolicy.test.js +0 -48
- package/dist/types/ee/types/managedAgentPolicy.test.js.map +0 -1
- package/dist/types/ee/types/managedAgentSpaceScope.test.d.ts +0 -2
- package/dist/types/ee/types/managedAgentSpaceScope.test.d.ts.map +0 -1
- package/dist/types/ee/types/managedAgentSpaceScope.test.js +0 -45
- package/dist/types/ee/types/managedAgentSpaceScope.test.js.map +0 -1
- package/dist/types/index.barrel.test.d.ts +0 -2
- package/dist/types/index.barrel.test.d.ts.map +0 -1
- package/dist/types/index.barrel.test.js +0 -62
- package/dist/types/index.barrel.test.js.map +0 -1
- package/dist/types/index.mock.d.ts +0 -8
- package/dist/types/index.mock.d.ts.map +0 -1
- package/dist/types/index.mock.js +0 -44
- package/dist/types/index.mock.js.map +0 -1
- package/dist/types/index.test.d.ts +0 -2
- package/dist/types/index.test.d.ts.map +0 -1
- package/dist/types/index.test.js +0 -201
- package/dist/types/index.test.js.map +0 -1
- package/dist/types/lightdash/LightdashModelEditor.test.d.ts +0 -2
- package/dist/types/lightdash/LightdashModelEditor.test.d.ts.map +0 -1
- package/dist/types/lightdash/LightdashModelEditor.test.js +0 -193
- package/dist/types/lightdash/LightdashModelEditor.test.js.map +0 -1
- package/dist/types/lightdash/loader.test.d.ts +0 -2
- package/dist/types/lightdash/loader.test.d.ts.map +0 -1
- package/dist/types/lightdash/loader.test.js +0 -72
- package/dist/types/lightdash/loader.test.js.map +0 -1
- package/dist/types/packageExports.test.d.ts +0 -2
- package/dist/types/packageExports.test.d.ts.map +0 -1
- package/dist/types/packageExports.test.js +0 -40
- package/dist/types/packageExports.test.js.map +0 -1
- package/dist/types/parameters/reservedParameters.test.d.ts +0 -2
- package/dist/types/parameters/reservedParameters.test.d.ts.map +0 -1
- package/dist/types/parameters/reservedParameters.test.js +0 -101
- package/dist/types/parameters/reservedParameters.test.js.map +0 -1
- package/dist/types/pivot/buildWarehouseTotals.test.d.ts +0 -2
- package/dist/types/pivot/buildWarehouseTotals.test.d.ts.map +0 -1
- package/dist/types/pivot/buildWarehouseTotals.test.js +0 -42
- package/dist/types/pivot/buildWarehouseTotals.test.js.map +0 -1
- package/dist/types/pivot/deriveDataAppVizPivotConfig.test.d.ts +0 -2
- package/dist/types/pivot/deriveDataAppVizPivotConfig.test.d.ts.map +0 -1
- package/dist/types/pivot/deriveDataAppVizPivotConfig.test.js +0 -31
- package/dist/types/pivot/deriveDataAppVizPivotConfig.test.js.map +0 -1
- package/dist/types/pivot/derivePivotConfigFromChart.mock.d.ts +0 -8
- package/dist/types/pivot/derivePivotConfigFromChart.mock.d.ts.map +0 -1
- package/dist/types/pivot/derivePivotConfigFromChart.mock.js +0 -112
- package/dist/types/pivot/derivePivotConfigFromChart.mock.js.map +0 -1
- package/dist/types/pivot/derivePivotConfigFromChart.test.d.ts +0 -2
- package/dist/types/pivot/derivePivotConfigFromChart.test.d.ts.map +0 -1
- package/dist/types/pivot/derivePivotConfigFromChart.test.js +0 -1419
- package/dist/types/pivot/derivePivotConfigFromChart.test.js.map +0 -1
- package/dist/types/pivot/pivotColumnName.test.d.ts +0 -2
- package/dist/types/pivot/pivotColumnName.test.d.ts.map +0 -1
- package/dist/types/pivot/pivotColumnName.test.js +0 -47
- package/dist/types/pivot/pivotColumnName.test.js.map +0 -1
- package/dist/types/pivot/pivotConfig.test.d.ts +0 -2
- package/dist/types/pivot/pivotConfig.test.d.ts.map +0 -1
- package/dist/types/pivot/pivotConfig.test.js +0 -228
- package/dist/types/pivot/pivotConfig.test.js.map +0 -1
- package/dist/types/pivot/pivotQueryResults.mock.d.ts +0 -14
- package/dist/types/pivot/pivotQueryResults.mock.d.ts.map +0 -1
- package/dist/types/pivot/pivotQueryResults.mock.js +0 -2082
- package/dist/types/pivot/pivotQueryResults.mock.js.map +0 -1
- package/dist/types/pivot/pivotQueryResults.test.d.ts +0 -2
- package/dist/types/pivot/pivotQueryResults.test.d.ts.map +0 -1
- package/dist/types/pivot/pivotQueryResults.test.js +0 -1676
- package/dist/types/pivot/pivotQueryResults.test.js.map +0 -1
- package/dist/types/pivot/pivotResultsAsCsv.test.d.ts +0 -2
- package/dist/types/pivot/pivotResultsAsCsv.test.d.ts.map +0 -1
- package/dist/types/pivot/pivotResultsAsCsv.test.js +0 -264
- package/dist/types/pivot/pivotResultsAsCsv.test.js.map +0 -1
- package/dist/types/pivot/timeIntervalToExcelNumFmt.test.d.ts +0 -2
- package/dist/types/pivot/timeIntervalToExcelNumFmt.test.d.ts.map +0 -1
- package/dist/types/pivot/timeIntervalToExcelNumFmt.test.js +0 -54
- package/dist/types/pivot/timeIntervalToExcelNumFmt.test.js.map +0 -1
- package/dist/types/preAggregates/definition.test.d.ts +0 -2
- package/dist/types/preAggregates/definition.test.d.ts.map +0 -1
- package/dist/types/preAggregates/definition.test.js +0 -291
- package/dist/types/preAggregates/definition.test.js.map +0 -1
- package/dist/types/preAggregates/schema.test.d.ts +0 -2
- package/dist/types/preAggregates/schema.test.d.ts.map +0 -1
- package/dist/types/preAggregates/schema.test.js +0 -225
- package/dist/types/preAggregates/schema.test.js.map +0 -1
- package/dist/types/schemas/generateChartAsCodeSchema.test.d.ts +0 -2
- package/dist/types/schemas/generateChartAsCodeSchema.test.d.ts.map +0 -1
- package/dist/types/schemas/generateChartAsCodeSchema.test.js +0 -177
- package/dist/types/schemas/generateChartAsCodeSchema.test.js.map +0 -1
- package/dist/types/schemas/generateDashboardAsCodeSchema.test.d.ts +0 -2
- package/dist/types/schemas/generateDashboardAsCodeSchema.test.d.ts.map +0 -1
- package/dist/types/schemas/generateDashboardAsCodeSchema.test.js +0 -504
- package/dist/types/schemas/generateDashboardAsCodeSchema.test.js.map +0 -1
- package/dist/types/templating/liquidSql.test.d.ts +0 -2
- package/dist/types/templating/liquidSql.test.d.ts.map +0 -1
- package/dist/types/templating/liquidSql.test.js +0 -397
- package/dist/types/templating/liquidSql.test.js.map +0 -1
- package/dist/types/templating/template.mock.d.ts +0 -45
- package/dist/types/templating/template.mock.d.ts.map +0 -1
- package/dist/types/templating/template.mock.js +0 -45
- package/dist/types/templating/template.mock.js.map +0 -1
- package/dist/types/templating/template.test.d.ts +0 -2
- package/dist/types/templating/template.test.d.ts.map +0 -1
- package/dist/types/templating/template.test.js +0 -21
- package/dist/types/templating/template.test.js.map +0 -1
- package/dist/types/types/api/notifications.test.d.ts +0 -2
- package/dist/types/types/api/notifications.test.d.ts.map +0 -1
- package/dist/types/types/api/notifications.test.js +0 -5
- package/dist/types/types/api/notifications.test.js.map +0 -1
- package/dist/types/types/applyDimensionOverrides.test.d.ts +0 -2
- package/dist/types/types/applyDimensionOverrides.test.d.ts.map +0 -1
- package/dist/types/types/applyDimensionOverrides.test.js +0 -579
- package/dist/types/types/applyDimensionOverrides.test.js.map +0 -1
- package/dist/types/types/applyMetricOverrides.test.d.ts +0 -2
- package/dist/types/types/applyMetricOverrides.test.d.ts.map +0 -1
- package/dist/types/types/applyMetricOverrides.test.js +0 -80
- package/dist/types/types/applyMetricOverrides.test.js.map +0 -1
- package/dist/types/types/contentAsCode/base.test.d.ts +0 -2
- package/dist/types/types/contentAsCode/base.test.d.ts.map +0 -1
- package/dist/types/types/contentAsCode/base.test.js +0 -59
- package/dist/types/types/contentAsCode/base.test.js.map +0 -1
- package/dist/types/types/contentAsCode/draftRebase.test.d.ts +0 -2
- package/dist/types/types/contentAsCode/draftRebase.test.d.ts.map +0 -1
- package/dist/types/types/contentAsCode/draftRebase.test.js +0 -115
- package/dist/types/types/contentAsCode/draftRebase.test.js.map +0 -1
- package/dist/types/types/contentAsCode/parsers.test.d.ts +0 -2
- package/dist/types/types/contentAsCode/parsers.test.d.ts.map +0 -1
- package/dist/types/types/contentAsCode/parsers.test.js +0 -44
- package/dist/types/types/contentAsCode/parsers.test.js.map +0 -1
- package/dist/types/types/dataRetention.test.d.ts +0 -2
- package/dist/types/types/dataRetention.test.d.ts.map +0 -1
- package/dist/types/types/dataRetention.test.js +0 -55
- package/dist/types/types/dataRetention.test.js.map +0 -1
- package/dist/types/types/dataTimezonePreview.test.d.ts +0 -2
- package/dist/types/types/dataTimezonePreview.test.d.ts.map +0 -1
- package/dist/types/types/dataTimezonePreview.test.js +0 -106
- package/dist/types/types/dataTimezonePreview.test.js.map +0 -1
- package/dist/types/types/dbt.test.d.ts +0 -2
- package/dist/types/types/dbt.test.d.ts.map +0 -1
- package/dist/types/types/dbt.test.js +0 -389
- package/dist/types/types/dbt.test.js.map +0 -1
- package/dist/types/types/errors.test.d.ts +0 -2
- package/dist/types/types/errors.test.d.ts.map +0 -1
- package/dist/types/types/errors.test.js +0 -14
- package/dist/types/types/errors.test.js.map +0 -1
- package/dist/types/types/field.test.d.ts +0 -2
- package/dist/types/types/field.test.d.ts.map +0 -1
- package/dist/types/types/field.test.js +0 -83
- package/dist/types/types/field.test.js.map +0 -1
- package/dist/types/types/filter.test.d.ts +0 -2
- package/dist/types/types/filter.test.d.ts.map +0 -1
- package/dist/types/types/filter.test.js +0 -396
- package/dist/types/types/filter.test.js.map +0 -1
- package/dist/types/types/filterGrammar.test.d.ts +0 -2
- package/dist/types/types/filterGrammar.test.d.ts.map +0 -1
- package/dist/types/types/filterGrammar.test.js +0 -745
- package/dist/types/types/filterGrammar.test.js.map +0 -1
- package/dist/types/types/filterGrammarConversion.test.d.ts +0 -2
- package/dist/types/types/filterGrammarConversion.test.d.ts.map +0 -1
- package/dist/types/types/filterGrammarConversion.test.js +0 -308
- package/dist/types/types/filterGrammarConversion.test.js.map +0 -1
- package/dist/types/types/gitIntegration.test.d.ts +0 -2
- package/dist/types/types/gitIntegration.test.d.ts.map +0 -1
- package/dist/types/types/gitIntegration.test.js +0 -51
- package/dist/types/types/gitIntegration.test.js.map +0 -1
- package/dist/types/types/jira.test.d.ts +0 -2
- package/dist/types/types/jira.test.d.ts.map +0 -1
- package/dist/types/types/jira.test.js +0 -11
- package/dist/types/types/jira.test.js.map +0 -1
- package/dist/types/types/linear.test.d.ts +0 -2
- package/dist/types/types/linear.test.d.ts.map +0 -1
- package/dist/types/types/linear.test.js +0 -13
- package/dist/types/types/linear.test.js.map +0 -1
- package/dist/types/types/mergeQuery.test.d.ts +0 -2
- package/dist/types/types/mergeQuery.test.d.ts.map +0 -1
- package/dist/types/types/mergeQuery.test.js +0 -385
- package/dist/types/types/mergeQuery.test.js.map +0 -1
- package/dist/types/types/organizationSettings.test.d.ts +0 -2
- package/dist/types/types/organizationSettings.test.d.ts.map +0 -1
- package/dist/types/types/organizationSettings.test.js +0 -105
- package/dist/types/types/organizationSettings.test.js.map +0 -1
- package/dist/types/types/periodOverPeriodComparison.test.d.ts +0 -2
- package/dist/types/types/periodOverPeriodComparison.test.d.ts.map +0 -1
- package/dist/types/types/periodOverPeriodComparison.test.js +0 -99
- package/dist/types/types/periodOverPeriodComparison.test.js.map +0 -1
- package/dist/types/types/projects.test.d.ts +0 -2
- package/dist/types/types/projects.test.d.ts.map +0 -1
- package/dist/types/types/projects.test.js +0 -319
- package/dist/types/types/projects.test.js.map +0 -1
- package/dist/types/types/savedCharts.test.d.ts +0 -2
- package/dist/types/types/savedCharts.test.d.ts.map +0 -1
- package/dist/types/types/savedCharts.test.js +0 -136
- package/dist/types/types/savedCharts.test.js.map +0 -1
- package/dist/types/types/scheduler.test.d.ts +0 -2
- package/dist/types/types/scheduler.test.d.ts.map +0 -1
- package/dist/types/types/scheduler.test.js +0 -36
- package/dist/types/types/scheduler.test.js.map +0 -1
- package/dist/types/types/schedulerTaskList.test.d.ts +0 -2
- package/dist/types/types/schedulerTaskList.test.d.ts.map +0 -1
- package/dist/types/types/schedulerTaskList.test.js +0 -16
- package/dist/types/types/schedulerTaskList.test.js.map +0 -1
- package/dist/types/types/userAvatars.test.d.ts +0 -2
- package/dist/types/types/userAvatars.test.d.ts.map +0 -1
- package/dist/types/types/userAvatars.test.js +0 -124
- package/dist/types/types/userAvatars.test.js.map +0 -1
- package/dist/types/types/userWarehouseCredentials.test.d.ts +0 -2
- package/dist/types/types/userWarehouseCredentials.test.d.ts.map +0 -1
- package/dist/types/types/userWarehouseCredentials.test.js +0 -80
- package/dist/types/types/userWarehouseCredentials.test.js.map +0 -1
- package/dist/types/types/warehouse.test.d.ts +0 -2
- package/dist/types/types/warehouse.test.d.ts.map +0 -1
- package/dist/types/types/warehouse.test.js +0 -104
- package/dist/types/types/warehouse.test.js.map +0 -1
- package/dist/types/utils/accessors.test.d.ts +0 -2
- package/dist/types/utils/accessors.test.d.ts.map +0 -1
- package/dist/types/utils/accessors.test.js +0 -45
- package/dist/types/utils/accessors.test.js.map +0 -1
- package/dist/types/utils/additionalMetrics.test.d.ts +0 -2
- package/dist/types/utils/additionalMetrics.test.d.ts.map +0 -1
- package/dist/types/utils/additionalMetrics.test.js +0 -336
- package/dist/types/utils/additionalMetrics.test.js.map +0 -1
- package/dist/types/utils/applyChartFilterOverrides.test.d.ts +0 -2
- package/dist/types/utils/applyChartFilterOverrides.test.d.ts.map +0 -1
- package/dist/types/utils/applyChartFilterOverrides.test.js +0 -216
- package/dist/types/utils/applyChartFilterOverrides.test.js.map +0 -1
- package/dist/types/utils/bigNumber.test.d.ts +0 -2
- package/dist/types/utils/bigNumber.test.d.ts.map +0 -1
- package/dist/types/utils/bigNumber.test.js +0 -102
- package/dist/types/utils/bigNumber.test.js.map +0 -1
- package/dist/types/utils/booleanConverter.test.d.ts +0 -2
- package/dist/types/utils/booleanConverter.test.d.ts.map +0 -1
- package/dist/types/utils/booleanConverter.test.js +0 -59
- package/dist/types/utils/booleanConverter.test.js.map +0 -1
- package/dist/types/utils/chartValidation.test.d.ts +0 -2
- package/dist/types/utils/chartValidation.test.d.ts.map +0 -1
- package/dist/types/utils/chartValidation.test.js +0 -45
- package/dist/types/utils/chartValidation.test.js.map +0 -1
- package/dist/types/utils/charts.test.d.ts +0 -2
- package/dist/types/utils/charts.test.d.ts.map +0 -1
- package/dist/types/utils/charts.test.js +0 -44
- package/dist/types/utils/charts.test.js.map +0 -1
- package/dist/types/utils/colors.test.d.ts +0 -2
- package/dist/types/utils/colors.test.d.ts.map +0 -1
- package/dist/types/utils/colors.test.js +0 -85
- package/dist/types/utils/colors.test.js.map +0 -1
- package/dist/types/utils/conditionalFormatExpressions.test.d.ts +0 -2
- package/dist/types/utils/conditionalFormatExpressions.test.d.ts.map +0 -1
- package/dist/types/utils/conditionalFormatExpressions.test.js +0 -161
- package/dist/types/utils/conditionalFormatExpressions.test.js.map +0 -1
- package/dist/types/utils/conditionalFormatting.test.d.ts +0 -2
- package/dist/types/utils/conditionalFormatting.test.d.ts.map +0 -1
- package/dist/types/utils/conditionalFormatting.test.js +0 -359
- package/dist/types/utils/conditionalFormatting.test.js.map +0 -1
- package/dist/types/utils/connectionChanges.test.d.ts +0 -2
- package/dist/types/utils/connectionChanges.test.d.ts.map +0 -1
- package/dist/types/utils/connectionChanges.test.js +0 -166
- package/dist/types/utils/connectionChanges.test.js.map +0 -1
- package/dist/types/utils/customDimensions.test.d.ts +0 -2
- package/dist/types/utils/customDimensions.test.d.ts.map +0 -1
- package/dist/types/utils/customDimensions.test.js +0 -232
- package/dist/types/utils/customDimensions.test.js.map +0 -1
- package/dist/types/utils/dashboard.test.d.ts +0 -2
- package/dist/types/utils/dashboard.test.d.ts.map +0 -1
- package/dist/types/utils/dashboard.test.js +0 -81
- package/dist/types/utils/dashboard.test.js.map +0 -1
- package/dist/types/utils/dateZoom.test.d.ts +0 -2
- package/dist/types/utils/dateZoom.test.d.ts.map +0 -1
- package/dist/types/utils/dateZoom.test.js +0 -1034
- package/dist/types/utils/dateZoom.test.js.map +0 -1
- package/dist/types/utils/dbt.test.d.ts +0 -2
- package/dist/types/utils/dbt.test.d.ts.map +0 -1
- package/dist/types/utils/dbt.test.js +0 -39
- package/dist/types/utils/dbt.test.js.map +0 -1
- package/dist/types/utils/dependencyGraph.test.d.ts +0 -2
- package/dist/types/utils/dependencyGraph.test.d.ts.map +0 -1
- package/dist/types/utils/dependencyGraph.test.js +0 -113
- package/dist/types/utils/dependencyGraph.test.js.map +0 -1
- package/dist/types/utils/email.test.d.ts +0 -2
- package/dist/types/utils/email.test.d.ts.map +0 -1
- package/dist/types/utils/email.test.js +0 -89
- package/dist/types/utils/email.test.js.map +0 -1
- package/dist/types/utils/exportTabs.test.d.ts +0 -2
- package/dist/types/utils/exportTabs.test.d.ts.map +0 -1
- package/dist/types/utils/exportTabs.test.js +0 -121
- package/dist/types/utils/exportTabs.test.js.map +0 -1
- package/dist/types/utils/fields.mock.d.ts +0 -20
- package/dist/types/utils/fields.mock.d.ts.map +0 -1
- package/dist/types/utils/fields.mock.js +0 -252
- package/dist/types/utils/fields.mock.js.map +0 -1
- package/dist/types/utils/fields.test.d.ts +0 -2
- package/dist/types/utils/fields.test.d.ts.map +0 -1
- package/dist/types/utils/fields.test.js +0 -280
- package/dist/types/utils/fields.test.js.map +0 -1
- package/dist/types/utils/filterLabels.test.d.ts +0 -2
- package/dist/types/utils/filterLabels.test.d.ts.map +0 -1
- package/dist/types/utils/filterLabels.test.js +0 -79
- package/dist/types/utils/filterLabels.test.js.map +0 -1
- package/dist/types/utils/filterLabelsGolden.test.d.ts +0 -2
- package/dist/types/utils/filterLabelsGolden.test.d.ts.map +0 -1
- package/dist/types/utils/filterLabelsGolden.test.js +0 -85
- package/dist/types/utils/filterLabelsGolden.test.js.map +0 -1
- package/dist/types/utils/filters.mock.d.ts +0 -28
- package/dist/types/utils/filters.mock.d.ts.map +0 -1
- package/dist/types/utils/filters.mock.js +0 -533
- package/dist/types/utils/filters.mock.js.map +0 -1
- package/dist/types/utils/filters.test.d.ts +0 -2
- package/dist/types/utils/filters.test.d.ts.map +0 -1
- package/dist/types/utils/filters.test.js +0 -1984
- package/dist/types/utils/filters.test.js.map +0 -1
- package/dist/types/utils/formatting.mock.d.ts +0 -6
- package/dist/types/utils/formatting.mock.d.ts.map +0 -1
- package/dist/types/utils/formatting.mock.js +0 -35
- package/dist/types/utils/formatting.mock.js.map +0 -1
- package/dist/types/utils/formatting.test.d.ts +0 -2
- package/dist/types/utils/formatting.test.d.ts.map +0 -1
- package/dist/types/utils/formatting.test.js +0 -2628
- package/dist/types/utils/formatting.test.js.map +0 -1
- package/dist/types/utils/github.test.d.ts +0 -2
- package/dist/types/utils/github.test.d.ts.map +0 -1
- package/dist/types/utils/github.test.js +0 -23
- package/dist/types/utils/github.test.js.map +0 -1
- package/dist/types/utils/i18n/chartAsCode.test.d.ts +0 -2
- package/dist/types/utils/i18n/chartAsCode.test.d.ts.map +0 -1
- package/dist/types/utils/i18n/chartAsCode.test.js +0 -365
- package/dist/types/utils/i18n/chartAsCode.test.js.map +0 -1
- package/dist/types/utils/i18n/dashboardAsCode.test.d.ts +0 -2
- package/dist/types/utils/i18n/dashboardAsCode.test.d.ts.map +0 -1
- package/dist/types/utils/i18n/dashboardAsCode.test.js +0 -167
- package/dist/types/utils/i18n/dashboardAsCode.test.js.map +0 -1
- package/dist/types/utils/i18n/uiStrings.test.d.ts +0 -2
- package/dist/types/utils/i18n/uiStrings.test.d.ts.map +0 -1
- package/dist/types/utils/i18n/uiStrings.test.js +0 -42
- package/dist/types/utils/i18n/uiStrings.test.js.map +0 -1
- package/dist/types/utils/loadLightdashProjectConfig.mock.d.ts +0 -24
- package/dist/types/utils/loadLightdashProjectConfig.mock.d.ts.map +0 -1
- package/dist/types/utils/loadLightdashProjectConfig.mock.js +0 -201
- package/dist/types/utils/loadLightdashProjectConfig.mock.js.map +0 -1
- package/dist/types/utils/loadLightdashProjectConfig.test.d.ts +0 -2
- package/dist/types/utils/loadLightdashProjectConfig.test.d.ts.map +0 -1
- package/dist/types/utils/loadLightdashProjectConfig.test.js +0 -221
- package/dist/types/utils/loadLightdashProjectConfig.test.js.map +0 -1
- package/dist/types/utils/mergeQueryItems.test.d.ts +0 -2
- package/dist/types/utils/mergeQueryItems.test.d.ts.map +0 -1
- package/dist/types/utils/mergeQueryItems.test.js +0 -66
- package/dist/types/utils/mergeQueryItems.test.js.map +0 -1
- package/dist/types/utils/metricsExplorer.test.d.ts +0 -2
- package/dist/types/utils/metricsExplorer.test.d.ts.map +0 -1
- package/dist/types/utils/metricsExplorer.test.js +0 -175
- package/dist/types/utils/metricsExplorer.test.js.map +0 -1
- package/dist/types/utils/normalizeCellRawForFilter.test.d.ts +0 -2
- package/dist/types/utils/normalizeCellRawForFilter.test.d.ts.map +0 -1
- package/dist/types/utils/normalizeCellRawForFilter.test.js +0 -63
- package/dist/types/utils/normalizeCellRawForFilter.test.js.map +0 -1
- package/dist/types/utils/oauth.test.d.ts +0 -2
- package/dist/types/utils/oauth.test.d.ts.map +0 -1
- package/dist/types/utils/oauth.test.js +0 -89
- package/dist/types/utils/oauth.test.js.map +0 -1
- package/dist/types/utils/previewDeployWorkflow.test.d.ts +0 -2
- package/dist/types/utils/previewDeployWorkflow.test.d.ts.map +0 -1
- package/dist/types/utils/previewDeployWorkflow.test.js +0 -173
- package/dist/types/utils/previewDeployWorkflow.test.js.map +0 -1
- package/dist/types/utils/projectMemberRole.test.d.ts +0 -2
- package/dist/types/utils/projectMemberRole.test.d.ts.map +0 -1
- package/dist/types/utils/projectMemberRole.test.js +0 -36
- package/dist/types/utils/projectMemberRole.test.js.map +0 -1
- package/dist/types/utils/queryHistoryList.test.d.ts +0 -2
- package/dist/types/utils/queryHistoryList.test.d.ts.map +0 -1
- package/dist/types/utils/queryHistoryList.test.js +0 -89
- package/dist/types/utils/queryHistoryList.test.js.map +0 -1
- package/dist/types/utils/resolveQueryTimezone.test.d.ts +0 -2
- package/dist/types/utils/resolveQueryTimezone.test.d.ts.map +0 -1
- package/dist/types/utils/resolveQueryTimezone.test.js +0 -151
- package/dist/types/utils/resolveQueryTimezone.test.js.map +0 -1
- package/dist/types/utils/resultColumns.test.d.ts +0 -2
- package/dist/types/utils/resultColumns.test.d.ts.map +0 -1
- package/dist/types/utils/resultColumns.test.js +0 -191
- package/dist/types/utils/resultColumns.test.js.map +0 -1
- package/dist/types/utils/sanitizeHtml.test.d.ts +0 -2
- package/dist/types/utils/sanitizeHtml.test.d.ts.map +0 -1
- package/dist/types/utils/sanitizeHtml.test.js +0 -198
- package/dist/types/utils/sanitizeHtml.test.js.map +0 -1
- package/dist/types/utils/scheduler.test.d.ts +0 -2
- package/dist/types/utils/scheduler.test.d.ts.map +0 -1
- package/dist/types/utils/scheduler.test.js +0 -61
- package/dist/types/utils/scheduler.test.js.map +0 -1
- package/dist/types/utils/searchParams.test.d.ts +0 -2
- package/dist/types/utils/searchParams.test.d.ts.map +0 -1
- package/dist/types/utils/searchParams.test.js +0 -20
- package/dist/types/utils/searchParams.test.js.map +0 -1
- package/dist/types/utils/slack.test.d.ts +0 -2
- package/dist/types/utils/slack.test.d.ts.map +0 -1
- package/dist/types/utils/slack.test.js +0 -100
- package/dist/types/utils/slack.test.js.map +0 -1
- package/dist/types/utils/slug.test.d.ts +0 -2
- package/dist/types/utils/slug.test.d.ts.map +0 -1
- package/dist/types/utils/slug.test.js +0 -129
- package/dist/types/utils/slug.test.js.map +0 -1
- package/dist/types/utils/tableCalculationFunctions.test.d.ts +0 -2
- package/dist/types/utils/tableCalculationFunctions.test.d.ts.map +0 -1
- package/dist/types/utils/tableCalculationFunctions.test.js +0 -944
- package/dist/types/utils/tableCalculationFunctions.test.js.map +0 -1
- package/dist/types/utils/tableCalculationFunctions.utility.test.d.ts +0 -2
- package/dist/types/utils/tableCalculationFunctions.utility.test.d.ts.map +0 -1
- package/dist/types/utils/tableCalculationFunctions.utility.test.js +0 -84
- package/dist/types/utils/tableCalculationFunctions.utility.test.js.map +0 -1
- package/dist/types/utils/timeFrames.test.d.ts +0 -2
- package/dist/types/utils/timeFrames.test.d.ts.map +0 -1
- package/dist/types/utils/timeFrames.test.js +0 -860
- package/dist/types/utils/timeFrames.test.js.map +0 -1
- package/dist/types/utils/virtualView.test.d.ts +0 -2
- package/dist/types/utils/virtualView.test.d.ts.map +0 -1
- package/dist/types/utils/virtualView.test.js +0 -154
- package/dist/types/utils/virtualView.test.js.map +0 -1
- package/dist/types/utils/warehouse.test.d.ts +0 -2
- package/dist/types/utils/warehouse.test.d.ts.map +0 -1
- package/dist/types/utils/warehouse.test.js +0 -44
- package/dist/types/utils/warehouse.test.js.map +0 -1
- package/dist/types/utils/warehouseLocation.test.d.ts +0 -2
- package/dist/types/utils/warehouseLocation.test.d.ts.map +0 -1
- package/dist/types/utils/warehouseLocation.test.js +0 -165
- package/dist/types/utils/warehouseLocation.test.js.map +0 -1
- package/dist/types/utils/warehouseResourceLimits.test.d.ts +0 -2
- package/dist/types/utils/warehouseResourceLimits.test.d.ts.map +0 -1
- package/dist/types/utils/warehouseResourceLimits.test.js +0 -15
- package/dist/types/utils/warehouseResourceLimits.test.js.map +0 -1
- package/dist/types/utils/zodJsonSchema.test.d.ts +0 -2
- package/dist/types/utils/zodJsonSchema.test.d.ts.map +0 -1
- package/dist/types/utils/zodJsonSchema.test.js +0 -141
- package/dist/types/utils/zodJsonSchema.test.js.map +0 -1
- package/dist/types/visualizations/BigNumberDataModel.test.d.ts +0 -2
- package/dist/types/visualizations/BigNumberDataModel.test.d.ts.map +0 -1
- package/dist/types/visualizations/BigNumberDataModel.test.js +0 -344
- package/dist/types/visualizations/BigNumberDataModel.test.js.map +0 -1
- package/dist/types/visualizations/CartesianChartDataModel.test.d.ts +0 -2
- package/dist/types/visualizations/CartesianChartDataModel.test.d.ts.map +0 -1
- package/dist/types/visualizations/CartesianChartDataModel.test.js +0 -221
- package/dist/types/visualizations/CartesianChartDataModel.test.js.map +0 -1
- package/dist/types/visualizations/TableDataModel.test.d.ts +0 -2
- package/dist/types/visualizations/TableDataModel.test.d.ts.map +0 -1
- package/dist/types/visualizations/TableDataModel.test.js +0 -62
- package/dist/types/visualizations/TableDataModel.test.js.map +0 -1
- package/dist/types/visualizations/helpers/styles/barChartStyles.test.d.ts +0 -2
- package/dist/types/visualizations/helpers/styles/barChartStyles.test.d.ts.map +0 -1
- package/dist/types/visualizations/helpers/styles/barChartStyles.test.js +0 -74
- package/dist/types/visualizations/helpers/styles/barChartStyles.test.js.map +0 -1
- package/dist/types/visualizations/helpers/styles/pieChartStyles.test.d.ts +0 -2
- package/dist/types/visualizations/helpers/styles/pieChartStyles.test.d.ts.map +0 -1
- package/dist/types/visualizations/helpers/styles/pieChartStyles.test.js +0 -29
- package/dist/types/visualizations/helpers/styles/pieChartStyles.test.js.map +0 -1
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.test.d.ts +0 -2
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.test.d.ts.map +0 -1
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.test.js +0 -37
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.test.js.map +0 -1
- package/dist/types/visualizations/helpers/tooltipFormatter.test.d.ts +0 -2
- package/dist/types/visualizations/helpers/tooltipFormatter.test.d.ts.map +0 -1
- package/dist/types/visualizations/helpers/tooltipFormatter.test.js +0 -285
- package/dist/types/visualizations/helpers/tooltipFormatter.test.js.map +0 -1
|
@@ -1,1753 +0,0 @@
|
|
|
1
|
-
import { SupportedDbtAdapter } from '../types/dbt';
|
|
2
|
-
import { CompileError } from '../types/errors';
|
|
3
|
-
import { InlineErrorType } from '../types/explore';
|
|
4
|
-
import { DimensionType, FieldType, friendlyName, MetricType, } from '../types/field';
|
|
5
|
-
import { FilterOperator, UnitOfTime } from '../types/filter';
|
|
6
|
-
import { TimeFrames } from '../types/timeFrames';
|
|
7
|
-
import { ExploreCompiler, getTableColumnReferences, parseAllReferences, sqlAggregationWrapsReferences, sqlContainsAggregation, } from './exploreCompiler';
|
|
8
|
-
import { compiledExploreWithHiddenJoin, compiledExploreWithJoinWithFieldsAndGroups, compiledExploreWithParameters, compiledJoinedExploreOverridingAliasAndLabel, compiledJoinedExploreOverridingJoinAlias, compiledJoinedExploreOverridingJoinDescription, compiledJoinedExploreOverridingJoinLabel, compiledJoinedExploreWithJoinAliasAndSubsetOfFieldsThatDontIncludeSqlFields, compiledJoinedExploreWithSubsetOfFields, compiledJoinedExploreWithSubsetOfFieldsThatDontIncludeSqlFields, compiledJoinedExploreWithTwoJoinsToTheSameTable, compiledSimpleJoinedExplore, compiledSimpleJoinedExploreWithAlwaysTrue, compiledSimpleJoinedExploreWithBaseTableDescription, createExploreWithRequiredFilters, customSqlDimensionWithNoReferences, customSqlDimensionWithReferences, expectedCompiledCustomSqlDimensionWithNoReferences, expectedCompiledCustomSqlDimensionWithReferences, exploreCircularDimensionReference, exploreCircularDimensionShortReference, exploreCircularMetricReference, exploreCircularMetricShortReference, exploreComplexReference, exploreComplexReferenceCompiled, exploreMissingBaseTable, exploreMissingJoinTable, exploreOneEmptyTable, exploreOneEmptyTableCompiled, exploreReferenceDimension, exploreReferenceDimensionCompiled, exploreReferenceInJoin, exploreReferenceInJoinCompiled, exploreTableSelfReference, exploreTableSelfReferenceCompiled, exploreTableSelfReferenceCompiledSqlWhere, exploreTableSelfReferenceSqlWhere, exploreWithHiddenJoin, exploreWithInvalidParameterReference, exploreWithJoinWithFieldsAndGroups, exploreWithMetricNumber, exploreWithMetricNumberCompiled, exploreWithMixedDimensionAndMetricReferences, exploreWithMixedDimensionAndMetricReferencesCompiled, exploreWithNonAggregateMetricWithAggregationInSql, exploreWithNonAggregateMetricWithAggregationInSqlCompiled, exploreWithParameters, exploreWithRequiredAttributes, exploreWithRequiredAttributesCompiled, joinedExploreOverridingAliasAndLabel, joinedExploreOverridingJoinAlias, joinedExploreOverridingJoinDescription, joinedExploreOverridingJoinLabel, joinedExploreWithJoinAliasAndSubsetOfFieldsThatDontIncludeSqlFields, joinedExploreWithSubsetOfFields, joinedExploreWithSubsetOfFieldsThatDontIncludeSqlFields, joinedExploreWithTwoJoinsToTheSameTable, simpleJoinedExplore, simpleJoinedExploreWithAlwaysTrue, simpleJoinedExploreWithBaseTableDescription, tablesWithMetricsWithFilters, warehouseClientMock, } from './exploreCompiler.mock';
|
|
9
|
-
const compiler = new ExploreCompiler(warehouseClientMock);
|
|
10
|
-
describe('custom model metadata', () => {
|
|
11
|
-
test.each([undefined, {}])('omits absent or empty custom metadata (%j)', (customMeta) => {
|
|
12
|
-
const compiled = compiler.compileExplore({
|
|
13
|
-
...exploreOneEmptyTable,
|
|
14
|
-
customMeta,
|
|
15
|
-
});
|
|
16
|
-
expect(compiled).not.toHaveProperty('customMeta');
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
test('Should throw when required/default filters reference a hidden dimension', () => {
|
|
20
|
-
const exploreWithHiddenRequiredFilter = createExploreWithRequiredFilters([
|
|
21
|
-
{
|
|
22
|
-
id: 'hidden-filter',
|
|
23
|
-
target: { fieldRef: 'credit_card_amount' },
|
|
24
|
-
operator: FilterOperator.GREATER_THAN_OR_EQUAL,
|
|
25
|
-
values: [0],
|
|
26
|
-
required: true,
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
id: 'visible-filter',
|
|
30
|
-
target: { fieldRef: 'has_credit_card_payment' },
|
|
31
|
-
operator: FilterOperator.EQUALS,
|
|
32
|
-
values: ['true'],
|
|
33
|
-
required: true,
|
|
34
|
-
},
|
|
35
|
-
]);
|
|
36
|
-
const compileExplore = () => compiler.compileExplore(exploreWithHiddenRequiredFilter);
|
|
37
|
-
expect(compileExplore).toThrowError(/Hidden fields can't be used in default_filters or required_filters/);
|
|
38
|
-
expect(compileExplore).toThrowError(/credit_card_amount/);
|
|
39
|
-
});
|
|
40
|
-
test('Should allow required/default filters on visible additional dimensions', () => {
|
|
41
|
-
const exploreWithVisibleAdditionalRequiredFilter = createExploreWithRequiredFilters([
|
|
42
|
-
{
|
|
43
|
-
id: 'visible-filter',
|
|
44
|
-
target: { fieldRef: 'has_credit_card_payment' },
|
|
45
|
-
operator: FilterOperator.EQUALS,
|
|
46
|
-
values: ['true'],
|
|
47
|
-
required: true,
|
|
48
|
-
},
|
|
49
|
-
]);
|
|
50
|
-
const compiledExplore = compiler.compileExplore(exploreWithVisibleAdditionalRequiredFilter);
|
|
51
|
-
expect(compiledExplore.tables.orders.requiredFilters).toEqual(expect.arrayContaining([
|
|
52
|
-
expect.objectContaining({
|
|
53
|
-
target: expect.objectContaining({
|
|
54
|
-
fieldRef: 'has_credit_card_payment',
|
|
55
|
-
}),
|
|
56
|
-
}),
|
|
57
|
-
]));
|
|
58
|
-
});
|
|
59
|
-
test('Should compile empty table', () => {
|
|
60
|
-
expect(compiler.compileExplore(exploreOneEmptyTable)).toStrictEqual(exploreOneEmptyTableCompiled);
|
|
61
|
-
});
|
|
62
|
-
test('Should throw error when missing base table', () => {
|
|
63
|
-
expect(() => compiler.compileExplore(exploreMissingBaseTable)).toThrowError(CompileError);
|
|
64
|
-
});
|
|
65
|
-
test('Missing joins explain model selection and identify the alias', () => {
|
|
66
|
-
const partialCompiler = new ExploreCompiler(warehouseClientMock, {
|
|
67
|
-
allowPartialCompilation: true,
|
|
68
|
-
});
|
|
69
|
-
const result = partialCompiler.compileExplore({
|
|
70
|
-
...exploreMissingJoinTable,
|
|
71
|
-
joinedTables: [{ table: 'b', alias: 'account', sqlOn: '' }],
|
|
72
|
-
});
|
|
73
|
-
expect(result.joinedTables).toEqual([]);
|
|
74
|
-
expect(result.warnings).toEqual([
|
|
75
|
-
{
|
|
76
|
-
type: InlineErrorType.MISSING_TABLE,
|
|
77
|
-
message: 'Join "account" to table "b" was skipped because the model is not available in this Lightdash project. Check that the model exists, is included by the project\'s tags/selector, and compiles successfully, then refresh the project.',
|
|
78
|
-
},
|
|
79
|
-
]);
|
|
80
|
-
});
|
|
81
|
-
test('Dependent joins point to the skipped alias and its unavailable model', () => {
|
|
82
|
-
const partialCompiler = new ExploreCompiler(warehouseClientMock, {
|
|
83
|
-
allowPartialCompilation: true,
|
|
84
|
-
});
|
|
85
|
-
const result = partialCompiler.compileExplore({
|
|
86
|
-
...simpleJoinedExplore,
|
|
87
|
-
joinedTables: [
|
|
88
|
-
{
|
|
89
|
-
table: 'accounts',
|
|
90
|
-
alias: 'account',
|
|
91
|
-
sqlOn: '${a.dim1} = ${account.dim1}',
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
table: 'b',
|
|
95
|
-
alias: 'details',
|
|
96
|
-
sqlOn: '${account.dim1} = ${details.dim1}',
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
});
|
|
100
|
-
expect(result.joinedTables).toEqual([]);
|
|
101
|
-
expect(Object.keys(result.tables)).toEqual(['a']);
|
|
102
|
-
expect(result.warnings).toEqual([
|
|
103
|
-
expect.objectContaining({ type: InlineErrorType.MISSING_TABLE }),
|
|
104
|
-
{
|
|
105
|
-
type: InlineErrorType.SKIPPED_JOIN,
|
|
106
|
-
message: 'Join "details" was skipped because it depends on skipped join "account" (table "accounts"). Resolve the missing-table warning for that join, then refresh the project.',
|
|
107
|
-
},
|
|
108
|
-
]);
|
|
109
|
-
});
|
|
110
|
-
test('Should throw error when missing joined table', () => {
|
|
111
|
-
expect(() => compiler.compileExplore(exploreMissingJoinTable)).toThrowError(CompileError);
|
|
112
|
-
});
|
|
113
|
-
test('Should throw error when dimension/metric has circular reference', () => {
|
|
114
|
-
expect(() => compiler.compileExplore(exploreCircularDimensionReference)).toThrowError(CompileError);
|
|
115
|
-
expect(() => compiler.compileExplore(exploreCircularDimensionShortReference)).toThrowError(CompileError);
|
|
116
|
-
expect(() => compiler.compileExplore(exploreCircularMetricReference)).toThrowError(CompileError);
|
|
117
|
-
expect(() => compiler.compileExplore(exploreCircularMetricShortReference)).toThrowError(CompileError);
|
|
118
|
-
});
|
|
119
|
-
test('Should compile table with TABLE reference', () => {
|
|
120
|
-
expect(compiler.compileExplore(exploreTableSelfReference)).toStrictEqual(exploreTableSelfReferenceCompiled);
|
|
121
|
-
});
|
|
122
|
-
test('Should compile table with TABLE reference on sql where', () => {
|
|
123
|
-
expect(compiler.compileExplore(exploreTableSelfReferenceSqlWhere)).toStrictEqual(exploreTableSelfReferenceCompiledSqlWhere);
|
|
124
|
-
});
|
|
125
|
-
test('Should compile table with reference to another dimension', () => {
|
|
126
|
-
expect(compiler.compileExplore(exploreReferenceDimension)).toStrictEqual(exploreReferenceDimensionCompiled);
|
|
127
|
-
});
|
|
128
|
-
test('Should compile table with nested references in dimensions and metrics', () => {
|
|
129
|
-
expect(compiler.compileExplore(exploreComplexReference)).toStrictEqual(exploreComplexReferenceCompiled);
|
|
130
|
-
});
|
|
131
|
-
test('Should compile with a reference to a dimension in a joined table', () => {
|
|
132
|
-
expect(compiler.compileExplore(exploreReferenceInJoin)).toStrictEqual(exploreReferenceInJoinCompiled);
|
|
133
|
-
});
|
|
134
|
-
test('Should compile with a reference to a metric in a non-aggregate metric', () => {
|
|
135
|
-
expect(compiler.compileExplore(exploreWithMetricNumber)).toStrictEqual(exploreWithMetricNumberCompiled);
|
|
136
|
-
});
|
|
137
|
-
test('Should compile non-aggregate metrics with aggregation in SQL referencing dimensions', () => {
|
|
138
|
-
// This tests the pattern where type:number metrics have aggregation
|
|
139
|
-
// functions in their SQL (e.g., "count(distinct ${user_id})").
|
|
140
|
-
// These should be allowed to reference dimensions.
|
|
141
|
-
expect(compiler.compileExplore(exploreWithNonAggregateMetricWithAggregationInSql)).toStrictEqual(exploreWithNonAggregateMetricWithAggregationInSqlCompiled);
|
|
142
|
-
});
|
|
143
|
-
test('Should compile non-aggregate metrics with aggregation in SQL referencing BOTH dimensions AND metrics', () => {
|
|
144
|
-
// This tests the pattern where type:number metrics have aggregation
|
|
145
|
-
// and reference both dimensions and other metrics in the same SQL.
|
|
146
|
-
// For example: "sum(${amount}) / ${user_count}" where amount is a dimension
|
|
147
|
-
// and user_count is a metric.
|
|
148
|
-
expect(compiler.compileExplore(exploreWithMixedDimensionAndMetricReferences)).toStrictEqual(exploreWithMixedDimensionAndMetricReferencesCompiled);
|
|
149
|
-
});
|
|
150
|
-
describe('Explores with a base table and joined table', () => {
|
|
151
|
-
test('should compile', () => {
|
|
152
|
-
expect(compiler.compileExplore(simpleJoinedExplore)).toStrictEqual(compiledSimpleJoinedExplore);
|
|
153
|
-
});
|
|
154
|
-
test('should compile explore with join with fields and a time interval dimension with groups', () => {
|
|
155
|
-
expect(compiler.compileExplore(exploreWithJoinWithFieldsAndGroups)).toStrictEqual(compiledExploreWithJoinWithFieldsAndGroups);
|
|
156
|
-
});
|
|
157
|
-
test('should compile with a reference to a dimension in a joined table', () => {
|
|
158
|
-
expect(compiler.compileExplore(exploreReferenceInJoin)).toStrictEqual(exploreReferenceInJoinCompiled);
|
|
159
|
-
});
|
|
160
|
-
test('should compile with custom label on join', () => {
|
|
161
|
-
expect(compiler.compileExplore(joinedExploreOverridingJoinLabel)).toStrictEqual(compiledJoinedExploreOverridingJoinLabel);
|
|
162
|
-
});
|
|
163
|
-
test('should compile with alias on join', () => {
|
|
164
|
-
expect(compiler.compileExplore(joinedExploreOverridingJoinAlias)).toStrictEqual(compiledJoinedExploreOverridingJoinAlias);
|
|
165
|
-
});
|
|
166
|
-
test('should compile with an alias and custom label on join', () => {
|
|
167
|
-
expect(compiler.compileExplore(joinedExploreOverridingAliasAndLabel)).toStrictEqual(compiledJoinedExploreOverridingAliasAndLabel);
|
|
168
|
-
});
|
|
169
|
-
test('should compile with a subset of fields selected on join', () => {
|
|
170
|
-
expect(compiler.compileExplore(joinedExploreWithSubsetOfFields)).toStrictEqual(compiledJoinedExploreWithSubsetOfFields);
|
|
171
|
-
});
|
|
172
|
-
test('should compile with 2 joins to the same table, one without alias and one with alias', () => {
|
|
173
|
-
expect(compiler.compileExplore(joinedExploreWithTwoJoinsToTheSameTable)).toStrictEqual(compiledJoinedExploreWithTwoJoinsToTheSameTable);
|
|
174
|
-
});
|
|
175
|
-
test('should compile with a subset of fields selected on join what dont include the fields in the join SQL', () => {
|
|
176
|
-
expect(compiler.compileExplore(joinedExploreWithSubsetOfFieldsThatDontIncludeSqlFields)).toStrictEqual(compiledJoinedExploreWithSubsetOfFieldsThatDontIncludeSqlFields);
|
|
177
|
-
});
|
|
178
|
-
test('should compile joins with a join alias and a subset of fields selected on join which dont include the fields in the join SQL', () => {
|
|
179
|
-
expect(compiler.compileExplore(joinedExploreWithJoinAliasAndSubsetOfFieldsThatDontIncludeSqlFields)).toStrictEqual(compiledJoinedExploreWithJoinAliasAndSubsetOfFieldsThatDontIncludeSqlFields);
|
|
180
|
-
});
|
|
181
|
-
test('should compile with a hidden join', () => {
|
|
182
|
-
expect(compiler.compileExplore(exploreWithHiddenJoin)).toStrictEqual(compiledExploreWithHiddenJoin);
|
|
183
|
-
});
|
|
184
|
-
test('should use base table description when join has no description override', () => {
|
|
185
|
-
expect(compiler.compileExplore(simpleJoinedExploreWithBaseTableDescription)).toStrictEqual(compiledSimpleJoinedExploreWithBaseTableDescription);
|
|
186
|
-
});
|
|
187
|
-
test('should override base table description with join description', () => {
|
|
188
|
-
expect(compiler.compileExplore(joinedExploreOverridingJoinDescription)).toStrictEqual(compiledJoinedExploreOverridingJoinDescription);
|
|
189
|
-
});
|
|
190
|
-
});
|
|
191
|
-
describe('Case sensitivity with project defaults', () => {
|
|
192
|
-
test('should use project defaults when explore caseSensitive is not set', () => {
|
|
193
|
-
const exploreWithProjectDefaults = {
|
|
194
|
-
...exploreOneEmptyTable,
|
|
195
|
-
projectDefaults: {
|
|
196
|
-
case_sensitive: false,
|
|
197
|
-
},
|
|
198
|
-
};
|
|
199
|
-
const compiled = compiler.compileExplore(exploreWithProjectDefaults);
|
|
200
|
-
expect(compiled.caseSensitive).toBe(false);
|
|
201
|
-
});
|
|
202
|
-
test('should use explore caseSensitive over project defaults', () => {
|
|
203
|
-
const exploreWithBothSettings = {
|
|
204
|
-
...exploreOneEmptyTable,
|
|
205
|
-
caseSensitive: true, // Explore level setting
|
|
206
|
-
projectDefaults: {
|
|
207
|
-
case_sensitive: false, // Project level setting
|
|
208
|
-
},
|
|
209
|
-
};
|
|
210
|
-
const compiled = compiler.compileExplore(exploreWithBothSettings);
|
|
211
|
-
expect(compiled.caseSensitive).toBe(true);
|
|
212
|
-
});
|
|
213
|
-
test('should not set caseSensitive when neither explore nor project defaults are set', () => {
|
|
214
|
-
const exploreWithNoSettings = {
|
|
215
|
-
...exploreOneEmptyTable,
|
|
216
|
-
};
|
|
217
|
-
const compiled = compiler.compileExplore(exploreWithNoSettings);
|
|
218
|
-
expect(compiled.caseSensitive).toBeUndefined();
|
|
219
|
-
});
|
|
220
|
-
});
|
|
221
|
-
describe('Default field labels render correctly for various input formats', () => {
|
|
222
|
-
test('should handle uppercase field names', () => {
|
|
223
|
-
expect(friendlyName('MYFIELDID')).toEqual('Myfieldid');
|
|
224
|
-
expect(friendlyName('MY_FIELD_ID')).toEqual('My field id');
|
|
225
|
-
});
|
|
226
|
-
test('should handle camel case names', () => {
|
|
227
|
-
expect(friendlyName('myFieldId')).toEqual('My field id');
|
|
228
|
-
});
|
|
229
|
-
test('should handle snake case names', () => {
|
|
230
|
-
expect(friendlyName('my_field_id')).toEqual('My field id');
|
|
231
|
-
});
|
|
232
|
-
test('should handle names with numbers at the start', () => {
|
|
233
|
-
expect(friendlyName('1_field_id')).toEqual('1 field id');
|
|
234
|
-
});
|
|
235
|
-
test('should handle names with numbers in the middle', () => {
|
|
236
|
-
expect(friendlyName('my_1field_id')).toEqual('My 1field id');
|
|
237
|
-
});
|
|
238
|
-
test('should handle numbers in the input', () => {
|
|
239
|
-
expect(friendlyName('numberrange1')).toBe('Numberrange 1');
|
|
240
|
-
expect(friendlyName('numberrange_14')).toBe('Numberrange 14');
|
|
241
|
-
expect(friendlyName('date9')).toBe('Date 9');
|
|
242
|
-
});
|
|
243
|
-
const commonCases = [
|
|
244
|
-
['customer_id', 'Customer id'],
|
|
245
|
-
['first_name', 'First name'],
|
|
246
|
-
['last_name', 'Last name'],
|
|
247
|
-
['created', 'Created'],
|
|
248
|
-
['payment_id', 'Payment id'],
|
|
249
|
-
['order_id', 'Order id'],
|
|
250
|
-
['payment_method', 'Payment method'],
|
|
251
|
-
['amount', 'Amount'],
|
|
252
|
-
];
|
|
253
|
-
test.each(commonCases)('should handle common case %s', (input, expected) => {
|
|
254
|
-
expect(friendlyName(input)).toBe(expected);
|
|
255
|
-
});
|
|
256
|
-
test('should handle empty strings', () => {
|
|
257
|
-
expect(friendlyName('')).toBe('');
|
|
258
|
-
});
|
|
259
|
-
test('should handle all uppercase input', () => {
|
|
260
|
-
expect(friendlyName('TIMESTAMP_EST')).toBe('Timestamp est');
|
|
261
|
-
});
|
|
262
|
-
test('should handle mixed case input', () => {
|
|
263
|
-
expect(friendlyName('Timestamp_EST')).toBe('Timestamp est');
|
|
264
|
-
});
|
|
265
|
-
const underscoreCases = [
|
|
266
|
-
['created_by_first_name', 'Created by first name'],
|
|
267
|
-
['order_date', 'Order date'],
|
|
268
|
-
['customer_lifetime_value', 'Customer lifetime value'],
|
|
269
|
-
['days_since_last_order', 'Days since last order'],
|
|
270
|
-
[
|
|
271
|
-
'days_between_created_and_first_order',
|
|
272
|
-
'Days between created and first order',
|
|
273
|
-
],
|
|
274
|
-
];
|
|
275
|
-
test.each(underscoreCases)('should handle multiple underscores %s', (input, expected) => {
|
|
276
|
-
expect(friendlyName(input)).toBe(expected);
|
|
277
|
-
});
|
|
278
|
-
const edgeCases = [
|
|
279
|
-
['_timestamp_', 'Timestamp'],
|
|
280
|
-
['__timestamp__', 'Timestamp'],
|
|
281
|
-
['timestamp__EST', 'Timestamp est'],
|
|
282
|
-
['timestamp_EST_', 'Timestamp est'],
|
|
283
|
-
];
|
|
284
|
-
test.each(edgeCases)('should handle edge case %s', (input, expected) => {
|
|
285
|
-
expect(friendlyName(input)).toBe(expected);
|
|
286
|
-
});
|
|
287
|
-
const specialCases = [
|
|
288
|
-
['timestamp_tz', 'Timestamp tz'],
|
|
289
|
-
['timestamp_ntz', 'Timestamp ntz'],
|
|
290
|
-
['timestamp_ltz', 'Timestamp ltz'],
|
|
291
|
-
['event_id', 'Event id'],
|
|
292
|
-
['context_app_version', 'Context app version'],
|
|
293
|
-
];
|
|
294
|
-
test.each(specialCases)('should handle special case %s', (input, expected) => {
|
|
295
|
-
expect(friendlyName(input)).toBe(expected);
|
|
296
|
-
});
|
|
297
|
-
const additionalCases = [
|
|
298
|
-
['name_with-dash', 'Name with dash'],
|
|
299
|
-
['name_with.dot', 'Name with dot'],
|
|
300
|
-
['name_with/slash', 'Name with slash'],
|
|
301
|
-
['Customer_ID', 'Customer id'],
|
|
302
|
-
['User_Name', 'User name'],
|
|
303
|
-
];
|
|
304
|
-
test.each(additionalCases)('should handle special characters and mixed case %s', (input, expected) => {
|
|
305
|
-
expect(friendlyName(input)).toBe(expected);
|
|
306
|
-
});
|
|
307
|
-
});
|
|
308
|
-
describe('Compile metrics with filters', () => {
|
|
309
|
-
beforeAll(() => {
|
|
310
|
-
vi.useFakeTimers();
|
|
311
|
-
vi.setSystemTime(new Date('04 Apr 2020 00:12:00 GMT').getTime());
|
|
312
|
-
});
|
|
313
|
-
afterAll(() => {
|
|
314
|
-
vi.useRealTimers();
|
|
315
|
-
});
|
|
316
|
-
test('should show filters as columns metric1', () => {
|
|
317
|
-
expect(compiler.compileMetric(tablesWithMetricsWithFilters.table1.metrics.metric1, tablesWithMetricsWithFilters, []).compiledSql).toStrictEqual(`MAX(CASE WHEN (("table1".shared) LIKE '%foo%') THEN ("table1".number_column) ELSE NULL END)`);
|
|
318
|
-
});
|
|
319
|
-
test('should show filters as columns metric2', () => {
|
|
320
|
-
expect(compiler.compileMetric(tablesWithMetricsWithFilters.table2.metrics.metric2, tablesWithMetricsWithFilters, []).compiledSql).toStrictEqual(`MAX(CASE WHEN (("table2".dim2) < (10) AND ("table2".dim2) > (5)) THEN ("table2".number_column) ELSE NULL END)`);
|
|
321
|
-
});
|
|
322
|
-
test('should show filters as columns metric with sql', () => {
|
|
323
|
-
expect(compiler.compileMetric(tablesWithMetricsWithFilters.table1.metrics.metric_with_sql, tablesWithMetricsWithFilters, []).compiledSql).toStrictEqual(`MAX(CASE WHEN (("table1".shared) LIKE '%foo%') THEN (CASE WHEN "table1".number_column THEN 1 ELSE 0 END) ELSE NULL END)`);
|
|
324
|
-
});
|
|
325
|
-
});
|
|
326
|
-
describe('compileMetric spotlight defaults validation', () => {
|
|
327
|
-
const baseMetric = tablesWithMetricsWithFilters.table1.metrics.metric1;
|
|
328
|
-
test('accepts a valid default_segment and default_filter', () => {
|
|
329
|
-
const metric = {
|
|
330
|
-
...baseMetric,
|
|
331
|
-
spotlight: {
|
|
332
|
-
visibility: 'show',
|
|
333
|
-
segmentBy: ['shared'],
|
|
334
|
-
defaultSegment: 'shared',
|
|
335
|
-
defaultFilter: {
|
|
336
|
-
id: 'x',
|
|
337
|
-
target: { fieldRef: 'shared' },
|
|
338
|
-
operator: FilterOperator.EQUALS,
|
|
339
|
-
values: ['foo'],
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
};
|
|
343
|
-
expect(() => compiler.compileMetric(metric, tablesWithMetricsWithFilters, [])).not.toThrow();
|
|
344
|
-
});
|
|
345
|
-
test('accepts a joined (cross-table) default_filter reference', () => {
|
|
346
|
-
const metric = {
|
|
347
|
-
...baseMetric,
|
|
348
|
-
spotlight: {
|
|
349
|
-
visibility: 'show',
|
|
350
|
-
defaultFilter: {
|
|
351
|
-
id: 'x',
|
|
352
|
-
target: { fieldRef: 'table2.dim2' },
|
|
353
|
-
operator: FilterOperator.EQUALS,
|
|
354
|
-
values: ['v'],
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
};
|
|
358
|
-
expect(() => compiler.compileMetric(metric, tablesWithMetricsWithFilters, [])).not.toThrow();
|
|
359
|
-
});
|
|
360
|
-
test('does not throw for a metric with no spotlight defaults (no regression)', () => {
|
|
361
|
-
expect(() => compiler.compileMetric(baseMetric, tablesWithMetricsWithFilters, [])).not.toThrow();
|
|
362
|
-
});
|
|
363
|
-
test('throws when default_segment is not in the segment_by allowlist', () => {
|
|
364
|
-
const metric = {
|
|
365
|
-
...baseMetric,
|
|
366
|
-
spotlight: {
|
|
367
|
-
visibility: 'show',
|
|
368
|
-
segmentBy: ['shared'],
|
|
369
|
-
defaultSegment: 'dim1',
|
|
370
|
-
},
|
|
371
|
-
};
|
|
372
|
-
expect(() => compiler.compileMetric(metric, tablesWithMetricsWithFilters, [])).toThrowError(/default_segment 'dim1' must be one of segment_by/);
|
|
373
|
-
});
|
|
374
|
-
test('throws when default_segment dimension is not segmentable', () => {
|
|
375
|
-
const metric = {
|
|
376
|
-
...baseMetric,
|
|
377
|
-
spotlight: {
|
|
378
|
-
visibility: 'show',
|
|
379
|
-
defaultSegment: 'dim1',
|
|
380
|
-
},
|
|
381
|
-
};
|
|
382
|
-
expect(() => compiler.compileMetric(metric, tablesWithMetricsWithFilters, [])).toThrowError(/default_segment 'dim1' .* segmentable/);
|
|
383
|
-
});
|
|
384
|
-
test('throws when default_filter references an unknown dimension', () => {
|
|
385
|
-
const metric = {
|
|
386
|
-
...baseMetric,
|
|
387
|
-
spotlight: {
|
|
388
|
-
visibility: 'show',
|
|
389
|
-
defaultFilter: {
|
|
390
|
-
id: 'x',
|
|
391
|
-
target: { fieldRef: 'does_not_exist' },
|
|
392
|
-
operator: FilterOperator.EQUALS,
|
|
393
|
-
values: ['foo'],
|
|
394
|
-
},
|
|
395
|
-
},
|
|
396
|
-
};
|
|
397
|
-
expect(() => compiler.compileMetric(metric, tablesWithMetricsWithFilters, [])).toThrowError(/default_filter references an unknown dimension/);
|
|
398
|
-
});
|
|
399
|
-
test('throws when default_filter uses an unsupported operator', () => {
|
|
400
|
-
const metric = {
|
|
401
|
-
...baseMetric,
|
|
402
|
-
spotlight: {
|
|
403
|
-
visibility: 'show',
|
|
404
|
-
defaultFilter: {
|
|
405
|
-
id: 'x',
|
|
406
|
-
target: { fieldRef: 'shared' },
|
|
407
|
-
operator: FilterOperator.GREATER_THAN,
|
|
408
|
-
values: [4],
|
|
409
|
-
},
|
|
410
|
-
},
|
|
411
|
-
};
|
|
412
|
-
expect(() => compiler.compileMetric(metric, tablesWithMetricsWithFilters, [])).toThrowError(/default_filter uses operator .* not supported/);
|
|
413
|
-
});
|
|
414
|
-
});
|
|
415
|
-
describe('Parse dimension reference', () => {
|
|
416
|
-
test('should parse dimensions', () => {
|
|
417
|
-
expect(parseAllReferences('${dimension} == 1', 'table')).toStrictEqual([
|
|
418
|
-
{ refName: 'dimension', refTable: 'table' },
|
|
419
|
-
]);
|
|
420
|
-
expect(parseAllReferences('${table.dimension}', 'table')).toStrictEqual([{ refName: 'dimension', refTable: 'table' }]);
|
|
421
|
-
});
|
|
422
|
-
test('should parse TABLE', () => {
|
|
423
|
-
expect(parseAllReferences('${TABLE}', 'table')).toStrictEqual([
|
|
424
|
-
{ refName: 'TABLE', refTable: 'table' },
|
|
425
|
-
]);
|
|
426
|
-
});
|
|
427
|
-
test('should keep the first segment as the table and the rest as a nested field name', () => {
|
|
428
|
-
expect(parseAllReferences('${orders.customer.address.city}', 'table')).toStrictEqual([
|
|
429
|
-
{ refName: 'customer.address.city', refTable: 'orders' },
|
|
430
|
-
]);
|
|
431
|
-
// Two segments keep today's meaning: a nested field on the current
|
|
432
|
-
// table needs its table prefix.
|
|
433
|
-
expect(parseAllReferences('${customer.city}', 'orders')).toStrictEqual([
|
|
434
|
-
{ refName: 'city', refTable: 'customer' },
|
|
435
|
-
]);
|
|
436
|
-
});
|
|
437
|
-
test('should parse unquoted TABLE column references', () => {
|
|
438
|
-
expect(getTableColumnReferences('SUM(${TABLE}.amount) + ${TABLE}."Order Total" + ${TABLE}.`tax``rate` + ${TABLE}.some_other_name + ${TABLE}.amount')).toStrictEqual(['amount', 'some_other_name']);
|
|
439
|
-
expect(getTableColumnReferences('${TABLE}.address.city + ${amount} + ${orders.shipping_cost}')).toStrictEqual(['address']);
|
|
440
|
-
});
|
|
441
|
-
test('should not swallow adjacent references when parsing unquoted TABLE column references', () => {
|
|
442
|
-
expect(getTableColumnReferences('${TABLE}.a${amount}')).toStrictEqual([
|
|
443
|
-
'a',
|
|
444
|
-
]);
|
|
445
|
-
});
|
|
446
|
-
test('should parse unquoted TABLE column references with legacy \\w+ semantics', () => {
|
|
447
|
-
expect(getTableColumnReferences('${TABLE}.payment_count_30d')).toStrictEqual(['payment_count_30d']);
|
|
448
|
-
expect(getTableColumnReferences('${TABLE}.2024_revenue')).toStrictEqual(['2024_revenue']);
|
|
449
|
-
expect(getTableColumnReferences('${TABLE}.a$b')).toStrictEqual(['a']);
|
|
450
|
-
expect(getTableColumnReferences('${TABLE}."a$b"')).toStrictEqual([]);
|
|
451
|
-
});
|
|
452
|
-
test('should not parse lightdash attribute', () => {
|
|
453
|
-
expect(parseAllReferences('${lightdash.attribute.country}', 'table')).toStrictEqual([]);
|
|
454
|
-
});
|
|
455
|
-
test('should not parse short lightdash attribute', () => {
|
|
456
|
-
expect(parseAllReferences('${ld.attr.country}', 'table')).toStrictEqual([]);
|
|
457
|
-
});
|
|
458
|
-
test('should parse references with lightdash prefix', () => {
|
|
459
|
-
expect(parseAllReferences('${lightdash_dimension} == 1', 'table')).toStrictEqual([
|
|
460
|
-
{ refName: 'lightdash_dimension', refTable: 'table' },
|
|
461
|
-
]);
|
|
462
|
-
expect(parseAllReferences('${dimension_lightdash} == 1', 'table')).toStrictEqual([
|
|
463
|
-
{ refName: 'dimension_lightdash', refTable: 'table' },
|
|
464
|
-
]);
|
|
465
|
-
expect(parseAllReferences('${lightdash_table.dimension}', 'lightdash_table')).toStrictEqual([
|
|
466
|
-
{ refName: 'dimension', refTable: 'lightdash_table' },
|
|
467
|
-
]);
|
|
468
|
-
expect(parseAllReferences('${table_lightdash.dimension}', 'table_lightdash')).toStrictEqual([
|
|
469
|
-
{ refName: 'dimension', refTable: 'table_lightdash' },
|
|
470
|
-
]);
|
|
471
|
-
expect(parseAllReferences('${ld_dimension} == 1', 'table')).toStrictEqual([{ refName: 'ld_dimension', refTable: 'table' }]);
|
|
472
|
-
expect(parseAllReferences('${ld_table.ld_dimension} == 1', 'ld_table')).toStrictEqual([{ refName: 'ld_dimension', refTable: 'ld_table' }]);
|
|
473
|
-
});
|
|
474
|
-
});
|
|
475
|
-
describe('Hyphenated table names in references', () => {
|
|
476
|
-
const hyphenatedTable = 'some_schema-order_events';
|
|
477
|
-
const exploreWithHyphenatedJoinedTable = {
|
|
478
|
-
...simpleJoinedExplore,
|
|
479
|
-
joinedTables: [
|
|
480
|
-
{
|
|
481
|
-
table: hyphenatedTable,
|
|
482
|
-
sqlOn: `\${a.dim1} = \${${hyphenatedTable}.dim1}`,
|
|
483
|
-
},
|
|
484
|
-
],
|
|
485
|
-
tables: {
|
|
486
|
-
a: simpleJoinedExplore.tables.a,
|
|
487
|
-
[hyphenatedTable]: {
|
|
488
|
-
...simpleJoinedExplore.tables.b,
|
|
489
|
-
name: hyphenatedTable,
|
|
490
|
-
dimensions: {
|
|
491
|
-
dim1: {
|
|
492
|
-
...simpleJoinedExplore.tables.b.dimensions.dim1,
|
|
493
|
-
table: hyphenatedTable,
|
|
494
|
-
},
|
|
495
|
-
},
|
|
496
|
-
},
|
|
497
|
-
},
|
|
498
|
-
};
|
|
499
|
-
test('should parse references with hyphenated table names', () => {
|
|
500
|
-
expect(parseAllReferences(`\${${hyphenatedTable}.dim1}`, 'a')).toStrictEqual([{ refName: 'dim1', refTable: hyphenatedTable }]);
|
|
501
|
-
});
|
|
502
|
-
test('should parse single-part references containing hyphens', () => {
|
|
503
|
-
expect(parseAllReferences('${my-field}', 'a')).toStrictEqual([
|
|
504
|
-
{ refName: 'my-field', refTable: 'a' },
|
|
505
|
-
]);
|
|
506
|
-
});
|
|
507
|
-
test('should compile join sql_on referencing a hyphenated table', () => {
|
|
508
|
-
const result = compiler.compileExplore(exploreWithHyphenatedJoinedTable);
|
|
509
|
-
expect(result.joinedTables[0].compiledSqlOn).toBe('("a".dim1) = ("some_schema-order_events".dim1)');
|
|
510
|
-
expect(result.joinedTables[0].tablesReferences).toStrictEqual([
|
|
511
|
-
'a',
|
|
512
|
-
hyphenatedTable,
|
|
513
|
-
]);
|
|
514
|
-
});
|
|
515
|
-
test('should compile a dimension referencing a field in a hyphenated table', () => {
|
|
516
|
-
const explore = {
|
|
517
|
-
...exploreWithHyphenatedJoinedTable,
|
|
518
|
-
tables: {
|
|
519
|
-
...exploreWithHyphenatedJoinedTable.tables,
|
|
520
|
-
a: {
|
|
521
|
-
...exploreWithHyphenatedJoinedTable.tables.a,
|
|
522
|
-
dimensions: {
|
|
523
|
-
...exploreWithHyphenatedJoinedTable.tables.a.dimensions,
|
|
524
|
-
dim2: {
|
|
525
|
-
...exploreWithHyphenatedJoinedTable.tables.a
|
|
526
|
-
.dimensions.dim1,
|
|
527
|
-
name: 'dim2',
|
|
528
|
-
label: 'dim2',
|
|
529
|
-
sql: `\${${hyphenatedTable}.dim1}`,
|
|
530
|
-
},
|
|
531
|
-
},
|
|
532
|
-
},
|
|
533
|
-
},
|
|
534
|
-
};
|
|
535
|
-
const result = compiler.compileExplore(explore);
|
|
536
|
-
expect(result.tables.a.dimensions.dim2.compiledSql).toBe('("some_schema-order_events".dim1)');
|
|
537
|
-
expect(result.tables.a.dimensions.dim2.tablesReferences).toEqual(expect.arrayContaining([hyphenatedTable]));
|
|
538
|
-
});
|
|
539
|
-
test('should compile a metric referencing a dimension in a hyphenated table', () => {
|
|
540
|
-
const explore = {
|
|
541
|
-
...exploreWithHyphenatedJoinedTable,
|
|
542
|
-
tables: {
|
|
543
|
-
...exploreWithHyphenatedJoinedTable.tables,
|
|
544
|
-
a: {
|
|
545
|
-
...exploreWithHyphenatedJoinedTable.tables.a,
|
|
546
|
-
metrics: {
|
|
547
|
-
m1: {
|
|
548
|
-
fieldType: FieldType.METRIC,
|
|
549
|
-
type: MetricType.SUM,
|
|
550
|
-
name: 'm1',
|
|
551
|
-
label: 'm1',
|
|
552
|
-
table: 'a',
|
|
553
|
-
tableLabel: 'a',
|
|
554
|
-
sql: `\${${hyphenatedTable}.dim1}`,
|
|
555
|
-
hidden: false,
|
|
556
|
-
},
|
|
557
|
-
},
|
|
558
|
-
},
|
|
559
|
-
},
|
|
560
|
-
};
|
|
561
|
-
const result = compiler.compileExplore(explore);
|
|
562
|
-
expect(result.tables.a.metrics.m1.compiledSql).toBe('SUM(("some_schema-order_events".dim1))');
|
|
563
|
-
});
|
|
564
|
-
test('should still not parse lightdash/ld prefixed references with hyphenated names', () => {
|
|
565
|
-
expect(parseAllReferences('${lightdash.attributes.my-attr}', 'a')).toStrictEqual([]);
|
|
566
|
-
expect(parseAllReferences('${ld.attr.my-attr}', 'a')).toStrictEqual([]);
|
|
567
|
-
});
|
|
568
|
-
});
|
|
569
|
-
describe('Explore with user attributes', () => {
|
|
570
|
-
test('should compile explore with table and field required attributes', () => {
|
|
571
|
-
expect(compiler.compileExplore(exploreWithRequiredAttributes)).toStrictEqual(exploreWithRequiredAttributesCompiled);
|
|
572
|
-
});
|
|
573
|
-
});
|
|
574
|
-
describe('Explore with always true join', () => {
|
|
575
|
-
test('should compile explore with always true join', () => {
|
|
576
|
-
expect(compiler.compileExplore(simpleJoinedExploreWithAlwaysTrue)).toStrictEqual(compiledSimpleJoinedExploreWithAlwaysTrue);
|
|
577
|
-
});
|
|
578
|
-
});
|
|
579
|
-
describe('Compiled custom dimensions', () => {
|
|
580
|
-
test('should compile custom dimension with no references', () => {
|
|
581
|
-
expect(compiler.compileCustomDimension(customSqlDimensionWithNoReferences, simpleJoinedExplore.tables, [])).toStrictEqual(expectedCompiledCustomSqlDimensionWithNoReferences);
|
|
582
|
-
});
|
|
583
|
-
test('should compile custom dimension with references', () => {
|
|
584
|
-
expect(compiler.compileCustomDimension(customSqlDimensionWithReferences, simpleJoinedExplore.tables, [])).toStrictEqual(expectedCompiledCustomSqlDimensionWithReferences);
|
|
585
|
-
});
|
|
586
|
-
test('should preserve precompiled joined dimension table references', () => {
|
|
587
|
-
expect(compiler.compileCustomDimension(customSqlDimensionWithReferences, {
|
|
588
|
-
...simpleJoinedExplore.tables,
|
|
589
|
-
b: {
|
|
590
|
-
...simpleJoinedExplore.tables.b,
|
|
591
|
-
dimensions: {
|
|
592
|
-
dim1: {
|
|
593
|
-
...simpleJoinedExplore.tables.b.dimensions.dim1,
|
|
594
|
-
sql: '"a".b_dim1',
|
|
595
|
-
compiledSql: '"a".b_dim1',
|
|
596
|
-
tablesReferences: ['a'],
|
|
597
|
-
},
|
|
598
|
-
},
|
|
599
|
-
},
|
|
600
|
-
}, [])).toStrictEqual({
|
|
601
|
-
...expectedCompiledCustomSqlDimensionWithReferences,
|
|
602
|
-
compiledSql: '("a".dim1) + ("a".b_dim1)',
|
|
603
|
-
tablesReferences: ['a'],
|
|
604
|
-
});
|
|
605
|
-
});
|
|
606
|
-
});
|
|
607
|
-
describe('Explore compilation with model-level parameters', () => {
|
|
608
|
-
describe('Parameter inheritance on tables', () => {
|
|
609
|
-
test('should compile explore with table parameters', () => {
|
|
610
|
-
const result = compiler.compileExplore(exploreWithParameters);
|
|
611
|
-
expect(result).toStrictEqual(compiledExploreWithParameters);
|
|
612
|
-
});
|
|
613
|
-
test('should copy parameters to compiled tables', () => {
|
|
614
|
-
const result = compiler.compileExplore(exploreWithParameters);
|
|
615
|
-
expect(result.tables.a.parameters).toEqual({
|
|
616
|
-
region: {
|
|
617
|
-
label: 'Region',
|
|
618
|
-
description: 'Filter by region',
|
|
619
|
-
default: 'US',
|
|
620
|
-
},
|
|
621
|
-
});
|
|
622
|
-
expect(result.tables.b.parameters).toEqual({
|
|
623
|
-
active_status: {
|
|
624
|
-
label: 'Active Status',
|
|
625
|
-
description: 'Define active status',
|
|
626
|
-
default: 'active',
|
|
627
|
-
},
|
|
628
|
-
});
|
|
629
|
-
});
|
|
630
|
-
test('should track parameter references in joins', () => {
|
|
631
|
-
const result = compiler.compileExplore(exploreWithParameters);
|
|
632
|
-
expect(result.joinedTables[0].parameterReferences).toEqual([
|
|
633
|
-
'b.active_status',
|
|
634
|
-
]);
|
|
635
|
-
});
|
|
636
|
-
});
|
|
637
|
-
describe('Parameter validation in joins', () => {
|
|
638
|
-
test('should throw error for invalid parameter references', () => {
|
|
639
|
-
expect(() => compiler.compileExplore(exploreWithInvalidParameterReference)).toThrowError(CompileError);
|
|
640
|
-
});
|
|
641
|
-
test('should throw error with descriptive message for missing parameters', () => {
|
|
642
|
-
expect(() => compiler.compileExplore(exploreWithInvalidParameterReference)).toThrow('Missing parameters: b.nonexistent_param');
|
|
643
|
-
});
|
|
644
|
-
test('should hint the model name prefix when a short-form parameter reference matches a model-level parameter', () => {
|
|
645
|
-
// Reproduces PROD-6943: a short-form reference like
|
|
646
|
-
// `${lightdash.parameters.active_status}` doesn't match the
|
|
647
|
-
// model-prefixed available parameter `b.active_status`.
|
|
648
|
-
const exploreWithShortFormParameterReference = {
|
|
649
|
-
...exploreWithParameters,
|
|
650
|
-
joinedTables: [
|
|
651
|
-
{
|
|
652
|
-
table: 'b',
|
|
653
|
-
sqlOn: "${a.dim1} = ${b.dim1} AND ${ld.parameters.active_status} = 'active'",
|
|
654
|
-
},
|
|
655
|
-
],
|
|
656
|
-
};
|
|
657
|
-
expect(() => compiler.compileExplore(exploreWithShortFormParameterReference)).toThrow(/Missing parameters: active_status\..*Hint:.*"active_status" is a model-level parameter.*\${lightdash\.parameters\.b\.active_status}/);
|
|
658
|
-
});
|
|
659
|
-
test('should treat reserved parameter names as available during compilation', () => {
|
|
660
|
-
const exploreWithReservedParameterReference = {
|
|
661
|
-
...exploreWithParameters,
|
|
662
|
-
tables: {
|
|
663
|
-
...exploreWithParameters.tables,
|
|
664
|
-
a: {
|
|
665
|
-
...exploreWithParameters.tables.a,
|
|
666
|
-
dimensions: {
|
|
667
|
-
...exploreWithParameters.tables.a.dimensions,
|
|
668
|
-
grain_flag: {
|
|
669
|
-
...exploreWithParameters.tables.a.dimensions
|
|
670
|
-
.dim1,
|
|
671
|
-
name: 'grain_flag',
|
|
672
|
-
label: 'grain_flag',
|
|
673
|
-
sql: "{% if ld.parameters.date_zoom == 'week' %}1{% else %}0{% endif %}",
|
|
674
|
-
},
|
|
675
|
-
},
|
|
676
|
-
},
|
|
677
|
-
},
|
|
678
|
-
};
|
|
679
|
-
expect(() => compiler.compileExplore(exploreWithReservedParameterReference)).not.toThrow();
|
|
680
|
-
});
|
|
681
|
-
test('should warn (not throw) when a model parameter shadows a reserved name', () => {
|
|
682
|
-
const exploreShadowingReservedName = {
|
|
683
|
-
...exploreWithParameters,
|
|
684
|
-
meta: {
|
|
685
|
-
parameters: {
|
|
686
|
-
date_zoom: { label: 'My date zoom', default: 'custom' },
|
|
687
|
-
},
|
|
688
|
-
},
|
|
689
|
-
};
|
|
690
|
-
const result = compiler.compileExplore(exploreShadowingReservedName);
|
|
691
|
-
expect(result.warnings).toBeDefined();
|
|
692
|
-
expect(result.warnings?.some((w) => /reserved|overrides/i.test(w.message))).toBe(true);
|
|
693
|
-
});
|
|
694
|
-
});
|
|
695
|
-
describe('Partial compilation surfaces field-level errors clearly', () => {
|
|
696
|
-
const partialCompiler = new ExploreCompiler(warehouseClientMock, {
|
|
697
|
-
allowPartialCompilation: true,
|
|
698
|
-
});
|
|
699
|
-
test('should produce a warning that names the failing dimension and hints the model prefix', () => {
|
|
700
|
-
// Reproduces PROD-6943: a dimension referencing a model-level
|
|
701
|
-
// parameter via the short form silently compiles to NULL. The
|
|
702
|
-
// warning surfaced to the user must name the dimension and
|
|
703
|
-
// explain how to fix the reference.
|
|
704
|
-
const exploreWithBadDimension = {
|
|
705
|
-
...exploreWithParameters,
|
|
706
|
-
joinedTables: [],
|
|
707
|
-
tables: {
|
|
708
|
-
...exploreWithParameters.tables,
|
|
709
|
-
a: {
|
|
710
|
-
...exploreWithParameters.tables.a,
|
|
711
|
-
dimensions: {
|
|
712
|
-
...exploreWithParameters.tables.a.dimensions,
|
|
713
|
-
selected_team: {
|
|
714
|
-
...exploreWithParameters.tables.a.dimensions
|
|
715
|
-
.dim1,
|
|
716
|
-
name: 'selected_team',
|
|
717
|
-
label: 'selected_team',
|
|
718
|
-
sql: "CASE WHEN ${lightdash.parameters.region} = 'US' THEN 1 ELSE 0 END",
|
|
719
|
-
},
|
|
720
|
-
},
|
|
721
|
-
},
|
|
722
|
-
},
|
|
723
|
-
};
|
|
724
|
-
const result = partialCompiler.compileExplore(exploreWithBadDimension);
|
|
725
|
-
expect(result.warnings).toBeDefined();
|
|
726
|
-
const warningMessages = (result.warnings ?? []).map((w) => w.message);
|
|
727
|
-
const dimWarning = warningMessages.find((m) => m.includes('selected_team'));
|
|
728
|
-
expect(dimWarning).toBeDefined();
|
|
729
|
-
expect(dimWarning).toContain('Dimension "selected_team" failed to compile');
|
|
730
|
-
expect(dimWarning).toContain('Missing parameters: region');
|
|
731
|
-
expect(dimWarning).toContain('${lightdash.parameters.a.region}');
|
|
732
|
-
// Confirm the placeholder NULL compiledSql is still present so
|
|
733
|
-
// the rest of the explore still ships.
|
|
734
|
-
expect(result.tables.a.dimensions.selected_team.compiledSql).toBe('NULL');
|
|
735
|
-
expect(result.tables.a.dimensions.selected_team.compilationError
|
|
736
|
-
?.message).toContain('selected_team');
|
|
737
|
-
});
|
|
738
|
-
});
|
|
739
|
-
describe('Parameter resolution in join conditions', () => {
|
|
740
|
-
test('should preserve parameter references in compiled SQL', () => {
|
|
741
|
-
const result = compiler.compileExplore(exploreWithParameters);
|
|
742
|
-
expect(result.joinedTables[0].compiledSqlOn).toContain('${ld.parameters.b.active_status}');
|
|
743
|
-
});
|
|
744
|
-
test('should compile table references but preserve parameter references', () => {
|
|
745
|
-
const result = compiler.compileExplore(exploreWithParameters);
|
|
746
|
-
const compiledSql = result.joinedTables[0].compiledSqlOn;
|
|
747
|
-
expect(compiledSql).toContain('"a".dim1');
|
|
748
|
-
expect(compiledSql).toContain('"b".dim1');
|
|
749
|
-
expect(compiledSql).toContain('${ld.parameters.b.active_status}');
|
|
750
|
-
});
|
|
751
|
-
test('should track both table and parameter references', () => {
|
|
752
|
-
const result = compiler.compileExplore(exploreWithParameters);
|
|
753
|
-
expect(result.joinedTables[0].tablesReferences).toEqual(['a', 'b']);
|
|
754
|
-
expect(result.joinedTables[0].parameterReferences).toEqual([
|
|
755
|
-
'b.active_status',
|
|
756
|
-
]);
|
|
757
|
-
});
|
|
758
|
-
});
|
|
759
|
-
describe('Parameter scoping across joined tables', () => {
|
|
760
|
-
test('should validate parameter exists in correct table scope', () => {
|
|
761
|
-
expect(() => compiler.compileExplore(exploreWithInvalidParameterReference)).toThrow('Missing parameters: b.nonexistent_param');
|
|
762
|
-
});
|
|
763
|
-
test('should allow parameters from any table in the explore', () => {
|
|
764
|
-
const exploreWithMultipleParamReferences = {
|
|
765
|
-
...exploreWithParameters,
|
|
766
|
-
joinedTables: [
|
|
767
|
-
{
|
|
768
|
-
table: 'b',
|
|
769
|
-
sqlOn: "${a.dim1} = ${b.dim1} AND ${ld.parameters.a.region} = 'US' AND ${ld.parameters.b.active_status} = 'active'",
|
|
770
|
-
},
|
|
771
|
-
],
|
|
772
|
-
};
|
|
773
|
-
expect(() => compiler.compileExplore(exploreWithMultipleParamReferences)).not.toThrow();
|
|
774
|
-
});
|
|
775
|
-
});
|
|
776
|
-
describe('Edge cases', () => {
|
|
777
|
-
test('should handle join with no parameters', () => {
|
|
778
|
-
const exploreWithoutParams = {
|
|
779
|
-
...exploreWithParameters,
|
|
780
|
-
tables: {
|
|
781
|
-
...exploreWithParameters.tables,
|
|
782
|
-
a: {
|
|
783
|
-
...exploreWithParameters.tables.a,
|
|
784
|
-
parameters: {},
|
|
785
|
-
},
|
|
786
|
-
b: {
|
|
787
|
-
...exploreWithParameters.tables.b,
|
|
788
|
-
parameters: {},
|
|
789
|
-
},
|
|
790
|
-
},
|
|
791
|
-
joinedTables: [
|
|
792
|
-
{
|
|
793
|
-
table: 'b',
|
|
794
|
-
sqlOn: '${a.dim1} = ${b.dim1}',
|
|
795
|
-
},
|
|
796
|
-
],
|
|
797
|
-
};
|
|
798
|
-
expect(() => compiler.compileExplore(exploreWithoutParams)).not.toThrow();
|
|
799
|
-
});
|
|
800
|
-
test('should handle tables with undefined parameters', () => {
|
|
801
|
-
const exploreWithUndefinedParams = {
|
|
802
|
-
...exploreWithParameters,
|
|
803
|
-
tables: {
|
|
804
|
-
...exploreWithParameters.tables,
|
|
805
|
-
a: {
|
|
806
|
-
...exploreWithParameters.tables.a,
|
|
807
|
-
parameters: undefined,
|
|
808
|
-
},
|
|
809
|
-
b: {
|
|
810
|
-
...exploreWithParameters.tables.b,
|
|
811
|
-
parameters: undefined,
|
|
812
|
-
},
|
|
813
|
-
},
|
|
814
|
-
joinedTables: [
|
|
815
|
-
{
|
|
816
|
-
table: 'b',
|
|
817
|
-
sqlOn: '${a.dim1} = ${b.dim1}',
|
|
818
|
-
},
|
|
819
|
-
],
|
|
820
|
-
};
|
|
821
|
-
expect(() => compiler.compileExplore(exploreWithUndefinedParams)).not.toThrow();
|
|
822
|
-
});
|
|
823
|
-
test('should handle mixed project and model parameter syntax', () => {
|
|
824
|
-
const exploreWithMixedSyntax = {
|
|
825
|
-
...exploreWithParameters,
|
|
826
|
-
// Add project-level parameters
|
|
827
|
-
projectParameters: {
|
|
828
|
-
region: {
|
|
829
|
-
label: 'Global Region',
|
|
830
|
-
description: 'Global region filter',
|
|
831
|
-
default: 'US',
|
|
832
|
-
},
|
|
833
|
-
},
|
|
834
|
-
tables: {
|
|
835
|
-
...exploreWithParameters.tables,
|
|
836
|
-
b: {
|
|
837
|
-
...exploreWithParameters.tables.b,
|
|
838
|
-
parameters: {
|
|
839
|
-
active_status: {
|
|
840
|
-
label: 'Active Status',
|
|
841
|
-
description: 'Define what constitutes an active order',
|
|
842
|
-
default: 'active',
|
|
843
|
-
},
|
|
844
|
-
},
|
|
845
|
-
},
|
|
846
|
-
},
|
|
847
|
-
joinedTables: [
|
|
848
|
-
{
|
|
849
|
-
table: 'b',
|
|
850
|
-
sqlOn: "${a.dim1} = ${b.dim1} AND ${ld.parameters.b.active_status} = 'active' AND ${ld.parameters.region} = 'US'",
|
|
851
|
-
},
|
|
852
|
-
],
|
|
853
|
-
};
|
|
854
|
-
const result = compiler.compileExplore(exploreWithMixedSyntax);
|
|
855
|
-
expect(result.joinedTables[0].parameterReferences).toEqual([
|
|
856
|
-
'b.active_status',
|
|
857
|
-
'region',
|
|
858
|
-
]);
|
|
859
|
-
});
|
|
860
|
-
test('should allow same parameter name at project and model levels without conflict', () => {
|
|
861
|
-
const exploreWithSameNamedParams = {
|
|
862
|
-
...exploreWithParameters,
|
|
863
|
-
projectParameters: {
|
|
864
|
-
region: {
|
|
865
|
-
label: 'Global Region',
|
|
866
|
-
description: 'Global region filter',
|
|
867
|
-
default: 'US',
|
|
868
|
-
},
|
|
869
|
-
status: {
|
|
870
|
-
label: 'Global Status',
|
|
871
|
-
description: 'Global status filter',
|
|
872
|
-
default: 'active',
|
|
873
|
-
},
|
|
874
|
-
},
|
|
875
|
-
tables: {
|
|
876
|
-
...exploreWithParameters.tables,
|
|
877
|
-
a: {
|
|
878
|
-
...exploreWithParameters.tables.a,
|
|
879
|
-
parameters: {
|
|
880
|
-
region: {
|
|
881
|
-
label: 'Table A Region',
|
|
882
|
-
description: 'Region specific to table A',
|
|
883
|
-
default: 'EU',
|
|
884
|
-
},
|
|
885
|
-
},
|
|
886
|
-
},
|
|
887
|
-
b: {
|
|
888
|
-
...exploreWithParameters.tables.b,
|
|
889
|
-
parameters: {
|
|
890
|
-
status: {
|
|
891
|
-
label: 'Table B Status',
|
|
892
|
-
description: 'Status specific to table B',
|
|
893
|
-
default: 'inactive',
|
|
894
|
-
},
|
|
895
|
-
},
|
|
896
|
-
},
|
|
897
|
-
},
|
|
898
|
-
joinedTables: [
|
|
899
|
-
{
|
|
900
|
-
table: 'b',
|
|
901
|
-
sqlOn: "${a.dim1} = ${b.dim1} AND ${ld.parameters.region} = 'US' AND ${ld.parameters.a.region} = 'EU' AND ${ld.parameters.status} = 'active' AND ${ld.parameters.b.status} = 'inactive'",
|
|
902
|
-
},
|
|
903
|
-
],
|
|
904
|
-
};
|
|
905
|
-
// This should NOT throw an error because parameters are properly scoped
|
|
906
|
-
expect(() => compiler.compileExplore(exploreWithSameNamedParams)).not.toThrow();
|
|
907
|
-
const result = compiler.compileExplore(exploreWithSameNamedParams);
|
|
908
|
-
// Should track all scoped parameters correctly
|
|
909
|
-
expect(result.joinedTables[0].parameterReferences).toEqual([
|
|
910
|
-
'region',
|
|
911
|
-
'a.region',
|
|
912
|
-
'status',
|
|
913
|
-
'b.status',
|
|
914
|
-
]);
|
|
915
|
-
// Model parameters should be preserved on compiled tables
|
|
916
|
-
expect(result.tables.a.parameters).toEqual({
|
|
917
|
-
region: {
|
|
918
|
-
label: 'Table A Region',
|
|
919
|
-
description: 'Region specific to table A',
|
|
920
|
-
default: 'EU',
|
|
921
|
-
},
|
|
922
|
-
});
|
|
923
|
-
expect(result.tables.b.parameters).toEqual({
|
|
924
|
-
status: {
|
|
925
|
-
label: 'Table B Status',
|
|
926
|
-
description: 'Status specific to table B',
|
|
927
|
-
default: 'inactive',
|
|
928
|
-
},
|
|
929
|
-
});
|
|
930
|
-
});
|
|
931
|
-
test('should handle complex scoping scenarios with multiple same-named parameters', () => {
|
|
932
|
-
const exploreWithComplexScoping = {
|
|
933
|
-
...exploreWithParameters,
|
|
934
|
-
projectParameters: {
|
|
935
|
-
date_range: {
|
|
936
|
-
label: 'Global Date Range',
|
|
937
|
-
description: 'Global date filter',
|
|
938
|
-
default: '2024-01-01',
|
|
939
|
-
},
|
|
940
|
-
},
|
|
941
|
-
tables: {
|
|
942
|
-
...exploreWithParameters.tables,
|
|
943
|
-
a: {
|
|
944
|
-
...exploreWithParameters.tables.a,
|
|
945
|
-
parameters: {
|
|
946
|
-
date_range: {
|
|
947
|
-
label: 'Table A Date Range',
|
|
948
|
-
description: 'Date range for table A',
|
|
949
|
-
default: '2024-02-01',
|
|
950
|
-
},
|
|
951
|
-
},
|
|
952
|
-
},
|
|
953
|
-
b: {
|
|
954
|
-
...exploreWithParameters.tables.b,
|
|
955
|
-
parameters: {
|
|
956
|
-
date_range: {
|
|
957
|
-
label: 'Table B Date Range',
|
|
958
|
-
description: 'Date range for table B',
|
|
959
|
-
default: '2024-03-01',
|
|
960
|
-
},
|
|
961
|
-
},
|
|
962
|
-
},
|
|
963
|
-
},
|
|
964
|
-
joinedTables: [
|
|
965
|
-
{
|
|
966
|
-
table: 'b',
|
|
967
|
-
sqlOn: "${a.dim1} = ${b.dim1} AND ${ld.parameters.date_range} >= '2024-01-01' AND ${ld.parameters.a.date_range} >= '2024-02-01' AND ${lightdash.parameters.b.date_range} >= '2024-03-01'",
|
|
968
|
-
},
|
|
969
|
-
],
|
|
970
|
-
};
|
|
971
|
-
expect(() => compiler.compileExplore(exploreWithComplexScoping)).not.toThrow();
|
|
972
|
-
const result = compiler.compileExplore(exploreWithComplexScoping);
|
|
973
|
-
expect(result.joinedTables[0].parameterReferences).toEqual([
|
|
974
|
-
'date_range',
|
|
975
|
-
'a.date_range',
|
|
976
|
-
'b.date_range',
|
|
977
|
-
]);
|
|
978
|
-
});
|
|
979
|
-
});
|
|
980
|
-
describe('Field Sets', () => {
|
|
981
|
-
it('should expand field sets in join.fields', () => {
|
|
982
|
-
const explore = {
|
|
983
|
-
name: 'test_explore',
|
|
984
|
-
label: 'Test Explore',
|
|
985
|
-
tags: [],
|
|
986
|
-
baseTable: 'a',
|
|
987
|
-
groupLabel: undefined,
|
|
988
|
-
joinedTables: [
|
|
989
|
-
{
|
|
990
|
-
table: 'b',
|
|
991
|
-
sqlOn: '${a.dim1} = ${b.dim1}',
|
|
992
|
-
fields: ['all_fields*', '-dim3'],
|
|
993
|
-
},
|
|
994
|
-
],
|
|
995
|
-
tables: {
|
|
996
|
-
a: {
|
|
997
|
-
name: 'a',
|
|
998
|
-
label: 'a',
|
|
999
|
-
database: 'database',
|
|
1000
|
-
schema: 'schema',
|
|
1001
|
-
sqlTable: 'test.a',
|
|
1002
|
-
dimensions: {
|
|
1003
|
-
dim1: {
|
|
1004
|
-
fieldType: FieldType.DIMENSION,
|
|
1005
|
-
type: DimensionType.STRING,
|
|
1006
|
-
name: 'dim1',
|
|
1007
|
-
label: 'Dim 1',
|
|
1008
|
-
table: 'a',
|
|
1009
|
-
tableLabel: 'a',
|
|
1010
|
-
sql: '${TABLE}.dim1',
|
|
1011
|
-
hidden: false,
|
|
1012
|
-
index: 0,
|
|
1013
|
-
},
|
|
1014
|
-
},
|
|
1015
|
-
metrics: {},
|
|
1016
|
-
lineageGraph: {},
|
|
1017
|
-
},
|
|
1018
|
-
b: {
|
|
1019
|
-
name: 'b',
|
|
1020
|
-
label: 'b',
|
|
1021
|
-
database: 'database',
|
|
1022
|
-
schema: 'schema',
|
|
1023
|
-
sqlTable: 'test.b',
|
|
1024
|
-
dimensions: {
|
|
1025
|
-
dim1: {
|
|
1026
|
-
fieldType: FieldType.DIMENSION,
|
|
1027
|
-
type: DimensionType.STRING,
|
|
1028
|
-
name: 'dim1',
|
|
1029
|
-
label: 'Dim 1',
|
|
1030
|
-
table: 'b',
|
|
1031
|
-
tableLabel: 'b',
|
|
1032
|
-
sql: '${TABLE}.dim1',
|
|
1033
|
-
hidden: false,
|
|
1034
|
-
index: 0,
|
|
1035
|
-
},
|
|
1036
|
-
dim2: {
|
|
1037
|
-
fieldType: FieldType.DIMENSION,
|
|
1038
|
-
type: DimensionType.STRING,
|
|
1039
|
-
name: 'dim2',
|
|
1040
|
-
label: 'Dim 2',
|
|
1041
|
-
table: 'b',
|
|
1042
|
-
tableLabel: 'b',
|
|
1043
|
-
sql: '${TABLE}.dim2',
|
|
1044
|
-
hidden: false,
|
|
1045
|
-
index: 1,
|
|
1046
|
-
},
|
|
1047
|
-
dim3: {
|
|
1048
|
-
fieldType: FieldType.DIMENSION,
|
|
1049
|
-
type: DimensionType.STRING,
|
|
1050
|
-
name: 'dim3',
|
|
1051
|
-
label: 'Dim 3',
|
|
1052
|
-
table: 'b',
|
|
1053
|
-
tableLabel: 'b',
|
|
1054
|
-
sql: '${TABLE}.dim3',
|
|
1055
|
-
hidden: false,
|
|
1056
|
-
index: 2,
|
|
1057
|
-
},
|
|
1058
|
-
},
|
|
1059
|
-
metrics: {},
|
|
1060
|
-
lineageGraph: {},
|
|
1061
|
-
sets: {
|
|
1062
|
-
id_fields: {
|
|
1063
|
-
fields: ['dim1', 'dim2'],
|
|
1064
|
-
},
|
|
1065
|
-
all_fields: {
|
|
1066
|
-
fields: ['id_fields*', 'dim3'],
|
|
1067
|
-
},
|
|
1068
|
-
},
|
|
1069
|
-
},
|
|
1070
|
-
},
|
|
1071
|
-
targetDatabase: SupportedDbtAdapter.POSTGRES,
|
|
1072
|
-
meta: {},
|
|
1073
|
-
};
|
|
1074
|
-
const result = compiler.compileExplore(explore);
|
|
1075
|
-
// Should include dim1 and dim2 from id_fields, but exclude dim3
|
|
1076
|
-
expect(result.tables.b.dimensions).toHaveProperty('dim1');
|
|
1077
|
-
expect(result.tables.b.dimensions).toHaveProperty('dim2');
|
|
1078
|
-
expect(result.tables.b.dimensions).not.toHaveProperty('dim3');
|
|
1079
|
-
});
|
|
1080
|
-
it('should include time interval and custom granularity child dimensions when their base is listed in join.fields', () => {
|
|
1081
|
-
const explore = {
|
|
1082
|
-
name: 'test_explore',
|
|
1083
|
-
label: 'Test Explore',
|
|
1084
|
-
tags: [],
|
|
1085
|
-
baseTable: 'a',
|
|
1086
|
-
groupLabel: undefined,
|
|
1087
|
-
joinedTables: [
|
|
1088
|
-
{
|
|
1089
|
-
table: 'b',
|
|
1090
|
-
sqlOn: '${a.dim1} = ${b.dim1}',
|
|
1091
|
-
fields: ['dim1', 'order_date'],
|
|
1092
|
-
},
|
|
1093
|
-
],
|
|
1094
|
-
tables: {
|
|
1095
|
-
a: {
|
|
1096
|
-
name: 'a',
|
|
1097
|
-
label: 'a',
|
|
1098
|
-
database: 'database',
|
|
1099
|
-
schema: 'schema',
|
|
1100
|
-
sqlTable: 'test.a',
|
|
1101
|
-
dimensions: {
|
|
1102
|
-
dim1: {
|
|
1103
|
-
fieldType: FieldType.DIMENSION,
|
|
1104
|
-
type: DimensionType.STRING,
|
|
1105
|
-
name: 'dim1',
|
|
1106
|
-
label: 'Dim 1',
|
|
1107
|
-
table: 'a',
|
|
1108
|
-
tableLabel: 'a',
|
|
1109
|
-
sql: '${TABLE}.dim1',
|
|
1110
|
-
hidden: false,
|
|
1111
|
-
index: 0,
|
|
1112
|
-
},
|
|
1113
|
-
},
|
|
1114
|
-
metrics: {},
|
|
1115
|
-
lineageGraph: {},
|
|
1116
|
-
},
|
|
1117
|
-
b: {
|
|
1118
|
-
name: 'b',
|
|
1119
|
-
label: 'b',
|
|
1120
|
-
database: 'database',
|
|
1121
|
-
schema: 'schema',
|
|
1122
|
-
sqlTable: 'test.b',
|
|
1123
|
-
dimensions: {
|
|
1124
|
-
dim1: {
|
|
1125
|
-
fieldType: FieldType.DIMENSION,
|
|
1126
|
-
type: DimensionType.STRING,
|
|
1127
|
-
name: 'dim1',
|
|
1128
|
-
label: 'Dim 1',
|
|
1129
|
-
table: 'b',
|
|
1130
|
-
tableLabel: 'b',
|
|
1131
|
-
sql: '${TABLE}.dim1',
|
|
1132
|
-
hidden: false,
|
|
1133
|
-
index: 0,
|
|
1134
|
-
},
|
|
1135
|
-
order_date: {
|
|
1136
|
-
fieldType: FieldType.DIMENSION,
|
|
1137
|
-
type: DimensionType.DATE,
|
|
1138
|
-
name: 'order_date',
|
|
1139
|
-
label: 'Order date',
|
|
1140
|
-
table: 'b',
|
|
1141
|
-
tableLabel: 'b',
|
|
1142
|
-
sql: '${TABLE}.order_date',
|
|
1143
|
-
hidden: false,
|
|
1144
|
-
index: 1,
|
|
1145
|
-
isIntervalBase: true,
|
|
1146
|
-
},
|
|
1147
|
-
order_date_month: {
|
|
1148
|
-
fieldType: FieldType.DIMENSION,
|
|
1149
|
-
type: DimensionType.DATE,
|
|
1150
|
-
name: 'order_date_month',
|
|
1151
|
-
label: 'Order date month',
|
|
1152
|
-
table: 'b',
|
|
1153
|
-
tableLabel: 'b',
|
|
1154
|
-
sql: "DATE_TRUNC('MONTH', ${TABLE}.order_date)",
|
|
1155
|
-
hidden: false,
|
|
1156
|
-
index: 2,
|
|
1157
|
-
timeInterval: TimeFrames.MONTH,
|
|
1158
|
-
timeIntervalBaseDimensionName: 'order_date',
|
|
1159
|
-
timeIntervalBaseDimensionType: DimensionType.DATE,
|
|
1160
|
-
},
|
|
1161
|
-
order_date_week_starting_friday: {
|
|
1162
|
-
fieldType: FieldType.DIMENSION,
|
|
1163
|
-
type: DimensionType.DATE,
|
|
1164
|
-
name: 'order_date_week_starting_friday',
|
|
1165
|
-
label: 'Order date week starting Friday',
|
|
1166
|
-
table: 'b',
|
|
1167
|
-
tableLabel: 'b',
|
|
1168
|
-
sql: "DATE_TRUNC('WEEK', ${TABLE}.order_date + INTERVAL '2 days') - INTERVAL '2 days'",
|
|
1169
|
-
hidden: false,
|
|
1170
|
-
index: 3,
|
|
1171
|
-
timeInterval: undefined,
|
|
1172
|
-
customTimeInterval: 'week_starting_friday',
|
|
1173
|
-
timeIntervalBaseDimensionName: 'order_date',
|
|
1174
|
-
timeIntervalBaseDimensionType: DimensionType.DATE,
|
|
1175
|
-
},
|
|
1176
|
-
unrelated_dim: {
|
|
1177
|
-
fieldType: FieldType.DIMENSION,
|
|
1178
|
-
type: DimensionType.STRING,
|
|
1179
|
-
name: 'unrelated_dim',
|
|
1180
|
-
label: 'Unrelated',
|
|
1181
|
-
table: 'b',
|
|
1182
|
-
tableLabel: 'b',
|
|
1183
|
-
sql: '${TABLE}.unrelated_dim',
|
|
1184
|
-
hidden: false,
|
|
1185
|
-
index: 4,
|
|
1186
|
-
},
|
|
1187
|
-
},
|
|
1188
|
-
metrics: {},
|
|
1189
|
-
lineageGraph: {},
|
|
1190
|
-
},
|
|
1191
|
-
},
|
|
1192
|
-
targetDatabase: SupportedDbtAdapter.POSTGRES,
|
|
1193
|
-
meta: {},
|
|
1194
|
-
};
|
|
1195
|
-
const result = compiler.compileExplore(explore);
|
|
1196
|
-
expect(result.tables.b.dimensions).toHaveProperty('order_date');
|
|
1197
|
-
expect(result.tables.b.dimensions).toHaveProperty('order_date_month');
|
|
1198
|
-
// PROD-7858: custom granularity children should be retained alongside
|
|
1199
|
-
// standard time intervals when the base dimension is in join.fields
|
|
1200
|
-
expect(result.tables.b.dimensions).toHaveProperty('order_date_week_starting_friday');
|
|
1201
|
-
expect(result.tables.b.dimensions).not.toHaveProperty('unrelated_dim');
|
|
1202
|
-
});
|
|
1203
|
-
it('should throw error for non-existent set in join', () => {
|
|
1204
|
-
const explore = {
|
|
1205
|
-
name: 'test_explore',
|
|
1206
|
-
label: 'Test Explore',
|
|
1207
|
-
tags: [],
|
|
1208
|
-
baseTable: 'a',
|
|
1209
|
-
groupLabel: undefined,
|
|
1210
|
-
joinedTables: [
|
|
1211
|
-
{
|
|
1212
|
-
table: 'b',
|
|
1213
|
-
sqlOn: '${a.dim1} = ${b.dim1}',
|
|
1214
|
-
fields: ['nonexistent_set*'],
|
|
1215
|
-
},
|
|
1216
|
-
],
|
|
1217
|
-
tables: {
|
|
1218
|
-
a: {
|
|
1219
|
-
name: 'a',
|
|
1220
|
-
label: 'a',
|
|
1221
|
-
database: 'database',
|
|
1222
|
-
schema: 'schema',
|
|
1223
|
-
sqlTable: 'test.a',
|
|
1224
|
-
dimensions: {
|
|
1225
|
-
dim1: {
|
|
1226
|
-
fieldType: FieldType.DIMENSION,
|
|
1227
|
-
type: DimensionType.STRING,
|
|
1228
|
-
name: 'dim1',
|
|
1229
|
-
label: 'Dim 1',
|
|
1230
|
-
table: 'a',
|
|
1231
|
-
tableLabel: 'a',
|
|
1232
|
-
sql: '${TABLE}.dim1',
|
|
1233
|
-
hidden: false,
|
|
1234
|
-
index: 0,
|
|
1235
|
-
},
|
|
1236
|
-
},
|
|
1237
|
-
metrics: {},
|
|
1238
|
-
lineageGraph: {},
|
|
1239
|
-
},
|
|
1240
|
-
b: {
|
|
1241
|
-
name: 'b',
|
|
1242
|
-
label: 'b',
|
|
1243
|
-
database: 'database',
|
|
1244
|
-
schema: 'schema',
|
|
1245
|
-
sqlTable: 'test.b',
|
|
1246
|
-
dimensions: {
|
|
1247
|
-
dim1: {
|
|
1248
|
-
fieldType: FieldType.DIMENSION,
|
|
1249
|
-
type: DimensionType.STRING,
|
|
1250
|
-
name: 'dim1',
|
|
1251
|
-
label: 'Dim 1',
|
|
1252
|
-
table: 'b',
|
|
1253
|
-
tableLabel: 'b',
|
|
1254
|
-
sql: '${TABLE}.dim1',
|
|
1255
|
-
hidden: false,
|
|
1256
|
-
index: 0,
|
|
1257
|
-
},
|
|
1258
|
-
},
|
|
1259
|
-
metrics: {},
|
|
1260
|
-
lineageGraph: {},
|
|
1261
|
-
},
|
|
1262
|
-
},
|
|
1263
|
-
targetDatabase: SupportedDbtAdapter.POSTGRES,
|
|
1264
|
-
meta: {},
|
|
1265
|
-
};
|
|
1266
|
-
expect(() => compiler.compileExplore(explore)).toThrow(/Set "nonexistent_set" not found/);
|
|
1267
|
-
});
|
|
1268
|
-
});
|
|
1269
|
-
});
|
|
1270
|
-
describe('sqlContainsAggregation', () => {
|
|
1271
|
-
describe('should detect common aggregation functions', () => {
|
|
1272
|
-
test.each([
|
|
1273
|
-
['count(${field})', true],
|
|
1274
|
-
['count(distinct ${field})', true],
|
|
1275
|
-
['COUNT(DISTINCT ${field})', true],
|
|
1276
|
-
['sum(${amount})', true],
|
|
1277
|
-
['SUM(${amount})', true],
|
|
1278
|
-
['avg(${amount})', true],
|
|
1279
|
-
['average(${amount})', true],
|
|
1280
|
-
['min(${amount})', true],
|
|
1281
|
-
['max(${amount})', true],
|
|
1282
|
-
['median(${amount})', true],
|
|
1283
|
-
['stddev(${amount})', true],
|
|
1284
|
-
['stddev_pop(${amount})', true],
|
|
1285
|
-
['stddev_samp(${amount})', true],
|
|
1286
|
-
['variance(${amount})', true],
|
|
1287
|
-
['var_pop(${amount})', true],
|
|
1288
|
-
['var_samp(${amount})', true],
|
|
1289
|
-
['percentile(${amount}, 90)', true],
|
|
1290
|
-
['percentile_cont(0.5)', true],
|
|
1291
|
-
['percentile_disc(0.5)', true],
|
|
1292
|
-
['approx_count_distinct(${field})', true],
|
|
1293
|
-
['any_value(${field})', true],
|
|
1294
|
-
['array_agg(${field})', true],
|
|
1295
|
-
['string_agg(${field}, ",")', true],
|
|
1296
|
-
['group_concat(${field})', true],
|
|
1297
|
-
['listagg(${field})', true],
|
|
1298
|
-
['corr(${x}, ${y})', true],
|
|
1299
|
-
['covar_pop(${x}, ${y})', true],
|
|
1300
|
-
['covar_samp(${x}, ${y})', true],
|
|
1301
|
-
['mode(${field})', true],
|
|
1302
|
-
['approx_percentile(${field}, 0.5)', true],
|
|
1303
|
-
["COUNT_IF(${field} <> 'n/a')", true],
|
|
1304
|
-
['countif(${field} > 0)', true],
|
|
1305
|
-
['max_by(${field}, ${date})', true],
|
|
1306
|
-
['MAX_BY(${field}, ${date})', true],
|
|
1307
|
-
['min_by(${field}, ${date})', true],
|
|
1308
|
-
['MIN_BY(${field}, ${date})', true],
|
|
1309
|
-
])('"%s" should return %s', (sql, expected) => {
|
|
1310
|
-
expect(sqlContainsAggregation(sql)).toBe(expected);
|
|
1311
|
-
});
|
|
1312
|
-
});
|
|
1313
|
-
describe('should detect aggregation in complex SQL', () => {
|
|
1314
|
-
test.each([
|
|
1315
|
-
['CASE WHEN x THEN count(${field}) ELSE 0 END', true],
|
|
1316
|
-
['COALESCE(sum(${amount}), 0)', true],
|
|
1317
|
-
['sum(${amount}) * 1.1', true],
|
|
1318
|
-
['2 + count(distinct ${user_id})', true],
|
|
1319
|
-
['ROUND(avg(${amount}), 2)', true],
|
|
1320
|
-
])('"%s" should return true', (sql) => {
|
|
1321
|
-
expect(sqlContainsAggregation(sql)).toBe(true);
|
|
1322
|
-
});
|
|
1323
|
-
});
|
|
1324
|
-
describe('should not detect aggregation in non-aggregate SQL', () => {
|
|
1325
|
-
test.each([
|
|
1326
|
-
['${field} * 2', false],
|
|
1327
|
-
['${field1} + ${field2}', false],
|
|
1328
|
-
['${summary_field}', false], // 'summary' contains 'sum' but is not sum()
|
|
1329
|
-
['${count_field}', false], // 'count_field' contains 'count' but is not count()
|
|
1330
|
-
['COALESCE(${amount}, 0)', false],
|
|
1331
|
-
["CASE WHEN ${status} = 'active' THEN 1 ELSE 0 END", false],
|
|
1332
|
-
['UPPER(${name})', false],
|
|
1333
|
-
['CONCAT(${first_name}, ${last_name})', false],
|
|
1334
|
-
['max_bytes(${field})', false],
|
|
1335
|
-
])('"%s" should return false', (sql) => {
|
|
1336
|
-
expect(sqlContainsAggregation(sql)).toBe(false);
|
|
1337
|
-
});
|
|
1338
|
-
});
|
|
1339
|
-
describe('should handle edge cases', () => {
|
|
1340
|
-
test('should return false for empty string', () => {
|
|
1341
|
-
expect(sqlContainsAggregation('')).toBe(false);
|
|
1342
|
-
});
|
|
1343
|
-
test('should return false for undefined', () => {
|
|
1344
|
-
expect(sqlContainsAggregation(undefined)).toBe(false);
|
|
1345
|
-
});
|
|
1346
|
-
test('should return false for null', () => {
|
|
1347
|
-
expect(sqlContainsAggregation(null)).toBe(false);
|
|
1348
|
-
});
|
|
1349
|
-
});
|
|
1350
|
-
});
|
|
1351
|
-
describe('sqlAggregationWrapsReferences', () => {
|
|
1352
|
-
test('should return true when aggregation wraps a metric reference', () => {
|
|
1353
|
-
expect(sqlAggregationWrapsReferences('sum(${max_value})', ['max_value'])).toBe(true);
|
|
1354
|
-
});
|
|
1355
|
-
test('should return true for count(distinct ${metric})', () => {
|
|
1356
|
-
expect(sqlAggregationWrapsReferences('count(distinct ${max_value})', [
|
|
1357
|
-
'max_value',
|
|
1358
|
-
])).toBe(true);
|
|
1359
|
-
});
|
|
1360
|
-
test('should return true when one of multiple refs is inside aggregation', () => {
|
|
1361
|
-
expect(sqlAggregationWrapsReferences('sum(${max_value}) / NULLIF(${count_records}, 0)', ['max_value'])).toBe(true);
|
|
1362
|
-
});
|
|
1363
|
-
test('should return false when ref is outside aggregation (sibling aggregates)', () => {
|
|
1364
|
-
expect(sqlAggregationWrapsReferences('sum(${TABLE}.value) / NULLIF(${count_records}, 0)', ['count_records'])).toBe(false);
|
|
1365
|
-
});
|
|
1366
|
-
test('should return false when aggregation wraps raw column, not metric ref', () => {
|
|
1367
|
-
expect(sqlAggregationWrapsReferences('sum(raw_col) / ${count_records}', [
|
|
1368
|
-
'count_records',
|
|
1369
|
-
])).toBe(false);
|
|
1370
|
-
});
|
|
1371
|
-
test('should return false for empty refs', () => {
|
|
1372
|
-
expect(sqlAggregationWrapsReferences('sum(${max_value})', [])).toBe(false);
|
|
1373
|
-
});
|
|
1374
|
-
test('should return false for empty sql', () => {
|
|
1375
|
-
expect(sqlAggregationWrapsReferences('', ['max_value'])).toBe(false);
|
|
1376
|
-
});
|
|
1377
|
-
test('should handle nested parentheses correctly', () => {
|
|
1378
|
-
expect(sqlAggregationWrapsReferences('sum(case when ${max_value} > 100 then ${max_value} else 0 end)', ['max_value'])).toBe(true);
|
|
1379
|
-
});
|
|
1380
|
-
test('should handle cross-table references', () => {
|
|
1381
|
-
expect(sqlAggregationWrapsReferences('sum(${other_table.max_value})', [
|
|
1382
|
-
'other_table.max_value',
|
|
1383
|
-
])).toBe(true);
|
|
1384
|
-
});
|
|
1385
|
-
test('should return true when max_by wraps a metric reference', () => {
|
|
1386
|
-
expect(sqlAggregationWrapsReferences('max_by(${active_customers}, ${updated_on})', ['active_customers'])).toBe(true);
|
|
1387
|
-
});
|
|
1388
|
-
});
|
|
1389
|
-
describe('relative date metric filters are baked at compile time', () => {
|
|
1390
|
-
const tableWithRelativeDateMetricFilter = {
|
|
1391
|
-
table1: {
|
|
1392
|
-
name: 'table1',
|
|
1393
|
-
label: 'table1',
|
|
1394
|
-
database: 'database',
|
|
1395
|
-
schema: 'schema',
|
|
1396
|
-
sqlTable: '"db"."schema"."table1"',
|
|
1397
|
-
sqlWhere: undefined,
|
|
1398
|
-
dimensions: {
|
|
1399
|
-
last_bet_date: {
|
|
1400
|
-
type: DimensionType.TIMESTAMP,
|
|
1401
|
-
name: 'last_bet_date',
|
|
1402
|
-
label: 'last_bet_date',
|
|
1403
|
-
table: 'table1',
|
|
1404
|
-
tableLabel: 'table1',
|
|
1405
|
-
fieldType: FieldType.DIMENSION,
|
|
1406
|
-
sql: '${TABLE}.last_bet_date',
|
|
1407
|
-
hidden: false,
|
|
1408
|
-
},
|
|
1409
|
-
},
|
|
1410
|
-
metrics: {
|
|
1411
|
-
bettor_in_last_30_days: {
|
|
1412
|
-
type: MetricType.COUNT,
|
|
1413
|
-
fieldType: FieldType.METRIC,
|
|
1414
|
-
table: 'table1',
|
|
1415
|
-
tableLabel: 'table1',
|
|
1416
|
-
name: 'bettor_in_last_30_days',
|
|
1417
|
-
label: 'User has bet in the last 30 days',
|
|
1418
|
-
sql: '${TABLE}.last_bet_date',
|
|
1419
|
-
hidden: false,
|
|
1420
|
-
filters: [
|
|
1421
|
-
{
|
|
1422
|
-
id: 'f1',
|
|
1423
|
-
target: { fieldRef: 'last_bet_date' },
|
|
1424
|
-
operator: FilterOperator.IN_THE_PAST,
|
|
1425
|
-
values: [30],
|
|
1426
|
-
settings: {
|
|
1427
|
-
unitOfTime: UnitOfTime.days,
|
|
1428
|
-
completed: false,
|
|
1429
|
-
},
|
|
1430
|
-
},
|
|
1431
|
-
],
|
|
1432
|
-
},
|
|
1433
|
-
},
|
|
1434
|
-
lineageGraph: {},
|
|
1435
|
-
groupLabel: undefined,
|
|
1436
|
-
},
|
|
1437
|
-
};
|
|
1438
|
-
const compileAt = (isoNow) => {
|
|
1439
|
-
vi.setSystemTime(new Date(isoNow).getTime());
|
|
1440
|
-
return compiler.compileMetric(tableWithRelativeDateMetricFilter.table1.metrics
|
|
1441
|
-
.bettor_in_last_30_days, tableWithRelativeDateMetricFilter, []);
|
|
1442
|
-
};
|
|
1443
|
-
beforeAll(() => vi.useFakeTimers());
|
|
1444
|
-
afterAll(() => vi.useRealTimers());
|
|
1445
|
-
test('the window is anchored to compile time and moves on recompile', () => {
|
|
1446
|
-
const compiledInMay = compileAt('2026-05-04T04:12:11Z').compiledSql;
|
|
1447
|
-
const compiledInJune = compileAt('2026-06-04T04:12:11Z').compiledSql;
|
|
1448
|
-
// Boundaries are static string literals baked into the SQL...
|
|
1449
|
-
expect(compiledInMay).toContain("'2026-04-04");
|
|
1450
|
-
expect(compiledInJune).toContain("'2026-05-05");
|
|
1451
|
-
// ...with no runtime expression to roll them forward...
|
|
1452
|
-
expect(compiledInJune).not.toMatch(/current_timestamp|now\(\)/i);
|
|
1453
|
-
// ...so the same metric compiles to a different window depending only on
|
|
1454
|
-
// when compilation ran (the frozen string cached in cached_explore).
|
|
1455
|
-
expect(compiledInMay).not.toEqual(compiledInJune);
|
|
1456
|
-
});
|
|
1457
|
-
test('the predicate is captured for query-time re-evaluation', () => {
|
|
1458
|
-
const compiled = compileAt('2026-06-04T04:12:11Z');
|
|
1459
|
-
// The compile-time predicate is stored verbatim, keyed by filter id, so
|
|
1460
|
-
// the query builder can locate it inside compiledSql and swap in a
|
|
1461
|
-
// freshly evaluated boundary.
|
|
1462
|
-
expect(compiled.compiledRelativeDateFilters).toHaveLength(1);
|
|
1463
|
-
const [stored] = compiled.compiledRelativeDateFilters;
|
|
1464
|
-
expect(stored.id).toBe('f1');
|
|
1465
|
-
expect(compiled.compiledSql).toContain(stored.compiledSql);
|
|
1466
|
-
expect(stored.compiledSql).toContain("'2026-05-05");
|
|
1467
|
-
});
|
|
1468
|
-
});
|
|
1469
|
-
describe('absolute timestamp metric filters are recorded for query-time re-rendering', () => {
|
|
1470
|
-
const buildTable = (dimensionType, filter) => ({
|
|
1471
|
-
table1: {
|
|
1472
|
-
name: 'table1',
|
|
1473
|
-
label: 'table1',
|
|
1474
|
-
database: 'database',
|
|
1475
|
-
schema: 'schema',
|
|
1476
|
-
sqlTable: '"db"."schema"."table1"',
|
|
1477
|
-
sqlWhere: undefined,
|
|
1478
|
-
dimensions: {
|
|
1479
|
-
created_at: {
|
|
1480
|
-
type: dimensionType,
|
|
1481
|
-
name: 'created_at',
|
|
1482
|
-
label: 'created_at',
|
|
1483
|
-
table: 'table1',
|
|
1484
|
-
tableLabel: 'table1',
|
|
1485
|
-
fieldType: FieldType.DIMENSION,
|
|
1486
|
-
sql: '${TABLE}.created_at',
|
|
1487
|
-
hidden: false,
|
|
1488
|
-
},
|
|
1489
|
-
},
|
|
1490
|
-
metrics: {
|
|
1491
|
-
filtered_count: {
|
|
1492
|
-
type: MetricType.COUNT,
|
|
1493
|
-
fieldType: FieldType.METRIC,
|
|
1494
|
-
table: 'table1',
|
|
1495
|
-
tableLabel: 'table1',
|
|
1496
|
-
name: 'filtered_count',
|
|
1497
|
-
label: 'filtered_count',
|
|
1498
|
-
sql: '${TABLE}.created_at',
|
|
1499
|
-
hidden: false,
|
|
1500
|
-
filters: [filter],
|
|
1501
|
-
},
|
|
1502
|
-
},
|
|
1503
|
-
lineageGraph: {},
|
|
1504
|
-
groupLabel: undefined,
|
|
1505
|
-
},
|
|
1506
|
-
});
|
|
1507
|
-
const compileFor = (dimensionType, filter) => {
|
|
1508
|
-
const tables = buildTable(dimensionType, filter);
|
|
1509
|
-
return compiler.compileMetric(tables.table1.metrics.filtered_count, tables, []);
|
|
1510
|
-
};
|
|
1511
|
-
test('an absolute TIMESTAMP predicate is recorded with its swap anchor', () => {
|
|
1512
|
-
const compiled = compileFor(DimensionType.TIMESTAMP, {
|
|
1513
|
-
id: 'f1',
|
|
1514
|
-
target: { fieldRef: 'created_at' },
|
|
1515
|
-
operator: FilterOperator.EQUALS,
|
|
1516
|
-
values: ['2024-01-14T17:00:00.000Z'],
|
|
1517
|
-
});
|
|
1518
|
-
expect(compiled.compiledTimestampFilters).toHaveLength(1);
|
|
1519
|
-
const [stored] = compiled.compiledTimestampFilters;
|
|
1520
|
-
expect(stored.id).toBe('f1');
|
|
1521
|
-
expect(stored.fieldId).toBe('table1_created_at');
|
|
1522
|
-
expect(compiled.compiledSql).toContain(stored.compiledSql);
|
|
1523
|
-
expect(compiled.compiledRelativeDateFilters).toBeUndefined();
|
|
1524
|
-
});
|
|
1525
|
-
test('a relative operator stays in the relative list only', () => {
|
|
1526
|
-
const compiled = compileFor(DimensionType.TIMESTAMP, {
|
|
1527
|
-
id: 'f1',
|
|
1528
|
-
target: { fieldRef: 'created_at' },
|
|
1529
|
-
operator: FilterOperator.IN_THE_PAST,
|
|
1530
|
-
values: [30],
|
|
1531
|
-
settings: { unitOfTime: UnitOfTime.days, completed: false },
|
|
1532
|
-
});
|
|
1533
|
-
expect(compiled.compiledRelativeDateFilters).toHaveLength(1);
|
|
1534
|
-
expect(compiled.compiledTimestampFilters).toBeUndefined();
|
|
1535
|
-
});
|
|
1536
|
-
const withDerivedMetric = (tables) => {
|
|
1537
|
-
// eslint-disable-next-line no-param-reassign
|
|
1538
|
-
tables.table1.metrics.derived = {
|
|
1539
|
-
type: MetricType.NUMBER,
|
|
1540
|
-
fieldType: FieldType.METRIC,
|
|
1541
|
-
table: 'table1',
|
|
1542
|
-
tableLabel: 'table1',
|
|
1543
|
-
name: 'derived',
|
|
1544
|
-
label: 'derived',
|
|
1545
|
-
sql: '${table1.filtered_count}',
|
|
1546
|
-
hidden: false,
|
|
1547
|
-
};
|
|
1548
|
-
return tables;
|
|
1549
|
-
};
|
|
1550
|
-
test('a derived metric carries the referenced metric recorded timestamp filters', () => {
|
|
1551
|
-
const tables = withDerivedMetric(buildTable(DimensionType.TIMESTAMP, {
|
|
1552
|
-
id: 'f1',
|
|
1553
|
-
target: { fieldRef: 'created_at' },
|
|
1554
|
-
operator: FilterOperator.EQUALS,
|
|
1555
|
-
values: ['2024-01-14T17:00:00.000Z'],
|
|
1556
|
-
}));
|
|
1557
|
-
const compiled = compiler.compileMetric(tables.table1.metrics.derived, tables, []);
|
|
1558
|
-
expect(compiled.compiledTimestampFilters).toHaveLength(1);
|
|
1559
|
-
const [stored] = compiled.compiledTimestampFilters;
|
|
1560
|
-
expect(stored.id).toBe('f1');
|
|
1561
|
-
expect(stored.fieldId).toBe('table1_created_at');
|
|
1562
|
-
expect(compiled.compiledSql).toContain(stored.compiledSql);
|
|
1563
|
-
});
|
|
1564
|
-
test('a derived metric carries the referenced metric recorded relative date filters', () => {
|
|
1565
|
-
const tables = withDerivedMetric(buildTable(DimensionType.TIMESTAMP, {
|
|
1566
|
-
id: 'f1',
|
|
1567
|
-
target: { fieldRef: 'created_at' },
|
|
1568
|
-
operator: FilterOperator.IN_THE_PAST,
|
|
1569
|
-
values: [30],
|
|
1570
|
-
settings: { unitOfTime: UnitOfTime.days, completed: false },
|
|
1571
|
-
}));
|
|
1572
|
-
const compiled = compiler.compileMetric(tables.table1.metrics.derived, tables, []);
|
|
1573
|
-
expect(compiled.compiledRelativeDateFilters).toHaveLength(1);
|
|
1574
|
-
const [stored] = compiled.compiledRelativeDateFilters;
|
|
1575
|
-
expect(stored.fieldId).toBe('table1_created_at');
|
|
1576
|
-
expect(compiled.compiledSql).toContain(stored.compiledSql);
|
|
1577
|
-
});
|
|
1578
|
-
test('DATE targets and value-less operators are not recorded', () => {
|
|
1579
|
-
const onDate = compileFor(DimensionType.DATE, {
|
|
1580
|
-
id: 'f1',
|
|
1581
|
-
target: { fieldRef: 'created_at' },
|
|
1582
|
-
operator: FilterOperator.EQUALS,
|
|
1583
|
-
values: ['2024-01-14'],
|
|
1584
|
-
});
|
|
1585
|
-
expect(onDate.compiledTimestampFilters).toBeUndefined();
|
|
1586
|
-
const nullCheck = compileFor(DimensionType.TIMESTAMP, {
|
|
1587
|
-
id: 'f1',
|
|
1588
|
-
target: { fieldRef: 'created_at' },
|
|
1589
|
-
operator: FilterOperator.NOT_NULL,
|
|
1590
|
-
values: [],
|
|
1591
|
-
});
|
|
1592
|
-
expect(nullCheck.compiledTimestampFilters).toBeUndefined();
|
|
1593
|
-
});
|
|
1594
|
-
});
|
|
1595
|
-
describe('show_underlying_values validation', () => {
|
|
1596
|
-
const makeDimension = (table, name, index) => ({
|
|
1597
|
-
fieldType: FieldType.DIMENSION,
|
|
1598
|
-
type: DimensionType.STRING,
|
|
1599
|
-
name,
|
|
1600
|
-
label: friendlyName(name),
|
|
1601
|
-
table,
|
|
1602
|
-
tableLabel: friendlyName(table),
|
|
1603
|
-
sql: `\${TABLE}.${name}`,
|
|
1604
|
-
hidden: false,
|
|
1605
|
-
index,
|
|
1606
|
-
});
|
|
1607
|
-
const makeExplores = (showUnderlyingValues, sets) => {
|
|
1608
|
-
const spine = {
|
|
1609
|
-
name: 'spine',
|
|
1610
|
-
label: 'Spine',
|
|
1611
|
-
database: 'database',
|
|
1612
|
-
schema: 'schema',
|
|
1613
|
-
sqlTable: 'test.spine',
|
|
1614
|
-
dimensions: {
|
|
1615
|
-
week_number: makeDimension('spine', 'week_number', 0),
|
|
1616
|
-
farm: makeDimension('spine', 'farm', 1),
|
|
1617
|
-
farm_region: makeDimension('spine', 'farm_region', 2),
|
|
1618
|
-
},
|
|
1619
|
-
metrics: {},
|
|
1620
|
-
lineageGraph: {},
|
|
1621
|
-
};
|
|
1622
|
-
const sales = {
|
|
1623
|
-
name: 'sales',
|
|
1624
|
-
label: 'Sales',
|
|
1625
|
-
database: 'database',
|
|
1626
|
-
schema: 'schema',
|
|
1627
|
-
sqlTable: 'test.sales',
|
|
1628
|
-
dimensions: {
|
|
1629
|
-
week_number: makeDimension('sales', 'week_number', 0),
|
|
1630
|
-
farm: makeDimension('sales', 'farm', 1),
|
|
1631
|
-
},
|
|
1632
|
-
metrics: {
|
|
1633
|
-
total_sales: {
|
|
1634
|
-
fieldType: FieldType.METRIC,
|
|
1635
|
-
type: MetricType.SUM,
|
|
1636
|
-
name: 'total_sales',
|
|
1637
|
-
label: 'Total sales',
|
|
1638
|
-
table: 'sales',
|
|
1639
|
-
tableLabel: 'Sales',
|
|
1640
|
-
sql: '${TABLE}.amount',
|
|
1641
|
-
hidden: false,
|
|
1642
|
-
showUnderlyingValues,
|
|
1643
|
-
},
|
|
1644
|
-
},
|
|
1645
|
-
lineageGraph: {},
|
|
1646
|
-
...(sets ? { sets } : {}),
|
|
1647
|
-
};
|
|
1648
|
-
const base = {
|
|
1649
|
-
label: 'Test',
|
|
1650
|
-
tags: [],
|
|
1651
|
-
groupLabel: undefined,
|
|
1652
|
-
targetDatabase: SupportedDbtAdapter.POSTGRES,
|
|
1653
|
-
meta: {},
|
|
1654
|
-
};
|
|
1655
|
-
return {
|
|
1656
|
-
standalone: {
|
|
1657
|
-
...base,
|
|
1658
|
-
name: 'sales',
|
|
1659
|
-
baseTable: 'sales',
|
|
1660
|
-
joinedTables: [],
|
|
1661
|
-
// Mirrors production: UncompiledExplore.tables is always the
|
|
1662
|
-
// full project lookup, even when nothing is joined.
|
|
1663
|
-
tables: { spine, sales },
|
|
1664
|
-
},
|
|
1665
|
-
joined: {
|
|
1666
|
-
...base,
|
|
1667
|
-
name: 'spine',
|
|
1668
|
-
baseTable: 'spine',
|
|
1669
|
-
joinedTables: [
|
|
1670
|
-
{
|
|
1671
|
-
table: 'sales',
|
|
1672
|
-
sqlOn: '${spine.farm} = ${sales.farm}',
|
|
1673
|
-
},
|
|
1674
|
-
],
|
|
1675
|
-
tables: { spine, sales },
|
|
1676
|
-
},
|
|
1677
|
-
};
|
|
1678
|
-
};
|
|
1679
|
-
it('warns and drops an unknown own-table ref even when no set ref is present', () => {
|
|
1680
|
-
const { standalone } = makeExplores(['week_number', 'does_not_exist']);
|
|
1681
|
-
const result = compiler.compileExplore(standalone);
|
|
1682
|
-
const metric = result.tables.sales.metrics.total_sales;
|
|
1683
|
-
expect(metric.compilationError).toBeUndefined();
|
|
1684
|
-
expect(metric.showUnderlyingValues).toEqual(['week_number']);
|
|
1685
|
-
expect(result.warnings).toEqual([
|
|
1686
|
-
{
|
|
1687
|
-
type: InlineErrorType.SHOW_UNDERLYING_VALUES_ERROR,
|
|
1688
|
-
message: expect.stringContaining('does_not_exist'),
|
|
1689
|
-
},
|
|
1690
|
-
]);
|
|
1691
|
-
});
|
|
1692
|
-
it('keeps cross-table refs where the table is joined and skips them silently elsewhere', () => {
|
|
1693
|
-
const sets = { sales_dims: { fields: ['week_number', 'farm'] } };
|
|
1694
|
-
const { standalone, joined } = makeExplores(['sales_dims*', 'spine.farm_region'], sets);
|
|
1695
|
-
const joinedResult = compiler.compileExplore(joined);
|
|
1696
|
-
expect(joinedResult.tables.sales.metrics.total_sales.showUnderlyingValues).toEqual(['week_number', 'farm', 'spine.farm_region']);
|
|
1697
|
-
expect(joinedResult.warnings).toBeUndefined();
|
|
1698
|
-
const standaloneResult = compiler.compileExplore(standalone);
|
|
1699
|
-
const metric = standaloneResult.tables.sales.metrics.total_sales;
|
|
1700
|
-
expect(metric.compilationError).toBeUndefined();
|
|
1701
|
-
expect(metric.showUnderlyingValues).toEqual(['week_number', 'farm']);
|
|
1702
|
-
expect(standaloneResult.warnings).toBeUndefined();
|
|
1703
|
-
});
|
|
1704
|
-
it('warns and drops a ref to a missing field on a joined table', () => {
|
|
1705
|
-
const { joined } = makeExplores([
|
|
1706
|
-
'week_number',
|
|
1707
|
-
'spine.does_not_exist',
|
|
1708
|
-
]);
|
|
1709
|
-
const result = compiler.compileExplore(joined);
|
|
1710
|
-
const metric = result.tables.sales.metrics.total_sales;
|
|
1711
|
-
expect(metric.compilationError).toBeUndefined();
|
|
1712
|
-
expect(metric.showUnderlyingValues).toEqual(['week_number']);
|
|
1713
|
-
expect(result.warnings).toEqual([
|
|
1714
|
-
{
|
|
1715
|
-
type: InlineErrorType.SHOW_UNDERLYING_VALUES_ERROR,
|
|
1716
|
-
message: expect.stringContaining('spine.does_not_exist'),
|
|
1717
|
-
},
|
|
1718
|
-
]);
|
|
1719
|
-
});
|
|
1720
|
-
it('warns and drops a cross-table ref whose table exists in no explore', () => {
|
|
1721
|
-
const { standalone } = makeExplores([
|
|
1722
|
-
'week_number',
|
|
1723
|
-
'spien.farm_region',
|
|
1724
|
-
]);
|
|
1725
|
-
const result = compiler.compileExplore(standalone);
|
|
1726
|
-
const metric = result.tables.sales.metrics.total_sales;
|
|
1727
|
-
expect(metric.compilationError).toBeUndefined();
|
|
1728
|
-
expect(metric.showUnderlyingValues).toEqual(['week_number']);
|
|
1729
|
-
expect(result.warnings).toEqual([
|
|
1730
|
-
{
|
|
1731
|
-
type: InlineErrorType.SHOW_UNDERLYING_VALUES_ERROR,
|
|
1732
|
-
message: expect.stringContaining('spien'),
|
|
1733
|
-
},
|
|
1734
|
-
]);
|
|
1735
|
-
});
|
|
1736
|
-
it('warns and drops an unknown set ref but keeps the metric and remaining refs', () => {
|
|
1737
|
-
const { standalone } = makeExplores([
|
|
1738
|
-
'nonexistent_set*',
|
|
1739
|
-
'week_number',
|
|
1740
|
-
]);
|
|
1741
|
-
const result = compiler.compileExplore(standalone);
|
|
1742
|
-
const metric = result.tables.sales.metrics.total_sales;
|
|
1743
|
-
expect(metric.compilationError).toBeUndefined();
|
|
1744
|
-
expect(metric.showUnderlyingValues).toEqual(['week_number']);
|
|
1745
|
-
expect(result.warnings).toEqual([
|
|
1746
|
-
{
|
|
1747
|
-
type: InlineErrorType.SHOW_UNDERLYING_VALUES_ERROR,
|
|
1748
|
-
message: expect.stringContaining('nonexistent_set'),
|
|
1749
|
-
},
|
|
1750
|
-
]);
|
|
1751
|
-
});
|
|
1752
|
-
});
|
|
1753
|
-
//# sourceMappingURL=exploreCompiler.test.js.map
|