@heroku/heroku-cli-util 9.1.3-beta.0 → 9.1.3-beta.2
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/index.d.ts +7 -2
- package/dist/index.js +7 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ import { AmbiguousError } from './errors/ambiguous';
|
|
|
3
3
|
import { NotFound } from './errors/not-found';
|
|
4
4
|
import { AddOnWithRelatedData, ExtendedAddonAttachment, Link } from './types/pg/data-api';
|
|
5
5
|
import { ConnectionDetails, ConnectionDetailsWithAttachment, TunnelConfig } from './types/pg/tunnel';
|
|
6
|
+
import DatabaseResolver from './utils/pg/databases';
|
|
6
7
|
import getHost from './utils/pg/host';
|
|
8
|
+
import PsqlService from './utils/pg/psql';
|
|
7
9
|
import { confirm } from './ux/confirm';
|
|
8
10
|
import { prompt } from './ux/prompt';
|
|
9
11
|
import { styledHeader } from './ux/styled-header';
|
|
@@ -13,8 +15,11 @@ import { table } from './ux/table';
|
|
|
13
15
|
import { wait } from './ux/wait';
|
|
14
16
|
export type { AddOnWithRelatedData, ExtendedAddonAttachment, Link, } from './types/pg/data-api';
|
|
15
17
|
export type { ConnectionDetails, ConnectionDetailsWithAttachment, TunnelConfig, } from './types/pg/tunnel';
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
+
export declare const pg: {
|
|
19
|
+
DatabaseResolver: typeof DatabaseResolver;
|
|
20
|
+
PsqlService: typeof PsqlService;
|
|
21
|
+
getHost: typeof getHost;
|
|
22
|
+
};
|
|
18
23
|
/** @deprecated Use direct type imports instead */
|
|
19
24
|
export declare const types: {
|
|
20
25
|
pg: {
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.hux = exports.utils = exports.types = exports.
|
|
3
|
+
exports.hux = exports.utils = exports.types = exports.pg = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const ambiguous_1 = require("./errors/ambiguous");
|
|
6
6
|
const not_found_1 = require("./errors/not-found");
|
|
@@ -14,11 +14,12 @@ const styled_json_1 = require("./ux/styled-json");
|
|
|
14
14
|
const styled_object_1 = require("./ux/styled-object");
|
|
15
15
|
const table_1 = require("./ux/table");
|
|
16
16
|
const wait_1 = require("./ux/wait");
|
|
17
|
-
// Export PG classes for direct import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
// Export PG classes and functions for direct import
|
|
18
|
+
exports.pg = {
|
|
19
|
+
DatabaseResolver: databases_1.default,
|
|
20
|
+
PsqlService: psql_1.default,
|
|
21
|
+
getHost: host_1.default,
|
|
22
|
+
};
|
|
22
23
|
// Keep const types for backward compatibility (deprecated)
|
|
23
24
|
/** @deprecated Use direct type imports instead */
|
|
24
25
|
exports.types = {
|