Open vikiival opened 1 day ago
This is available only on ahp
yet,
base
, mnt
will be released todayahk
will be released this weekI have considered to add this also to NFTentities lmk
Yes, please add it.
And maybe also some other queries like collectionEntitiesConnection
nftEntitiesConnection
And maybe also some other queries like
collectionEntitiesConnection
make sure u are using v14
it is there
{
collectionEntitiesConnection(where: { kind_eq: genart }, orderBy: id_ASC) {
totalCount
}
}
Which are the cases you would need that for nftEntitiesConnection
?
I am thiking you add it to nftEntities
too but would like to hear if it's a valid case
Which are the cases you would need that for
nftEntitiesConnection
?
queries/profileStatsById.graphql
profileStatsById { listed: nftEntitiesConnection, sold: nftEntitiesConnection ... }
Display the correct stats of account, which only shows the stats related to genart.
I am thiking you add it to
nftEntities
too but would like to hear if it's a valid case
On items explore page, filter nfts that is related to genart maybe.
you can apply it from the collection
{
obtained: nftEntitiesConnection(where: {currentOwner_eq: $id, burned_eq: false, metadata_not_eq: "", issuer_not_in: $denyList, collection: {kind_eq: genart}}, orderBy: name_ASC) {
totalCount
}
}
you can apply it from the collection
{ obtained: nftEntitiesConnection(where: {currentOwner_eq: $id, burned_eq: false, metadata_not_eq: "", issuer_not_in: $denyList, collection: {kind_eq: genart}}, orderBy: name_ASC) { totalCount } }
Oh, I see. That's a good idea.
On the items explore page in ahp network, it's using tokenEntityList
resolver.
Is it possible to add kind
type there? @vikiival
Is your feature request related to a problem?
Currently we see the all collections on Polkadot assethub in koda.art platform. This is not nice because we would like to see only genart
Describe the solution you would like
if you visit
(subdomain).koda.art
there should be a default filter applied for collection explore{ kind_eq: genart }
Describe alternatives you have considered
I have considered to add this also to NFTentities lmk @kodadot/internal-dev
Also this could be added as optional to existing queries so lmk if you need help with that
Screenshots
Are there opened related issues?