diff --git a/lib/model/api_config.g.dart b/lib/model/api_config.g.dart index 69455d5..6c8cac9 100644 --- a/lib/model/api_config.g.dart +++ b/lib/model/api_config.g.dart @@ -6,36 +6,18 @@ part of 'api_config.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api - -/// 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)); - } -} - String _$apiConfigHash() => r'86d98ccd85bafa595795c02aadfe18d05d7ea49e'; /// See also [apiConfig]. -final apiConfigProvider = AutoDisposeProvider( +@ProviderFor(apiConfig) +final apiConfigProvider = AutoDisposeProvider.internal( apiConfig, name: r'apiConfigProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$apiConfigHash, + dependencies: null, + allTransitiveDependencies: null, ); + typedef ApiConfigRef = AutoDisposeProviderRef; +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/model/api_repository.g.dart b/lib/model/api_repository.g.dart index 51f93ad..0a791df 100644 --- a/lib/model/api_repository.g.dart +++ b/lib/model/api_repository.g.dart @@ -6,37 +6,19 @@ part of 'api_repository.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api - -/// 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)); - } -} - String _$apiRepositoryHash() => r'783c92f974ca1f33efb1f287871ec006e2001202'; /// See also [apiRepository]. -final apiRepositoryProvider = AutoDisposeProvider( +@ProviderFor(apiRepository) +final apiRepositoryProvider = AutoDisposeProvider.internal( apiRepository, name: r'apiRepositoryProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$apiRepositoryHash, + dependencies: null, + allTransitiveDependencies: null, ); + typedef ApiRepositoryRef = AutoDisposeProviderRef; +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/model/hive/search_history.g.dart b/lib/model/hive/search_history.g.dart index 5ebe458..db13c0f 100644 --- a/lib/model/hive/search_history.g.dart +++ b/lib/model/hive/search_history.g.dart @@ -50,37 +50,20 @@ class SearchHistoryAdapter extends TypeAdapter { // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api - -/// 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)); - } -} - String _$searchHistoryBoxHash() => r'3de55a390765bd33b679106eba72efc7b78bafaa'; /// See also [searchHistoryBox]. -final searchHistoryBoxProvider = AutoDisposeProvider>( +@ProviderFor(searchHistoryBox) +final searchHistoryBoxProvider = + AutoDisposeProvider>.internal( searchHistoryBox, name: r'searchHistoryBoxProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$searchHistoryBoxHash, + dependencies: null, + allTransitiveDependencies: null, ); + typedef SearchHistoryBoxRef = AutoDisposeProviderRef>; +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/model/source/data_source_issue.g.dart b/lib/model/source/data_source_issue.g.dart index 9153998..d995908 100644 --- a/lib/model/source/data_source_issue.g.dart +++ b/lib/model/source/data_source_issue.g.dart @@ -6,7 +6,7 @@ part of 'data_source_issue.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api +String _$dataSourceIssueHash() => r'ca3f644f49f66cb38f749dd8cc743242a2e06ec5'; /// Copied from Dart SDK class _SystemHash { @@ -29,13 +29,56 @@ class _SystemHash { } } -String _$dataSourceIssueHash() => r'ca3f644f49f66cb38f749dd8cc743242a2e06ec5'; +typedef DataSourceIssueRef = AutoDisposeProviderRef; + +/// See also [dataSourceIssue]. +@ProviderFor(dataSourceIssue) +const dataSourceIssueProvider = DataSourceIssueFamily(); + +/// See also [dataSourceIssue]. +class DataSourceIssueFamily extends Family { + /// See also [dataSourceIssue]. + const DataSourceIssueFamily(); + + /// See also [dataSourceIssue]. + DataSourceIssueProvider call({ + required String issueID, + }) { + return DataSourceIssueProvider( + issueID: issueID, + ); + } + + @override + DataSourceIssueProvider getProviderOverride( + covariant DataSourceIssueProvider provider, + ) { + return call( + issueID: provider.issueID, + ); + } + + 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'dataSourceIssueProvider'; +} /// See also [dataSourceIssue]. class DataSourceIssueProvider extends AutoDisposeProvider { + /// See also [dataSourceIssue]. DataSourceIssueProvider({ required this.issueID, - }) : super( + }) : super.internal( (ref) => dataSourceIssue( ref, issueID: issueID, @@ -46,6 +89,9 @@ class DataSourceIssueProvider extends AutoDisposeProvider { const bool.fromEnvironment('dart.vm.product') ? null : _$dataSourceIssueHash, + dependencies: DataSourceIssueFamily._dependencies, + allTransitiveDependencies: + DataSourceIssueFamily._allTransitiveDependencies, ); final String issueID; @@ -63,38 +109,4 @@ class DataSourceIssueProvider extends AutoDisposeProvider { return _SystemHash.finish(hash); } } - -typedef DataSourceIssueRef = AutoDisposeProviderRef; - -/// See also [dataSourceIssue]. -final dataSourceIssueProvider = DataSourceIssueFamily(); - -class DataSourceIssueFamily extends Family { - DataSourceIssueFamily(); - - DataSourceIssueProvider call({ - required String issueID, - }) { - return DataSourceIssueProvider( - issueID: issueID, - ); - } - - @override - AutoDisposeProvider getProviderOverride( - covariant DataSourceIssueProvider provider, - ) { - return call( - issueID: provider.issueID, - ); - } - - @override - List? get allTransitiveDependencies => null; - - @override - List? get dependencies => null; - - @override - String? get name => r'dataSourceIssueProvider'; -} +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/model/source/data_source_meeting_detail.g.dart b/lib/model/source/data_source_meeting_detail.g.dart index cffbb69..6bd5337 100644 --- a/lib/model/source/data_source_meeting_detail.g.dart +++ b/lib/model/source/data_source_meeting_detail.g.dart @@ -6,7 +6,8 @@ part of 'data_source_meeting_detail.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api +String _$dataSourceMeetingDetailHash() => + r'779305aa0979d1c2bf7eae7bc3f876c96c615426'; /// Copied from Dart SDK class _SystemHash { @@ -29,15 +30,58 @@ class _SystemHash { } } -String _$dataSourceMeetingDetailHash() => - r'779305aa0979d1c2bf7eae7bc3f876c96c615426'; +typedef DataSourceMeetingDetailRef + = AutoDisposeProviderRef; + +/// See also [dataSourceMeetingDetail]. +@ProviderFor(dataSourceMeetingDetail) +const dataSourceMeetingDetailProvider = DataSourceMeetingDetailFamily(); + +/// See also [dataSourceMeetingDetail]. +class DataSourceMeetingDetailFamily extends Family { + /// See also [dataSourceMeetingDetail]. + const DataSourceMeetingDetailFamily(); + + /// See also [dataSourceMeetingDetail]. + DataSourceMeetingDetailProvider call({ + required SearchParams params, + }) { + return DataSourceMeetingDetailProvider( + params: params, + ); + } + + @override + DataSourceMeetingDetailProvider getProviderOverride( + covariant DataSourceMeetingDetailProvider provider, + ) { + return call( + params: provider.params, + ); + } + + 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'dataSourceMeetingDetailProvider'; +} /// See also [dataSourceMeetingDetail]. class DataSourceMeetingDetailProvider extends AutoDisposeProvider { + /// See also [dataSourceMeetingDetail]. DataSourceMeetingDetailProvider({ required this.params, - }) : super( + }) : super.internal( (ref) => dataSourceMeetingDetail( ref, params: params, @@ -48,6 +92,9 @@ class DataSourceMeetingDetailProvider const bool.fromEnvironment('dart.vm.product') ? null : _$dataSourceMeetingDetailHash, + dependencies: DataSourceMeetingDetailFamily._dependencies, + allTransitiveDependencies: + DataSourceMeetingDetailFamily._allTransitiveDependencies, ); final SearchParams params; @@ -65,39 +112,4 @@ class DataSourceMeetingDetailProvider return _SystemHash.finish(hash); } } - -typedef DataSourceMeetingDetailRef - = AutoDisposeProviderRef; - -/// See also [dataSourceMeetingDetail]. -final dataSourceMeetingDetailProvider = DataSourceMeetingDetailFamily(); - -class DataSourceMeetingDetailFamily extends Family { - DataSourceMeetingDetailFamily(); - - DataSourceMeetingDetailProvider call({ - required SearchParams params, - }) { - return DataSourceMeetingDetailProvider( - params: params, - ); - } - - @override - AutoDisposeProvider getProviderOverride( - covariant DataSourceMeetingDetailProvider provider, - ) { - return call( - params: provider.params, - ); - } - - @override - List? get allTransitiveDependencies => null; - - @override - List? get dependencies => null; - - @override - String? get name => r'dataSourceMeetingDetailProvider'; -} +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/model/source/data_source_meeting_summary.g.dart b/lib/model/source/data_source_meeting_summary.g.dart index 072d2b3..616d926 100644 --- a/lib/model/source/data_source_meeting_summary.g.dart +++ b/lib/model/source/data_source_meeting_summary.g.dart @@ -6,7 +6,8 @@ part of 'data_source_meeting_summary.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api +String _$dataSourceMeetingSummaryHash() => + r'3b1be075b2ad0b49cc2a33f42a8a63216128cca5'; /// Copied from Dart SDK class _SystemHash { @@ -29,15 +30,58 @@ class _SystemHash { } } -String _$dataSourceMeetingSummaryHash() => - r'3b1be075b2ad0b49cc2a33f42a8a63216128cca5'; +typedef DataSourceMeetingSummaryRef + = AutoDisposeProviderRef; + +/// See also [dataSourceMeetingSummary]. +@ProviderFor(dataSourceMeetingSummary) +const dataSourceMeetingSummaryProvider = DataSourceMeetingSummaryFamily(); + +/// See also [dataSourceMeetingSummary]. +class DataSourceMeetingSummaryFamily extends Family { + /// See also [dataSourceMeetingSummary]. + const DataSourceMeetingSummaryFamily(); + + /// See also [dataSourceMeetingSummary]. + DataSourceMeetingSummaryProvider call({ + required SearchParams params, + }) { + return DataSourceMeetingSummaryProvider( + params: params, + ); + } + + @override + DataSourceMeetingSummaryProvider getProviderOverride( + covariant DataSourceMeetingSummaryProvider provider, + ) { + return call( + params: provider.params, + ); + } + + 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'dataSourceMeetingSummaryProvider'; +} /// See also [dataSourceMeetingSummary]. class DataSourceMeetingSummaryProvider extends AutoDisposeProvider { + /// See also [dataSourceMeetingSummary]. DataSourceMeetingSummaryProvider({ required this.params, - }) : super( + }) : super.internal( (ref) => dataSourceMeetingSummary( ref, params: params, @@ -48,6 +92,9 @@ class DataSourceMeetingSummaryProvider const bool.fromEnvironment('dart.vm.product') ? null : _$dataSourceMeetingSummaryHash, + dependencies: DataSourceMeetingSummaryFamily._dependencies, + allTransitiveDependencies: + DataSourceMeetingSummaryFamily._allTransitiveDependencies, ); final SearchParams params; @@ -65,39 +112,4 @@ class DataSourceMeetingSummaryProvider return _SystemHash.finish(hash); } } - -typedef DataSourceMeetingSummaryRef - = AutoDisposeProviderRef; - -/// See also [dataSourceMeetingSummary]. -final dataSourceMeetingSummaryProvider = DataSourceMeetingSummaryFamily(); - -class DataSourceMeetingSummaryFamily extends Family { - DataSourceMeetingSummaryFamily(); - - DataSourceMeetingSummaryProvider call({ - required SearchParams params, - }) { - return DataSourceMeetingSummaryProvider( - params: params, - ); - } - - @override - AutoDisposeProvider getProviderOverride( - covariant DataSourceMeetingSummaryProvider provider, - ) { - return call( - params: provider.params, - ); - } - - @override - List? get allTransitiveDependencies => null; - - @override - List? get dependencies => null; - - @override - String? get name => r'dataSourceMeetingSummaryProvider'; -} +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/model/source/data_source_speech.g.dart b/lib/model/source/data_source_speech.g.dart index 66a2543..19adcf8 100644 --- a/lib/model/source/data_source_speech.g.dart +++ b/lib/model/source/data_source_speech.g.dart @@ -6,7 +6,7 @@ part of 'data_source_speech.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api +String _$dataSourceSpeechHash() => r'c99dd8d0df003aee6f8ac172fdfe904d9b663b99'; /// Copied from Dart SDK class _SystemHash { @@ -29,13 +29,56 @@ class _SystemHash { } } -String _$dataSourceSpeechHash() => r'c99dd8d0df003aee6f8ac172fdfe904d9b663b99'; +typedef DataSourceSpeechRef = AutoDisposeProviderRef; + +/// See also [dataSourceSpeech]. +@ProviderFor(dataSourceSpeech) +const dataSourceSpeechProvider = DataSourceSpeechFamily(); + +/// See also [dataSourceSpeech]. +class DataSourceSpeechFamily extends Family { + /// See also [dataSourceSpeech]. + const DataSourceSpeechFamily(); + + /// See also [dataSourceSpeech]. + DataSourceSpeechProvider call({ + required SearchParams params, + }) { + return DataSourceSpeechProvider( + params: params, + ); + } + + @override + DataSourceSpeechProvider getProviderOverride( + covariant DataSourceSpeechProvider provider, + ) { + return call( + params: provider.params, + ); + } + + 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'dataSourceSpeechProvider'; +} /// See also [dataSourceSpeech]. class DataSourceSpeechProvider extends AutoDisposeProvider { + /// See also [dataSourceSpeech]. DataSourceSpeechProvider({ required this.params, - }) : super( + }) : super.internal( (ref) => dataSourceSpeech( ref, params: params, @@ -46,6 +89,9 @@ class DataSourceSpeechProvider extends AutoDisposeProvider { const bool.fromEnvironment('dart.vm.product') ? null : _$dataSourceSpeechHash, + dependencies: DataSourceSpeechFamily._dependencies, + allTransitiveDependencies: + DataSourceSpeechFamily._allTransitiveDependencies, ); final SearchParams params; @@ -63,38 +109,4 @@ class DataSourceSpeechProvider extends AutoDisposeProvider { return _SystemHash.finish(hash); } } - -typedef DataSourceSpeechRef = AutoDisposeProviderRef; - -/// See also [dataSourceSpeech]. -final dataSourceSpeechProvider = DataSourceSpeechFamily(); - -class DataSourceSpeechFamily extends Family { - DataSourceSpeechFamily(); - - DataSourceSpeechProvider call({ - required SearchParams params, - }) { - return DataSourceSpeechProvider( - params: params, - ); - } - - @override - AutoDisposeProvider getProviderOverride( - covariant DataSourceSpeechProvider provider, - ) { - return call( - params: provider.params, - ); - } - - @override - List? get allTransitiveDependencies => null; - - @override - List? get dependencies => null; - - @override - String? get name => r'dataSourceSpeechProvider'; -} +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/presenter/api_presenter.g.dart b/lib/presenter/api_presenter.g.dart index e01e1e0..d0dc73b 100644 --- a/lib/presenter/api_presenter.g.dart +++ b/lib/presenter/api_presenter.g.dart @@ -6,7 +6,7 @@ part of 'api_presenter.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api +String _$speechDetailHash() => r'9d5bc9d9cef8a211105ce76fdec7c37f2cb29519'; /// Copied from Dart SDK class _SystemHash { @@ -29,14 +29,57 @@ class _SystemHash { } } -String _$speechDetailHash() => r'9d5bc9d9cef8a211105ce76fdec7c37f2cb29519'; +typedef SpeechDetailRef = AutoDisposeFutureProviderRef; + +/// See also [speechDetail]. +@ProviderFor(speechDetail) +const speechDetailProvider = SpeechDetailFamily(); + +/// See also [speechDetail]. +class SpeechDetailFamily extends Family> { + /// See also [speechDetail]. + const SpeechDetailFamily(); + + /// See also [speechDetail]. + SpeechDetailProvider call({ + required String speechID, + }) { + return SpeechDetailProvider( + speechID: speechID, + ); + } + + @override + SpeechDetailProvider getProviderOverride( + covariant SpeechDetailProvider provider, + ) { + return call( + speechID: provider.speechID, + ); + } + + 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'speechDetailProvider'; +} /// See also [speechDetail]. class SpeechDetailProvider extends AutoDisposeFutureProvider { + /// See also [speechDetail]. SpeechDetailProvider({ required this.speechID, - }) : super( + }) : super.internal( (ref) => speechDetail( ref, speechID: speechID, @@ -47,6 +90,9 @@ class SpeechDetailProvider const bool.fromEnvironment('dart.vm.product') ? null : _$speechDetailHash, + dependencies: SpeechDetailFamily._dependencies, + allTransitiveDependencies: + SpeechDetailFamily._allTransitiveDependencies, ); final String speechID; @@ -65,48 +111,57 @@ class SpeechDetailProvider } } -typedef SpeechDetailRef = AutoDisposeFutureProviderRef; +String _$speechInfoHash() => r'513ae80f5fa28c0690f44be03b4b7566c18537a6'; +typedef SpeechInfoRef = AutoDisposeFutureProviderRef; -/// See also [speechDetail]. -final speechDetailProvider = SpeechDetailFamily(); +/// See also [speechInfo]. +@ProviderFor(speechInfo) +const speechInfoProvider = SpeechInfoFamily(); -class SpeechDetailFamily extends Family> { - SpeechDetailFamily(); +/// See also [speechInfo]. +class SpeechInfoFamily extends Family> { + /// See also [speechInfo]. + const SpeechInfoFamily(); - SpeechDetailProvider call({ - required String speechID, + /// See also [speechInfo]. + SpeechInfoProvider call({ + required SearchParams params, }) { - return SpeechDetailProvider( - speechID: speechID, + return SpeechInfoProvider( + params: params, ); } @override - AutoDisposeFutureProvider getProviderOverride( - covariant SpeechDetailProvider provider, + SpeechInfoProvider getProviderOverride( + covariant SpeechInfoProvider provider, ) { return call( - speechID: provider.speechID, + params: provider.params, ); } + static const Iterable? _dependencies = null; + @override - List? get allTransitiveDependencies => null; + Iterable? get dependencies => _dependencies; + + static const Iterable? _allTransitiveDependencies = null; @override - List? get dependencies => null; + Iterable? get allTransitiveDependencies => + _allTransitiveDependencies; @override - String? get name => r'speechDetailProvider'; + String? get name => r'speechInfoProvider'; } -String _$speechInfoHash() => r'513ae80f5fa28c0690f44be03b4b7566c18537a6'; - /// See also [speechInfo]. class SpeechInfoProvider extends AutoDisposeFutureProvider { + /// See also [speechInfo]. SpeechInfoProvider({ required this.params, - }) : super( + }) : super.internal( (ref) => speechInfo( ref, params: params, @@ -117,6 +172,9 @@ class SpeechInfoProvider extends AutoDisposeFutureProvider { const bool.fromEnvironment('dart.vm.product') ? null : _$speechInfoHash, + dependencies: SpeechInfoFamily._dependencies, + allTransitiveDependencies: + SpeechInfoFamily._allTransitiveDependencies, ); final SearchParams params; @@ -135,49 +193,58 @@ class SpeechInfoProvider extends AutoDisposeFutureProvider { } } -typedef SpeechInfoRef = AutoDisposeFutureProviderRef; +String _$meetingSummaryInfoHash() => + r'866b4282cb839190881b13a21f009b41f6c04aaa'; +typedef MeetingSummaryInfoRef = AutoDisposeFutureProviderRef; -/// See also [speechInfo]. -final speechInfoProvider = SpeechInfoFamily(); +/// See also [meetingSummaryInfo]. +@ProviderFor(meetingSummaryInfo) +const meetingSummaryInfoProvider = MeetingSummaryInfoFamily(); -class SpeechInfoFamily extends Family> { - SpeechInfoFamily(); +/// See also [meetingSummaryInfo]. +class MeetingSummaryInfoFamily extends Family> { + /// See also [meetingSummaryInfo]. + const MeetingSummaryInfoFamily(); - SpeechInfoProvider call({ + /// See also [meetingSummaryInfo]. + MeetingSummaryInfoProvider call({ required SearchParams params, }) { - return SpeechInfoProvider( + return MeetingSummaryInfoProvider( params: params, ); } @override - AutoDisposeFutureProvider getProviderOverride( - covariant SpeechInfoProvider provider, + MeetingSummaryInfoProvider getProviderOverride( + covariant MeetingSummaryInfoProvider provider, ) { return call( params: provider.params, ); } + static const Iterable? _dependencies = null; + @override - List? get allTransitiveDependencies => null; + Iterable? get dependencies => _dependencies; + + static const Iterable? _allTransitiveDependencies = null; @override - List? get dependencies => null; + Iterable? get allTransitiveDependencies => + _allTransitiveDependencies; @override - String? get name => r'speechInfoProvider'; + String? get name => r'meetingSummaryInfoProvider'; } -String _$meetingSummaryInfoHash() => - r'866b4282cb839190881b13a21f009b41f6c04aaa'; - /// See also [meetingSummaryInfo]. class MeetingSummaryInfoProvider extends AutoDisposeFutureProvider { + /// See also [meetingSummaryInfo]. MeetingSummaryInfoProvider({ required this.params, - }) : super( + }) : super.internal( (ref) => meetingSummaryInfo( ref, params: params, @@ -188,6 +255,9 @@ class MeetingSummaryInfoProvider extends AutoDisposeFutureProvider { const bool.fromEnvironment('dart.vm.product') ? null : _$meetingSummaryInfoHash, + dependencies: MeetingSummaryInfoFamily._dependencies, + allTransitiveDependencies: + MeetingSummaryInfoFamily._allTransitiveDependencies, ); final SearchParams params; @@ -206,48 +276,57 @@ class MeetingSummaryInfoProvider extends AutoDisposeFutureProvider { } } -typedef MeetingSummaryInfoRef = AutoDisposeFutureProviderRef; +String _$meetingDetailInfoHash() => r'7afa6fb418cc87d85dc458d2ecd12a1d7c8f36e9'; +typedef MeetingDetailInfoRef = AutoDisposeFutureProviderRef; -/// See also [meetingSummaryInfo]. -final meetingSummaryInfoProvider = MeetingSummaryInfoFamily(); +/// See also [meetingDetailInfo]. +@ProviderFor(meetingDetailInfo) +const meetingDetailInfoProvider = MeetingDetailInfoFamily(); -class MeetingSummaryInfoFamily extends Family> { - MeetingSummaryInfoFamily(); +/// See also [meetingDetailInfo]. +class MeetingDetailInfoFamily extends Family> { + /// See also [meetingDetailInfo]. + const MeetingDetailInfoFamily(); - MeetingSummaryInfoProvider call({ + /// See also [meetingDetailInfo]. + MeetingDetailInfoProvider call({ required SearchParams params, }) { - return MeetingSummaryInfoProvider( + return MeetingDetailInfoProvider( params: params, ); } @override - AutoDisposeFutureProvider getProviderOverride( - covariant MeetingSummaryInfoProvider provider, + MeetingDetailInfoProvider getProviderOverride( + covariant MeetingDetailInfoProvider provider, ) { return call( params: provider.params, ); } + static const Iterable? _dependencies = null; + @override - List? get allTransitiveDependencies => null; + Iterable? get dependencies => _dependencies; + + static const Iterable? _allTransitiveDependencies = null; @override - List? get dependencies => null; + Iterable? get allTransitiveDependencies => + _allTransitiveDependencies; @override - String? get name => r'meetingSummaryInfoProvider'; + String? get name => r'meetingDetailInfoProvider'; } -String _$meetingDetailInfoHash() => r'7afa6fb418cc87d85dc458d2ecd12a1d7c8f36e9'; - /// See also [meetingDetailInfo]. class MeetingDetailInfoProvider extends AutoDisposeFutureProvider { + /// See also [meetingDetailInfo]. MeetingDetailInfoProvider({ required this.params, - }) : super( + }) : super.internal( (ref) => meetingDetailInfo( ref, params: params, @@ -258,6 +337,9 @@ class MeetingDetailInfoProvider extends AutoDisposeFutureProvider { const bool.fromEnvironment('dart.vm.product') ? null : _$meetingDetailInfoHash, + dependencies: MeetingDetailInfoFamily._dependencies, + allTransitiveDependencies: + MeetingDetailInfoFamily._allTransitiveDependencies, ); final SearchParams params; @@ -275,38 +357,4 @@ class MeetingDetailInfoProvider extends AutoDisposeFutureProvider { return _SystemHash.finish(hash); } } - -typedef MeetingDetailInfoRef = AutoDisposeFutureProviderRef; - -/// See also [meetingDetailInfo]. -final meetingDetailInfoProvider = MeetingDetailInfoFamily(); - -class MeetingDetailInfoFamily extends Family> { - MeetingDetailInfoFamily(); - - MeetingDetailInfoProvider call({ - required SearchParams params, - }) { - return MeetingDetailInfoProvider( - params: params, - ); - } - - @override - AutoDisposeFutureProvider getProviderOverride( - covariant MeetingDetailInfoProvider provider, - ) { - return call( - params: provider.params, - ); - } - - @override - List? get allTransitiveDependencies => null; - - @override - List? get dependencies => null; - - @override - String? get name => r'meetingDetailInfoProvider'; -} +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/presenter/search_state_manager.g.dart b/lib/presenter/search_state_manager.g.dart index 754d7a9..56f5cea 100644 --- a/lib/presenter/search_state_manager.g.dart +++ b/lib/presenter/search_state_manager.g.dart @@ -6,44 +6,21 @@ part of 'search_state_manager.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api - -/// 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)); - } -} - -String _$SearchStateManagerHash() => +String _$searchStateManagerHash() => r'5d631e83e766a52920f93622efddca1bed02f343'; /// See also [SearchStateManager]. +@ProviderFor(SearchStateManager) final searchStateManagerProvider = - AutoDisposeNotifierProvider( + AutoDisposeNotifierProvider.internal( SearchStateManager.new, name: r'searchStateManagerProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null - : _$SearchStateManagerHash, + : _$searchStateManagerHash, + dependencies: null, + allTransitiveDependencies: null, ); -typedef SearchStateManagerRef = AutoDisposeNotifierProviderRef; -abstract class _$SearchStateManager extends AutoDisposeNotifier { - @override - SearchState build(); -} +typedef _$SearchStateManager = AutoDisposeNotifier; +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/lib/view/router.g.dart b/lib/view/router.g.dart index 1852a21..c9c01c5 100644 --- a/lib/view/router.g.dart +++ b/lib/view/router.g.dart @@ -6,36 +6,18 @@ part of 'router.dart'; // RiverpodGenerator // ************************************************************************** -// ignore_for_file: avoid_private_typedef_functions, non_constant_identifier_names, subtype_of_sealed_class, invalid_use_of_internal_member, unused_element, constant_identifier_names, unnecessary_raw_strings, library_private_types_in_public_api - -/// 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)); - } -} - String _$routerHash() => r'6c5277bc5cce87991586c0707513f017790b7e27'; /// See also [router]. -final routerProvider = AutoDisposeProvider( +@ProviderFor(router) +final routerProvider = AutoDisposeProvider.internal( router, name: r'routerProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$routerHash, + dependencies: null, + allTransitiveDependencies: null, ); + typedef RouterRef = AutoDisposeProviderRef; +// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions diff --git a/pubspec.lock b/pubspec.lock index ae023d9..e8f26db 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,18 +5,26 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: "98d1d33ed129b372846e862de23a0fc365745f4d7b5e786ce667fcbbb7ac5c07" + sha256: "0c80aeab9bc807ab10022cd3b2f4cf2ecdf231949dc1ddd9442406a003f19201" url: "https://pub.dev" source: hosted - version: "55.0.0" + version: "52.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: "881348aed9b0b425882c97732629a6a31093c8ff20fc4b3b03fb9d3d50a3a126" + sha256: cd8ee83568a77f3ae6b913a36093a1c9b1264e7cb7f834d9ddd2311dade9c1f4 url: "https://pub.dev" source: hosted - version: "5.7.1" + version: "5.4.0" + analyzer_plugin: + dependency: transitive + description: + name: analyzer_plugin + sha256: c1d5f167683de03d5ab6c3b53fc9aeefc5d59476e7810ba7bbddff50c6f4392d + url: "https://pub.dev" + source: hosted + version: "0.11.2" args: dependency: transitive description: @@ -129,6 +137,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.2" + cli_util: + dependency: transitive + description: + name: cli_util + sha256: "66f86e916d285c1a93d3b79587d94bd71984a66aac4ff74e524cfa7877f1395c" + url: "https://pub.dev" + source: hosted + version: "0.3.5" clock: dependency: transitive description: @@ -169,6 +185,22 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.2" + custom_lint: + dependency: transitive + description: + name: custom_lint + sha256: "324e7026902f34e180d8d27e08a89dbbe3dd8a54e0c3852a0df0db0f4046120b" + url: "https://pub.dev" + source: hosted + version: "0.2.12" + custom_lint_core: + dependency: transitive + description: + name: custom_lint_core + sha256: "34a9447102de5741d6dc464c4824a4173b20b91d5685589ea652b051dda1f461" + url: "https://pub.dev" + source: hosted + version: "0.2.12" dart_style: dependency: transitive description: @@ -247,10 +279,10 @@ packages: dependency: transitive description: name: flutter_riverpod - sha256: "46a27b7a11dc13738054093076f2dc65692ddcd463979b15092accf5681aea20" + sha256: "40c0d7d03ccd24fa32ea08dcfc4df9bb92c4c26c9a91938945da3be10ed8ca83" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" flutter_test: dependency: "direct dev" description: flutter @@ -305,10 +337,10 @@ packages: dependency: "direct main" description: name: google_fonts - sha256: "8f099045e2f2a30e4d4d0a35f40c6bc941a8f2ca0e10ad9d214ee9edd3f37483" + sha256: "927573f2e8a8d65c17931e21918ad0ab0666b1b636537de7c4932bdb487b190f" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "4.0.3" graphs: dependency: transitive description: @@ -345,10 +377,10 @@ packages: dependency: "direct main" description: name: hooks_riverpod - sha256: a596bcb1eaf48eae6da1ce8b9e60ec9538ef7d15725e941c3626f29dfcc01d96 + sha256: "048d5d912b9e5ef9db4d274d201a2bfe4270e5694ff5c6719b593d4ae9c512c7" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" http: dependency: "direct main" description: @@ -621,30 +653,54 @@ packages: url: "https://pub.dev" source: hosted version: "3.2.1" + recase: + dependency: transitive + description: + name: recase + sha256: e4eb4ec2dcdee52dcf99cb4ceabaffc631d7424ee55e56f280bc039737f89213 + url: "https://pub.dev" + source: hosted + version: "4.1.0" riverpod: dependency: transitive description: name: riverpod - sha256: "59a48de9c757aa61aa28e9fd625ffb360d43b6b54606f12536622c55be9e8c4b" + sha256: c5aea6c3fed340707f013a023a37ab388bf45611a8a4f7e76b5e9007eb76cd25 url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" + riverpod_analyzer_utils: + dependency: transitive + description: + name: riverpod_analyzer_utils + sha256: "51f415c7b8ed8fbb0114f7c18de015b1465b3311bf75683a209ee2f680bac160" + url: "https://pub.dev" + source: hosted + version: "0.1.1" riverpod_annotation: dependency: "direct main" description: name: riverpod_annotation - sha256: "4726dfa853880e64a8a9f7232eb10a69d6d1df5a45d5847fd0b9ecf6807e57b7" + sha256: "8f39f568860637c6ca5842fbcc175e5e222269f0f8d6f40472d26772d7d563ba" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "2.0.0" riverpod_generator: dependency: "direct dev" description: name: riverpod_generator - sha256: e87363e27dd8bce40a194c2ba6a7630ee343826d7a4500d70f7f729ea8e27d50 + sha256: d7265eac04bad1febff3776b72ac72ec8d0e86efe6b30dc0585899f670bcd26c url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "2.0.0" + rxdart: + dependency: transitive + description: + name: rxdart + sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" + url: "https://pub.dev" + source: hosted + version: "0.27.7" shelf: dependency: transitive description: @@ -842,6 +898,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.4" + uuid: + dependency: transitive + description: + name: uuid + sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313" + url: "https://pub.dev" + source: hosted + version: "3.0.7" vector_math: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index cff56d7..fa58fe6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: freezed_annotation: ^2.0.0 json_annotation: ^4.8.0 - riverpod_annotation: ^1.0.0 + riverpod_annotation: ^2.0.0 flutter_hooks: ^0.18.0 hooks_riverpod: ^2.0.0 @@ -32,7 +32,7 @@ dependencies: http_hive_cache: ^0.0.1 - google_fonts: ^3.0.0 + google_fonts: ^4.0.0 quiver: ^3.0.0 breakpoints_mq: ^2.0.0 paging_view: ^1.0.0 @@ -49,7 +49,7 @@ dev_dependencies: build_runner: ^2.0.0 freezed: ^2.0.0 json_serializable: ^6.0.0 - riverpod_generator: ^1.0.0 + riverpod_generator: ^2.0.0 hive_generator: ^2.0.0 flutter: