stacktape 3.2.0-beta.10 → 3.2.0-beta.12
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.
- package/bin/stacktape.js +63 -38
- package/index.js +3 -3
- package/package.json +1 -1
- package/sdk.d.ts +200 -1
- package/sdk.js +13 -4
- package/types.d.ts +7 -1
package/types.d.ts
CHANGED
|
@@ -650,7 +650,13 @@ export type BucketPropsWithOverrides = BucketProps & {
|
|
|
650
650
|
transforms?: BucketTransforms;
|
|
651
651
|
};
|
|
652
652
|
|
|
653
|
-
export type HostingBucketPropsWithOverrides = HostingBucketProps & {
|
|
653
|
+
export type HostingBucketPropsWithOverrides = Omit<HostingBucketProps, 'injectEnvironment'> & {
|
|
654
|
+
/**
|
|
655
|
+
* Injects referenced parameters into all HTML files in the uploadDirectoryPath.
|
|
656
|
+
* These parameters can be accessed by any JavaScript script using window.STP_INJECTED_ENV.VARIABLE_NAME.
|
|
657
|
+
* This is useful for automatically referencing parameters that are only known after deployment, such as the URL of an API Gateway.
|
|
658
|
+
*/
|
|
659
|
+
injectEnvironment?: { [envVarName: string]: string | number | boolean };
|
|
654
660
|
/**
|
|
655
661
|
* Override properties of underlying CloudFormation resources.
|
|
656
662
|
* Allows fine-grained control over the generated infrastructure.
|