You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync the profile records of all users so that you can show their display names instead of their handles.
I know how it is supposed to work. The database should have another column for bsky profile names. Then when making the html file, it should get the display name from the database.
I cannot find a way to do this.
I get the following errors:
When I add authorName to db.ts, ingesters.ts, and routes.ts I get the following error:
Object literal may only specify known properties, and 'authorName' does not exist in type 'InsertExpression<DatabaseSchema, "status">'.ts(2353)
And when I try to access it from home.ts I get the following error:
Property 'authorName' does not exist on type 'Status'.ts(2339)
I also cannot find a way to get the display name of a bsky profile when I need to insert it to the database. The agent object has many methods but none get the display name. After getting the record for the bsky profile. I do not have a way to access the displayName member of the Profile interface found in lexicons/types/apps/bsky/actor/profile.ts
The text was updated successfully, but these errors were encountered:
In the
Next Steps
section of the tutorial found here (link: https://atproto.com/guides/applications) it states the following as the first exercise:Sync the profile records of all users so that you can show their display names instead of their handles.
I know how it is supposed to work. The database should have another column for bsky profile names. Then when making the
html
file, it should get the display name from the database.I cannot find a way to do this.
I get the following errors:
When I add
authorName
todb.ts
,ingesters.ts
, androutes.ts
I get the following error:Object literal may only specify known properties, and 'authorName' does not exist in type 'InsertExpression<DatabaseSchema, "status">'.ts(2353)
And when I try to access it from
home.ts
I get the following error:Property 'authorName' does not exist on type 'Status'.ts(2339)
I also cannot find a way to get the display name of a bsky profile when I need to insert it to the database. The
agent
object has many methods but none get the display name. After getting the record for the bsky profile. I do not have a way to access thedisplayName
member of theProfile
interface found inlexicons/types/apps/bsky/actor/profile.ts
The text was updated successfully, but these errors were encountered: