"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.serializeDashboardFiltersForAiContext = void 0;
const serializeDashboardFilterRuleForAiContext = ({ id: _id, tileTargets: _tileTargets, lockedTabUuids: _lockedTabUuids, requiredGroupId: _requiredGroupId, ...filter }) => filter;
const serializeDashboardFiltersForAiContext = (filters) => ({
    dimensions: filters.dimensions.map(serializeDashboardFilterRuleForAiContext),
    metrics: filters.metrics.map(serializeDashboardFilterRuleForAiContext),
    tableCalculations: filters.tableCalculations.map(serializeDashboardFilterRuleForAiContext),
});
exports.serializeDashboardFiltersForAiContext = serializeDashboardFiltersForAiContext;
//# sourceMappingURL=dashboardContext.js.map