Skip to content

Commit

Permalink
Merge pull request #956 from lens-protocol/T-20853/post.operations.ha…
Browse files Browse the repository at this point in the history
…sQuoted

fix: expose PublicationOperations#hasQuoted flag
  • Loading branch information
cesarenaldi authored Jun 18, 2024
2 parents 7f06c20 + 73c1bfe commit 5591090
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/pink-oranges-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@lens-protocol/api-bindings": patch
"@lens-protocol/react": patch
"@lens-protocol/react-native": patch
"@lens-protocol/react-web": patch
---

**fix:** expose PublicationOperations#hasQuoted flag.
1 change: 1 addition & 0 deletions packages/api-bindings/src/lens/__helpers__/fragments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ export function mockPublicationOperationsFragment(
canMirror: gql.TriStateValue.Unknown,
canQuote: gql.TriStateValue.Unknown,
hasMirrored: false,
hasQuoted: false,
hasUpvoted: false,
hasDownvoted: false,
hasCollected: mockOptimisticStatusResultFragment(),
Expand Down
1 change: 1 addition & 0 deletions packages/api-bindings/src/lens/graphql/fragments.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ fragment PublicationOperations on PublicationOperations {
canMirror
canQuote
hasMirrored
hasQuoted
canDecrypt {
...CanDecryptResponse
}
Expand Down
Loading

0 comments on commit 5591090

Please sign in to comment.