Skip to content
Snippets Groups Projects

add smith info on idty show

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