···6060 return db.devToolsDao.watchPins().map((pins) => pins.map((p) => p.uri).toList());
6161}
62626363+/// Provides a single record by collection and rkey for the current user.
6464+///
6565+/// [collection] is the NSID of the collection (e.g., "app.bsky.feed.post").
6666+/// [rkey] is the record key.
6767+/// Returns null if not authenticated or record not found.
6868+@riverpod
6969+Future<RepoRecord?> recordDetail(Ref ref, String collection, String rkey) async {
7070+ final authState = ref.watch(authProvider);
7171+ if (authState is! AuthStateAuthenticated) {
7272+ return null;
7373+ }
7474+7575+ final repo = ref.watch(devtoolsRepositoryProvider);
7676+ return repo.getRecord(repo: authState.session.did, collection: collection, rkey: rkey);
7777+}
7878+6379/// State class for managing paginated records.
6480class RecordsState {
6581 const RecordsState({
···242242243243String _$pinnedUrisHash() => r'dbe9bd345d2600ce0cd40c65deceba8141a827c6';
244244245245+/// Provides a single record by collection and rkey for the current user.
246246+///
247247+/// [collection] is the NSID of the collection (e.g., "app.bsky.feed.post").
248248+/// [rkey] is the record key.
249249+/// Returns null if not authenticated or record not found.
250250+251251+@ProviderFor(recordDetail)
252252+final recordDetailProvider = RecordDetailFamily._();
253253+254254+/// Provides a single record by collection and rkey for the current user.
255255+///
256256+/// [collection] is the NSID of the collection (e.g., "app.bsky.feed.post").
257257+/// [rkey] is the record key.
258258+/// Returns null if not authenticated or record not found.
259259+260260+final class RecordDetailProvider
261261+ extends $FunctionalProvider<AsyncValue<RepoRecord?>, RepoRecord?, FutureOr<RepoRecord?>>
262262+ with $FutureModifier<RepoRecord?>, $FutureProvider<RepoRecord?> {
263263+ /// Provides a single record by collection and rkey for the current user.
264264+ ///
265265+ /// [collection] is the NSID of the collection (e.g., "app.bsky.feed.post").
266266+ /// [rkey] is the record key.
267267+ /// Returns null if not authenticated or record not found.
268268+ RecordDetailProvider._({
269269+ required RecordDetailFamily super.from,
270270+ required (String, String) super.argument,
271271+ }) : super(
272272+ retry: null,
273273+ name: r'recordDetailProvider',
274274+ isAutoDispose: true,
275275+ dependencies: null,
276276+ $allTransitiveDependencies: null,
277277+ );
278278+279279+ @override
280280+ String debugGetCreateSourceHash() => _$recordDetailHash();
281281+282282+ @override
283283+ String toString() {
284284+ return r'recordDetailProvider'
285285+ ''
286286+ '$argument';
287287+ }
288288+289289+ @$internal
290290+ @override
291291+ $FutureProviderElement<RepoRecord?> $createElement($ProviderPointer pointer) =>
292292+ $FutureProviderElement(pointer);
293293+294294+ @override
295295+ FutureOr<RepoRecord?> create(Ref ref) {
296296+ final argument = this.argument as (String, String);
297297+ return recordDetail(ref, argument.$1, argument.$2);
298298+ }
299299+300300+ @override
301301+ bool operator ==(Object other) {
302302+ return other is RecordDetailProvider && other.argument == argument;
303303+ }
304304+305305+ @override
306306+ int get hashCode {
307307+ return argument.hashCode;
308308+ }
309309+}
310310+311311+String _$recordDetailHash() => r'34d48a10bfaae231d25dcc6a1d6d175b007cb906';
312312+313313+/// Provides a single record by collection and rkey for the current user.
314314+///
315315+/// [collection] is the NSID of the collection (e.g., "app.bsky.feed.post").
316316+/// [rkey] is the record key.
317317+/// Returns null if not authenticated or record not found.
318318+319319+final class RecordDetailFamily extends $Family
320320+ with $FunctionalFamilyOverride<FutureOr<RepoRecord?>, (String, String)> {
321321+ RecordDetailFamily._()
322322+ : super(
323323+ retry: null,
324324+ name: r'recordDetailProvider',
325325+ dependencies: null,
326326+ $allTransitiveDependencies: null,
327327+ isAutoDispose: true,
328328+ );
329329+330330+ /// Provides a single record by collection and rkey for the current user.
331331+ ///
332332+ /// [collection] is the NSID of the collection (e.g., "app.bsky.feed.post").
333333+ /// [rkey] is the record key.
334334+ /// Returns null if not authenticated or record not found.
335335+336336+ RecordDetailProvider call(String collection, String rkey) =>
337337+ RecordDetailProvider._(argument: (collection, rkey), from: this);
338338+339339+ @override
340340+ String toString() => r'recordDetailProvider';
341341+}
342342+245343/// Provides paginated records for a specific collection.
246344///
247345/// Manages infinite scroll with cursor-based pagination.
···296394 }
297395}
298396299299-String _$recordsHash() => r'394b8e4921fa44831bf2ada0705c265b008fe3c1';
397397+String _$recordsHash() => r'276711cc187ecfe00faa0c8340ab6394d498beef';
300398301399/// Provides paginated records for a specific collection.
302400///