mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-29 09:27:32 +00:00
* POstgresql query level timeout implementation * for query without parameters query level timeout has been updated * Query level timeout at Run Query endpoint * label for timeout is updated * Timeout is applied at run query level * Method name has been modified * ref updated * Error message modified * Abort controller is abstracted --------- Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
66 lines
1.6 KiB
TypeScript
66 lines
1.6 KiB
TypeScript
import { QueryError, OAuthUnauthorizedClientError } from './query.error';
|
|
import { QueryResult } from './query_result.type';
|
|
import { User } from './user.type';
|
|
import { App } from './app.type';
|
|
import { QueryService } from './query_service.interface';
|
|
import {
|
|
isEmpty,
|
|
cacheConnection,
|
|
cacheConnectionWithConfiguration,
|
|
generateSourceOptionsHash,
|
|
getCachedConnection,
|
|
parseJson,
|
|
cleanSensitiveData,
|
|
redactHeaders,
|
|
getCurrentToken,
|
|
sanitizeHeaders,
|
|
sanitizeCookies,
|
|
cookiesToString,
|
|
sanitizeSearchParams,
|
|
fetchHttpsCertsForCustomCA,
|
|
sanitizeSortPairs,
|
|
getTooljetEdition,
|
|
} from './utils.helper';
|
|
import { ConnectionTestResult } from './connection_test_result.type';
|
|
import {
|
|
getRefreshedToken,
|
|
getAuthUrl,
|
|
sanitizeParams,
|
|
checkIfContentTypeIsURLenc,
|
|
checkIfContentTypeIsMultipartFormData,
|
|
checkIfContentTypeIsJson,
|
|
validateAndSetRequestOptionsBasedOnAuthType,
|
|
} from './oauth';
|
|
|
|
export {
|
|
QueryError,
|
|
OAuthUnauthorizedClientError,
|
|
QueryResult,
|
|
QueryService,
|
|
User,
|
|
App,
|
|
cacheConnection,
|
|
generateSourceOptionsHash,
|
|
cacheConnectionWithConfiguration,
|
|
getCachedConnection,
|
|
parseJson,
|
|
isEmpty,
|
|
ConnectionTestResult,
|
|
cleanSensitiveData,
|
|
getCurrentToken,
|
|
getRefreshedToken,
|
|
getAuthUrl,
|
|
sanitizeParams,
|
|
sanitizeHeaders,
|
|
sanitizeCookies,
|
|
sanitizeSearchParams,
|
|
checkIfContentTypeIsURLenc,
|
|
checkIfContentTypeIsMultipartFormData,
|
|
checkIfContentTypeIsJson,
|
|
validateAndSetRequestOptionsBasedOnAuthType,
|
|
fetchHttpsCertsForCustomCA,
|
|
redactHeaders,
|
|
cookiesToString,
|
|
sanitizeSortPairs,
|
|
getTooljetEdition,
|
|
};
|