// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'suggestions_notifier.dart';

// **************************************************************************
// RiverpodGenerator
// **************************************************************************

String _$userSuggestionsHash() => r'8544dca51c0cb3453bfc7219fde2ec43e55b3106';

/// Streams the current user's previously-submitted suggestions.
///
/// Emits an empty list when the user is signed out, so the UI can render a
/// stable widget tree without juggling auth-vs-stream loading states.
///
/// Copied from [userSuggestions].
@ProviderFor(userSuggestions)
final userSuggestionsProvider =
    AutoDisposeStreamProvider<List<Suggestion>>.internal(
      userSuggestions,
      name: r'userSuggestionsProvider',
      debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
          ? null
          : _$userSuggestionsHash,
      dependencies: null,
      allTransitiveDependencies: null,
    );

@Deprecated('Will be removed in 3.0. Use Ref instead')
// ignore: unused_element
typedef UserSuggestionsRef = AutoDisposeStreamProviderRef<List<Suggestion>>;
String _$suggestionsNotifierHash() =>
    r'f7a4d35220e955e11bbd10872c8e2d838cc1a3a7';

/// Tracks the submission lifecycle of the suggestion form.
///
/// State is an `AsyncValue<void>`:
///   * idle  → `AsyncData(null)` after [build]
///   * busy  → `AsyncLoading()` while a submit is in flight
///   * done  → `AsyncData(null)` after a successful submit
///   * error → `AsyncError(...)` on failure
///
/// Copied from [SuggestionsNotifier].
@ProviderFor(SuggestionsNotifier)
final suggestionsNotifierProvider =
    AutoDisposeAsyncNotifierProvider<SuggestionsNotifier, void>.internal(
      SuggestionsNotifier.new,
      name: r'suggestionsNotifierProvider',
      debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
          ? null
          : _$suggestionsNotifierHash,
      dependencies: null,
      allTransitiveDependencies: null,
    );

typedef _$SuggestionsNotifier = AutoDisposeAsyncNotifier<void>;
// ignore_for_file: type=lint
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package
