Skip to content

Commit 99d77dd

Browse files
committed
fix(client): temporarily fill cid, uri, indexAt value with empty string
1 parent fd489cb commit 99d77dd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/client/src/post/post.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ export class Post implements AppBskyFeedDefs.PostView {
4444
) {
4545
Object.assign(this, payload);
4646
this.author = new BasicActorProfile(this.client, payload.author);
47+
this.cid = ''; // TODO: temporary type fix
48+
this.uri = ''; // TODO: temporary type fix
49+
this.indexedAt = ''; // TODO: temporary type fix
4750
}
4851

4952
isOfCurrentUser() {

packages/client/src/starterpack/starterpack.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class Starterpack {
2424
) {
2525
Object.assign(this, payload);
2626
this.creator = new BasicActorProfile(this.client, payload.creator);
27+
this.cid = ''; // TODO: temporary type fix
28+
this.uri = ''; // TODO: temporary type fix
29+
this.indexedAt = ''; // TODO: temporary type fix
2730
}
2831
}
2932

0 commit comments

Comments
 (0)