about summary refs log tree commit diff
path: root/src/state/models/post.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/post.ts')
-rw-r--r--src/state/models/post.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/state/models/post.ts b/src/state/models/post.ts
index c6dfaeacd..a3ed83e49 100644
--- a/src/state/models/post.ts
+++ b/src/state/models/post.ts
@@ -4,8 +4,6 @@ import {AtUri} from '../../third-party/uri'
 import {RootStoreModel} from './root-store'
 import {cleanError} from '../../lib/strings'
 
-export type PostEntities = Post.Record['entities']
-export type PostReply = Post.Record['reply']
 type RemoveIndex<T> = {
   [P in keyof T as string extends P
     ? never
@@ -22,8 +20,8 @@ export class PostModel implements RemoveIndex<Post.Record> {
 
   // data
   text: string = ''
-  entities?: PostEntities
-  reply?: PostReply
+  entities?: Post.Entity[]
+  reply?: Post.ReplyRef
   createdAt: string = ''
 
   constructor(public rootStore: RootStoreModel, uri: string) {