@@ -15,11 +15,11 @@ import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/
15
15
const documents = {
16
16
"\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" :
17
17
types . GetSnapshotDocument ,
18
- '\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' :
18
+ '\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' :
19
19
types . GetSnapshotsDocument ,
20
- '\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' :
20
+ '\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' :
21
21
types . GetResolvingSnapshotsDocument ,
22
- "\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" :
22
+ "\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" :
23
23
types . SearchSnapshotsDocument ,
24
24
"\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" :
25
25
types . GetMessagesDocument ,
@@ -61,20 +61,20 @@ export function graphql(
61
61
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
62
62
*/
63
63
export function graphql (
64
- 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'
65
- ) : ( 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' ] ;
64
+ 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'
65
+ ) : ( 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' ] ;
66
66
/**
67
67
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
68
68
*/
69
69
export function graphql (
70
- 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'
71
- ) : ( 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' ] ;
70
+ 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'
71
+ ) : ( 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' ] ;
72
72
/**
73
73
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
74
74
*/
75
75
export function graphql (
76
- 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"
77
- ) : ( 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" ] ;
76
+ 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"
77
+ ) : ( 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" ] ;
78
78
/**
79
79
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
80
80
*/
0 commit comments