heroku 10.11.0 → 10.12.0-beta.0
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/lib/commands/pg/settings/{explain-data-connector-details.d.ts → data-connector-details-logs.d.ts} +2 -1
- package/lib/commands/pg/settings/{explain-data-connector-details.js → data-connector-details-logs.js} +7 -6
- package/lib/lib/pg/types.d.ts +1 -1
- package/oclif.manifest.json +135 -133
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type BooleanAsString, PGSettingsCommand } from '../../../lib/pg/setter';
|
|
2
2
|
import type { Setting, SettingKey } from '../../../lib/pg/types';
|
|
3
|
-
export default class
|
|
3
|
+
export default class DataConnectorDetailsLogs extends PGSettingsCommand {
|
|
4
|
+
static aliases: string[];
|
|
4
5
|
static description: string;
|
|
5
6
|
static flags: {
|
|
6
7
|
app: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
@@ -5,10 +5,10 @@ const core_1 = require("@oclif/core");
|
|
|
5
5
|
const tsheredoc_1 = require("tsheredoc");
|
|
6
6
|
const setter_1 = require("../../../lib/pg/setter");
|
|
7
7
|
const nls_1 = require("../../../nls");
|
|
8
|
-
class
|
|
8
|
+
class DataConnectorDetailsLogs extends setter_1.PGSettingsCommand {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
11
|
-
this.settingKey = '
|
|
11
|
+
this.settingKey = 'data_connector_details_logs';
|
|
12
12
|
}
|
|
13
13
|
convertValue(val) {
|
|
14
14
|
return (0, setter_1.booleanConverter)(val);
|
|
@@ -20,15 +20,16 @@ class ExplainDataConnectorDetails extends setter_1.PGSettingsCommand {
|
|
|
20
20
|
return 'Data replication slot details will no longer be logged.';
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
exports.default =
|
|
24
|
-
|
|
23
|
+
exports.default = DataConnectorDetailsLogs;
|
|
24
|
+
DataConnectorDetailsLogs.aliases = ['pg:settings:explain-data-connector-details'];
|
|
25
|
+
DataConnectorDetailsLogs.description = (0, tsheredoc_1.default)(`
|
|
25
26
|
displays stats on replication slots on your database, the default value is "off"
|
|
26
27
|
`);
|
|
27
|
-
|
|
28
|
+
DataConnectorDetailsLogs.flags = {
|
|
28
29
|
app: command_1.flags.app({ required: true }),
|
|
29
30
|
remote: command_1.flags.remote(),
|
|
30
31
|
};
|
|
31
|
-
|
|
32
|
+
DataConnectorDetailsLogs.args = {
|
|
32
33
|
database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
|
|
33
34
|
value: core_1.Args.string({ description: 'boolean indicating if data replication slot details get logged' }),
|
|
34
35
|
};
|
package/lib/lib/pg/types.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ export declare type PgDatabaseConfig = {
|
|
|
170
170
|
value: boolean;
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
|
-
export declare type SettingKey = 'log_lock_waits' | 'log_connections' | 'log_min_duration_statement' | 'log_min_error_statement' | 'log_statement' | 'track_functions' | 'pgbouncer_max_client_conn' | 'pg_bouncer_max_db_conns' | 'pg_bouncer_default_pool_size' | '
|
|
173
|
+
export declare type SettingKey = 'log_lock_waits' | 'log_connections' | 'log_min_duration_statement' | 'log_min_error_statement' | 'log_statement' | 'track_functions' | 'pgbouncer_max_client_conn' | 'pg_bouncer_max_db_conns' | 'pg_bouncer_default_pool_size' | 'data_connector_details_logs' | 'auto_explain' | 'auto_explain.log_min_duration' | 'auto_explain.log_analyze' | 'auto_explain.log_triggers' | 'auto_explain.log_buffers' | 'auto_explain.log_verbose' | 'auto_explain.log_nested_statements' | 'auto_explain.log_format';
|
|
174
174
|
export declare type Setting<T> = {
|
|
175
175
|
value: T;
|
|
176
176
|
values: Record<string, string>;
|
package/oclif.manifest.json
CHANGED
|
@@ -580,134 +580,6 @@
|
|
|
580
580
|
"update.js"
|
|
581
581
|
]
|
|
582
582
|
},
|
|
583
|
-
"accounts:add": {
|
|
584
|
-
"aliases": [],
|
|
585
|
-
"args": {
|
|
586
|
-
"name": {
|
|
587
|
-
"description": "name of Heroku account to add",
|
|
588
|
-
"name": "name",
|
|
589
|
-
"required": true
|
|
590
|
-
}
|
|
591
|
-
},
|
|
592
|
-
"description": "add a Heroku account to your cache",
|
|
593
|
-
"examples": "heroku accounts:add my-account",
|
|
594
|
-
"flags": {},
|
|
595
|
-
"hasDynamicHelp": false,
|
|
596
|
-
"hiddenAliases": [],
|
|
597
|
-
"id": "accounts:add",
|
|
598
|
-
"pluginAlias": "heroku",
|
|
599
|
-
"pluginName": "heroku",
|
|
600
|
-
"pluginType": "core",
|
|
601
|
-
"strict": true,
|
|
602
|
-
"example": "heroku accounts:add my-account",
|
|
603
|
-
"isESM": false,
|
|
604
|
-
"relativePath": [
|
|
605
|
-
"lib",
|
|
606
|
-
"commands",
|
|
607
|
-
"accounts",
|
|
608
|
-
"add.js"
|
|
609
|
-
]
|
|
610
|
-
},
|
|
611
|
-
"accounts:current": {
|
|
612
|
-
"aliases": [],
|
|
613
|
-
"args": {},
|
|
614
|
-
"description": "display the current Heroku account",
|
|
615
|
-
"examples": "heroku accounts:current",
|
|
616
|
-
"flags": {},
|
|
617
|
-
"hasDynamicHelp": false,
|
|
618
|
-
"hiddenAliases": [],
|
|
619
|
-
"id": "accounts:current",
|
|
620
|
-
"pluginAlias": "heroku",
|
|
621
|
-
"pluginName": "heroku",
|
|
622
|
-
"pluginType": "core",
|
|
623
|
-
"strict": true,
|
|
624
|
-
"example": "heroku accounts:current",
|
|
625
|
-
"isESM": false,
|
|
626
|
-
"relativePath": [
|
|
627
|
-
"lib",
|
|
628
|
-
"commands",
|
|
629
|
-
"accounts",
|
|
630
|
-
"current.js"
|
|
631
|
-
]
|
|
632
|
-
},
|
|
633
|
-
"accounts": {
|
|
634
|
-
"aliases": [],
|
|
635
|
-
"args": {},
|
|
636
|
-
"description": "list the Heroku accounts in your cache",
|
|
637
|
-
"examples": "heroku accounts",
|
|
638
|
-
"flags": {},
|
|
639
|
-
"hasDynamicHelp": false,
|
|
640
|
-
"hiddenAliases": [],
|
|
641
|
-
"id": "accounts",
|
|
642
|
-
"pluginAlias": "heroku",
|
|
643
|
-
"pluginName": "heroku",
|
|
644
|
-
"pluginType": "core",
|
|
645
|
-
"strict": true,
|
|
646
|
-
"example": "heroku accounts",
|
|
647
|
-
"isESM": false,
|
|
648
|
-
"relativePath": [
|
|
649
|
-
"lib",
|
|
650
|
-
"commands",
|
|
651
|
-
"accounts",
|
|
652
|
-
"index.js"
|
|
653
|
-
]
|
|
654
|
-
},
|
|
655
|
-
"accounts:remove": {
|
|
656
|
-
"aliases": [],
|
|
657
|
-
"args": {
|
|
658
|
-
"name": {
|
|
659
|
-
"description": "name of Heroku account to remove",
|
|
660
|
-
"name": "name",
|
|
661
|
-
"required": true
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
"description": "remove a Heroku account from your cache",
|
|
665
|
-
"examples": "heroku accounts:remove my-account",
|
|
666
|
-
"flags": {},
|
|
667
|
-
"hasDynamicHelp": false,
|
|
668
|
-
"hiddenAliases": [],
|
|
669
|
-
"id": "accounts:remove",
|
|
670
|
-
"pluginAlias": "heroku",
|
|
671
|
-
"pluginName": "heroku",
|
|
672
|
-
"pluginType": "core",
|
|
673
|
-
"strict": true,
|
|
674
|
-
"example": "heroku accounts:remove my-account",
|
|
675
|
-
"isESM": false,
|
|
676
|
-
"relativePath": [
|
|
677
|
-
"lib",
|
|
678
|
-
"commands",
|
|
679
|
-
"accounts",
|
|
680
|
-
"remove.js"
|
|
681
|
-
]
|
|
682
|
-
},
|
|
683
|
-
"accounts:set": {
|
|
684
|
-
"aliases": [],
|
|
685
|
-
"args": {
|
|
686
|
-
"name": {
|
|
687
|
-
"description": "name of account to set",
|
|
688
|
-
"name": "name",
|
|
689
|
-
"required": true
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
"description": "set the current Heroku account from your cache",
|
|
693
|
-
"examples": "heroku accounts:set my-account",
|
|
694
|
-
"flags": {},
|
|
695
|
-
"hasDynamicHelp": false,
|
|
696
|
-
"hiddenAliases": [],
|
|
697
|
-
"id": "accounts:set",
|
|
698
|
-
"pluginAlias": "heroku",
|
|
699
|
-
"pluginName": "heroku",
|
|
700
|
-
"pluginType": "core",
|
|
701
|
-
"strict": true,
|
|
702
|
-
"example": "heroku accounts:set my-account",
|
|
703
|
-
"isESM": false,
|
|
704
|
-
"relativePath": [
|
|
705
|
-
"lib",
|
|
706
|
-
"commands",
|
|
707
|
-
"accounts",
|
|
708
|
-
"set.js"
|
|
709
|
-
]
|
|
710
|
-
},
|
|
711
583
|
"addons:attach": {
|
|
712
584
|
"aliases": [],
|
|
713
585
|
"args": {
|
|
@@ -1362,6 +1234,134 @@
|
|
|
1362
1234
|
"wait.js"
|
|
1363
1235
|
]
|
|
1364
1236
|
},
|
|
1237
|
+
"accounts:add": {
|
|
1238
|
+
"aliases": [],
|
|
1239
|
+
"args": {
|
|
1240
|
+
"name": {
|
|
1241
|
+
"description": "name of Heroku account to add",
|
|
1242
|
+
"name": "name",
|
|
1243
|
+
"required": true
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"description": "add a Heroku account to your cache",
|
|
1247
|
+
"examples": "heroku accounts:add my-account",
|
|
1248
|
+
"flags": {},
|
|
1249
|
+
"hasDynamicHelp": false,
|
|
1250
|
+
"hiddenAliases": [],
|
|
1251
|
+
"id": "accounts:add",
|
|
1252
|
+
"pluginAlias": "heroku",
|
|
1253
|
+
"pluginName": "heroku",
|
|
1254
|
+
"pluginType": "core",
|
|
1255
|
+
"strict": true,
|
|
1256
|
+
"example": "heroku accounts:add my-account",
|
|
1257
|
+
"isESM": false,
|
|
1258
|
+
"relativePath": [
|
|
1259
|
+
"lib",
|
|
1260
|
+
"commands",
|
|
1261
|
+
"accounts",
|
|
1262
|
+
"add.js"
|
|
1263
|
+
]
|
|
1264
|
+
},
|
|
1265
|
+
"accounts:current": {
|
|
1266
|
+
"aliases": [],
|
|
1267
|
+
"args": {},
|
|
1268
|
+
"description": "display the current Heroku account",
|
|
1269
|
+
"examples": "heroku accounts:current",
|
|
1270
|
+
"flags": {},
|
|
1271
|
+
"hasDynamicHelp": false,
|
|
1272
|
+
"hiddenAliases": [],
|
|
1273
|
+
"id": "accounts:current",
|
|
1274
|
+
"pluginAlias": "heroku",
|
|
1275
|
+
"pluginName": "heroku",
|
|
1276
|
+
"pluginType": "core",
|
|
1277
|
+
"strict": true,
|
|
1278
|
+
"example": "heroku accounts:current",
|
|
1279
|
+
"isESM": false,
|
|
1280
|
+
"relativePath": [
|
|
1281
|
+
"lib",
|
|
1282
|
+
"commands",
|
|
1283
|
+
"accounts",
|
|
1284
|
+
"current.js"
|
|
1285
|
+
]
|
|
1286
|
+
},
|
|
1287
|
+
"accounts": {
|
|
1288
|
+
"aliases": [],
|
|
1289
|
+
"args": {},
|
|
1290
|
+
"description": "list the Heroku accounts in your cache",
|
|
1291
|
+
"examples": "heroku accounts",
|
|
1292
|
+
"flags": {},
|
|
1293
|
+
"hasDynamicHelp": false,
|
|
1294
|
+
"hiddenAliases": [],
|
|
1295
|
+
"id": "accounts",
|
|
1296
|
+
"pluginAlias": "heroku",
|
|
1297
|
+
"pluginName": "heroku",
|
|
1298
|
+
"pluginType": "core",
|
|
1299
|
+
"strict": true,
|
|
1300
|
+
"example": "heroku accounts",
|
|
1301
|
+
"isESM": false,
|
|
1302
|
+
"relativePath": [
|
|
1303
|
+
"lib",
|
|
1304
|
+
"commands",
|
|
1305
|
+
"accounts",
|
|
1306
|
+
"index.js"
|
|
1307
|
+
]
|
|
1308
|
+
},
|
|
1309
|
+
"accounts:remove": {
|
|
1310
|
+
"aliases": [],
|
|
1311
|
+
"args": {
|
|
1312
|
+
"name": {
|
|
1313
|
+
"description": "name of Heroku account to remove",
|
|
1314
|
+
"name": "name",
|
|
1315
|
+
"required": true
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
"description": "remove a Heroku account from your cache",
|
|
1319
|
+
"examples": "heroku accounts:remove my-account",
|
|
1320
|
+
"flags": {},
|
|
1321
|
+
"hasDynamicHelp": false,
|
|
1322
|
+
"hiddenAliases": [],
|
|
1323
|
+
"id": "accounts:remove",
|
|
1324
|
+
"pluginAlias": "heroku",
|
|
1325
|
+
"pluginName": "heroku",
|
|
1326
|
+
"pluginType": "core",
|
|
1327
|
+
"strict": true,
|
|
1328
|
+
"example": "heroku accounts:remove my-account",
|
|
1329
|
+
"isESM": false,
|
|
1330
|
+
"relativePath": [
|
|
1331
|
+
"lib",
|
|
1332
|
+
"commands",
|
|
1333
|
+
"accounts",
|
|
1334
|
+
"remove.js"
|
|
1335
|
+
]
|
|
1336
|
+
},
|
|
1337
|
+
"accounts:set": {
|
|
1338
|
+
"aliases": [],
|
|
1339
|
+
"args": {
|
|
1340
|
+
"name": {
|
|
1341
|
+
"description": "name of account to set",
|
|
1342
|
+
"name": "name",
|
|
1343
|
+
"required": true
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"description": "set the current Heroku account from your cache",
|
|
1347
|
+
"examples": "heroku accounts:set my-account",
|
|
1348
|
+
"flags": {},
|
|
1349
|
+
"hasDynamicHelp": false,
|
|
1350
|
+
"hiddenAliases": [],
|
|
1351
|
+
"id": "accounts:set",
|
|
1352
|
+
"pluginAlias": "heroku",
|
|
1353
|
+
"pluginName": "heroku",
|
|
1354
|
+
"pluginType": "core",
|
|
1355
|
+
"strict": true,
|
|
1356
|
+
"example": "heroku accounts:set my-account",
|
|
1357
|
+
"isESM": false,
|
|
1358
|
+
"relativePath": [
|
|
1359
|
+
"lib",
|
|
1360
|
+
"commands",
|
|
1361
|
+
"accounts",
|
|
1362
|
+
"set.js"
|
|
1363
|
+
]
|
|
1364
|
+
},
|
|
1365
1365
|
"apps:create": {
|
|
1366
1366
|
"aliases": [],
|
|
1367
1367
|
"args": {
|
|
@@ -12823,8 +12823,10 @@
|
|
|
12823
12823
|
"auto-explain.js"
|
|
12824
12824
|
]
|
|
12825
12825
|
},
|
|
12826
|
-
"pg:settings:
|
|
12827
|
-
"aliases": [
|
|
12826
|
+
"pg:settings:data-connector-details-logs": {
|
|
12827
|
+
"aliases": [
|
|
12828
|
+
"pg:settings:explain-data-connector-details"
|
|
12829
|
+
],
|
|
12828
12830
|
"args": {
|
|
12829
12831
|
"database": {
|
|
12830
12832
|
"description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::` . If omitted, we use DATABASE_URL.",
|
|
@@ -12857,7 +12859,7 @@
|
|
|
12857
12859
|
},
|
|
12858
12860
|
"hasDynamicHelp": false,
|
|
12859
12861
|
"hiddenAliases": [],
|
|
12860
|
-
"id": "pg:settings:
|
|
12862
|
+
"id": "pg:settings:data-connector-details-logs",
|
|
12861
12863
|
"pluginAlias": "heroku",
|
|
12862
12864
|
"pluginName": "heroku",
|
|
12863
12865
|
"pluginType": "core",
|
|
@@ -12868,7 +12870,7 @@
|
|
|
12868
12870
|
"commands",
|
|
12869
12871
|
"pg",
|
|
12870
12872
|
"settings",
|
|
12871
|
-
"
|
|
12873
|
+
"data-connector-details-logs.js"
|
|
12872
12874
|
]
|
|
12873
12875
|
},
|
|
12874
12876
|
"pg:settings": {
|
|
@@ -15005,5 +15007,5 @@
|
|
|
15005
15007
|
]
|
|
15006
15008
|
}
|
|
15007
15009
|
},
|
|
15008
|
-
"version": "10.
|
|
15010
|
+
"version": "10.12.0-beta.0"
|
|
15009
15011
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "10.
|
|
4
|
+
"version": "10.12.0-beta.0",
|
|
5
5
|
"author": "Heroku",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -400,5 +400,5 @@
|
|
|
400
400
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
401
401
|
},
|
|
402
402
|
"types": "lib/index.d.ts",
|
|
403
|
-
"gitHead": "
|
|
403
|
+
"gitHead": "dc04184e2fac42649481987d42958f022e7e406c"
|
|
404
404
|
}
|