// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'mitra_availability_notifier.dart';

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

String _$mitraAvailabilityHash() => r'e385c671720973cd1cea4b15933cd59421f035f0';

/// Customer-home availability poll.
///
/// Polls `GET /api/public/bestie/available` every 5 seconds while the home
/// screen is in the foreground. The endpoint is unauthenticated by design —
/// SHome1st renders before any JWT exists, and the CTA's enabled state needs
/// to reflect global availability so users see whether bestie is online
/// before committing to onboarding. Polling is gated by the home screen
/// calling [setActive] from `WidgetsBindingObserver.didChangeAppLifecycleState`:
///   - resumed   → setActive(true)
///   - paused/inactive → setActive(false)
///
/// On any HTTP error we emit `false` (never display stale state).
///
/// Copied from [MitraAvailability].
@ProviderFor(MitraAvailability)
final mitraAvailabilityProvider =
    AsyncNotifierProvider<MitraAvailability, bool>.internal(
  MitraAvailability.new,
  name: r'mitraAvailabilityProvider',
  debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
      ? null
      : _$mitraAvailabilityHash,
  dependencies: null,
  allTransitiveDependencies: null,
);

typedef _$MitraAvailability = AsyncNotifier<bool>;
// 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
