Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Dillon Nys committed Jul 14, 2023
1 parent 1fa2471 commit b602b0c
Show file tree
Hide file tree
Showing 60 changed files with 443 additions and 278 deletions.
180 changes: 113 additions & 67 deletions .github/dependabot.yaml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .github/workflows/amplify_analytics_pinpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ on:
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
- 'packages/worker_bee/worker_bee/lib/**/*.dart'
- 'packages/worker_bee/worker_bee/pubspec.yaml'
- 'packages/worker_bee/worker_bee_builder/lib/**/*.dart'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/amplify_analytics_pinpoint_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ on:
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
- 'packages/worker_bee/worker_bee/lib/**/*.dart'
- 'packages/worker_bee/worker_bee/pubspec.yaml'
- 'packages/worker_bee/worker_bee_builder/lib/**/*.dart'
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ on:
- 'packages/secure_storage/amplify_secure_storage/pubspec.yaml'
- 'packages/secure_storage/amplify_secure_storage_dart/lib/**/*.dart'
- 'packages/secure_storage/amplify_secure_storage_dart/pubspec.yaml'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
- 'packages/worker_bee/worker_bee/lib/**/*.dart'
- 'packages/worker_bee/worker_bee/pubspec.yaml'
- 'packages/worker_bee/worker_bee_builder/lib/**/*.dart'
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_api_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ on:
- 'packages/aws_common/pubspec.yaml'
- 'packages/aws_signature_v4/lib/**/*.dart'
- 'packages/aws_signature_v4/pubspec.yaml'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
defaults:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ on:
- 'packages/aws_common/pubspec.yaml'
- 'packages/aws_signature_v4/lib/**/*.dart'
- 'packages/aws_signature_v4/pubspec.yaml'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
defaults:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_datastore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ on:
- 'packages/aws_common/pubspec.yaml'
- 'packages/aws_signature_v4/lib/**/*.dart'
- 'packages/aws_signature_v4/pubspec.yaml'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
defaults:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_datastore_plugin_interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ on:
- 'packages/aws_common/pubspec.yaml'
- 'packages/aws_signature_v4/lib/**/*.dart'
- 'packages/aws_signature_v4/pubspec.yaml'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
defaults:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_db_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ on:
- 'packages/common/amplify_db_common/test/**/*'
- 'packages/common/amplify_db_common_dart/lib/**/*.dart'
- 'packages/common/amplify_db_common_dart/pubspec.yaml'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
defaults:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_db_common_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ on:
- 'packages/common/amplify_db_common_dart/**/*.yaml'
- 'packages/common/amplify_db_common_dart/lib/**/*'
- 'packages/common/amplify_db_common_dart/test/**/*'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
defaults:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_flutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ on:
- 'packages/secure_storage/amplify_secure_storage/pubspec.yaml'
- 'packages/secure_storage/amplify_secure_storage_dart/lib/**/*.dart'
- 'packages/secure_storage/amplify_secure_storage_dart/pubspec.yaml'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
- 'packages/worker_bee/worker_bee/lib/**/*.dart'
- 'packages/worker_bee/worker_bee/pubspec.yaml'
- 'packages/worker_bee/worker_bee_builder/lib/**/*.dart'
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/amplify_push_notifications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ on:
- 'packages/secure_storage/amplify_secure_storage/pubspec.yaml'
- 'packages/secure_storage/amplify_secure_storage_dart/lib/**/*.dart'
- 'packages/secure_storage/amplify_secure_storage_dart/pubspec.yaml'
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
- 'packages/worker_bee/worker_bee/lib/**/*.dart'
- 'packages/worker_bee/worker_bee/pubspec.yaml'
- 'packages/worker_bee/worker_bee_builder/lib/**/*.dart'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/amplify_storage_s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ on:
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
- 'packages/storage/amplify_storage_s3/**/*.dart'
- 'packages/storage/amplify_storage_s3/**/*.yaml'
- 'packages/storage/amplify_storage_s3/lib/**/*'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/amplify_storage_s3_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
- 'packages/smithy/smithy_codegen/lib/**/*.dart'
- 'packages/smithy/smithy_codegen/pubspec.yaml'
- 'packages/storage/amplify_storage_s3_dart/**/*.dart'
- 'packages/storage/amplify_storage_s3_dart/**/*.yaml'
- 'packages/storage/amplify_storage_s3_dart/lib/**/*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ class AWSApiConfig with AWSEquatable<AWSApiConfig>, AWSSerializable {
const AWSApiConfig({
required this.endpointType,
required this.endpoint,
required this.region,
required this.authorizationType,
this.region,
this.authorizationType = APIAuthorizationType.none,
this.apiKey,
});

factory AWSApiConfig.fromJson(Map<String, Object?> json) =>
_$AWSApiConfigFromJson(json);
final EndpointType endpointType;
final String endpoint;
final String region;
final String? region;
final APIAuthorizationType authorizationType;
final String? apiKey;

Expand Down
Loading

0 comments on commit b602b0c

Please sign in to comment.