From d3ea9f0bedd64e5afe8898c948680bbb55457220 Mon Sep 17 00:00:00 2001 From: Mani Brar Date: Mon, 21 Apr 2025 20:27:21 +0530 Subject: [PATCH] chore(veascan-web): regen gql --- veascan-web/src/gql/gql.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/veascan-web/src/gql/gql.ts b/veascan-web/src/gql/gql.ts index 1d473359..8e848458 100644 --- a/veascan-web/src/gql/gql.ts +++ b/veascan-web/src/gql/gql.ts @@ -15,11 +15,11 @@ import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/ const documents = { "\n query getSnapshot($epoch: BigInt!, $contract: String!) {\n snapshots(where: { epoch: $epoch, inbox: $contract }) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n }\n": types.GetSnapshotDocument, - '\n query getSnapshots($snapshotsPerPage: Int, $lastTimestamp: BigInt!, $contract: String!) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n': + '\n query getSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n': types.GetSnapshotsDocument, - '\n query getResolvingSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $resolving: Boolean = true\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, resolving: $resolving, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n': + '\n query getResolvingSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $resolving: Boolean = true\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: {\n timestamp_lte: $lastTimestamp\n resolving: $resolving\n inbox: $contract\n }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n': types.GetResolvingSnapshotsDocument, - "\n query searchSnapshots($snapshotsPerPage: Int, $value: String!, $contract: String!) {\n snapshotQuery(text: $value, first: $snapshotsPerPage, where: { inbox: $contract }) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n }\n": + "\n query searchSnapshots(\n $snapshotsPerPage: Int\n $value: String!\n $contract: String!\n ) {\n snapshotQuery(\n text: $value\n first: $snapshotsPerPage\n where: { inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n }\n": types.SearchSnapshotsDocument, "\n query getMessages($skip: Int!, $snapshot: String!, $snapshotID: ID!) {\n messages(\n first: 5\n skip: $skip\n orderBy: timestamp\n orderDirection: desc\n where: { snapshot: $snapshot }\n ) {\n id\n txHash\n timestamp\n from\n to\n data\n }\n snapshot(id: $snapshotID) {\n numberMessages\n }\n }\n": types.GetMessagesDocument, @@ -61,20 +61,20 @@ export function graphql( * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function graphql( - source: '\n query getSnapshots($snapshotsPerPage: Int, $lastTimestamp: BigInt!, $contract: String!) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n' -): (typeof documents)['\n query getSnapshots($snapshotsPerPage: Int, $lastTimestamp: BigInt!, $contract: String!) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n']; + source: '\n query getSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n' +): (typeof documents)['\n query getSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n']; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function graphql( - source: '\n query getResolvingSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $resolving: Boolean = true\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, resolving: $resolving, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n' -): (typeof documents)['\n query getResolvingSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $resolving: Boolean = true\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: { timestamp_lte: $lastTimestamp, resolving: $resolving, inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n']; + source: '\n query getResolvingSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $resolving: Boolean = true\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: {\n timestamp_lte: $lastTimestamp\n resolving: $resolving\n inbox: $contract\n }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n' +): (typeof documents)['\n query getResolvingSnapshots(\n $snapshotsPerPage: Int\n $lastTimestamp: BigInt!\n $resolving: Boolean = true\n $contract: String!\n ) {\n snapshots(\n first: $snapshotsPerPage\n orderBy: timestamp\n orderDirection: desc\n where: {\n timestamp_lte: $lastTimestamp\n resolving: $resolving\n inbox: $contract\n }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n ref(id: "0") {\n currentSnapshotIndex\n }\n }\n']; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function graphql( - source: "\n query searchSnapshots($snapshotsPerPage: Int, $value: String!, $contract: String!) {\n snapshotQuery(text: $value, first: $snapshotsPerPage, where: { inbox: $contract }) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n }\n" -): (typeof documents)["\n query searchSnapshots($snapshotsPerPage: Int, $value: String!, $contract: String!) {\n snapshotQuery(text: $value, first: $snapshotsPerPage, where: { inbox: $contract }) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n }\n"]; + source: "\n query searchSnapshots(\n $snapshotsPerPage: Int\n $value: String!\n $contract: String!\n ) {\n snapshotQuery(\n text: $value\n first: $snapshotsPerPage\n where: { inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n }\n" +): (typeof documents)["\n query searchSnapshots(\n $snapshotsPerPage: Int\n $value: String!\n $contract: String!\n ) {\n snapshotQuery(\n text: $value\n first: $snapshotsPerPage\n where: { inbox: $contract }\n ) {\n id\n epoch\n caller\n txHash\n timestamp\n stateRoot\n numberMessages\n saved\n resolving\n fallback(first: 1, orderBy: timestamp, orderDirection: desc) {\n executor\n timestamp\n txHash\n ticketId\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */