@haakco/hostingctl 1.0.332 → 1.0.340
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/main.js +8 -5
- package/dist/main.js.map +1 -1
- package/package.json +6 -6
package/dist/main.js
CHANGED
|
@@ -26051,6 +26051,7 @@ var hostingDatabaseDataSchema = object({
|
|
|
26051
26051
|
userName: string(),
|
|
26052
26052
|
engine: hostingWorkloadEnumSchema,
|
|
26053
26053
|
configurationKey: string().nullable(),
|
|
26054
|
+
extensions: array(string()).nullable().describe("PostgreSQL extensions this identity has enabled. Exposed so a screen can show what the database already loads and keep it when the identity is\nre-declared: a document that silently omitted them would turn a rebind into a removal."),
|
|
26054
26055
|
grants: dataCollectionSchema,
|
|
26055
26056
|
retirement: union([hostingDatabaseRetirementDataSchema, _null()])
|
|
26056
26057
|
});
|
|
@@ -26748,7 +26749,8 @@ var hostingConfigurationDatabaseDataSchema = object({
|
|
|
26748
26749
|
engine: string(),
|
|
26749
26750
|
application: string().nullable(),
|
|
26750
26751
|
bindings: array(string()),
|
|
26751
|
-
server: string().nullable().describe("The server this database belongs to, when the environment runs more than one of its engine. Absent, the engine's single server is resolved as before. An environment may run a second\nserver of an engine because the client asked for one (`DEDICATED`), and then the database\nmust say which one it means: binding by engine alone would silently serve every database\nfrom whichever sorted first.")
|
|
26752
|
+
server: string().nullable().describe("The server this database belongs to, when the environment runs more than one of its engine. Absent, the engine's single server is resolved as before. An environment may run a second\nserver of an engine because the client asked for one (`DEDICATED`), and then the database\nmust say which one it means: binding by engine alone would silently serve every database\nfrom whichever sorted first."),
|
|
26753
|
+
extensions: array(string()).nullable().describe("PostgreSQL extensions this declaration enables. Selecting one has to reach BOTH the cluster (which must load the library at startup) and the\ndatabase (which must enable the extension), so the declaration records the selection and the\nrenderer derives both from it.")
|
|
26752
26754
|
});
|
|
26753
26755
|
var hostingConfigurationServiceDataSchema = object({
|
|
26754
26756
|
key: string(),
|
|
@@ -26981,7 +26983,8 @@ var hostingDatabaseGrantDataSchema = object({
|
|
|
26981
26983
|
var hostingDatabaseInputDataSchema = object({
|
|
26982
26984
|
application: string().nullable(),
|
|
26983
26985
|
server: string(),
|
|
26984
|
-
bindings: array(string())
|
|
26986
|
+
bindings: array(string()),
|
|
26987
|
+
extensions: array(string()).describe("PostgreSQL extensions to enable.")
|
|
26985
26988
|
});
|
|
26986
26989
|
object({
|
|
26987
26990
|
environmentUuid: string(),
|
|
@@ -36627,7 +36630,7 @@ function writeUpdateState(state, env = process.env) {
|
|
|
36627
36630
|
}
|
|
36628
36631
|
//#endregion
|
|
36629
36632
|
//#region src/version.ts
|
|
36630
|
-
var VERSION = "1.0.
|
|
36633
|
+
var VERSION = "1.0.340";
|
|
36631
36634
|
//#endregion
|
|
36632
36635
|
//#region src/commands/update.ts
|
|
36633
36636
|
/**
|
|
@@ -36702,7 +36705,7 @@ var update = {
|
|
|
36702
36705
|
}, process.env);
|
|
36703
36706
|
return {
|
|
36704
36707
|
...known,
|
|
36705
|
-
current: after ?? "1.0.
|
|
36708
|
+
current: after ?? "1.0.340",
|
|
36706
36709
|
latest: after ?? latest,
|
|
36707
36710
|
upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
|
|
36708
36711
|
action: "run",
|
|
@@ -36977,7 +36980,7 @@ async function printUpdateNotice(options) {
|
|
|
36977
36980
|
}, env, { waitMs: NOTICE_LOCK_WAIT_MS });
|
|
36978
36981
|
} catch {}
|
|
36979
36982
|
if (latest === null) return;
|
|
36980
|
-
if (!isNewerVersion(latest, "1.0.
|
|
36983
|
+
if (!isNewerVersion(latest, "1.0.340")) return;
|
|
36981
36984
|
process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
|
|
36982
36985
|
}
|
|
36983
36986
|
/** Whether an environment variable is set to something, which is how CI and the opt-out are read. */
|