about summary refs log tree commit diff
path: root/src/state/models/profile-view.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-12-22 09:17:07 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-22 09:17:07 -0600
commit4913a07e3365d2004e67e9131dd4b4c15094dd33 (patch)
tree6247f7fe52fdc8a6b29143f1d2f247b4e28987ec /src/state/models/profile-view.ts
parent7f4a54ff0d83983460e787fde21707405acc38b0 (diff)
downloadvoidsky-4913a07e3365d2004e67e9131dd4b4c15094dd33.tar.zst
Unvendor the api and switch to @atproto/api
Diffstat (limited to 'src/state/models/profile-view.ts')
-rw-r--r--src/state/models/profile-view.ts12
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'