diff options
Diffstat (limited to 'src/state/models/profile-view.ts')
-rw-r--r-- | src/state/models/profile-view.ts | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/state/models/profile-view.ts b/src/state/models/profile-view.ts index 9b32c8744..ce70867ae 100644 --- a/src/state/models/profile-view.ts +++ b/src/state/models/profile-view.ts @@ -1,9 +1,13 @@ import {makeAutoObservable, runInAction} from 'mobx' import {Image as PickedImage} from 'react-native-image-crop-picker' -import * as GetProfile from '../../third-party/api/src/client/types/app/bsky/actor/getProfile' -import * as Profile from '../../third-party/api/src/client/types/app/bsky/actor/profile' -import {Main as DeclRef} from '../../third-party/api/src/client/types/app/bsky/system/declRef' -import {Entity} from '../../third-party/api/src/client/types/app/bsky/feed/post' +import { + AppBskyActorGetProfile as GetProfile, + AppBskyActorProfile as Profile, + AppBskySystemDeclRef, + AppBskyFeedPost, +} from '@atproto/api' +type DeclRef = AppBskySystemDeclRef.Main +type Entity = AppBskyFeedPost.Entity import {extractEntities} from '../../lib/strings' import {RootStoreModel} from './root-store' import * as apilib from '../lib/api' |