Use package exports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user