// GENERATED CODE - DO NOT MODIFY BY HAND part of 'publication_cache_provider.dart'; // ************************************************************************** // RiverpodGenerator // ************************************************************************** String _$publicationRepositoryHash() => r'69873c0a15586a8d961f715f276d15be7dca65ed'; /// Provider for PublicationRepository instance /// /// Copied from [publicationRepository]. @ProviderFor(publicationRepository) final publicationRepositoryProvider = AutoDisposeProvider.internal( publicationRepository, name: r'publicationRepositoryProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$publicationRepositoryHash, dependencies: null, allTransitiveDependencies: null, ); @Deprecated('Will be removed in 3.0. Use Ref instead') // ignore: unused_element typedef PublicationRepositoryRef = AutoDisposeProviderRef; String _$imageCacheServiceHash() => r'fbd6cd1281d79c781dfe621fbbc8862c32b911e4'; /// Provider for ImageCacheService instance /// /// Copied from [imageCacheService]. @ProviderFor(imageCacheService) final imageCacheServiceProvider = AutoDisposeFutureProvider.internal( imageCacheService, name: r'imageCacheServiceProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$imageCacheServiceHash, dependencies: null, allTransitiveDependencies: null, ); @Deprecated('Will be removed in 3.0. Use Ref instead') // ignore: unused_element typedef ImageCacheServiceRef = AutoDisposeFutureProviderRef; String _$readingProgressRepositoryHash() => r'f14aafb461cbe7249f01f827d192853a69851110'; /// Provider for ReadingProgressRepository instance (if not already provided elsewhere) /// /// Copied from [readingProgressRepository]. @ProviderFor(readingProgressRepository) final readingProgressRepositoryProvider = AutoDisposeProvider.internal( readingProgressRepository, name: r'readingProgressRepositoryProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$readingProgressRepositoryHash, dependencies: null, allTransitiveDependencies: null, ); @Deprecated('Will be removed in 3.0. Use Ref instead') // ignore: unused_element typedef ReadingProgressRepositoryRef = AutoDisposeProviderRef; String _$cachedPublicationHash() => r'b313f362977161ac14c76cc7dc279e66054bb9e4'; /// Copied from Dart SDK class _SystemHash { _SystemHash._(); static int combine(int hash, int value) { // ignore: parameter_assignments hash = 0x1fffffff & (hash + value); // ignore: parameter_assignments hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10)); return hash ^ (hash >> 6); } static int finish(int hash) { // ignore: parameter_assignments hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3)); // ignore: parameter_assignments hash = hash ^ (hash >> 11); return 0x1fffffff & (hash + ((0x00003fff & hash) << 15)); } } /// Provider for single publication lookup /// /// Copied from [cachedPublication]. @ProviderFor(cachedPublication) const cachedPublicationProvider = CachedPublicationFamily(); /// Provider for single publication lookup /// /// Copied from [cachedPublication]. class CachedPublicationFamily extends Family> { /// Provider for single publication lookup /// /// Copied from [cachedPublication]. const CachedPublicationFamily(); /// Provider for single publication lookup /// /// Copied from [cachedPublication]. CachedPublicationProvider call( String serverId, String entryId, ) { return CachedPublicationProvider( serverId, entryId, ); } @override CachedPublicationProvider getProviderOverride( covariant CachedPublicationProvider provider, ) { return call( provider.serverId, provider.entryId, ); } static const Iterable? _dependencies = null; @override Iterable? get dependencies => _dependencies; static const Iterable? _allTransitiveDependencies = null; @override Iterable? get allTransitiveDependencies => _allTransitiveDependencies; @override String? get name => r'cachedPublicationProvider'; } /// Provider for single publication lookup /// /// Copied from [cachedPublication]. class CachedPublicationProvider extends AutoDisposeFutureProvider { /// Provider for single publication lookup /// /// Copied from [cachedPublication]. CachedPublicationProvider( String serverId, String entryId, ) : this._internal( (ref) => cachedPublication( ref as CachedPublicationRef, serverId, entryId, ), from: cachedPublicationProvider, name: r'cachedPublicationProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$cachedPublicationHash, dependencies: CachedPublicationFamily._dependencies, allTransitiveDependencies: CachedPublicationFamily._allTransitiveDependencies, serverId: serverId, entryId: entryId, ); CachedPublicationProvider._internal( super._createNotifier, { required super.name, required super.dependencies, required super.allTransitiveDependencies, required super.debugGetCreateSourceHash, required super.from, required this.serverId, required this.entryId, }) : super.internal(); final String serverId; final String entryId; @override Override overrideWith( FutureOr Function(CachedPublicationRef provider) create, ) { return ProviderOverride( origin: this, override: CachedPublicationProvider._internal( (ref) => create(ref as CachedPublicationRef), from: from, name: null, dependencies: null, allTransitiveDependencies: null, debugGetCreateSourceHash: null, serverId: serverId, entryId: entryId, ), ); } @override AutoDisposeFutureProviderElement createElement() { return _CachedPublicationProviderElement(this); } @override bool operator ==(Object other) { return other is CachedPublicationProvider && other.serverId == serverId && other.entryId == entryId; } @override int get hashCode { var hash = _SystemHash.combine(0, runtimeType.hashCode); hash = _SystemHash.combine(hash, serverId.hashCode); hash = _SystemHash.combine(hash, entryId.hashCode); return _SystemHash.finish(hash); } } @Deprecated('Will be removed in 3.0. Use Ref instead') // ignore: unused_element mixin CachedPublicationRef on AutoDisposeFutureProviderRef { /// The parameter `serverId` of this provider. String get serverId; /// The parameter `entryId` of this provider. String get entryId; } class _CachedPublicationProviderElement extends AutoDisposeFutureProviderElement with CachedPublicationRef { _CachedPublicationProviderElement(super.provider); @override String get serverId => (origin as CachedPublicationProvider).serverId; @override String get entryId => (origin as CachedPublicationProvider).entryId; } String _$publicationCacheHash() => r'a67f02059ba86fe5573d60c738dead3df14c90ea'; /// Provider for publication cache operations /// /// Copied from [PublicationCache]. @ProviderFor(PublicationCache) final publicationCacheProvider = AutoDisposeAsyncNotifierProvider.internal( PublicationCache.new, name: r'publicationCacheProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$publicationCacheHash, dependencies: null, allTransitiveDependencies: null, ); typedef _$PublicationCache = AutoDisposeAsyncNotifier; // 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