Type alias ListListingsQuery

ListListingsQuery: {
    __typename?: "Query";
    result: {
        __typename?: "ListingConnection";
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: string | null;
            hasNextPage: boolean;
        };
        edges: {
            __typename?: "ListingEdge";
            node: {
                __typename?: "Listing";
                id: string;
                marketplaceName: MarketplaceEnum;
                createdDate: Date;
                user: {
                    __typename?: "User";
                    walletAddress: Address;
                };
                nft: {
                    __typename?: "NFT";
                    id: string;
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        id: string;
                        slug?: string | null;
                        contractData?: {
                            __typename?: "ContractData";
                            contractAddress: Address;
                        } | null;
                    } | null;
                };
            };
        }[];
    };
}

Type declaration

  • Optional __typename?: "Query"
  • result: {
        __typename?: "ListingConnection";
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: string | null;
            hasNextPage: boolean;
        };
        edges: {
            __typename?: "ListingEdge";
            node: {
                __typename?: "Listing";
                id: string;
                marketplaceName: MarketplaceEnum;
                createdDate: Date;
                user: {
                    __typename?: "User";
                    walletAddress: Address;
                };
                nft: {
                    __typename?: "NFT";
                    id: string;
                    tokenId: bigint;
                    collection?: {
                        __typename?: "Collection";
                        id: string;
                        slug?: string | null;
                        contractData?: {
                            __typename?: "ContractData";
                            contractAddress: Address;
                        } | null;
                    } | null;
                };
            };
        }[];
    }
    • Optional __typename?: "ListingConnection"
    • pageInfo: {
          __typename?: "PageInfo";
          endCursor?: string | null;
          hasNextPage: boolean;
      }
      • Optional __typename?: "PageInfo"
      • Optional endCursor?: string | null
      • hasNextPage: boolean
    • edges: {
          __typename?: "ListingEdge";
          node: {
              __typename?: "Listing";
              id: string;
              marketplaceName: MarketplaceEnum;
              createdDate: Date;
              user: {
                  __typename?: "User";
                  walletAddress: Address;
              };
              nft: {
                  __typename?: "NFT";
                  id: string;
                  tokenId: bigint;
                  collection?: {
                      __typename?: "Collection";
                      id: string;
                      slug?: string | null;
                      contractData?: {
                          __typename?: "ContractData";
                          contractAddress: Address;
                      } | null;
                  } | null;
              };
          };
      }[]