diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-12 18:52:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-12 08:52:34 -0700 |
commit | 338fa4dfbed5b7b844cee7b4a06e8053e989256d (patch) | |
tree | 27df4dc26783258e1ecf32cac31b183a27c7f1b6 /src/components/StarterPack/Wizard/WizardListCard.tsx | |
parent | bf869d91859145c5fc70511ed7723ec8abada9d2 (diff) | |
download | voidsky-338fa4dfbed5b7b844cee7b4a06e8053e989256d.tar.zst |
remove imports from @atproto/api internals (#8403)
Diffstat (limited to 'src/components/StarterPack/Wizard/WizardListCard.tsx')
-rw-r--r-- | src/components/StarterPack/Wizard/WizardListCard.tsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/components/StarterPack/Wizard/WizardListCard.tsx b/src/components/StarterPack/Wizard/WizardListCard.tsx index e1a70a0b7..fbaa185a9 100644 --- a/src/components/StarterPack/Wizard/WizardListCard.tsx +++ b/src/components/StarterPack/Wizard/WizardListCard.tsx @@ -1,13 +1,12 @@ import {Keyboard, View} from 'react-native' import { - AppBskyActorDefs, - AppBskyFeedDefs, + type AppBskyActorDefs, + type AppBskyFeedDefs, moderateFeedGenerator, moderateProfile, - ModerationOpts, - ModerationUI, + type ModerationOpts, + type ModerationUI, } from '@atproto/api' -import {GeneratorView} from '@atproto/api/dist/client/types/app/bsky/feed/defs' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' @@ -16,13 +15,16 @@ import {sanitizeDisplayName} from '#/lib/strings/display-names' import {sanitizeHandle} from '#/lib/strings/handles' import {useSession} from '#/state/session' import {UserAvatar} from '#/view/com/util/UserAvatar' -import {WizardAction, WizardState} from '#/screens/StarterPack/Wizard/State' +import { + type WizardAction, + type WizardState, +} from '#/screens/StarterPack/Wizard/State' import {atoms as a, useTheme} from '#/alf' import {Button, ButtonText} from '#/components/Button' import * as Toggle from '#/components/forms/Toggle' import {Checkbox} from '#/components/forms/Toggle' import {Text} from '#/components/Typography' -import * as bsky from '#/types/bsky' +import type * as bsky from '#/types/bsky' function WizardListCard({ type, @@ -174,7 +176,7 @@ export function WizardFeedCard({ moderationOpts, }: { btnType: 'checkbox' | 'remove' - generator: GeneratorView + generator: AppBskyFeedDefs.GeneratorView state: WizardState dispatch: (action: WizardAction) => void moderationOpts: ModerationOpts |