// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'design_request_provider.dart';

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

// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
/// Design Request Remote Data Source Provider

@ProviderFor(designRequestRemoteDataSource)
const designRequestRemoteDataSourceProvider =
    DesignRequestRemoteDataSourceProvider._();

/// Design Request Remote Data Source Provider

final class DesignRequestRemoteDataSourceProvider
    extends
        $FunctionalProvider<
          AsyncValue<DesignRequestRemoteDataSource>,
          DesignRequestRemoteDataSource,
          FutureOr<DesignRequestRemoteDataSource>
        >
    with
        $FutureModifier<DesignRequestRemoteDataSource>,
        $FutureProvider<DesignRequestRemoteDataSource> {
  /// Design Request Remote Data Source Provider
  const DesignRequestRemoteDataSourceProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'designRequestRemoteDataSourceProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

  @override
  String debugGetCreateSourceHash() => _$designRequestRemoteDataSourceHash();

  @$internal
  @override
  $FutureProviderElement<DesignRequestRemoteDataSource> $createElement(
    $ProviderPointer pointer,
  ) => $FutureProviderElement(pointer);

  @override
  FutureOr<DesignRequestRemoteDataSource> create(Ref ref) {
    return designRequestRemoteDataSource(ref);
  }
}

String _$designRequestRemoteDataSourceHash() =>
    r'fb33861da35c711e637f01b182e81263345980fa';

/// Design Request Repository Provider

@ProviderFor(designRequestRepository)
const designRequestRepositoryProvider = DesignRequestRepositoryProvider._();

/// Design Request Repository Provider

final class DesignRequestRepositoryProvider
    extends
        $FunctionalProvider<
          AsyncValue<DesignRequestRepository>,
          DesignRequestRepository,
          FutureOr<DesignRequestRepository>
        >
    with
        $FutureModifier<DesignRequestRepository>,
        $FutureProvider<DesignRequestRepository> {
  /// Design Request Repository Provider
  const DesignRequestRepositoryProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'designRequestRepositoryProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

  @override
  String debugGetCreateSourceHash() => _$designRequestRepositoryHash();

  @$internal
  @override
  $FutureProviderElement<DesignRequestRepository> $createElement(
    $ProviderPointer pointer,
  ) => $FutureProviderElement(pointer);

  @override
  FutureOr<DesignRequestRepository> create(Ref ref) {
    return designRequestRepository(ref);
  }
}

String _$designRequestRepositoryHash() =>
    r'c1f68c7c45d8148871882086d3727272c194934d';

/// Design Requests List Provider
///
/// Fetches and manages design requests from API.

@ProviderFor(DesignRequestsList)
const designRequestsListProvider = DesignRequestsListProvider._();

/// Design Requests List Provider
///
/// Fetches and manages design requests from API.
final class DesignRequestsListProvider
    extends $AsyncNotifierProvider<DesignRequestsList, List<DesignRequest>> {
  /// Design Requests List Provider
  ///
  /// Fetches and manages design requests from API.
  const DesignRequestsListProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'designRequestsListProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

  @override
  String debugGetCreateSourceHash() => _$designRequestsListHash();

  @$internal
  @override
  DesignRequestsList create() => DesignRequestsList();
}

String _$designRequestsListHash() =>
    r'368656997bd73619c7b27a3923066149a403bb5f';

/// Design Requests List Provider
///
/// Fetches and manages design requests from API.

abstract class _$DesignRequestsList
    extends $AsyncNotifier<List<DesignRequest>> {
  FutureOr<List<DesignRequest>> build();
  @$mustCallSuper
  @override
  void runBuild() {
    final created = build();
    final ref =
        this.ref as $Ref<AsyncValue<List<DesignRequest>>, List<DesignRequest>>;
    final element =
        ref.element
            as $ClassProviderElement<
              AnyNotifier<AsyncValue<List<DesignRequest>>, List<DesignRequest>>,
              AsyncValue<List<DesignRequest>>,
              Object?,
              Object?
            >;
    element.handleValue(ref, created);
  }
}

/// Design Request Detail Provider
///
/// Fetches detail of a specific design request by name.
/// Uses family modifier to cache by request name.

@ProviderFor(designRequestDetail)
const designRequestDetailProvider = DesignRequestDetailFamily._();

/// Design Request Detail Provider
///
/// Fetches detail of a specific design request by name.
/// Uses family modifier to cache by request name.

final class DesignRequestDetailProvider
    extends
        $FunctionalProvider<
          AsyncValue<DesignRequest>,
          DesignRequest,
          FutureOr<DesignRequest>
        >
    with $FutureModifier<DesignRequest>, $FutureProvider<DesignRequest> {
  /// Design Request Detail Provider
  ///
  /// Fetches detail of a specific design request by name.
  /// Uses family modifier to cache by request name.
  const DesignRequestDetailProvider._({
    required DesignRequestDetailFamily super.from,
    required String super.argument,
  }) : super(
         retry: null,
         name: r'designRequestDetailProvider',
         isAutoDispose: true,
         dependencies: null,
         $allTransitiveDependencies: null,
       );

  @override
  String debugGetCreateSourceHash() => _$designRequestDetailHash();

  @override
  String toString() {
    return r'designRequestDetailProvider'
        ''
        '($argument)';
  }

  @$internal
  @override
  $FutureProviderElement<DesignRequest> $createElement(
    $ProviderPointer pointer,
  ) => $FutureProviderElement(pointer);

  @override
  FutureOr<DesignRequest> create(Ref ref) {
    final argument = this.argument as String;
    return designRequestDetail(ref, argument);
  }

  @override
  bool operator ==(Object other) {
    return other is DesignRequestDetailProvider && other.argument == argument;
  }

  @override
  int get hashCode {
    return argument.hashCode;
  }
}

String _$designRequestDetailHash() =>
    r'ddf1fdd91e1e9dc15acf50ef69d85602f02041c6';

/// Design Request Detail Provider
///
/// Fetches detail of a specific design request by name.
/// Uses family modifier to cache by request name.

final class DesignRequestDetailFamily extends $Family
    with $FunctionalFamilyOverride<FutureOr<DesignRequest>, String> {
  const DesignRequestDetailFamily._()
    : super(
        retry: null,
        name: r'designRequestDetailProvider',
        dependencies: null,
        $allTransitiveDependencies: null,
        isAutoDispose: true,
      );

  /// Design Request Detail Provider
  ///
  /// Fetches detail of a specific design request by name.
  /// Uses family modifier to cache by request name.

  DesignRequestDetailProvider call(String name) =>
      DesignRequestDetailProvider._(argument: name, from: this);

  @override
  String toString() => r'designRequestDetailProvider';
}
