about summary refs log tree commit diff
path: root/src/state/models/get-assertions-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/get-assertions-view.ts
parent7f4a54ff0d83983460e787fde21707405acc38b0 (diff)
downloadvoidsky-4913a07e3365d2004e67e9131dd4b4c15094dd33.tar.zst
Unvendor the api and switch to @atproto/api
Diffstat (limited to 'src/state/models/get-assertions-view.ts')
-rw-r--r--src/state/models/get-assertions-view.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/state/models/get-assertions-view.ts b/src/state/models/get-assertions-view.ts
index f9e78f383..4778ef132 100644
--- a/src/state/models/get-assertions-view.ts
+++ b/src/state/models/get-assertions-view.ts
@@ -1,9 +1,8 @@
 import {makeAutoObservable} from 'mobx'
-import * as GetAssertions from '../../third-party/api/src/client/types/app/bsky/graph/getAssertions'
+import {AppBskyGraphGetAssertions as GetAssertions} from '@atproto/api'
 import {RootStoreModel} from './root-store'
 
-type ResponseAssertion = GetAssertions.OutputSchema['assertions'][number]
-export type Assertion = ResponseAssertion & {
+export type Assertion = GetAssertions.Assertion & {
   _reactKey: string
 }