Skip to content

Commit

Permalink
chore(repo): fix beta lints issues (#4053)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikaHsn authored Nov 1, 2023
1 parent 5862746 commit 80b29a5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ abstract class AmplifyPluginConfig with AWSSerializable {

/// {@template amplify_core.unknown_plugin_config_factory}
/// A plugin factory for unknown plugin configs.
/// @{endtemplate}
/// {@endtemplate}
@internal
class UnknownPluginConfigFactory
extends AmplifyPluginConfigFactory<UnknownPluginConfig> {
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify_core/lib/src/state_machine/exception.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import 'package:aws_common/aws_common.dart';

/// (@template amplify_core.state_machine.precondition_exception)
/// {@template amplify_core.state_machine.precondition_exception}
/// An exception raised within a state machine when an event could not be
/// processed due to some precondition not being met.
/// {@endtemplate}
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify_core/lib/src/types/models/auth_rule.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class AuthRule {
'groupClaim': groupClaim,
'groups': groups,
'groupsField': groupsField,
'provider': provider != null ? provider!.name : null,
'provider': provider?.name,
'operations': operations?.map((op) => op.name).toList(),
};
return Map<String, dynamic>.from(map)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import 'dart:async';

/// {@template amplify_analytics_pinpoint.flutter_legacy_native_data_provider}
/// {@endtemplate}
abstract class LegacyNativeDataProvider {
/// Get stored Pinpoint Endpoint Id.
Future<String?> getEndpointId(String pinpointAppId);
Expand Down
2 changes: 1 addition & 1 deletion packages/smithy/smithy/lib/src/types/timestamp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import 'package:smithy/ast.dart';
/// {@template aws.smithy.timestamp}
/// A [DateTime] wrapper which provides custom formatting and parsing options
/// for use with Smithy services.
/// @{endtemplate}
/// {@endtemplate}
class Timestamp {
/// {@macro aws.smithy.timestamp}
Timestamp(DateTime timestamp) : _timestamp = timestamp.stripMicroseconds();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import 'package:smithy_aws/smithy_aws.dart' as smithy_aws;

/// {@template amplify_storage_s3_dart.download_task}
/// A task created to fulfill a download operation.
/// {@template}
/// {@endtemplate}
@internal
class S3DownloadTask {
/// {@macro amplify_storage_s3_dart.download_task}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ part 'transfer_record.g.dart';
/// {@template amplify_storage_s3_dart.transfer_data}
/// the type used by Storage S3 plugin upload operations when using s3 multipart upload.
/// it is persisted to TransferDatabase.
/// {@endtemplate amplify_storage_s3_dart.transfer_data}
/// {@endtemplate}
@JsonSerializable()
class TransferRecord {
/// {@macro amplify_storage_s3_dart.transfer_data}
Expand Down
2 changes: 1 addition & 1 deletion packages/worker_bee/worker_bee/lib/src/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final _voidType = _typeOf<void>();
/// {@endtemplate}
abstract class WorkerBeeCommon<Request extends Object, Response>
implements AWSLoggerPlugin, Closeable {
/// {@template worker_bee.worker_bee_common}
/// {@macro worker_bee.worker_bee_common}
WorkerBeeCommon({
Serializers? serializers,
}) : serializers = serializers == null
Expand Down

0 comments on commit 80b29a5

Please sign in to comment.