"Final-ish" design

This commit is contained in:
Astra 2025-04-20 20:08:13 +09:00
parent 037dea4e40
commit ebca274e5a
Signed by: astra
SSH key fingerprint: SHA256:jQDNS75/33T59Ey4yAzrUPP/5YQaXEetsW8hwUae+ag
5 changed files with 202 additions and 33 deletions

View file

@ -32,6 +32,7 @@ class Post {
authorDid: string;
authorAvatarCid: string | null;
postCid: string;
recordName: string;
authorHandle: string;
displayName: string;
text: string;
@ -47,6 +48,7 @@ class Post {
account: AccountMetadata,
) {
this.postCid = record.cid;
this.recordName = record.uri.split("/").slice(-1)[0];
this.authorDid = account.did;
this.authorAvatarCid = account.avatarCid;
this.authorHandle = account.handle;