Skip to content

Chore/veascan vars rename #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions veascan-web/src/gql/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
*/
Expand Down
Loading