@ts-cloud/core 0.16.148 → 0.16.149

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +13 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -3776,6 +3776,19 @@ export interface ComputeHostCleanupConfig {
3776
3776
  pressure?: boolean | HostCleanupPressureConfig;
3777
3777
  /** Extra directories to prune, e.g. a proxy's own backups. */
3778
3778
  paths?: HostCleanupPathRule[];
3779
+ /**
3780
+ * How a deploy runs the cleanup. `'background'` starts it at idle priority
3781
+ * and moves on, so retention never lengthens a deploy; `'wait'` runs it
3782
+ * inline. Either way a root filesystem at or above the high-water mark runs
3783
+ * it inline, since the release may need the room. @default 'background'
3784
+ */
3785
+ deploy?: 'background' | 'wait';
3786
+ /**
3787
+ * A deploy skips the cleanup when a run completed within this many minutes,
3788
+ * unless the disk is at or above the high-water mark. The timer always runs.
3789
+ * `0` runs on every deploy. @default 30
3790
+ */
3791
+ minIntervalMinutes?: number;
3779
3792
  }
3780
3793
  /** An operator SSH key authorized on the box. See {@link ComputeConfig.sshKeys}. */
3781
3794
  export interface SshKeyConfig {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.16.148",
4
+ "version": "0.16.149",
5
5
  "description": "Core CloudFormation generation library for ts-cloud",
6
6
  "author": "Chris Breuer <chris@stacksjs.com>",
7
7
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@ts-cloud/aws-types": "0.16.148"
34
+ "@ts-cloud/aws-types": "0.16.149"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"