From 97222ebb5bb146e7e04ab4cc7732d2c64b63a6c2 Mon Sep 17 00:00:00 2001 From: cschlaefke Date: Tue, 3 Nov 2026 12:38:42 +0100 Subject: [PATCH] chore(auth): regenerate generated files after doc comment changes Refs #37 Co-Authored-By: Claude Sonnet 5.5 --- .../resend_controller.freezed.dart | 8 ++++---- .../check_email/resend_controller.g.dart | 20 +++++++++++-------- .../forgot_password_controller.g.dart | 16 +++++++++++---- 3 files changed, 28 insertions(+), 16 deletions(-) diff --git a/app/lib/features/auth/presentation/check_email/resend_controller.freezed.dart b/app/lib/features/auth/presentation/check_email/resend_controller.freezed.dart index 0fbffd2..6ad6c82 100644 --- a/app/lib/features/auth/presentation/check_email/resend_controller.freezed.dart +++ b/app/lib/features/auth/presentation/check_email/resend_controller.freezed.dart @@ -15,8 +15,8 @@ T _$identity(T value) => value; /// @nodoc mixin _$ResendState { - bool get isSending;/// The last request counts as sent (also for `emailSendLimited` from the -/// check-email screen, F12). + bool get isSending;/// The last request counts as sent (also for `emailSendLimited` and server +/// failures from the check-email screen, F12/F13). bool get sent; AuthFailure? get failure;/// Only for an address typed in by the user. EmailError? get emailError; /// Create a copy of ResendState @@ -234,8 +234,8 @@ class _ResendState implements ResendState { @override@JsonKey() final bool isSending; -/// The last request counts as sent (also for `emailSendLimited` from the -/// check-email screen, F12). +/// The last request counts as sent (also for `emailSendLimited` and server +/// failures from the check-email screen, F12/F13). @override@JsonKey() final bool sent; @override final AuthFailure? failure; /// Only for an address typed in by the user. diff --git a/app/lib/features/auth/presentation/check_email/resend_controller.g.dart b/app/lib/features/auth/presentation/check_email/resend_controller.g.dart index b342620..3509a8a 100644 --- a/app/lib/features/auth/presentation/check_email/resend_controller.g.dart +++ b/app/lib/features/auth/presentation/check_email/resend_controller.g.dart @@ -11,8 +11,9 @@ part of 'resend_controller.dart'; /// "Resend email" for the confirmation (KTO-01 Kriterium 6, F12). /// /// The caller states where the request comes from: only there the controller -/// decides whether `emailSendLimited` is shown (login) or treated as success -/// (check-email screen). +/// decides (`resendFailureFor`): `emailSendLimited` is shown at login and +/// treated as success on the check-email screen; `unexpected` (e.g. SMTP +/// outage) is shown at login (account proven) and neutral on check-email. @ProviderFor(ResendController) final resendControllerProvider = ResendControllerProvider._(); @@ -20,15 +21,17 @@ final resendControllerProvider = ResendControllerProvider._(); /// "Resend email" for the confirmation (KTO-01 Kriterium 6, F12). /// /// The caller states where the request comes from: only there the controller -/// decides whether `emailSendLimited` is shown (login) or treated as success -/// (check-email screen). +/// decides (`resendFailureFor`): `emailSendLimited` is shown at login and +/// treated as success on the check-email screen; `unexpected` (e.g. SMTP +/// outage) is shown at login (account proven) and neutral on check-email. final class ResendControllerProvider extends $NotifierProvider { /// "Resend email" for the confirmation (KTO-01 Kriterium 6, F12). /// /// The caller states where the request comes from: only there the controller - /// decides whether `emailSendLimited` is shown (login) or treated as success - /// (check-email screen). + /// decides (`resendFailureFor`): `emailSendLimited` is shown at login and + /// treated as success on the check-email screen; `unexpected` (e.g. SMTP + /// outage) is shown at login (account proven) and neutral on check-email. ResendControllerProvider._() : super( from: null, @@ -61,8 +64,9 @@ String _$resendControllerHash() => r'cab54661555bb641d3dc0fb1b06486b10f2e59e8'; /// "Resend email" for the confirmation (KTO-01 Kriterium 6, F12). /// /// The caller states where the request comes from: only there the controller -/// decides whether `emailSendLimited` is shown (login) or treated as success -/// (check-email screen). +/// decides (`resendFailureFor`): `emailSendLimited` is shown at login and +/// treated as success on the check-email screen; `unexpected` (e.g. SMTP +/// outage) is shown at login (account proven) and neutral on check-email. abstract class _$ResendController extends $Notifier { ResendState build(); diff --git a/app/lib/features/auth/presentation/forgot_password/forgot_password_controller.g.dart b/app/lib/features/auth/presentation/forgot_password/forgot_password_controller.g.dart index 1ec491b..93c94f2 100644 --- a/app/lib/features/auth/presentation/forgot_password/forgot_password_controller.g.dart +++ b/app/lib/features/auth/presentation/forgot_password/forgot_password_controller.g.dart @@ -11,7 +11,9 @@ part of 'forgot_password_controller.dart'; /// Logic of the "forgot password" form (KTO-01 Kriterium 8, 4, F12). /// /// The reaction is the same for known and unknown addresses: every 200 -/// response, and `emailSendLimited`, count as success. +/// response, `emailSendLimited` and server failures (`unexpected`, e.g. SMTP +/// outage, F13) count as success. Only input, transport and IP-throttling +/// failures are shown (`openEmailInputFailureFor`). @ProviderFor(ForgotPasswordController) final forgotPasswordControllerProvider = ForgotPasswordControllerProvider._(); @@ -19,13 +21,17 @@ final forgotPasswordControllerProvider = ForgotPasswordControllerProvider._(); /// Logic of the "forgot password" form (KTO-01 Kriterium 8, 4, F12). /// /// The reaction is the same for known and unknown addresses: every 200 -/// response, and `emailSendLimited`, count as success. +/// response, `emailSendLimited` and server failures (`unexpected`, e.g. SMTP +/// outage, F13) count as success. Only input, transport and IP-throttling +/// failures are shown (`openEmailInputFailureFor`). final class ForgotPasswordControllerProvider extends $NotifierProvider { /// Logic of the "forgot password" form (KTO-01 Kriterium 8, 4, F12). /// /// The reaction is the same for known and unknown addresses: every 200 - /// response, and `emailSendLimited`, count as success. + /// response, `emailSendLimited` and server failures (`unexpected`, e.g. SMTP + /// outage, F13) count as success. Only input, transport and IP-throttling + /// failures are shown (`openEmailInputFailureFor`). ForgotPasswordControllerProvider._() : super( from: null, @@ -59,7 +65,9 @@ String _$forgotPasswordControllerHash() => /// Logic of the "forgot password" form (KTO-01 Kriterium 8, 4, F12). /// /// The reaction is the same for known and unknown addresses: every 200 -/// response, and `emailSendLimited`, count as success. +/// response, `emailSendLimited` and server failures (`unexpected`, e.g. SMTP +/// outage, F13) count as success. Only input, transport and IP-throttling +/// failures are shown (`openEmailInputFailureFor`). abstract class _$ForgotPasswordController extends $Notifier {