From 07ada794fb6e47cb42d28cb6d4e00f5fdb27657f Mon Sep 17 00:00:00 2001 From: Synthetix CI Date: Wed, 13 Mar 2024 16:14:55 +0000 Subject: [PATCH] Updated packages: - @synthetixio/queries@3.0.23-0 --- packages/queries/package.json | 5 +++-- v2/lib/subgraph/mainnet.graphql | 10 ++++++++++ v2/lib/subgraph/mainnet.ts | 7 +++++++ v2/lib/subgraph/optimism.graphql | 10 ++++++++++ v2/lib/subgraph/optimism.ts | 7 +++++++ 5 files changed, 37 insertions(+), 2 deletions(-) diff --git a/packages/queries/package.json b/packages/queries/package.json index 68e77b9e9..e52e3bb16 100644 --- a/packages/queries/package.json +++ b/packages/queries/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "3.0.22", + "version": "3.0.23-0", "description": "react-query for pulling synthetix data in react interfaces", "source": "./src/index.ts", "main": "./build/index.js", @@ -93,5 +93,6 @@ "statements": 0 } } - } + }, + "stableVersion": "3.0.22" } diff --git a/v2/lib/subgraph/mainnet.graphql b/v2/lib/subgraph/mainnet.graphql index 072c79ba3..7de54cab4 100644 --- a/v2/lib/subgraph/mainnet.graphql +++ b/v2/lib/subgraph/mainnet.graphql @@ -38,6 +38,11 @@ enum ActiveStaker_orderBy { id } +enum Aggregation_interval { + day + hour +} + scalar BigDecimal scalar BigInt @@ -1834,6 +1839,11 @@ type _Block_ { """ number: Int! + """ + The hash of the parent block + """ + parentHash: Bytes + """ Integer representation of the timestamp stored in blocks for the chain """ diff --git a/v2/lib/subgraph/mainnet.ts b/v2/lib/subgraph/mainnet.ts index 9ce9e0d29..4e7a27003 100644 --- a/v2/lib/subgraph/mainnet.ts +++ b/v2/lib/subgraph/mainnet.ts @@ -42,6 +42,11 @@ export enum ActiveStaker_OrderBy { Id = 'id', } +export enum Aggregation_Interval { + Day = 'day', + Hour = 'hour', +} + export type BlockChangedFilter = { number_gte: Scalars['Int']; }; @@ -1433,6 +1438,8 @@ export type _Block_ = { hash?: Maybe; /** The block number */ number: Scalars['Int']; + /** The hash of the parent block */ + parentHash?: Maybe; /** Integer representation of the timestamp stored in blocks for the chain */ timestamp?: Maybe; }; diff --git a/v2/lib/subgraph/optimism.graphql b/v2/lib/subgraph/optimism.graphql index 436c71698..130ba0636 100644 --- a/v2/lib/subgraph/optimism.graphql +++ b/v2/lib/subgraph/optimism.graphql @@ -294,6 +294,11 @@ enum ActiveStaker_orderBy { id } +enum Aggregation_interval { + day + hour +} + """ Tracks this event from the Synthetix.sol contract. (Atomic exchanges also trigger standard SynthExchange events.) """ @@ -9768,6 +9773,11 @@ type _Block_ { """ number: Int! + """ + The hash of the parent block + """ + parentHash: Bytes + """ Integer representation of the timestamp stored in blocks for the chain """ diff --git a/v2/lib/subgraph/optimism.ts b/v2/lib/subgraph/optimism.ts index 7f5449b5b..a09554dca 100644 --- a/v2/lib/subgraph/optimism.ts +++ b/v2/lib/subgraph/optimism.ts @@ -256,6 +256,11 @@ export enum ActiveStaker_OrderBy { Id = 'id', } +export enum Aggregation_Interval { + Day = 'day', + Hour = 'hour', +} + /** Tracks this event from the Synthetix.sol contract. (Atomic exchanges also trigger standard SynthExchange events.) */ export type AtomicSynthExchange = { __typename?: 'AtomicSynthExchange'; @@ -7767,6 +7772,8 @@ export type _Block_ = { hash?: Maybe; /** The block number */ number: Scalars['Int']; + /** The hash of the parent block */ + parentHash?: Maybe; /** Integer representation of the timestamp stored in blocks for the chain */ timestamp?: Maybe; };