From ccafe9f0623caf9a19089be14180d843b4233d41 Mon Sep 17 00:00:00 2001 From: Krishan Thisera Date: Thu, 19 Oct 2023 13:10:25 +1030 Subject: [PATCH] DO-1554: fix some inconsistencies on variable naming --- packages/prerender-fargate/index.ts | 2 +- packages/prerender-fargate/lib/prerender-fargate-options.ts | 4 ++-- packages/prerender-fargate/lib/recaching/prerender-tokens.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/prerender-fargate/index.ts b/packages/prerender-fargate/index.ts index 10b6b010..e00f084e 100644 --- a/packages/prerender-fargate/index.ts +++ b/packages/prerender-fargate/index.ts @@ -1,6 +1,6 @@ import { PrerenderFargate } from "./lib/prerender-fargate"; import { PrerenderFargateOptions } from "./lib/prerender-fargate-options"; -import { PrerenderTokenUrlAssociationProps as PrerenderTokenUrlAssociationOptions } from "./lib/recaching/prerender-tokens"; +import { PrerenderTokenUrlAssociationOptions } from "./lib/recaching/prerender-tokens"; export { PrerenderFargate, diff --git a/packages/prerender-fargate/lib/prerender-fargate-options.ts b/packages/prerender-fargate/lib/prerender-fargate-options.ts index e71f728f..a90a320c 100644 --- a/packages/prerender-fargate/lib/prerender-fargate-options.ts +++ b/packages/prerender-fargate/lib/prerender-fargate-options.ts @@ -1,4 +1,4 @@ -import { PrerenderTokenUrlAssociationProps } from "./recaching/prerender-tokens"; +import { PrerenderTokenUrlAssociationOptions } from "./recaching/prerender-tokens"; /** * Options for configuring the Prerender Fargate construct. @@ -77,5 +77,5 @@ export interface PrerenderFargateOptions { * } * ``` */ - tokenUrlAssociation?: PrerenderTokenUrlAssociationProps; + tokenUrlAssociation?: PrerenderTokenUrlAssociationOptions; } diff --git a/packages/prerender-fargate/lib/recaching/prerender-tokens.ts b/packages/prerender-fargate/lib/recaching/prerender-tokens.ts index 0153f4c5..ff36d3b0 100644 --- a/packages/prerender-fargate/lib/recaching/prerender-tokens.ts +++ b/packages/prerender-fargate/lib/recaching/prerender-tokens.ts @@ -12,7 +12,7 @@ interface TokenUrlAssociation { /** * Interface for associating a token with a URL for prerendering. */ -export interface PrerenderTokenUrlAssociationProps extends StackProps { +export interface PrerenderTokenUrlAssociationOptions extends StackProps { /** * Object containing the token and its associated URL. * ### Example @@ -46,7 +46,7 @@ export class PrerenderTokenUrlAssociation extends Stack { constructor( scope: Construct, id: string, - props: PrerenderTokenUrlAssociationProps + props: PrerenderTokenUrlAssociationOptions ) { super(scope, id, props);