// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'mitra_availability_notifier.dart';

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

String _$mitraAvailabilityHash() => r'036de8fea66c6a0114abd4a422af12186c1447d7';

/// Customer-home availability poll.
///
/// Polls `GET /api/client/mitra-availability` every 5 seconds while the home
/// screen is in the foreground. 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).
///
/// The endpoint also returns a `count`, but the customer UI must only read the
/// binary `available` field — the count is for CC/debug only.
///
/// 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
