about summary refs log tree commit diff
path: root/src/screens/StarterPack/Wizard/State.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-12 18:52:34 +0300
committerGitHub <noreply@github.com>2025-08-12 08:52:34 -0700
commit338fa4dfbed5b7b844cee7b4a06e8053e989256d (patch)
tree27df4dc26783258e1ecf32cac31b183a27c7f1b6 /src/screens/StarterPack/Wizard/State.tsx
parentbf869d91859145c5fc70511ed7723ec8abada9d2 (diff)
downloadvoidsky-338fa4dfbed5b7b844cee7b4a06e8053e989256d.tar.zst
remove imports from @atproto/api internals (#8403)
Diffstat (limited to 'src/screens/StarterPack/Wizard/State.tsx')
-rw-r--r--src/screens/StarterPack/Wizard/State.tsx11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/screens/StarterPack/Wizard/State.tsx b/src/screens/StarterPack/Wizard/State.tsx
index 07d744c06..04901ee48 100644
--- a/src/screens/StarterPack/Wizard/State.tsx
+++ b/src/screens/StarterPack/Wizard/State.tsx
@@ -1,6 +1,9 @@
 import React from 'react'
-import {type AppBskyGraphDefs, AppBskyGraphStarterpack} from '@atproto/api'
-import {type GeneratorView} from '@atproto/api/dist/client/types/app/bsky/feed/defs'
+import {
+  type AppBskyFeedDefs,
+  type AppBskyGraphDefs,
+  AppBskyGraphStarterpack,
+} from '@atproto/api'
 import {msg, plural} from '@lingui/macro'
 
 import {STARTER_PACK_MAX_SIZE} from '#/lib/constants'
@@ -19,7 +22,7 @@ type Action =
   | {type: 'SetDescription'; description: string}
   | {type: 'AddProfile'; profile: bsky.profile.AnyProfileView}
   | {type: 'RemoveProfile'; profileDid: string}
-  | {type: 'AddFeed'; feed: GeneratorView}
+  | {type: 'AddFeed'; feed: AppBskyFeedDefs.GeneratorView}
   | {type: 'RemoveFeed'; feedUri: string}
   | {type: 'SetProcessing'; processing: boolean}
   | {type: 'SetError'; error: string}
@@ -30,7 +33,7 @@ interface State {
   name?: string
   description?: string
   profiles: bsky.profile.AnyProfileView[]
-  feeds: GeneratorView[]
+  feeds: AppBskyFeedDefs.GeneratorView[]
   processing: boolean
   error?: string
   transitionDirection: 'Backward' | 'Forward'