More links to front
This commit is contained in:
parent
2a355be5b2
commit
bf7fbdcb67
3 changed files with 25 additions and 8 deletions
|
@ -31,6 +31,7 @@ interface atUriObject {
|
|||
class Post {
|
||||
authorDid: string;
|
||||
authorAvatarCid: string | null;
|
||||
postCid: string;
|
||||
authorHandle: string;
|
||||
displayName: string;
|
||||
text: string;
|
||||
|
@ -45,6 +46,7 @@ class Post {
|
|||
record: ComAtprotoRepoListRecords.Record,
|
||||
account: AccountMetadata,
|
||||
) {
|
||||
this.postCid = record.cid;
|
||||
this.authorDid = account.did;
|
||||
this.authorAvatarCid = account.avatarCid;
|
||||
this.authorHandle = account.handle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue