From 53d620243e918cbf04543e98e985a460a4c7411c Mon Sep 17 00:00:00 2001 From: Jip Stavenuiter Date: Tue, 1 Oct 2024 15:52:44 +0200 Subject: [PATCH] (feat): implement new graph endpoint for rendering hyperboards (#53) * (feat): implement new graph endpoint for rendering hyperboards * (feat): implement new graph endpoint for rendering hyperboards * (feat): fix rerendering issues * (feat): remove section header if only single section is present --- components/hyperboard-renderer-with-ui.tsx | 12 +- components/hyperboard-renderer.tsx | 60 +++--- components/hyperboard/index.tsx | 9 +- components/hyperboard/ownership-table.tsx | 228 ++++++++++----------- graphql-hypercerts-env.d.ts | 54 +++-- hooks/useFetchHyperboardContents.ts | 57 +++--- hooks/useFetchHyperboardContents2.ts | 94 +++++++++ package.json | 1 + pnpm-lock.yaml | 168 ++++++++++++++- tsconfig.json | 2 +- types/Hyperboard.ts | 2 +- widget/index.html | 3 +- 12 files changed, 474 insertions(+), 216 deletions(-) create mode 100644 hooks/useFetchHyperboardContents2.ts diff --git a/components/hyperboard-renderer-with-ui.tsx b/components/hyperboard-renderer-with-ui.tsx index b3022e6..7a6b575 100644 --- a/components/hyperboard-renderer-with-ui.tsx +++ b/components/hyperboard-renderer-with-ui.tsx @@ -8,7 +8,7 @@ import { OwnershipTable } from "@/components/hyperboard/ownership-table"; import { MdOutlineFullscreen, MdOutlineFullscreenExit } from "react-icons/md"; import { useRouter } from "next/router"; import { HyperboardRenderer } from "@/components/hyperboard-renderer"; -import { useFetchHyperboardData } from "@/hooks/useFetchHyperboardData"; +import { useFetchHyperboardById } from "@/hooks/useFetchHyperboardContents2"; import { HypercertClientProvider } from "@/components/providers"; const HyperboardRendererWithUiInternal = ({ @@ -129,7 +129,7 @@ export const HyperboardRendererWithUi = ({ }: { hyperboardId: string; }) => { - const { data, isLoading } = useFetchHyperboardData(hyperboardId); + const { data, isLoading } = useFetchHyperboardById(hyperboardId); if (isLoading) { return ( @@ -143,8 +143,14 @@ export const HyperboardRendererWithUi = ({ return null; } + const chainId = data.chain_ids?.[0]; + + if (!chainId) { + return null; + } + return ( - + ); diff --git a/components/hyperboard-renderer.tsx b/components/hyperboard-renderer.tsx index 73a5bf2..223975d 100644 --- a/components/hyperboard-renderer.tsx +++ b/components/hyperboard-renderer.tsx @@ -1,13 +1,11 @@ -import { useEffect, useRef, useState } from "react"; -import { useSize } from "@chakra-ui/react-use-size"; -import { - registryContentItemToHyperboardEntry, - useFetchHyperboardContents, -} from "@/hooks/useFetchHyperboardContents"; +import { useEffect, useState } from "react"; +import { registryContentItemToHyperboardEntry } from "@/hooks/useFetchHyperboardContents"; import { Center, Flex, Spinner } from "@chakra-ui/react"; import { Hyperboard } from "@/components/hyperboard"; import * as React from "react"; import { OwnershipTable } from "@/components/hyperboard/ownership-table"; +import { useFetchHyperboardById } from "@/hooks/useFetchHyperboardContents2"; +import { useMeasure } from "react-use"; export const HyperboardRenderer = ({ hyperboardId, @@ -24,8 +22,7 @@ export const HyperboardRenderer = ({ onSelectedRegistryChange?: (registryId?: string) => void; showTable?: boolean; }) => { - const containerRef = useRef(null); - const dimensions = useSize(containerRef); + const [containerRef, dimensions] = useMeasure(); const [selectedRegistry, setSelectedRegistry] = useState(); @@ -35,21 +32,26 @@ export const HyperboardRenderer = ({ } }, [selectedRegistryParent]); - const { data, isLoading, isLoadingError } = useFetchHyperboardContents( - hyperboardId, - { - disableToast, - }, - ); - const results = data?.results; - console.log("results", results); + const { data, isLoading, isLoadingError } = + useFetchHyperboardById(hyperboardId); + + useEffect(() => { + if (!selectedRegistry && data?.sections.data.length === 1) { + setSelectedRegistry(data.sections.data[0].collection.id); + } + }, [selectedRegistry, data]); + + if (!data) { + return null; + } + const sections = data.sections.data; const height = ((dimensions?.width || 1) / 16) * 9; - const widthPerBoard = `${100 / (results?.length || 1)}%`; + const widthPerBoard = `${100 / (sections?.length || 1)}%`; - const backgroundImageUrl = data?.hyperboard.background_image; - const grayscaleImages = !!data?.hyperboard.grayscale_images; - const borderColor = data?.hyperboard.tile_border_color || undefined; + const backgroundImageUrl = data?.background_image; + const grayscaleImages = !!data?.grayscale_images; + const borderColor = data?.tile_border_color || undefined; const getWidth = (registryId: string) => { if (selectedRegistry === registryId) { @@ -116,27 +118,27 @@ export const HyperboardRenderer = ({ )} - {!isLoading && !isLoadingError && results && ( + {!isLoading && !isLoadingError && sections && ( <> - {results.map((x) => ( + {sections.map((section) => ( - onSelectedRegistryChangeHandler(x.registry.id) + onSelectedRegistryChangeHandler(section.collection.id) } - label={x.label || "Unlabelled"} + label={section.label || "Unlabelled"} height={height} grayscaleImages={grayscaleImages} borderColor={borderColor} data={ - (Object.values(x.content) || {}).map((x) => - registryContentItemToHyperboardEntry(x), + (Object.values(section.owners) || {}).map((owner) => + registryContentItemToHyperboardEntry(owner), ) || [] } /> diff --git a/components/hyperboard/index.tsx b/components/hyperboard/index.tsx index bda4024..6380ba9 100644 --- a/components/hyperboard/index.tsx +++ b/components/hyperboard/index.tsx @@ -2,9 +2,9 @@ import * as d3 from "d3"; import React, { useEffect, useRef, useState } from "react"; import { HyperboardEntry } from "@/types/Hyperboard"; import { Tile } from "@/components/hyperboard/Tile"; -import { useSize } from "@chakra-ui/react-use-size"; import { Flex, Text } from "@chakra-ui/react"; import _ from "lodash"; +import { useMeasure } from "react-use"; export interface HyperboardProps { data: HyperboardEntry[]; @@ -23,9 +23,8 @@ type Leaf = { } & d3.HierarchyNode; export const Hyperboard = (props: HyperboardProps) => { - const containerRef = useRef(null); + const [containerRef, dimensions] = useMeasure(); const ref = useRef(""); - const dimensions = useSize(containerRef); const [leaves, setLeaves] = useState([]); @@ -42,7 +41,7 @@ export const Hyperboard = (props: HyperboardProps) => { const { height, width } = dimensions || {}; useEffect(() => { - if (!containerRef.current) { + if (!containerRef) { return; } if (!dimensions) { @@ -54,7 +53,7 @@ export const Hyperboard = (props: HyperboardProps) => { .attr("height", props.height) .attr("viewBox", `0 0 ${props.height} ${props.height}`); draw(); - }, [containerRef.current, width, height]); + }, [containerRef, width, height, props.data.length]); const draw = () => { if (!dimensions) { diff --git a/components/hyperboard/ownership-table.tsx b/components/hyperboard/ownership-table.tsx index 0d410ca..cd0ba9f 100644 --- a/components/hyperboard/ownership-table.tsx +++ b/components/hyperboard/ownership-table.tsx @@ -5,12 +5,12 @@ import _ from "lodash"; import "../../styles/scrollbar.module.css"; import { BiChevronRight } from "react-icons/bi"; -import { useFetchHyperboardContents } from "@/hooks/useFetchHyperboardContents"; import { DefaultSponsorMetadataEntity } from "@/types/database-entities"; import { BlueprintTooltip } from "@/components/blueprint-tooltip"; import { useFetchHypercertById } from "@/hooks/useFetchHypercertById"; import { formatAddress } from "@/utils/formatting"; import { isAddress } from "viem"; +import { useFetchHyperboardById } from "@/hooks/useFetchHyperboardContents2"; interface OwnershipTableProps { hyperboardId: string; @@ -26,8 +26,7 @@ export const OwnershipTable = ({ onSelectRegistry, }: OwnershipTableProps) => { // TODO: Show blueprints in ownership table - const { data: hyperboardContentData } = - useFetchHyperboardContents(hyperboardId); + const { data: hyperboardContentData } = useFetchHyperboardById(hyperboardId); const [selectedClaim, setSelectedClaim] = useState(); const [selectedBlueprint, setSelectedBlueprint] = useState(); @@ -49,12 +48,12 @@ export const OwnershipTable = ({ } if (selectedRegistry) { - const registry = hyperboardContentData.results.find( - (registry) => registry.registry.id === selectedRegistry, + const section = hyperboardContentData.sections.data.find( + (collection) => collection.collection.id === selectedRegistry, ); - if (registry) { + if (section) { return { - claimIds: Object.keys(registry.byClaim), + claimIds: section.entries.map((entry) => entry.id), }; } } @@ -66,25 +65,23 @@ export const OwnershipTable = ({ const { claimIds } = getClaimIds(); - const indexOfSelectedRegistry = hyperboardContentData.results.findIndex( - (registry) => registry.registry.id === selectedRegistry, + const indexOfSelectedRegistry = hyperboardContentData.sections.data.findIndex( + (registry) => registry.collection.id === selectedRegistry, ); - const dataToShow = _.chain(hyperboardContentData.results) + const dataToShow = _.chain(hyperboardContentData.sections.data) // Get all claims - .map((registry) => registry.byClaim) + .flatMap((section) => section.entries) // Filter out only for the selected claims - .map((claimsById) => - _.pickBy(claimsById, (_, claimId) => claimIds.includes(claimId)), - ) + .filter(({ id }) => claimIds.includes(id)) // Create a flat list of all claims - .flatMap((x) => Object.values(x)) - .flatMap((claim) => Object.values(claim)) + .flatMap((entry) => entry.owners) // Only show every owner once in the overview - .groupBy((claim) => claim.displayData?.value) - .mapValues((claims) => ({ - displayData: claims[0].displayData, - total: claims.reduce((acc, x) => acc + x.totalValue, 0n), + .groupBy((owner) => owner.address) + .mapValues((entriesForOwner) => ({ + avatar: entriesForOwner[0].avatar, + displayName: entriesForOwner[0].display_name, + total: entriesForOwner.reduce((acc, x) => acc + BigInt(x.units || 0), 0n), })) .values() // Sort by total ownership @@ -118,71 +115,97 @@ export const OwnershipTable = ({ overflowY={"auto"} className={"custom-scrollbar"} > - {hyperboardContentData.hyperboard.hyperboard_registries.map( - ({ label, registry_id, registries: registry }, index) => { - if (!registry) { + {hyperboardContentData.sections.data.map( + ({ label, collection: { id }, entries }, index) => { + if (!entries) { return null; } const isRegistrySelected = - !selectedClaim && - !selectedBlueprint && - selectedRegistry === registry_id; + !selectedClaim && !selectedBlueprint && selectedRegistry === id; const isFirstAfterSelected = indexOfSelectedRegistry !== -1 && index === indexOfSelectedRegistry + 1; const isLastRegistry = - index === hyperboardContentData.results.length - 1; + index === hyperboardContentData.sections.data.length - 1; const totalValueInRegistry = _.sum([ - ...sift(registry.claims).map((claim) => claim.display_size), - ...registry.blueprints.map( - (blueprint) => blueprint.display_size, - ), + ...sift(entries).map((entry) => entry.display_size), ]); + const isSingleSection = + hyperboardContentData.sections.data.length === 1; return ( -
- { - if (isRegistrySelected) { - onSelectRegistry?.(undefined); - } else { - setSelectedClaim(undefined); - setSelectedBlueprint(undefined); - onSelectRegistry?.(registry.id); +
+ {!isSingleSection && ( + { + if (isRegistrySelected) { + onSelectRegistry?.(undefined); + } else { + setSelectedClaim(undefined); + setSelectedBlueprint(undefined); + onSelectRegistry?.(id); + } + }} + icon={ + {"Board } - }} - icon={ - {"Board - } - /> - {selectedRegistry === registry.id && ( + /> + )} + {selectedRegistry === id && ( <> - {registry.claims.map((claim, index) => { + {entries.map((claim, index) => { const isClaimSelected = claim.id === selectedClaim; const isLastClaim = - !isLastRegistry && - index === registry.claims.length - 1; + !isLastRegistry && index === entries.length - 1; + + if (claim.is_blueprint) { + const isBlueprintSelected = + Number(claim.id) === selectedBlueprint; + return ( + { + setSelectedClaim(undefined); + setSelectedBlueprint(Number(claim.id)); + }} + icon={ + + } + /> + ); + } return ( { setSelectedBlueprint(undefined); - setSelectedClaim(claim.hypercert_id); + setSelectedClaim(claim.id); }} icon={ ); })} - {registry.blueprints.map((blueprint) => { - const isBlueprintSelected = - blueprint.id === selectedBlueprint; - return ( - { - setSelectedClaim(undefined); - setSelectedBlueprint(blueprint.id); - }} - icon={ - - } - /> - ); - })} )}
@@ -308,6 +299,7 @@ const HypercertClaimRow = ({ }: Omit & { isLast?: boolean; hypercertId: string; + isSingleSection?: boolean; }) => { const { data: claim } = useFetchHypercertById(hypercertId); @@ -337,7 +329,8 @@ const ClaimRow = ({ percentage, onClick, isLast, -}: SelectionRowProps & { isLast?: boolean }) => { + isSingleSection = false, +}: SelectionRowProps & { isLast?: boolean; isSingleSection?: boolean }) => { return ( {icon} {text} @@ -381,7 +375,9 @@ const ClaimOwnershipOverview = ({ data, }: { data: { - displayData: Partial & { value: string }; + displayName?: string; + address: string; + avatar?: string; total: bigint; }[]; }) => { @@ -408,7 +404,7 @@ const ClaimOwnershipOverview = ({ const percentage = Number((ownership.total * 10000n) / totalValueForAllFractions) / 100; return ( - + - {formatMetadata(ownership.displayData)} + {formatMetadata(ownership)} {percentage.toFixed(2)}% @@ -426,31 +422,17 @@ const ClaimOwnershipOverview = ({ ); }; -const formatMetadata = ( - displayMetadata: Partial & { value: string }, -) => { +const formatMetadata = (displayMetadata: { + displayName?: string; + address: string; + avatar?: string; + total: bigint; +}) => { console.log(displayMetadata); if (!displayMetadata) { return "Unknown"; } - const { companyName, type, firstName, lastName, address, value } = - displayMetadata; - - if (type === "company") { - return companyName; - } - - if (firstName && lastName) { - return `${firstName} ${lastName}`; - } - - if (address) { - return formatAddress(address); - } - - if (isAddress(value)) { - return formatAddress(value); - } + const { address, displayName } = displayMetadata; - return value; + return displayName || formatAddress(address) || "Unknown"; }; diff --git a/graphql-hypercerts-env.d.ts b/graphql-hypercerts-env.d.ts index 33cb28f..e863583 100644 --- a/graphql-hypercerts-env.d.ts +++ b/graphql-hypercerts-env.d.ts @@ -5,50 +5,53 @@ export type introspection_types = { 'AllowlistRecord': { kind: 'OBJECT'; name: 'AllowlistRecord'; fields: { 'claimed': { name: 'claimed'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'entry': { name: 'entry'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'leaf': { name: 'leaf'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'proof': { name: 'proof'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'root': { name: 'root'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'total_units': { name: 'total_units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'user_address': { name: 'user_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; 'AllowlistRecordFetchInput': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordSortOptions'; ofType: null; }; defaultValue: null }]; }; 'AllowlistRecordSortOptions': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordSortOptions'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'leaf'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'entry'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'user_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'claimed'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'proof'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'total_units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'root'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'AllowlistRecordWhereInput': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordWhereInput'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'leaf'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'entry'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'user_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'claimed'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'proof'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'total_units'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'root'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'AllowlistRecordWhereInput': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordWhereInput'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'leaf'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'entry'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'user_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'claimed'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'proof'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'total_units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'root'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; 'Attestation': { kind: 'OBJECT'; name: 'Attestation'; fields: { 'attester': { name: 'attester'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'OBJECT'; name: 'HypercertBaseType'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'recipient': { name: 'recipient'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'resolver': { name: 'resolver'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'schema': { name: 'schema'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'supported_schemas_id': { name: 'supported_schemas_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'uid': { name: 'uid'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; }; }; 'AttestationFetchInput': { kind: 'INPUT_OBJECT'; name: 'AttestationFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'AttestationSortOptions'; ofType: null; }; defaultValue: null }]; }; 'AttestationSchema': { kind: 'OBJECT'; name: 'AttestationSchema'; fields: { 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'records': { name: 'records'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Attestation'; ofType: null; }; }; } }; 'resolver': { name: 'resolver'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'revocable': { name: 'revocable'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'schema': { name: 'schema'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'uid': { name: 'uid'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; }; }; 'AttestationSortOptions': { kind: 'INPUT_OBJECT'; name: 'AttestationSortOptions'; isOneOf: false; inputFields: [{ name: 'attestation_uid'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'attester_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'recipient_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'schema'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'AttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'AttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'supported_schemas_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'schema'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestation'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; ofType: null; }; defaultValue: null }]; }; - 'BasicAttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicAttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'supported_schemas_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'schema'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestation'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicContractWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicContractWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicFractionWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicFractionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'fraction_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicHypercertWhereArgs': { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicMetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_block_update_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'AttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'AttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'supported_schemas_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'schema'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestation'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; ofType: null; }; defaultValue: null }]; }; + 'BasicAttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicAttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'supported_schemas_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'schema'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestation'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'BasicContractWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicContractWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'BasicFractionWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicFractionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'fraction_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'BasicHypercertWhereArgs': { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'BasicMetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_block_update_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; 'BigInt': unknown; + 'BigIntSearchOptions': { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'gt'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'gte'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'lt'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'lte'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }]; }; 'Boolean': unknown; 'BooleanSearchOptions': { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }]; }; - 'Collection': { kind: 'OBJECT'; name: 'Collection'; fields: { 'admin_id': { name: 'admin_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'background_image': { name: 'background_image'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'grayscale_image': { name: 'grayscale_image'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'tile_border_color': { name: 'tile_border_color'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; - 'CollectionFetchInput': { kind: 'INPUT_OBJECT'; name: 'CollectionFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'CollectionSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'CollectionSortOptions': { kind: 'INPUT_OBJECT'; name: 'CollectionSortOptions'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'admin_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'CollectionWhereInput': { kind: 'INPUT_OBJECT'; name: 'CollectionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admin_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'Collection': { kind: 'OBJECT'; name: 'Collection'; fields: { 'admins': { name: 'admins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; }; } }; 'chain_ids': { name: 'chain_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'created_at': { name: 'created_at'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'Contract': { kind: 'OBJECT'; name: 'Contract'; fields: { 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'contract_address': { name: 'contract_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'start_block': { name: 'start_block'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; 'ContractFetchInput': { kind: 'INPUT_OBJECT'; name: 'ContractFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'ContractSortOptions'; ofType: null; }; defaultValue: null }]; }; 'ContractSortOptions': { kind: 'INPUT_OBJECT'; name: 'ContractSortOptions'; isOneOf: false; inputFields: [{ name: 'contract_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'ContractWhereInput': { kind: 'INPUT_OBJECT'; name: 'ContractWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'ContractWhereInput': { kind: 'INPUT_OBJECT'; name: 'ContractWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; 'EthBigInt': unknown; 'Float': unknown; 'Fraction': { kind: 'OBJECT'; name: 'Fraction'; fields: { 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'fraction_id': { name: 'fraction_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'orders': { name: 'orders'; type: { kind: 'OBJECT'; name: 'GetOrdersResponse'; ofType: null; } }; 'owner_address': { name: 'owner_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'sales': { name: 'sales'; type: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; 'FractionFetchInput': { kind: 'INPUT_OBJECT'; name: 'FractionFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'FractionSortOptions'; ofType: null; }; defaultValue: null }]; }; 'FractionSortOptions': { kind: 'INPUT_OBJECT'; name: 'FractionSortOptions'; isOneOf: false; inputFields: [{ name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'FractionWhereInput': { kind: 'INPUT_OBJECT'; name: 'FractionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'fraction_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }]; }; + 'FractionWhereInput': { kind: 'INPUT_OBJECT'; name: 'FractionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'fraction_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }]; }; 'GetAllowlistRecordResponse': { kind: 'OBJECT'; name: 'GetAllowlistRecordResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AllowlistRecord'; ofType: null; }; }; } }; }; }; 'GetAttestationsResponse': { kind: 'OBJECT'; name: 'GetAttestationsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Attestation'; ofType: null; }; }; } }; }; }; 'GetAttestationsSchemaResponse': { kind: 'OBJECT'; name: 'GetAttestationsSchemaResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AttestationSchema'; ofType: null; }; }; } }; }; }; - 'GetCollectionsResponse': { kind: 'OBJECT'; name: 'GetCollectionsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Collection'; ofType: null; }; }; } }; }; }; 'GetContractsResponse': { kind: 'OBJECT'; name: 'GetContractsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Contract'; ofType: null; }; }; } }; }; }; 'GetFractionsResponse': { kind: 'OBJECT'; name: 'GetFractionsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Fraction'; ofType: null; }; }; } }; }; }; + 'GetHyperboardsResponse': { kind: 'OBJECT'; name: 'GetHyperboardsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hyperboard'; ofType: null; }; }; } }; }; }; 'GetHypercertsResponse': { kind: 'OBJECT'; name: 'GetHypercertsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hypercert'; ofType: null; }; }; } }; }; }; 'GetMetadataResponse': { kind: 'OBJECT'; name: 'GetMetadataResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; }; }; } }; }; }; 'GetOrdersForHypercertResponse': { kind: 'OBJECT'; name: 'GetOrdersForHypercertResponse'; fields: { 'cheapestOrder': { name: 'cheapestOrder'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; }; } }; 'totalUnitsForSale': { name: 'totalUnitsForSale'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; } }; }; }; 'GetOrdersResponse': { kind: 'OBJECT'; name: 'GetOrdersResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; }; } }; }; }; 'GetSalesResponse': { kind: 'OBJECT'; name: 'GetSalesResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Sale'; ofType: null; }; }; } }; }; }; - 'Hypercert': { kind: 'OBJECT'; name: 'Hypercert'; fields: { 'attestations': { name: 'attestations'; type: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; } }; 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'contract': { name: 'contract'; type: { kind: 'OBJECT'; name: 'Contract'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'fractions': { name: 'fractions'; type: { kind: 'OBJECT'; name: 'GetFractionsResponse'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'orders': { name: 'orders'; type: { kind: 'OBJECT'; name: 'GetOrdersForHypercertResponse'; ofType: null; } }; 'sales': { name: 'sales'; type: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; - 'HypercertBaseType': { kind: 'OBJECT'; name: 'HypercertBaseType'; fields: { 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'GetUsersResponse': { kind: 'OBJECT'; name: 'GetUsersResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; } }; }; }; + 'Hyperboard': { kind: 'OBJECT'; name: 'Hyperboard'; fields: { 'admins': { name: 'admins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; }; } }; 'background_image': { name: 'background_image'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_ids': { name: 'chain_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'grayscale_images': { name: 'grayscale_images'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'sections': { name: 'sections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionResponseType'; ofType: null; }; } }; 'tile_border_color': { name: 'tile_border_color'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'HyperboardFetchInput': { kind: 'INPUT_OBJECT'; name: 'HyperboardFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'HyperboardSortOptions'; ofType: null; }; defaultValue: null }]; }; + 'HyperboardSortOptions': { kind: 'INPUT_OBJECT'; name: 'HyperboardSortOptions'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'admin_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; + 'HyperboardWhereInput': { kind: 'INPUT_OBJECT'; name: 'HyperboardWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admin_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'Hypercert': { kind: 'OBJECT'; name: 'Hypercert'; fields: { 'attestations': { name: 'attestations'; type: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; } }; 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'contract': { name: 'contract'; type: { kind: 'OBJECT'; name: 'Contract'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'fractions': { name: 'fractions'; type: { kind: 'OBJECT'; name: 'GetFractionsResponse'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'orders': { name: 'orders'; type: { kind: 'OBJECT'; name: 'GetOrdersForHypercertResponse'; ofType: null; } }; 'sales': { name: 'sales'; type: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'HypercertBaseType': { kind: 'OBJECT'; name: 'HypercertBaseType'; fields: { 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; 'HypercertFetchInput': { kind: 'INPUT_OBJECT'; name: 'HypercertFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'HypercertSortOptions'; ofType: null; }; defaultValue: null }]; }; 'HypercertSortOptions': { kind: 'INPUT_OBJECT'; name: 'HypercertSortOptions'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_block_update_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'HypercertsWhereArgs': { kind: 'INPUT_OBJECT'; name: 'HypercertsWhereArgs'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract'; type: { kind: 'INPUT_OBJECT'; name: 'BasicContractWhereInput'; ofType: null; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; ofType: null; }; defaultValue: null }, { name: 'attestations'; type: { kind: 'INPUT_OBJECT'; name: 'BasicAttestationWhereInput'; ofType: null; }; defaultValue: null }, { name: 'fractions'; type: { kind: 'INPUT_OBJECT'; name: 'BasicFractionWhereInput'; ofType: null; }; defaultValue: null }]; }; + 'HypercertsWhereArgs': { kind: 'INPUT_OBJECT'; name: 'HypercertsWhereArgs'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract'; type: { kind: 'INPUT_OBJECT'; name: 'BasicContractWhereInput'; ofType: null; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; ofType: null; }; defaultValue: null }, { name: 'attestations'; type: { kind: 'INPUT_OBJECT'; name: 'BasicAttestationWhereInput'; ofType: null; }; defaultValue: null }, { name: 'fractions'; type: { kind: 'INPUT_OBJECT'; name: 'BasicFractionWhereInput'; ofType: null; }; defaultValue: null }]; }; 'ID': unknown; 'IdSearchOptions': { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; defaultValue: null }]; }; 'Int': unknown; @@ -56,23 +59,30 @@ export type introspection_types = { 'Metadata': { kind: 'OBJECT'; name: 'Metadata'; fields: { 'allow_list_uri': { name: 'allow_list_uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'contributors': { name: 'contributors'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'external_url': { name: 'external_url'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'image': { name: 'image'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'impact_scope': { name: 'impact_scope'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'impact_timeframe_from': { name: 'impact_timeframe_from'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'impact_timeframe_to': { name: 'impact_timeframe_to'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'properties': { name: 'properties'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'rights': { name: 'rights'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'work_scope': { name: 'work_scope'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'work_timeframe_from': { name: 'work_timeframe_from'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'work_timeframe_to': { name: 'work_timeframe_to'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; 'MetadataFetchInput': { kind: 'INPUT_OBJECT'; name: 'MetadataFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'MetadataSortOptions'; ofType: null; }; defaultValue: null }]; }; 'MetadataSortOptions': { kind: 'INPUT_OBJECT'; name: 'MetadataSortOptions'; isOneOf: false; inputFields: [{ name: 'description'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'external_url'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'metadata_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'allow_list_uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'MetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'MetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_block_update_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }]; }; + 'MetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'MetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_block_update_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }]; }; 'NumberArraySearchOptions': { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; isOneOf: false; inputFields: [{ name: 'contains'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; }; }; defaultValue: null }]; }; - 'NumberSearchOptions': { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'gt'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'gte'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'lt'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'lte'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }]; }; + 'NumberSearchOptions': { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'gt'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'gte'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'lt'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'lte'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }]; }; 'Order': { kind: 'OBJECT'; name: 'Order'; fields: { 'additionalParameters': { name: 'additionalParameters'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'amounts': { name: 'amounts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; }; } }; 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'collection': { name: 'collection'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'collectionType': { name: 'collectionType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'currency': { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'endTime': { name: 'endTime'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'globalNonce': { name: 'globalNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'OBJECT'; name: 'HypercertBaseType'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'invalidated': { name: 'invalidated'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'itemIds': { name: 'itemIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; } }; 'orderNonce': { name: 'orderNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'price': { name: 'price'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'pricePerPercentInToken': { name: 'pricePerPercentInToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'pricePerPercentInUSD': { name: 'pricePerPercentInUSD'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'quoteType': { name: 'quoteType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'signature': { name: 'signature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'signer': { name: 'signer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'startTime': { name: 'startTime'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'strategyId': { name: 'strategyId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'subsetNonce': { name: 'subsetNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'validator_codes': { name: 'validator_codes'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; }; }; 'OrderFetchInput': { kind: 'INPUT_OBJECT'; name: 'OrderFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'OrderSortOptions'; ofType: null; }; defaultValue: null }]; }; 'OrderSortOptions': { kind: 'INPUT_OBJECT'; name: 'OrderSortOptions'; isOneOf: false; inputFields: [{ name: 'amounts'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'collectionType'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'createdAt'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'endTime'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'globalNonce'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'invalidated'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'orderNonce'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'price'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'quoteType'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'signer'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'startTime'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'strategyId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'OrderWhereInput': { kind: 'INPUT_OBJECT'; name: 'OrderWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'signer'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'allowlistRecords': { name: 'allowlistRecords'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAllowlistRecordResponse'; ofType: null; }; } }; 'attestationSchemas': { name: 'attestationSchemas'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsSchemaResponse'; ofType: null; }; } }; 'attestations': { name: 'attestations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; }; } }; 'collections': { name: 'collections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetCollectionsResponse'; ofType: null; }; } }; 'contracts': { name: 'contracts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetContractsResponse'; ofType: null; }; } }; 'fractions': { name: 'fractions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetFractionsResponse'; ofType: null; }; } }; 'hypercerts': { name: 'hypercerts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHypercertsResponse'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetMetadataResponse'; ofType: null; }; } }; 'orders': { name: 'orders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetOrdersResponse'; ofType: null; }; } }; 'sales': { name: 'sales'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; }; } }; }; }; + 'OrderWhereInput': { kind: 'INPUT_OBJECT'; name: 'OrderWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'signer'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'allowlistRecords': { name: 'allowlistRecords'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAllowlistRecordResponse'; ofType: null; }; } }; 'attestationSchemas': { name: 'attestationSchemas'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsSchemaResponse'; ofType: null; }; } }; 'attestations': { name: 'attestations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; }; } }; 'contracts': { name: 'contracts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetContractsResponse'; ofType: null; }; } }; 'fractions': { name: 'fractions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetFractionsResponse'; ofType: null; }; } }; 'hyperboards': { name: 'hyperboards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHyperboardsResponse'; ofType: null; }; } }; 'hypercerts': { name: 'hypercerts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHypercertsResponse'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetMetadataResponse'; ofType: null; }; } }; 'orders': { name: 'orders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetOrdersResponse'; ofType: null; }; } }; 'sales': { name: 'sales'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; }; } }; 'users': { name: 'users'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetUsersResponse'; ofType: null; }; } }; }; }; 'Sale': { kind: 'OBJECT'; name: 'Sale'; fields: { 'amounts': { name: 'amounts'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'buyer': { name: 'buyer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'collection': { name: 'collection'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'currency': { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'OBJECT'; name: 'HypercertBaseType'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'item_ids': { name: 'item_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'seller': { name: 'seller'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'strategy_id': { name: 'strategy_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'transaction_hash': { name: 'transaction_hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; 'SaleFetchInput': { kind: 'INPUT_OBJECT'; name: 'SaleFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'SaleSortOptions'; ofType: null; }; defaultValue: null }]; }; 'SaleSortOptions': { kind: 'INPUT_OBJECT'; name: 'SaleSortOptions'; isOneOf: false; inputFields: [{ name: 'amounts'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'buyer'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creationBlockNumber'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creationBlockTimestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'hypercertId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'seller'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'strategyId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'transactionHash'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'SaleWhereInput': { kind: 'INPUT_OBJECT'; name: 'SaleWhereInput'; isOneOf: false; inputFields: [{ name: 'transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'item_ids'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'buyer'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'seller'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'strategy_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'amounts'; type: { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'SaleWhereInput': { kind: 'INPUT_OBJECT'; name: 'SaleWhereInput'; isOneOf: false; inputFields: [{ name: 'transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'item_ids'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'buyer'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'seller'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'strategy_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'amounts'; type: { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'Section': { kind: 'OBJECT'; name: 'Section'; fields: { 'collection': { name: 'collection'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Collection'; ofType: null; }; } }; 'entries': { name: 'entries'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionEntry'; ofType: null; }; }; }; } }; 'label': { name: 'label'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'owners': { name: 'owners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionOwner'; ofType: null; }; }; }; } }; }; }; + 'SectionEntry': { kind: 'OBJECT'; name: 'SectionEntry'; fields: { 'display_size': { name: 'display_size'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'is_blueprint': { name: 'is_blueprint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'owners': { name: 'owners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionEntryOwner'; ofType: null; }; }; }; } }; 'percentage_of_section': { name: 'percentage_of_section'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'total_units': { name: 'total_units'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; } }; }; }; + 'SectionEntryOwner': { kind: 'OBJECT'; name: 'SectionEntryOwner'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'percentage': { name: 'percentage'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; } }; }; }; + 'SectionOwner': { kind: 'OBJECT'; name: 'SectionOwner'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'percentage_owned': { name: 'percentage_owned'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; }; + 'SectionResponseType': { kind: 'OBJECT'; name: 'SectionResponseType'; fields: { 'count': { name: 'count'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'data': { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Section'; ofType: null; }; }; }; } }; }; }; 'SortOrder': { name: 'SortOrder'; enumValues: 'ascending' | 'descending'; }; 'String': unknown; 'StringArraySearchOptions': { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; isOneOf: false; inputFields: [{ name: 'contains'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }]; }; 'StringSearchOptions': { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'contains'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'startsWith'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'endsWith'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; 'UUID': unknown; + 'User': { kind: 'OBJECT'; name: 'User'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'UserWhereInput': { kind: 'INPUT_OBJECT'; name: 'UserWhereInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; }; /** An IntrospectionQuery representation of your schema. diff --git a/hooks/useFetchHyperboardContents.ts b/hooks/useFetchHyperboardContents.ts index f98d0b0..6c74ba9 100644 --- a/hooks/useFetchHyperboardContents.ts +++ b/hooks/useFetchHyperboardContents.ts @@ -29,6 +29,8 @@ export const useListRegistries = () => { }); }; +export const useFetchHyperboardContents2 = (hyperboardId: string) => {}; + const processRegistryForDisplay = async ( { blueprints, @@ -387,35 +389,36 @@ export const getFractionsDisplayData = async ( }; export const registryContentItemToHyperboardEntry = ({ - isBlueprint, - ...item + percentage_owned, + avatar, + display_name, + address, }: { - displayData: Partial> & { - value?: string; - }; - isBlueprint: boolean; - totalValue: bigint; + percentage_owned: number | null; + address: string | null; + display_name: string | null; + avatar: string | null; }): HyperboardEntry => { - if (!item.displayData) { - return { - type: "person", - companyName: null, - lastName: null, - firstName: null, - image: "", - value: item.totalValue, - id: "", - isBlueprint, - }; - } + // if (!item.displayData) { + // return { + // type: "person", + // companyName: null, + // lastName: null, + // firstName: null, + // image: "", + // value: item.totalValue, + // id: "", + // isBlueprint, + // }; + // } return { - type: item.displayData?.type!, - companyName: item.displayData?.companyName!, - lastName: item.displayData?.lastName!, - firstName: item.displayData?.firstName!, - image: item.displayData?.image!, - value: item.totalValue, - id: item.displayData.value!, - isBlueprint, + type: "company", + companyName: display_name, + lastName: display_name, + firstName: display_name, + image: avatar || "", + value: percentage_owned!, + id: address!, + isBlueprint: false, }; }; diff --git a/hooks/useFetchHyperboardContents2.ts b/hooks/useFetchHyperboardContents2.ts new file mode 100644 index 0000000..4e6ef21 --- /dev/null +++ b/hooks/useFetchHyperboardContents2.ts @@ -0,0 +1,94 @@ +import { useQuery } from "@tanstack/react-query"; +import { Client } from "@urql/core"; +import { graphql, readFragment } from "@/graphql"; +import { urqlClient } from "@/hooks/urqlClient"; +import { ResultOf } from "gql.tada"; + +export const HyperboardFragment = graphql(` + fragment HyperboardFragment on Hyperboard { + admins { + address + chain_id + } + name + background_image + grayscale_images + tile_border_color + chain_ids + sections { + count + data { + label + collection { + name + admins { + address + display_name + } + description + id + } + entries { + is_blueprint + id + percentage_of_section + display_size + name + total_units + owners { + percentage + address + units + avatar + display_name + } + } + owners { + percentage_owned + address + display_name + avatar + } + } + } + } +`); + +const query = graphql( + ` + query Hyperboard($id: UUID!) { + hyperboards(where: { id: { eq: $id } }) { + data { + ...HyperboardFragment + } + } + } + `, + [HyperboardFragment], +); + +export type HyperboardFragment = ResultOf; + +export const getHyperboard = async (hyperboard_id: string, client: Client) => { + const { data, error } = await client.query(query, { + id: hyperboard_id, + }); + + if (error) { + throw new Error(error.message); + } + + const hyperboard = data?.hyperboards?.data?.[0]; + console.log("hyperboard", data); + + return readFragment(HyperboardFragment, hyperboard); +}; + +export const useFetchHyperboardById = (hyperboardId: string) => { + return useQuery({ + queryKey: ["hyperboard", "id", hyperboardId], + queryFn: async () => { + return await getHyperboard(hyperboardId, urqlClient); + }, + }); +}; diff --git a/package.json b/package.json index 50872ee..26b6acd 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "react-icons": "^4.11.0", "react-select": "^5.7.7", "react-slick": "^0.29.0", + "react-use": "^17.5.1", "slick-carousel": "^1.8.1", "supabase": "^1.106.1", "typescript": "5.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3f487ff..6fd3454 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,6 +128,9 @@ importers: react-slick: specifier: ^0.29.0 version: 0.29.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react-use: + specifier: ^17.5.1 + version: 17.5.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) slick-carousel: specifier: ^1.8.1 version: 1.8.1(jquery@3.7.1) @@ -3620,6 +3623,9 @@ packages: '@types/istanbul-reports@3.0.4': resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} + '@types/js-cookie@2.2.7': + resolution: {integrity: sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==} + '@types/json5@0.0.29': resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} @@ -3947,6 +3953,9 @@ packages: resolution: {integrity: sha512-4jXDeZ4IH4bylZ6wu14VEx0aDXXhrN4TC279v9rPmn08g4EYekcYf8wdcOOnS9STjDkb6x77/6xBUTqxGgjr8g==} engines: {node: '>=18.0.0'} + '@xobotyi/scrollbar-width@1.9.5': + resolution: {integrity: sha512-N8tkAACJx2ww8vFMneJmaAgmjAG1tnVBZJRLRcx061tmsLRZHSEZSLuGWnwPtunsSLvSqXQ2wfp7Mgqg1I+2dQ==} + '@zag-js/dom-query@0.16.0': resolution: {integrity: sha512-Oqhd6+biWyKnhKwFFuZrrf6lxBz2tX2pRQe6grUnYwO6HJ8BcbqZomy2lpOdr+3itlaUqx+Ywj5E5ZZDr/LBfQ==} @@ -4810,6 +4819,9 @@ packages: css-box-model@1.2.1: resolution: {integrity: sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==} + css-in-js-utils@3.1.0: + resolution: {integrity: sha512-fJAcud6B3rRu+KHYk+Bwf+WFL2MDCJJ1XG9x137tJQ0xYxor7XziQtuGFbWNdqrvF4Tk26O3H73nfVqXt/fW1A==} + css-line-break@2.1.0: resolution: {integrity: sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==} @@ -5631,6 +5643,9 @@ packages: fast-safe-stringify@2.1.1: resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} + fast-shallow-equal@1.0.0: + resolution: {integrity: sha512-HPtaa38cPgWvaCFmRNhlc6NG7pv6NUHqjPgVAkWGoB9mQMwYB27/K0CvOM5Czy+qpT3e8XJ6Q4aPAnzpNpzNaw==} + fast-uri@3.0.1: resolution: {integrity: sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==} @@ -5642,6 +5657,9 @@ packages: resolution: {integrity: sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==} engines: {node: '>= 4.9.1'} + fastest-stable-stringify@2.0.2: + resolution: {integrity: sha512-bijHueCGd0LqqNK9b5oCMHc0MluJAx0cwqASgbWMvkO01lCYgIhacVRLcaDz3QnyYIRNJRDwMb41VuT6pHJ91Q==} + fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} @@ -6162,6 +6180,9 @@ packages: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} + hyphenate-style-name@1.1.0: + resolution: {integrity: sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==} + i18next-browser-languagedetector@7.1.0: resolution: {integrity: sha512-cr2k7u1XJJ4HTOjM9GyOMtbOA47RtUoWRAtt52z43r3AoMs2StYKyjS3URPhzHaf+mn10hY9dZWamga5WPQjhA==} @@ -6238,6 +6259,9 @@ packages: resolution: {integrity: sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==} engines: {node: '>=10'} + inline-style-prefixer@7.0.1: + resolution: {integrity: sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==} + internal-slot@1.0.7: resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} @@ -7224,6 +7248,12 @@ packages: resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + nano-css@5.6.2: + resolution: {integrity: sha512-+6bHaC8dSDGALM1HJjOHVXpuastdu2xFoZlC77Jh4cg+33Zcgm+Gxd+1xsnpZK14eyHObSp82+ll5y3SX75liw==} + peerDependencies: + react: '*' + react-dom: '*' + nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -8152,6 +8182,18 @@ packages: react: '>=16.6.0' react-dom: '>=16.6.0' + react-universal-interface@0.6.2: + resolution: {integrity: sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==} + peerDependencies: + react: '*' + tslib: '*' + + react-use@17.5.1: + resolution: {integrity: sha512-LG/uPEVRflLWMwi3j/sZqR00nF6JGqTTDblkXK2nzXsIvij06hXl1V/MZIlwj1OKIQUtlh1l9jK8gLsRyCQxMg==} + peerDependencies: + react: '*' + react-dom: '*' + react@18.2.0: resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} engines: {node: '>=0.10.0'} @@ -8358,6 +8400,9 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rtl-css-js@1.16.1: + resolution: {integrity: sha512-lRQgou1mu19e+Ya0LsTvKrVJ5TYUbqCVPAiImX3UfLTenarvPUl1QFdvu5Z3PYmHT9RCcwIfbjRQBntExyj3Zg==} + run-parallel-limit@1.1.0: resolution: {integrity: sha512-jJA7irRNM91jaKc3Hcl1npHsFLOXOoTkPCUL1JEa1R82O2miplXXRaGdjW/KM/98YQWDhJLiSs793CnXfblJUw==} @@ -8404,6 +8449,10 @@ packages: scheduler@0.24.0-canary-efb381bbf-20230505: resolution: {integrity: sha512-ABvovCDe/k9IluqSh4/ISoq8tIJnW8euVAWYt5j/bg6dRnqwQwiGO1F/V4AyK96NGF/FB04FhOUDuWj8IKfABA==} + screenfull@5.2.0: + resolution: {integrity: sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==} + engines: {node: '>=0.10.0'} + scrypt-js@3.0.1: resolution: {integrity: sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==} @@ -8463,6 +8512,10 @@ packages: resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} engines: {node: '>= 0.4'} + set-harmonic-interval@1.0.1: + resolution: {integrity: sha512-AhICkFV84tBP1aWqPwLZqFvAwqEoVA9kxNMniGEUvzOlm4vLmOFLiTT3UZ6bziJTy4bOVpzWGTfSCbmaayGx8g==} + engines: {node: '>=6.9'} + setimmediate@1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} @@ -8578,6 +8631,10 @@ packages: source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + source-map@0.5.6: + resolution: {integrity: sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==} + engines: {node: '>=0.10.0'} + source-map@0.5.7: resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} engines: {node: '>=0.10.0'} @@ -8627,6 +8684,9 @@ packages: resolution: {integrity: sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==} deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility' + stack-generator@2.0.10: + resolution: {integrity: sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==} + stack-utils@2.0.6: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} engines: {node: '>=10'} @@ -8634,6 +8694,12 @@ packages: stackframe@1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} + stacktrace-gps@3.1.2: + resolution: {integrity: sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==} + + stacktrace-js@2.0.2: + resolution: {integrity: sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==} + stacktrace-parser@0.1.10: resolution: {integrity: sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==} engines: {node: '>=6'} @@ -8772,6 +8838,9 @@ packages: stylis@4.2.0: resolution: {integrity: sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==} + stylis@4.3.4: + resolution: {integrity: sha512-osIBl6BGUmSfDkyH2mB7EFvCJntXDrLhKjHTRj/rK6xLH0yuPrHULDRQzKokSOD4VoorhtKpfcfW1GAntu8now==} + sudo-prompt@9.2.1: resolution: {integrity: sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw==} @@ -8880,6 +8949,10 @@ packages: throat@5.0.0: resolution: {integrity: sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==} + throttle-debounce@3.0.1: + resolution: {integrity: sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==} + engines: {node: '>=10'} + through2@2.0.5: resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} @@ -8944,6 +9017,9 @@ packages: peerDependencies: typescript: '>=4.2.0' + ts-easing@0.2.0: + resolution: {integrity: sha512-Z86EW+fFFh/IFB1fqQ3/+7Zpf9t2ebOAxNI/V6Wo7r5gqiqtxmgTlQ1qbqQcjLKYeSHPTsEmvlJUDg/EuL0uHQ==} + ts-gems@3.5.0: resolution: {integrity: sha512-XnuKffm+cvTG/mMwMgN+vougiEmdDlENuNifYfw2cI7KWWQBZf8JaDRyLb1YkAZ1+4UyvdMCJlIfXH7EXORQ5Q==} @@ -14783,6 +14859,8 @@ snapshots: dependencies: '@types/istanbul-lib-report': 3.0.3 + '@types/js-cookie@2.2.7': {} + '@types/json5@0.0.29': {} '@types/jsonwebtoken@9.0.6': @@ -15666,6 +15744,8 @@ snapshots: fast-querystring: 1.1.2 tslib: 2.7.0 + '@xobotyi/scrollbar-width@1.9.5': {} + '@zag-js/dom-query@0.16.0': {} '@zag-js/element-size@0.10.5': {} @@ -16608,6 +16688,10 @@ snapshots: dependencies: tiny-invariant: 1.3.3 + css-in-js-utils@3.1.0: + dependencies: + hyphenate-style-name: 1.1.0 + css-line-break@2.1.0: dependencies: utrie: 1.0.2 @@ -17272,7 +17356,7 @@ snapshots: eslint: 8.48.0 eslint-import-resolver-node: 0.3.9 eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(eslint@8.48.0))(eslint@8.48.0) - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(eslint@8.48.0))(eslint@8.48.0))(eslint@8.48.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.48.0) eslint-plugin-jsx-a11y: 6.10.0(eslint@8.48.0) eslint-plugin-react: 7.35.2(eslint@8.48.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.48.0) @@ -17303,7 +17387,7 @@ snapshots: is-bun-module: 1.2.1 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(eslint@8.48.0))(eslint@8.48.0))(eslint@8.48.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.48.0) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node @@ -17321,7 +17405,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(eslint@8.48.0))(eslint@8.48.0))(eslint@8.48.0): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@6.21.0(eslint@8.48.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.48.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -17726,6 +17810,8 @@ snapshots: fast-safe-stringify@2.1.1: {} + fast-shallow-equal@1.0.0: {} + fast-uri@3.0.1: {} fast-xml-parser@4.5.0: @@ -17734,6 +17820,8 @@ snapshots: fastest-levenshtein@1.0.16: {} + fastest-stable-stringify@2.0.2: {} + fastq@1.17.1: dependencies: reusify: 1.0.4 @@ -18439,6 +18527,8 @@ snapshots: human-signals@5.0.0: {} + hyphenate-style-name@1.1.0: {} + i18next-browser-languagedetector@7.1.0: dependencies: '@babel/runtime': 7.25.6 @@ -18500,6 +18590,10 @@ snapshots: ini@2.0.0: {} + inline-style-prefixer@7.0.1: + dependencies: + css-in-js-utils: 3.1.0 + internal-slot@1.0.7: dependencies: es-errors: 1.3.0 @@ -19627,6 +19721,19 @@ snapshots: mute-stream@1.0.0: {} + nano-css@5.6.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + css-tree: 1.1.3 + csstype: 3.1.3 + fastest-stable-stringify: 2.0.2 + inline-style-prefixer: 7.0.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + rtl-css-js: 1.16.1 + stacktrace-js: 2.0.2 + stylis: 4.3.4 + nanoid@3.3.7: {} napi-build-utils@1.0.2: {} @@ -20670,6 +20777,30 @@ snapshots: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + react-universal-interface@0.6.2(react@18.2.0)(tslib@2.7.0): + dependencies: + react: 18.2.0 + tslib: 2.7.0 + + react-use@17.5.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): + dependencies: + '@types/js-cookie': 2.2.7 + '@xobotyi/scrollbar-width': 1.9.5 + copy-to-clipboard: 3.3.3 + fast-deep-equal: 3.1.3 + fast-shallow-equal: 1.0.0 + js-cookie: 2.2.1 + nano-css: 5.6.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-universal-interface: 0.6.2(react@18.2.0)(tslib@2.7.0) + resize-observer-polyfill: 1.5.1 + screenfull: 5.2.0 + set-harmonic-interval: 1.0.1 + throttle-debounce: 3.0.1 + ts-easing: 0.2.0 + tslib: 2.7.0 + react@18.2.0: dependencies: loose-envify: 1.4.0 @@ -20908,6 +21039,10 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.21.2 fsevents: 2.3.3 + rtl-css-js@1.16.1: + dependencies: + '@babel/runtime': 7.25.6 + run-parallel-limit@1.1.0: dependencies: queue-microtask: 1.2.3 @@ -20953,6 +21088,8 @@ snapshots: dependencies: loose-envify: 1.4.0 + screenfull@5.2.0: {} + scrypt-js@3.0.1: {} secp256k1@4.0.3: @@ -21033,6 +21170,8 @@ snapshots: functions-have-names: 1.2.3 has-property-descriptors: 1.0.2 + set-harmonic-interval@1.0.1: {} + setimmediate@1.0.5: {} setprototypeof@1.2.0: {} @@ -21244,6 +21383,8 @@ snapshots: buffer-from: 1.1.2 source-map: 0.6.1 + source-map@0.5.6: {} + source-map@0.5.7: {} source-map@0.6.1: {} @@ -21280,12 +21421,27 @@ snapshots: stable@0.1.8: {} + stack-generator@2.0.10: + dependencies: + stackframe: 1.3.4 + stack-utils@2.0.6: dependencies: escape-string-regexp: 2.0.0 stackframe@1.3.4: {} + stacktrace-gps@3.1.2: + dependencies: + source-map: 0.5.6 + stackframe: 1.3.4 + + stacktrace-js@2.0.2: + dependencies: + error-stack-parser: 2.1.4 + stack-generator: 2.0.10 + stacktrace-gps: 3.1.2 + stacktrace-parser@0.1.10: dependencies: type-fest: 0.7.1 @@ -21426,6 +21582,8 @@ snapshots: stylis@4.2.0: {} + stylis@4.3.4: {} + sudo-prompt@9.2.1: {} supabase@1.191.3: @@ -21563,6 +21721,8 @@ snapshots: throat@5.0.0: {} + throttle-debounce@3.0.1: {} + through2@2.0.5: dependencies: readable-stream: 2.3.8 @@ -21612,6 +21772,8 @@ snapshots: dependencies: typescript: 5.2.2 + ts-easing@0.2.0: {} + ts-gems@3.5.0: {} ts-node@10.9.2(@swc/core@1.7.24(@swc/helpers@0.5.13))(@types/node@20.5.6)(typescript@5.2.2): diff --git a/tsconfig.json b/tsconfig.json index 909dad9..8386eea 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,7 @@ "plugins": [ { "name": "@0no-co/graphqlsp", - "schema": "https://staging-api.hypercerts.org/v1/graphql", + "schema": "http://localhost:4000/v1/graphql", "tadaOutputLocation": "./graphql-hypercerts-env.d.ts" } ] diff --git a/types/Hyperboard.ts b/types/Hyperboard.ts index 0acdc04..4541308 100644 --- a/types/Hyperboard.ts +++ b/types/Hyperboard.ts @@ -5,6 +5,6 @@ export interface HyperboardEntry { firstName: string | null; lastName: string | null; image: string; - value: bigint; + value: number; isBlueprint: boolean; } diff --git a/widget/index.html b/widget/index.html index 41842a2..5ba810a 100644 --- a/widget/index.html +++ b/widget/index.html @@ -6,8 +6,7 @@ -
-
+
\ No newline at end of file