From 3935c3d644cf15723677f055a1807c80090fc07d Mon Sep 17 00:00:00 2001 From: Bryan Pan Date: Wed, 8 Jul 2020 17:58:14 -0700 Subject: [PATCH 1/2] rename for dash-case --- .../@aws-cdk/aws-appsync/lib/{dataSource.ts => data-source.ts} | 0 .../aws-appsync/lib/{mappingTemplate.ts => mapping-template.ts} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename packages/@aws-cdk/aws-appsync/lib/{dataSource.ts => data-source.ts} (100%) rename packages/@aws-cdk/aws-appsync/lib/{mappingTemplate.ts => mapping-template.ts} (100%) diff --git a/packages/@aws-cdk/aws-appsync/lib/dataSource.ts b/packages/@aws-cdk/aws-appsync/lib/data-source.ts similarity index 100% rename from packages/@aws-cdk/aws-appsync/lib/dataSource.ts rename to packages/@aws-cdk/aws-appsync/lib/data-source.ts diff --git a/packages/@aws-cdk/aws-appsync/lib/mappingTemplate.ts b/packages/@aws-cdk/aws-appsync/lib/mapping-template.ts similarity index 100% rename from packages/@aws-cdk/aws-appsync/lib/mappingTemplate.ts rename to packages/@aws-cdk/aws-appsync/lib/mapping-template.ts From 86aca91067159bc6a1d88f0d89866a142594a53c Mon Sep 17 00:00:00 2001 From: Bryan Pan Date: Wed, 8 Jul 2020 18:27:13 -0700 Subject: [PATCH 2/2] adjust imports --- packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts | 2 +- packages/@aws-cdk/aws-appsync/lib/index.ts | 4 ++-- packages/@aws-cdk/aws-appsync/lib/resolver.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts b/packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts index a104b1cc7f485..e5683ef98d9d6 100644 --- a/packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts +++ b/packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts @@ -13,7 +13,7 @@ import { CfnGraphQLApi, CfnGraphQLSchema, } from './appsync.generated'; -import { DynamoDbDataSource, HttpDataSource, LambdaDataSource, NoneDataSource } from './dataSource'; +import { DynamoDbDataSource, HttpDataSource, LambdaDataSource, NoneDataSource } from './data-source'; /** * enum with all possible values for AppSync authorization type diff --git a/packages/@aws-cdk/aws-appsync/lib/index.ts b/packages/@aws-cdk/aws-appsync/lib/index.ts index 266c9810bcd69..852cbed1c54f6 100644 --- a/packages/@aws-cdk/aws-appsync/lib/index.ts +++ b/packages/@aws-cdk/aws-appsync/lib/index.ts @@ -1,7 +1,7 @@ // AWS::AppSync CloudFormation Resources: export * from './appsync.generated'; export * from './key'; -export * from './dataSource'; -export * from './mappingTemplate'; +export * from './data-source'; +export * from './mapping-template'; export * from './resolver'; export * from './graphqlapi'; diff --git a/packages/@aws-cdk/aws-appsync/lib/resolver.ts b/packages/@aws-cdk/aws-appsync/lib/resolver.ts index 1512b72bac091..ef5e524ac75ae 100644 --- a/packages/@aws-cdk/aws-appsync/lib/resolver.ts +++ b/packages/@aws-cdk/aws-appsync/lib/resolver.ts @@ -1,8 +1,8 @@ import { Construct, IResolvable } from '@aws-cdk/core'; import { CfnResolver } from './appsync.generated'; -import { BaseDataSource } from './dataSource'; +import { BaseDataSource } from './data-source'; import { GraphQLApi } from './graphqlapi'; -import { MappingTemplate } from './mappingTemplate'; +import { MappingTemplate } from './mapping-template'; /** * Basic properties for an AppSync resolver */