Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/mindsDb/node_modules/mindsdb-js-sdk/dist/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Utility class exposing commonly used SDK constants.
*/
var Constants = /** @class */ (function () {
function Constants() {
}
/** MindsDB Cloud endpoint. */
Constants.BASE_CLOUD_API_ENDPOINT = 'https://cloud.mindsdb.com';
/** MindsDB Cloud login endpoint. */
Constants.BASE_LOGIN_URI = '/cloud/login';
/** MindsDB managed login endpoint. */
Constants.BASE_MANAGED_LOGIN_URI = '/api/login';
/** MindsDB SQL query endpoint. */
Constants.BASE_SQL_URI = '/api/sql/query';
/** MindsDB Projects endpoint. */
Constants.BASE_PROJECTS_URI = '/api/projects';
/** MindsDB ML Engines endpoint. */
Constants.BASE_MLENGINES_URI = '/api/handlers/byom';
Constants.BASE_CALLBACK_URI = '/cloud/callback/model_status';
// HTTP agent constants.
/** How long to wait for an HTTP response before timeout. */
Constants.DEFAULT_HTTP_TIMEOUT_MS = 60 * 1000;
/** Maximum number of socket connections per host. */
Constants.DEFAULT_MAX_SOCKETS_PER_HOST = 128;
/** Maximum number of sockets per host to leave open in a free state. */
Constants.DEFAULT_MAX_FREE_SOCKETS = 128;
/** Timeout active sockets after this period of inactivity. */
Constants.DEFAULT_ACTIVE_SOCKET_TIMEOUT_MS = 60 * 1000;
/** Timeout free sockets after this period of inactivity. */
Constants.DEFAULT_FREE_SOCKET_TIMEOUT_MS = 30 * 1000;
return Constants;
}());
exports.default = Constants;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0058 ]-- |