@haakco/hostingctl 1.0.350 → 1.0.351

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 CHANGED
@@ -26826,6 +26826,12 @@ var hostingConfigurationReleaseDataSchema = object({
26826
26826
  env: array(hostingConfigurationEnvironmentDataSchema)
26827
26827
  });
26828
26828
  var hostingReverbProcessDataSchema = object({ publicPath: string() });
26829
+ var hostingConfigurationCacheDataSchema = object({
26830
+ enabled: boolean(),
26831
+ freshSeconds: int().nullable(),
26832
+ backgroundSeconds: int().nullable(),
26833
+ browserMaxAgeSeconds: int().nullable()
26834
+ });
26829
26835
  var hostingConfigurationApplicationDataSchema = object({
26830
26836
  key: string(),
26831
26837
  runtime: string(),
@@ -26837,7 +26843,8 @@ var hostingConfigurationApplicationDataSchema = object({
26837
26843
  workers: array(hostingConfigurationWorkerDataSchema),
26838
26844
  cron: array(hostingConfigurationScheduleDataSchema),
26839
26845
  release: union([hostingConfigurationReleaseDataSchema, _null()]),
26840
- reverb: union([hostingReverbProcessDataSchema, _null()])
26846
+ reverb: union([hostingReverbProcessDataSchema, _null()]),
26847
+ cache: union([hostingConfigurationCacheDataSchema, _null()])
26841
26848
  });
26842
26849
  var hostingConfigurationApplicationPreviewDataSchema = object({
26843
26850
  key: string(),
@@ -27812,6 +27819,7 @@ object({
27812
27819
  claimNames: array(string()),
27813
27820
  after: hostingAllocationDataSchema,
27814
27821
  purchase: hostingBudgetDataSchema,
27822
+ sharedPod: union([hostingResourceDataSchema, _null()]),
27815
27823
  fits: boolean(),
27816
27824
  restart: string(),
27817
27825
  blockedReason: string().nullable()
@@ -36818,7 +36826,7 @@ function writeUpdateState(state, env = process.env) {
36818
36826
  }
36819
36827
  //#endregion
36820
36828
  //#region src/version.ts
36821
- var VERSION = "1.0.350";
36829
+ var VERSION = "1.0.351";
36822
36830
  //#endregion
36823
36831
  //#region src/commands/update.ts
36824
36832
  /**
@@ -36893,7 +36901,7 @@ var update = {
36893
36901
  }, process.env);
36894
36902
  return {
36895
36903
  ...known,
36896
- current: after ?? "1.0.350",
36904
+ current: after ?? "1.0.351",
36897
36905
  latest: after ?? latest,
36898
36906
  upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
36899
36907
  action: "run",
@@ -37168,7 +37176,7 @@ async function printUpdateNotice(options) {
37168
37176
  }, env, { waitMs: NOTICE_LOCK_WAIT_MS });
37169
37177
  } catch {}
37170
37178
  if (latest === null) return;
37171
- if (!isNewerVersion(latest, "1.0.350")) return;
37179
+ if (!isNewerVersion(latest, "1.0.351")) return;
37172
37180
  process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
37173
37181
  }
37174
37182
  /** Whether an environment variable is set to something, which is how CI and the opt-out are read. */