@ts-cloud/core 0.16.94 → 0.16.96

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.
@@ -77,6 +77,8 @@ export interface ComputeChangePlan {
77
77
  waitingForCapacity?: string;
78
78
  }
79
79
  export interface ApplyComputeChangesOptions extends ProvisionComputeOptions {
80
+ /** Reconcile storage without changing the instance type or restarting the host. */
81
+ storageOnly?: boolean;
80
82
  /** Plan without provider writes, remote commands, or local state writes. */
81
83
  dryRun?: boolean;
82
84
  }
package/dist/types.d.ts CHANGED
@@ -3199,6 +3199,20 @@ export interface ComputeConfig {
3199
3199
  /** Additional systemd consumers that must wait for the storage mounts. */
3200
3200
  dependentUnits?: string[];
3201
3201
  };
3202
+ /** Move declared mutable data to a volume, preserving the application's paths. */
3203
+ persistentStorage?: {
3204
+ volume: string;
3205
+ migrateExisting?: boolean;
3206
+ /** Serialize cutover with backup and other maintenance writers. */
3207
+ locks?: string[];
3208
+ paths: Array<{
3209
+ path: string;
3210
+ /** Exact units, instance templates (@*.service), or dash-prefix patterns. */
3211
+ units: string[];
3212
+ /** Public, unauthenticated health endpoints checked after restarting writers. */
3213
+ healthChecks?: string[];
3214
+ }>;
3215
+ };
3202
3216
  /**
3203
3217
  * Compute mode: 'server' for EC2, 'serverless' for Fargate/Lambda
3204
3218
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.16.94",
4
+ "version": "0.16.96",
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.94"
34
+ "@ts-cloud/aws-types": "0.16.96"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"