Use package exports

Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com>
This commit is contained in:
Eric Bailey
2025-01-08 09:29:27 -06:00
parent 976e830027
commit 0d28fd5834
+2 -12
View File
@@ -1,17 +1,7 @@
import {AppBskyGraphDefs} from '@atproto/api'
export {
/**
* 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'
export const isBasicView = AppBskyGraphDefs.isStarterPackViewBasic
export const isView = AppBskyGraphDefs.isStarterPackView
/**
* Matches any starter pack view exported by our SDK