···11+// GENERATED CODE - DO NOT MODIFY BY HAND
22+33+part of 'klipy_service.dart';
44+55+// **************************************************************************
66+// RiverpodGenerator
77+// **************************************************************************
88+99+// GENERATED CODE - DO NOT MODIFY BY HAND
1010+// ignore_for_file: type=lint, type=warning
1111+/// Service for interacting with Klipy API.
1212+///
1313+/// Provides methods for searching GIFs and getting trending GIFs.
1414+/// The API key should be configured securely via environment variables.
1515+/// Obtain your API key from https://partner.klipy.com
1616+1717+@ProviderFor(klipyService)
1818+final klipyServiceProvider = KlipyServiceProvider._();
1919+2020+/// Service for interacting with Klipy API.
2121+///
2222+/// Provides methods for searching GIFs and getting trending GIFs.
2323+/// The API key should be configured securely via environment variables.
2424+/// Obtain your API key from https://partner.klipy.com
2525+2626+final class KlipyServiceProvider
2727+ extends $FunctionalProvider<KlipyService, KlipyService, KlipyService>
2828+ with $Provider<KlipyService> {
2929+ /// Service for interacting with Klipy API.
3030+ ///
3131+ /// Provides methods for searching GIFs and getting trending GIFs.
3232+ /// The API key should be configured securely via environment variables.
3333+ /// Obtain your API key from https://partner.klipy.com
3434+ KlipyServiceProvider._()
3535+ : super(
3636+ from: null,
3737+ argument: null,
3838+ retry: null,
3939+ name: r'klipyServiceProvider',
4040+ isAutoDispose: true,
4141+ dependencies: null,
4242+ $allTransitiveDependencies: null,
4343+ );
4444+4545+ @override
4646+ String debugGetCreateSourceHash() => _$klipyServiceHash();
4747+4848+ @$internal
4949+ @override
5050+ $ProviderElement<KlipyService> $createElement($ProviderPointer pointer) =>
5151+ $ProviderElement(pointer);
5252+5353+ @override
5454+ KlipyService create(Ref ref) {
5555+ return klipyService(ref);
5656+ }
5757+5858+ /// {@macro riverpod.override_with_value}
5959+ Override overrideWithValue(KlipyService value) {
6060+ return $ProviderOverride(
6161+ origin: this,
6262+ providerOverride: $SyncValueProvider<KlipyService>(value),
6363+ );
6464+ }
6565+}
6666+6767+String _$klipyServiceHash() => r'b1b2821189fcb6c0381d1bad49150cb20bb6d049';
···121121 return dio;
122122}
123123124124-/// Creates a Dio client configured for Tenor API access.
124124+/// Creates a Dio client configured for Klipy API access.
125125///
126126/// This client is used for GIF search and selection.
127127-Dio createTenorDio({
128128- String baseUrl = 'https://tenor.googleapis.com/v2',
127127+Dio createKlipyDio({
128128+ String baseUrl = 'https://api.klipy.com',
129129 bool enableLogging = true,
130130 List<Interceptor> interceptors = const [],
131131}) {
+5-5
lib/src/infrastructure/network/host_kind.dart
···2222 /// Base URL: `https://video.bsky.app`
2323 video,
24242525- /// Tenor API endpoint for GIF search and selection.
2525+ /// Klipy API endpoint for GIF search and selection.
2626 ///
2727- /// Base URL: `https://tenor.googleapis.com/v2`
2828- tenor,
2727+ /// Base URL: `https://api.klipy.com`
2828+ klipy,
2929}
30303131/// Extension to get host-related properties.
···3939 HostKind.publicApi => 'https://public.api.bsky.app',
4040 HostKind.pds => null,
4141 HostKind.video => 'https://video.bsky.app',
4242- HostKind.tenor => 'https://tenor.googleapis.com/v2',
4242+ HostKind.klipy => 'https://api.klipy.com',
4343 };
4444 }
4545···4949 HostKind.publicApi => false,
5050 HostKind.pds => true,
5151 HostKind.video => true,
5252- HostKind.tenor => false,
5252+ HostKind.klipy => false,
5353 };
5454 }
5555}
+5-5
lib/src/infrastructure/network/providers.dart
···8787 );
8888}
89899090-/// Provides Tenor API Dio client for GIF search.
9090+/// Provides Klipy API Dio client for GIF search.
9191///
9292-/// This client is used for GIF search and selection from Tenor.
9292+/// This client is used for GIF search and selection from Klipy.
9393@Riverpod(keepAlive: true)
9494-Dio dioTenor(Ref ref) {
9595- return createTenorDio(
9494+Dio dioKlipy(Ref ref) {
9595+ return createKlipyDio(
9696 interceptors: [
9797 if (kDebugMode) DebugNetworkInterceptor(ref.watch(appDatabaseProvider).devToolsDao),
9898 ],
···109109 publicDio: ref.watch(dioPublicProvider),
110110 pdsDio: ref.watch(dioPdsProvider),
111111 videoServiceDio: ref.watch(dioVideoServiceProvider),
112112- tenorDio: ref.watch(dioTenorProvider),
112112+ klipyDio: ref.watch(dioKlipyProvider),
113113 logger: ref.watch(loggerProvider('XrpcClient')),
114114 );
115115}
+15-15
lib/src/infrastructure/network/providers.g.dart
···150150151151String _$dioVideoServiceHash() => r'35fad9f27769840636716b14bdb28c3b43634b52';
152152153153-/// Provides Tenor API Dio client for GIF search.
153153+/// Provides Klipy API Dio client for GIF search.
154154///
155155-/// This client is used for GIF search and selection from Tenor.
155155+/// This client is used for GIF search and selection from Klipy.
156156157157-@ProviderFor(dioTenor)
158158-final dioTenorProvider = DioTenorProvider._();
157157+@ProviderFor(dioKlipy)
158158+final dioKlipyProvider = DioKlipyProvider._();
159159160160-/// Provides Tenor API Dio client for GIF search.
160160+/// Provides Klipy API Dio client for GIF search.
161161///
162162-/// This client is used for GIF search and selection from Tenor.
162162+/// This client is used for GIF search and selection from Klipy.
163163164164-final class DioTenorProvider extends $FunctionalProvider<Dio, Dio, Dio> with $Provider<Dio> {
165165- /// Provides Tenor API Dio client for GIF search.
164164+final class DioKlipyProvider extends $FunctionalProvider<Dio, Dio, Dio> with $Provider<Dio> {
165165+ /// Provides Klipy API Dio client for GIF search.
166166 ///
167167- /// This client is used for GIF search and selection from Tenor.
168168- DioTenorProvider._()
167167+ /// This client is used for GIF search and selection from Klipy.
168168+ DioKlipyProvider._()
169169 : super(
170170 from: null,
171171 argument: null,
172172 retry: null,
173173- name: r'dioTenorProvider',
173173+ name: r'dioKlipyProvider',
174174 isAutoDispose: false,
175175 dependencies: null,
176176 $allTransitiveDependencies: null,
177177 );
178178179179 @override
180180- String debugGetCreateSourceHash() => _$dioTenorHash();
180180+ String debugGetCreateSourceHash() => _$dioKlipyHash();
181181182182 @$internal
183183 @override
···185185186186 @override
187187 Dio create(Ref ref) {
188188- return dioTenor(ref);
188188+ return dioKlipy(ref);
189189 }
190190191191 /// {@macro riverpod.override_with_value}
···194194 }
195195}
196196197197-String _$dioTenorHash() => r'a2e99a8a8c47829fb3aefdc8d7cdc098ead2c517';
197197+String _$dioKlipyHash() => r'86d9a53bc4189f1293878796146efa563dfab8e1';
198198199199/// Provides XRPC client for making API requests.
200200///
···248248 }
249249}
250250251251-String _$xrpcClientHash() => r'79a74523bf3f31a57602964b3989d6690bdd4903';
251251+String _$xrpcClientHash() => r'34d0a57c4054cdc40b4671c1036ef2911436dfbf';
+6-6
lib/src/infrastructure/network/xrpc_client.dart
···1313///
1414/// This is the main entry point for making XRPC requests. It:
1515/// - Looks up endpoint metadata from the registry
1616-/// - Routes requests to the correct Dio client (public vs PDS vs video vs tenor)
1616+/// - Routes requests to the correct Dio client (public vs PDS vs video vs klipy)
1717/// - Handles response parsing and error conversion
1818class XrpcClient {
1919 XrpcClient({
2020 required Dio publicDio,
2121 required Dio? pdsDio,
2222 required Dio videoServiceDio,
2323- required Dio tenorDio,
2323+ required Dio klipyDio,
2424 required Logger logger,
2525 EndpointRegistry? registry,
2626 }) : _publicDio = publicDio,
2727 _pdsDio = pdsDio,
2828 _videoServiceDio = videoServiceDio,
2929- _tenorDio = tenorDio,
2929+ _klipyDio = klipyDio,
3030 _logger = logger,
3131 _registry = registry ?? EndpointRegistry.instance;
32323333 final Dio _publicDio;
3434 final Dio? _pdsDio;
3535 final Dio _videoServiceDio;
3636- final Dio _tenorDio;
3636+ final Dio _klipyDio;
3737 final Logger _logger;
3838 final EndpointRegistry _registry;
3939···167167 );
168168 case HostKind.video:
169169 return _videoServiceDio;
170170- case HostKind.tenor:
171171- return _tenorDio;
170170+ case HostKind.klipy:
171171+ return _klipyDio;
172172 }
173173 }
174174