Use package exports
This commit is contained in:
@@ -1,22 +1,8 @@
|
|||||||
import {AppBskyActorDefs, ChatBskyActorDefs} from '@atproto/api'
|
import {AppBskyActorDefs, ChatBskyActorDefs} from '@atproto/api'
|
||||||
|
|
||||||
export {
|
export const isBasicView = AppBskyActorDefs.isProfileViewBasic
|
||||||
/**
|
export const isDetailedView = AppBskyActorDefs.isProfileViewDetailed
|
||||||
* Renamed to clarify source of this util, but directly aliases the original.
|
export const isView = AppBskyActorDefs.isProfileView
|
||||||
* {@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'
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Matches any profile view exported by our SDK
|
* Matches any profile view exported by our SDK
|
||||||
|
|||||||
Reference in New Issue
Block a user