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 4, 2024
1 parent f080324 commit 20a9e5f
Show file tree
Hide file tree
Showing 8 changed files with 123 additions and 44 deletions.
6 changes: 6 additions & 0 deletions packages/indexer/documents/fragments/AmountFields.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fragment AmountFields on Amount {
asset {
...AssetFields
}
value
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fragment NetworkAddressFields on NetworkAddress {
address
chainId
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
fragment SimplePaymentFollowRuleFields on SimplePaymentFollowRule {
amount {
asset {
...AssetFields
}
value
...AmountFields
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
fragment PostActionFields on PostAction {
... on SimpleCollectActionSettings {
...SimpleCollectActionSettingsFields
}
... on UnknownActionSettings {
...UnknownActionSettingsFields
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ fragment PostBaseFields on Post {
stats {
...PostStatsFields
}
actions {
...PostActionFields
}
author {
...AccountFields
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
fragment SimpleCollectActionSettingsFields on SimpleCollectActionSettings {
collectLimit
collectNft
endsAt
followerOnly
recipient
referralFee
amount {
...AmountFields
}
contract {
...NetworkAddressFields
}
recipients {
recipient
split
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fragment UnknownActionSettingsFields on UnknownActionSettings {
__typename
}
120 changes: 80 additions & 40 deletions packages/indexer/generated.ts

Large diffs are not rendered by default.

0 comments on commit 20a9e5f

Please sign in to comment.