Use package exports
Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com>
This commit is contained in:
@@ -1,17 +1,7 @@
|
|||||||
import {AppBskyGraphDefs} from '@atproto/api'
|
import {AppBskyGraphDefs} from '@atproto/api'
|
||||||
|
|
||||||
export {
|
export const isBasicView = AppBskyGraphDefs.isStarterPackViewBasic
|
||||||
/**
|
export const isView = AppBskyGraphDefs.isStarterPackView
|
||||||
* Renamed to clarify source of this util, but directly aliases the original.
|
|
||||||
* {@link AppBskyGraphDefs.isStarterPackViewBasic}
|
|
||||||
*/
|
|
||||||
isStarterPackViewBasic as isBasicView,
|
|
||||||
/**
|
|
||||||
* Renamed to clarify source of this util, but directly aliases the original.
|
|
||||||
* {@link AppBskyGraphDefs.isStarterPackView}
|
|
||||||
*/
|
|
||||||
isStarterPackView as isView,
|
|
||||||
} from '@atproto/api/dist/client/types/app/bsky/graph/defs'
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Matches any starter pack view exported by our SDK
|
* Matches any starter pack view exported by our SDK
|
||||||
|
|||||||
Reference in New Issue
Block a user