-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yoginth
committed
Dec 6, 2024
1 parent
359fea8
commit 4d8c8fc
Showing
9 changed files
with
264 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ fragment UsernameFields on Username { | |
localName | ||
linkedTo | ||
ownedBy | ||
value | ||
} |
18 changes: 18 additions & 0 deletions
18
packages/indexer/documents/mutations/account/UnassignUsernameFromAccount.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
mutation UnassignUsernameFromAccount( | ||
$request: UnassignUsernameFromAccountRequest! | ||
) { | ||
unassignUsernameFromAccount(request: $request) { | ||
... on UnassignUsernameResponse { | ||
hash | ||
} | ||
... on SelfFundedTransactionRequest { | ||
...SelfFundedTransactionRequestFields | ||
} | ||
... on SponsoredTransactionRequest { | ||
...SponsoredTransactionRequestFields | ||
} | ||
... on TransactionWillFail { | ||
reason | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
packages/indexer/documents/queries/account/Usernames.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
query Usernames($request: UsernamesRequest!) { | ||
usernames(request: $request) { | ||
items { | ||
...UsernameFields | ||
} | ||
pageInfo { | ||
...PaginatedResultInfoFields | ||
} | ||
} | ||
} |
Oops, something went wrong.