@ts-cloud/core 0.2.13 → 0.2.15

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 +9 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -835,6 +835,15 @@ export interface StorageItemConfig {
835
835
  */
836
836
  path?: string;
837
837
  mountPath?: string;
838
+ /**
839
+ * URL rewrite style for path-mounted website buckets.
840
+ *
841
+ * - directory: /docs/guide/get-started -> /guide/get-started/index.html
842
+ * - flat: /docs/guide/get-started -> /guide/get-started.html
843
+ *
844
+ * Defaults to directory, which matches most blog/static-export outputs.
845
+ */
846
+ pathRewriteStyle?: 'directory' | 'flat';
838
847
  /**
839
848
  * Whether this bucket serves a single-page application (SPA).
840
849
  * When true: 403/404 errors return index.html with status 200 (for client-side routing).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "type": "module",
5
5
  "description": "Core CloudFormation generation library for ts-cloud",
6
6
  "author": "Chris Breuer <chris@stacksjs.com>",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@ts-cloud/aws-types": "0.2.13"
34
+ "@ts-cloud/aws-types": "0.2.15"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^5.9.3"