@ts-cloud/core 0.12.4 → 0.12.5

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 +18 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -44,6 +44,24 @@ export interface CloudProviderConfig {
44
44
  * @see https://github.com/stacksjs/ts-cloud/issues/169
45
45
  */
46
46
  attachTo?: string;
47
+ /**
48
+ * Hosts this project used to serve on the shared gateway and deliberately
49
+ * does not any more.
50
+ *
51
+ * The deploy refuses to replace `/etc/rpx/sites.d/<slug>.json` when the copy
52
+ * on the box serves a domain the config no longer declares, because that is
53
+ * how one tenant silently deletes another's routes. The guard is right, and
54
+ * without this it has no false branch: declaring a domain keeps serving it
55
+ * and not declaring it is refused, so RETIRING a hostname cannot be
56
+ * expressed. The ways around it are worse - hand-editing the fragment, or
57
+ * renaming the slug and stranding the old fragment on a dead release.
58
+ *
59
+ * Listed rather than merely absent, because "I removed a line" and "I forgot
60
+ * a line" look identical to a guard reading a config file. Keeping it in
61
+ * config also leaves the decision in git, beside the sites it used to sit
62
+ * among.
63
+ */
64
+ retiredDomains?: string[];
47
65
  }
48
66
  /**
49
67
  * Object storage provider selection.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.12.4",
4
+ "version": "0.12.5",
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.12.4"
34
+ "@ts-cloud/aws-types": "0.12.5"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"