@stacksjs/ts-cloud 0.2.6 → 0.2.8

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.
@@ -30,6 +30,15 @@ export interface ExternalDnsStaticSiteConfig {
30
30
  skipDnsVerification?: boolean;
31
31
  /** When true, serves raw files without URL rewriting (for curl | bash install scripts) */
32
32
  passthroughUrls?: boolean;
33
+ /**
34
+ * When true, missing files (S3 403/404) fall through to the index document
35
+ * with a 200 status — required for client-side-routed SPAs.
36
+ *
37
+ * Defaults to false: missing files return a real 404 with the error document.
38
+ * Multi-page static sites should leave this off so /favicon.ico, /robots.txt,
39
+ * /sitemap.xml etc. don't masquerade as the homepage.
40
+ */
41
+ singlePageApp?: boolean;
33
42
  }
34
43
  export interface ExternalDnsDeployResult {
35
44
  success: boolean;
@@ -55,6 +64,7 @@ export declare function generateExternalDnsStaticSiteTemplate(config: {
55
64
  defaultRootObject?: string;
56
65
  errorDocument?: string;
57
66
  passthroughUrls?: boolean;
67
+ singlePageApp?: boolean;
58
68
  }): object;
59
69
  /**
60
70
  * Deploy a static site to AWS with external DNS provider