Skip to content

Commit

Permalink
Migrate to Lens v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoginth committed Dec 18, 2024
1 parent bbcaca5 commit ede7d1f
Show file tree
Hide file tree
Showing 7 changed files with 255 additions and 185 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ fragment LoggedInAccountOperationsFields on LoggedInAccountOperations {
id
isFollowedByMe
isFollowingMe
canFollow
canUnfollow
isMutedByMe
isBlockedByMe
hasBlockedMe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
fragment GroupFields on Group {
address
isMember
operations {
isMember
}
metadata {
name
description
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
fragment LoggedInPostOperationsFields on LoggedInPostOperations {
id
canComment
canQuote
canRepost
hasBookmarked
hasReacted
hasReported
Expand Down

This file was deleted.

6 changes: 3 additions & 3 deletions packages/indexer/documents/fragments/post/PostFields.graphql
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
fragment PostFields on Post {
...PostBaseFields
root {
...NestedPost
...PostBaseFields
}
commentOn {
...NestedPost
...PostBaseFields
}
quoteOf {
...NestedPost
...PostBaseFields
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
query GroupMembers($request: GroupMembersRequest!) {
groupMembers(request: $request) {
items {
...AccountFields
account {
...AccountFields
}
}
pageInfo {
...PaginatedResultInfoFields
Expand Down
Loading

0 comments on commit ede7d1f

Please sign in to comment.