Skip to content
Snippets Groups Projects

add smith info on idty show

Merged Hugo Trentesaux requested to merge hugo-dev into master
10 files
+ 5984
7875
Compare changes
  • Side-by-side
  • Inline
Files
10
query IdentityNameByIndex($index: Int!) {
identities(where: {index_eq: $index}) {
identities(where: { index_eq: $index }) {
name
}
}
query IdentityInfo($index: Int!) {
identities(where: {index_eq: $index}) {
identities(where: { index_eq: $index }) {
name
certIssued(where: {active_eq: true}) {
certIssued(orderBy: expireOn_DESC, where: { isActive_eq: true }) {
receiver {
name
}
}
certReceived(where: {active_eq: true}) {
certReceived(orderBy: expireOn_DESC, where: { isActive_eq: true }) {
issuer {
name
}
@@ -20,11 +20,21 @@ query IdentityInfo($index: Int!) {
linkedAccount {
id
}
smithCertIssued(orderBy: createdOn_DESC) {
receiver {
name
}
}
smithCertReceived(orderBy: createdOn_DESC) {
issuer {
name
}
}
}
}
query IdentityNameByPubkey($pubkey: String!) {
identities(where: {account: {id_eq: $pubkey}}) {
identities(where: { account: { id_eq: $pubkey } }) {
name
}
}
@@ -36,7 +46,7 @@ query LatestBlock {
}
query GenesisHash {
blocks(where: {height_eq: 0}) {
blocks(where: { height_eq: 0 }) {
hash
}
}
Loading