"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDateZoomFromRequestParameters = exports.isExecuteAsyncDashboardSqlChartByUuidParams = exports.isExecuteAsyncSqlChartByUuidParams = void 0;
const isExecuteAsyncSqlChartByUuidParams = (params) => 'savedSqlUuid' in params;
exports.isExecuteAsyncSqlChartByUuidParams = isExecuteAsyncSqlChartByUuidParams;
const isExecuteAsyncDashboardSqlChartByUuidParams = (params) => 'savedSqlUuid' in params;
exports.isExecuteAsyncDashboardSqlChartByUuidParams = isExecuteAsyncDashboardSqlChartByUuidParams;
// Recovers dateZoom from a persisted request-parameters union without duck-typing at call sites.
const getDateZoomFromRequestParameters = (params) => params && 'dateZoom' in params ? params.dateZoom : undefined;
exports.getDateZoomFromRequestParameters = getDateZoomFromRequestParameters;
//# sourceMappingURL=paginatedQuery.js.map