From 5155a034b0e6d823f02bf7ad65ca49652ab6e8be Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Tue, 1 Dec 2026 17:46:40 +0100 Subject: [PATCH] Recreate stale generated files --- AGENTS.md | 2 +- lib/core/network/auth_notifier.g.dart | 2 +- lib/features/health/providers/health_sync.g.dart | 2 +- .../routines/providers/gym_state_notifier.g.dart | 2 +- test/core/validators_test.mocks.dart | 11 ----------- 5 files changed, 4 insertions(+), 15 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0ea708838..e49b79e45 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,7 +6,7 @@ Flutter (SDK 3.10+) with flutter_riverpod v3, drift, freezed + json_serializable - `flutter analyze` — must be zero issues - `flutter test` — or scope: `flutter test test/_test.dart` -- After touching anything with `@freezed` / `@JsonSerializable` / drift annotations: `dart run build_runner build --delete-conflicting-outputs`, then `dart format .`. A rebuild always rewrites the riverpod debug hashes in `app_settings_notifier.g.dart`, `auth_notifier.g.dart`, `powersync.g.dart` and `health_sync.g.dart`; revert those unless you touched their source. +- After touching anything with `@freezed` / `@JsonSerializable` / drift annotations: `dart run build_runner build --delete-conflicting-outputs`, then `dart format .`. ## Layout diff --git a/lib/core/network/auth_notifier.g.dart b/lib/core/network/auth_notifier.g.dart index 3977ae4c9..03932ae30 100644 --- a/lib/core/network/auth_notifier.g.dart +++ b/lib/core/network/auth_notifier.g.dart @@ -32,7 +32,7 @@ final class AuthNotifierProvider extends $AsyncNotifierProvider AuthNotifier(); } -String _$authNotifierHash() => r'f4f13eb779843cd8a2cad044a08d568e6f245073'; +String _$authNotifierHash() => r'b13776b3abe205ca51a0bc4e0f8faceda9c6d48a'; abstract class _$AuthNotifier extends $AsyncNotifier { FutureOr build(); diff --git a/lib/features/health/providers/health_sync.g.dart b/lib/features/health/providers/health_sync.g.dart index 403aa30d9..78bc0b04e 100644 --- a/lib/features/health/providers/health_sync.g.dart +++ b/lib/features/health/providers/health_sync.g.dart @@ -56,7 +56,7 @@ final class HealthSyncNotifierProvider } } -String _$healthSyncNotifierHash() => r'b423c6bec19a9481e4d7b22dae0fd5a190e2ead3'; +String _$healthSyncNotifierHash() => r'd246d82f76b3c11cf74e095e9c64900e2d584aef'; /// Drives the health import: the user's preference, when a run happens, and /// what the settings screen shows about it. diff --git a/lib/features/routines/providers/gym_state_notifier.g.dart b/lib/features/routines/providers/gym_state_notifier.g.dart index a4682dc24..b8435252d 100644 --- a/lib/features/routines/providers/gym_state_notifier.g.dart +++ b/lib/features/routines/providers/gym_state_notifier.g.dart @@ -40,7 +40,7 @@ final class GymStateNotifierProvider extends $NotifierProvider r'c03c5ee5ca6f1db5d63193e15744589f12486ea4'; +String _$gymStateNotifierHash() => r'70d386c0cc0b0e2015028b627a36e94f227e4e6b'; abstract class _$GymStateNotifier extends $Notifier { GymModeState build(); diff --git a/test/core/validators_test.mocks.dart b/test/core/validators_test.mocks.dart index ee855965e..953524979 100644 --- a/test/core/validators_test.mocks.dart +++ b/test/core/validators_test.mocks.dart @@ -5819,17 +5819,6 @@ class MockAppLocalizations extends _i1.Mock implements _i2.AppLocalizations { ) as String); - @override - String portionAmountRange(String? names) => - (super.noSuchMethod( - Invocation.method(#portionAmountRange, [names]), - returnValue: _i3.dummyValue( - this, - Invocation.method(#portionAmountRange, [names]), - ), - ) - as String); - @override String planDateRange(String? startDate, String? endDate) => (super.noSuchMethod(