Use package exports

This commit is contained in:
Eric Bailey
2025-01-08 09:31:22 -06:00
parent 0d28fd5834
commit 2f0dd92466
+3 -17
View File
@@ -1,22 +1,8 @@
import {AppBskyActorDefs, ChatBskyActorDefs} from '@atproto/api'
export {
/**
* Renamed to clarify source of this util, but directly aliases the original.
* {@link AppBskyActorDefs.isProfileViewBasic}
*/
isProfileViewBasic as isBasicView,
/**
* Renamed to clarify source of this util, but directly aliases the original.
* {@link AppBskyActorDefs.isProfileViewDetailed}
*/
isProfileViewDetailed as isDetailedView,
/**
* Renamed to clarify source of this util, but directly aliases the original.
* {@link AppBskyActorDefs.isProfileView}
*/
isProfileView as isView,
} from '@atproto/api/dist/client/types/app/bsky/actor/defs'
export const isBasicView = AppBskyActorDefs.isProfileViewBasic
export const isDetailedView = AppBskyActorDefs.isProfileViewDetailed
export const isView = AppBskyActorDefs.isProfileView
/**
* Matches any profile view exported by our SDK