@berachain/graphql 0.2.4 → 0.2.6-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";var s=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var D=(i,e)=>{for(var t in e)s(i,t,{get:e[t],enumerable:!0})},A=(i,e,t,y)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of x(e))!B.call(i,u)&&u!==t&&s(i,u,{get:()=>e[u],enumerable:!(y=T(e,u))||y.enumerable});return i};var d=i=>A(s({},"__esModule",{value:!0}),i);var $={};D($,{Aggregation_Interval:()=>c,ChainTransaction_OrderBy:()=>b,GetChartData:()=>f,GetFirstHoneyTxnDate:()=>E,GetGlobalData:()=>C,GetHoneyTxn:()=>k,GetHoneyTxnByType:()=>H,HoneyCollateral_OrderBy:()=>I,HoneySupplyDayData_OrderBy:()=>_,HoneyTxnData:()=>l,HoneyTxnTimeseries_OrderBy:()=>S,HoneyTxn_OrderBy:()=>M,OrderDirection:()=>m,TxnType:()=>g,_SubgraphErrorPolicy_:()=>h,default:()=>w});module.exports=d($);var p=require("@apollo/client"),c=(t=>(t.Day="day",t.Hour="hour",t))(c||{}),b=(o=>(o.HoneyTxn="honeyTxn",o.Id="id",o.IsBasketMode="isBasketMode",o.TxHash="txHash",o.Type="type",o))(b||{}),I=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(I||{}),_=(y=>(y.Amount="amount",y.Id="id",y.Timestamp="timestamp",y))(_||{}),S=(r=>(r.BlockNumber="blockNumber",r.From="from",r.HoneyAmount="honeyAmount",r.Id="id",r.Timestamp="timestamp",r.To="to",r.TotalSupply="totalSupply",r.TxHash="txHash",r.TxnType="txnType",r))(S||{}),M=(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(M||{}),m=(t=>(t.Asc="asc",t.Desc="desc",t))(m||{}),g=(t=>(t.Mint="MINT",t.Redeem="REDEEM",t))(g||{}),h=(t=>(t.Allow="allow",t.Deny="deny",t))(h||{}),l=p.gql`
1
+ "use strict";var s=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var D=(p,e)=>{for(var t in e)s(p,t,{get:e[t],enumerable:!0})},A=(p,e,t,y)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of x(e))!B.call(p,u)&&u!==t&&s(p,u,{get:()=>e[u],enumerable:!(y=T(e,u))||y.enumerable});return p};var d=p=>A(s({},"__esModule",{value:!0}),p);var $={};D($,{Aggregation_Interval:()=>c,ChainTransaction_OrderBy:()=>b,GetChartData:()=>f,GetFirstHoneyTxnDate:()=>E,GetGlobalData:()=>C,GetHoneyTxn:()=>k,GetHoneyTxnByType:()=>H,HoneyCollateral_OrderBy:()=>I,HoneySupplyDayData_OrderBy:()=>_,HoneyTxnData:()=>l,HoneyTxnTimeseries_OrderBy:()=>S,HoneyTxn_OrderBy:()=>M,OrderDirection:()=>m,TxnType:()=>g,_SubgraphErrorPolicy_:()=>h,default:()=>w});module.exports=d($);var i=require("@apollo/client"),c=(t=>(t.Day="day",t.Hour="hour",t))(c||{}),b=(o=>(o.HoneyTxn="honeyTxn",o.Id="id",o.IsBasketMode="isBasketMode",o.TxHash="txHash",o.Type="type",o))(b||{}),I=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(I||{}),_=(y=>(y.Amount="amount",y.Id="id",y.Timestamp="timestamp",y))(_||{}),S=(r=>(r.BlockNumber="blockNumber",r.From="from",r.HoneyAmount="honeyAmount",r.Id="id",r.Timestamp="timestamp",r.To="to",r.TotalSupply="totalSupply",r.TxHash="txHash",r.TxnType="txnType",r))(S||{}),M=(a=>(a.ChainTransaction="chainTransaction",a.ChainTransactionId="chainTransaction__id",a.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",a.ChainTransactionTxHash="chainTransaction__txHash",a.ChainTransactionType="chainTransaction__type",a.Collateral="collateral",a.From="from",a.HoneyAmount="honeyAmount",a.Id="id",a.IsBasketMode="isBasketMode",a.Timestamp="timestamp",a.To="to",a.Type="type",a))(M||{}),m=(t=>(t.Asc="asc",t.Desc="desc",t))(m||{}),g=(t=>(t.Mint="MINT",t.Redeem="REDEEM",t))(g||{}),h=(t=>(t.Allow="allow",t.Deny="deny",t))(h||{}),l=i.gql`
2
2
  fragment HoneyTxnData on HoneyTxn {
3
3
  id
4
4
  timestamp
@@ -16,7 +16,7 @@
16
16
  id
17
17
  }
18
18
  }
19
- `,H=p.gql`
19
+ `,H=i.gql`
20
20
  query GetHoneyTxnByType($page: Int!, $limit: Int!, $type: TxnType!) {
21
21
  honeyTxns(
22
22
  skip: $page
@@ -28,13 +28,13 @@
28
28
  ...HoneyTxnData
29
29
  }
30
30
  }
31
- ${l}`,k=p.gql`
31
+ ${l}`,k=i.gql`
32
32
  query GetHoneyTxn($page: Int!, $limit: Int!) {
33
33
  honeyTxns(skip: $page, first: $limit, orderBy: timestamp, orderDirection: desc) {
34
34
  ...HoneyTxnData
35
35
  }
36
36
  }
37
- ${l}`,f=p.gql`
37
+ ${l}`,f=i.gql`
38
38
  query GetChartData($interval: Aggregation_interval!, $first: Int!) {
39
39
  honeySnapshots(interval: $interval, first: $first) {
40
40
  id
@@ -46,7 +46,7 @@
46
46
  totalSupply
47
47
  }
48
48
  }
49
- `,C=p.gql`
49
+ `,C=i.gql`
50
50
  query GetGlobalData {
51
51
  honeySnapshots(interval: hour, first: 24) {
52
52
  id
@@ -58,7 +58,7 @@
58
58
  redeemVolume
59
59
  }
60
60
  }
61
- `,E=p.gql`
61
+ `,E=i.gql`
62
62
  query GetFirstHoneyTxnDate {
63
63
  honeyTxns(first: 1) {
64
64
  timestamp
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -312,7 +312,7 @@ type HoneyTxnTimeseries = {
312
312
  to: Scalars['Bytes']['output'];
313
313
  totalSupply: Scalars['BigDecimal']['output'];
314
314
  txHash: Scalars['Bytes']['output'];
315
- txnType: Scalars['BigInt']['output'];
315
+ txnType: Scalars['Int8']['output'];
316
316
  };
317
317
  type HoneyTxnTimeseries_Filter = {
318
318
  /** Filter for the block changed event. */
@@ -389,14 +389,14 @@ type HoneyTxnTimeseries_Filter = {
389
389
  txHash_not?: InputMaybe<Scalars['Bytes']['input']>;
390
390
  txHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
391
391
  txHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
392
- txnType?: InputMaybe<Scalars['BigInt']['input']>;
393
- txnType_gt?: InputMaybe<Scalars['BigInt']['input']>;
394
- txnType_gte?: InputMaybe<Scalars['BigInt']['input']>;
395
- txnType_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
396
- txnType_lt?: InputMaybe<Scalars['BigInt']['input']>;
397
- txnType_lte?: InputMaybe<Scalars['BigInt']['input']>;
398
- txnType_not?: InputMaybe<Scalars['BigInt']['input']>;
399
- txnType_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
392
+ txnType?: InputMaybe<Scalars['Int8']['input']>;
393
+ txnType_gt?: InputMaybe<Scalars['Int8']['input']>;
394
+ txnType_gte?: InputMaybe<Scalars['Int8']['input']>;
395
+ txnType_in?: InputMaybe<Array<Scalars['Int8']['input']>>;
396
+ txnType_lt?: InputMaybe<Scalars['Int8']['input']>;
397
+ txnType_lte?: InputMaybe<Scalars['Int8']['input']>;
398
+ txnType_not?: InputMaybe<Scalars['Int8']['input']>;
399
+ txnType_not_in?: InputMaybe<Array<Scalars['Int8']['input']>>;
400
400
  };
401
401
  declare enum HoneyTxnTimeseries_OrderBy {
402
402
  BlockNumber = "blockNumber",
@@ -860,12 +860,12 @@ type GetFirstHoneyTxnDateQuery = {
860
860
  timestamp: string;
861
861
  }>;
862
862
  };
863
- declare const HoneyTxnData: graphql.DocumentNode;
864
- declare const GetHoneyTxnByType: graphql.DocumentNode;
865
- declare const GetHoneyTxn: graphql.DocumentNode;
866
- declare const GetChartData: graphql.DocumentNode;
867
- declare const GetGlobalData: graphql.DocumentNode;
868
- declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
863
+ declare const HoneyTxnData: _apollo_client.DocumentNode;
864
+ declare const GetHoneyTxnByType: _apollo_client.DocumentNode;
865
+ declare const GetHoneyTxn: _apollo_client.DocumentNode;
866
+ declare const GetChartData: _apollo_client.DocumentNode;
867
+ declare const GetGlobalData: _apollo_client.DocumentNode;
868
+ declare const GetFirstHoneyTxnDate: _apollo_client.DocumentNode;
869
869
  interface PossibleTypesResultData {
870
870
  possibleTypes: {
871
871
  [key: string]: string[];
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -312,7 +312,7 @@ type HoneyTxnTimeseries = {
312
312
  to: Scalars['Bytes']['output'];
313
313
  totalSupply: Scalars['BigDecimal']['output'];
314
314
  txHash: Scalars['Bytes']['output'];
315
- txnType: Scalars['BigInt']['output'];
315
+ txnType: Scalars['Int8']['output'];
316
316
  };
317
317
  type HoneyTxnTimeseries_Filter = {
318
318
  /** Filter for the block changed event. */
@@ -389,14 +389,14 @@ type HoneyTxnTimeseries_Filter = {
389
389
  txHash_not?: InputMaybe<Scalars['Bytes']['input']>;
390
390
  txHash_not_contains?: InputMaybe<Scalars['Bytes']['input']>;
391
391
  txHash_not_in?: InputMaybe<Array<Scalars['Bytes']['input']>>;
392
- txnType?: InputMaybe<Scalars['BigInt']['input']>;
393
- txnType_gt?: InputMaybe<Scalars['BigInt']['input']>;
394
- txnType_gte?: InputMaybe<Scalars['BigInt']['input']>;
395
- txnType_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
396
- txnType_lt?: InputMaybe<Scalars['BigInt']['input']>;
397
- txnType_lte?: InputMaybe<Scalars['BigInt']['input']>;
398
- txnType_not?: InputMaybe<Scalars['BigInt']['input']>;
399
- txnType_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
392
+ txnType?: InputMaybe<Scalars['Int8']['input']>;
393
+ txnType_gt?: InputMaybe<Scalars['Int8']['input']>;
394
+ txnType_gte?: InputMaybe<Scalars['Int8']['input']>;
395
+ txnType_in?: InputMaybe<Array<Scalars['Int8']['input']>>;
396
+ txnType_lt?: InputMaybe<Scalars['Int8']['input']>;
397
+ txnType_lte?: InputMaybe<Scalars['Int8']['input']>;
398
+ txnType_not?: InputMaybe<Scalars['Int8']['input']>;
399
+ txnType_not_in?: InputMaybe<Array<Scalars['Int8']['input']>>;
400
400
  };
401
401
  declare enum HoneyTxnTimeseries_OrderBy {
402
402
  BlockNumber = "blockNumber",
@@ -860,12 +860,12 @@ type GetFirstHoneyTxnDateQuery = {
860
860
  timestamp: string;
861
861
  }>;
862
862
  };
863
- declare const HoneyTxnData: graphql.DocumentNode;
864
- declare const GetHoneyTxnByType: graphql.DocumentNode;
865
- declare const GetHoneyTxn: graphql.DocumentNode;
866
- declare const GetChartData: graphql.DocumentNode;
867
- declare const GetGlobalData: graphql.DocumentNode;
868
- declare const GetFirstHoneyTxnDate: graphql.DocumentNode;
863
+ declare const HoneyTxnData: _apollo_client.DocumentNode;
864
+ declare const GetHoneyTxnByType: _apollo_client.DocumentNode;
865
+ declare const GetHoneyTxn: _apollo_client.DocumentNode;
866
+ declare const GetChartData: _apollo_client.DocumentNode;
867
+ declare const GetGlobalData: _apollo_client.DocumentNode;
868
+ declare const GetFirstHoneyTxnDate: _apollo_client.DocumentNode;
869
869
  interface PossibleTypesResultData {
870
870
  possibleTypes: {
871
871
  [key: string]: string[];
@@ -1,4 +1,4 @@
1
- import{gql as r}from"@apollo/client";var u=(a=>(a.Day="day",a.Hour="hour",a))(u||{}),o=(i=>(i.HoneyTxn="honeyTxn",i.Id="id",i.IsBasketMode="isBasketMode",i.TxHash="txHash",i.Type="type",i))(o||{}),s=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(s||{}),l=(p=>(p.Amount="amount",p.Id="id",p.Timestamp="timestamp",p))(l||{}),c=(e=>(e.BlockNumber="blockNumber",e.From="from",e.HoneyAmount="honeyAmount",e.Id="id",e.Timestamp="timestamp",e.To="to",e.TotalSupply="totalSupply",e.TxHash="txHash",e.TxnType="txnType",e))(c||{}),b=(t=>(t.ChainTransaction="chainTransaction",t.ChainTransactionId="chainTransaction__id",t.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",t.ChainTransactionTxHash="chainTransaction__txHash",t.ChainTransactionType="chainTransaction__type",t.Collateral="collateral",t.From="from",t.HoneyAmount="honeyAmount",t.Id="id",t.IsBasketMode="isBasketMode",t.Timestamp="timestamp",t.To="to",t.Type="type",t))(b||{}),I=(a=>(a.Asc="asc",a.Desc="desc",a))(I||{}),_=(a=>(a.Mint="MINT",a.Redeem="REDEEM",a))(_||{}),S=(a=>(a.Allow="allow",a.Deny="deny",a))(S||{}),y=r`
1
+ import{gql as r}from"@apollo/client";var u=(a=>(a.Day="day",a.Hour="hour",a))(u||{}),o=(p=>(p.HoneyTxn="honeyTxn",p.Id="id",p.IsBasketMode="isBasketMode",p.TxHash="txHash",p.Type="type",p))(o||{}),s=(n=>(n.Collateral="collateral",n.CollateralAmount="collateralAmount",n.HoneyTxn="honeyTxn",n.HoneyTxnFrom="honeyTxn__from",n.HoneyTxnHoneyAmount="honeyTxn__honeyAmount",n.HoneyTxnId="honeyTxn__id",n.HoneyTxnIsBasketMode="honeyTxn__isBasketMode",n.HoneyTxnTimestamp="honeyTxn__timestamp",n.HoneyTxnTo="honeyTxn__to",n.HoneyTxnType="honeyTxn__type",n.Id="id",n))(s||{}),l=(i=>(i.Amount="amount",i.Id="id",i.Timestamp="timestamp",i))(l||{}),c=(e=>(e.BlockNumber="blockNumber",e.From="from",e.HoneyAmount="honeyAmount",e.Id="id",e.Timestamp="timestamp",e.To="to",e.TotalSupply="totalSupply",e.TxHash="txHash",e.TxnType="txnType",e))(c||{}),b=(t=>(t.ChainTransaction="chainTransaction",t.ChainTransactionId="chainTransaction__id",t.ChainTransactionIsBasketMode="chainTransaction__isBasketMode",t.ChainTransactionTxHash="chainTransaction__txHash",t.ChainTransactionType="chainTransaction__type",t.Collateral="collateral",t.From="from",t.HoneyAmount="honeyAmount",t.Id="id",t.IsBasketMode="isBasketMode",t.Timestamp="timestamp",t.To="to",t.Type="type",t))(b||{}),I=(a=>(a.Asc="asc",a.Desc="desc",a))(I||{}),_=(a=>(a.Mint="MINT",a.Redeem="REDEEM",a))(_||{}),S=(a=>(a.Allow="allow",a.Deny="deny",a))(S||{}),y=r`
2
2
  fragment HoneyTxnData on HoneyTxn {
3
3
  id
4
4
  timestamp
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -3623,26 +3623,26 @@ type GetPolStakeBeraVaultEventsByOwnerQuery = {
3623
3623
  _timestamp: number;
3624
3624
  }>;
3625
3625
  };
3626
- declare const ApiValidatorMinimal: graphql.DocumentNode;
3627
- declare const ApiVaultIncentive: graphql.DocumentNode;
3628
- declare const ApiVault: graphql.DocumentNode;
3629
- declare const ApiRewardAllocationWeight: graphql.DocumentNode;
3630
- declare const ApiValidator: graphql.DocumentNode;
3631
- declare const ApiValidatorBlockUptime: graphql.DocumentNode;
3632
- declare const GetVaults: graphql.DocumentNode;
3633
- declare const GetValidator: graphql.DocumentNode;
3634
- declare const GetValidators: graphql.DocumentNode;
3635
- declare const GetVaultValidators: graphql.DocumentNode;
3636
- declare const GetRewardVault: graphql.DocumentNode;
3637
- declare const GlobalData: graphql.DocumentNode;
3638
- declare const GetUserVaults: graphql.DocumentNode;
3639
- declare const GetVaultHistory: graphql.DocumentNode;
3640
- declare const GetVaultDurations: graphql.DocumentNode;
3641
- declare const GetBoostDelay: graphql.DocumentNode;
3642
- declare const GetCommissionChangeDelay: graphql.DocumentNode;
3643
- declare const GetSWberaVaultMetadata: graphql.DocumentNode;
3644
- declare const GetSWberaVaultSnapshots: graphql.DocumentNode;
3645
- declare const GetPolStakeBeraVaultEventsByOwner: graphql.DocumentNode;
3626
+ declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
3627
+ declare const ApiVaultIncentive: _apollo_client.DocumentNode;
3628
+ declare const ApiVault: _apollo_client.DocumentNode;
3629
+ declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
3630
+ declare const ApiValidator: _apollo_client.DocumentNode;
3631
+ declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
3632
+ declare const GetVaults: _apollo_client.DocumentNode;
3633
+ declare const GetValidator: _apollo_client.DocumentNode;
3634
+ declare const GetValidators: _apollo_client.DocumentNode;
3635
+ declare const GetVaultValidators: _apollo_client.DocumentNode;
3636
+ declare const GetRewardVault: _apollo_client.DocumentNode;
3637
+ declare const GlobalData: _apollo_client.DocumentNode;
3638
+ declare const GetUserVaults: _apollo_client.DocumentNode;
3639
+ declare const GetVaultHistory: _apollo_client.DocumentNode;
3640
+ declare const GetVaultDurations: _apollo_client.DocumentNode;
3641
+ declare const GetBoostDelay: _apollo_client.DocumentNode;
3642
+ declare const GetCommissionChangeDelay: _apollo_client.DocumentNode;
3643
+ declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
3644
+ declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
3645
+ declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
3646
3646
  interface PossibleTypesResultData {
3647
3647
  possibleTypes: {
3648
3648
  [key: string]: string[];
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -3623,26 +3623,26 @@ type GetPolStakeBeraVaultEventsByOwnerQuery = {
3623
3623
  _timestamp: number;
3624
3624
  }>;
3625
3625
  };
3626
- declare const ApiValidatorMinimal: graphql.DocumentNode;
3627
- declare const ApiVaultIncentive: graphql.DocumentNode;
3628
- declare const ApiVault: graphql.DocumentNode;
3629
- declare const ApiRewardAllocationWeight: graphql.DocumentNode;
3630
- declare const ApiValidator: graphql.DocumentNode;
3631
- declare const ApiValidatorBlockUptime: graphql.DocumentNode;
3632
- declare const GetVaults: graphql.DocumentNode;
3633
- declare const GetValidator: graphql.DocumentNode;
3634
- declare const GetValidators: graphql.DocumentNode;
3635
- declare const GetVaultValidators: graphql.DocumentNode;
3636
- declare const GetRewardVault: graphql.DocumentNode;
3637
- declare const GlobalData: graphql.DocumentNode;
3638
- declare const GetUserVaults: graphql.DocumentNode;
3639
- declare const GetVaultHistory: graphql.DocumentNode;
3640
- declare const GetVaultDurations: graphql.DocumentNode;
3641
- declare const GetBoostDelay: graphql.DocumentNode;
3642
- declare const GetCommissionChangeDelay: graphql.DocumentNode;
3643
- declare const GetSWberaVaultMetadata: graphql.DocumentNode;
3644
- declare const GetSWberaVaultSnapshots: graphql.DocumentNode;
3645
- declare const GetPolStakeBeraVaultEventsByOwner: graphql.DocumentNode;
3626
+ declare const ApiValidatorMinimal: _apollo_client.DocumentNode;
3627
+ declare const ApiVaultIncentive: _apollo_client.DocumentNode;
3628
+ declare const ApiVault: _apollo_client.DocumentNode;
3629
+ declare const ApiRewardAllocationWeight: _apollo_client.DocumentNode;
3630
+ declare const ApiValidator: _apollo_client.DocumentNode;
3631
+ declare const ApiValidatorBlockUptime: _apollo_client.DocumentNode;
3632
+ declare const GetVaults: _apollo_client.DocumentNode;
3633
+ declare const GetValidator: _apollo_client.DocumentNode;
3634
+ declare const GetValidators: _apollo_client.DocumentNode;
3635
+ declare const GetVaultValidators: _apollo_client.DocumentNode;
3636
+ declare const GetRewardVault: _apollo_client.DocumentNode;
3637
+ declare const GlobalData: _apollo_client.DocumentNode;
3638
+ declare const GetUserVaults: _apollo_client.DocumentNode;
3639
+ declare const GetVaultHistory: _apollo_client.DocumentNode;
3640
+ declare const GetVaultDurations: _apollo_client.DocumentNode;
3641
+ declare const GetBoostDelay: _apollo_client.DocumentNode;
3642
+ declare const GetCommissionChangeDelay: _apollo_client.DocumentNode;
3643
+ declare const GetSWberaVaultMetadata: _apollo_client.DocumentNode;
3644
+ declare const GetSWberaVaultSnapshots: _apollo_client.DocumentNode;
3645
+ declare const GetPolStakeBeraVaultEventsByOwner: _apollo_client.DocumentNode;
3646
3646
  interface PossibleTypesResultData {
3647
3647
  possibleTypes: {
3648
3648
  [key: string]: string[];
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -4581,7 +4581,7 @@ type GetIncentiveFeeClaimStatsQuery = {
4581
4581
  timestamp: string;
4582
4582
  }>;
4583
4583
  };
4584
- declare const SubgraphStatusMeta: graphql.DocumentNode;
4584
+ declare const SubgraphStatusMeta: _apollo_client.DocumentNode;
4585
4585
  /**
4586
4586
  * Aggregation for the amount of BGT boosted to a Validator (User -> Validator)
4587
4587
  *
@@ -4598,8 +4598,8 @@ type BoostByValidator = {
4598
4598
  timestamp: Scalars['Timestamp']['output'];
4599
4599
  validator: Validator;
4600
4600
  };
4601
- declare const BoostByValidator: graphql.DocumentNode;
4602
- declare const ValidatorMinimal: graphql.DocumentNode;
4601
+ declare const BoostByValidator: _apollo_client.DocumentNode;
4602
+ declare const ValidatorMinimal: _apollo_client.DocumentNode;
4603
4603
  /**
4604
4604
  * Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator)
4605
4605
  *
@@ -4614,10 +4614,10 @@ type BlockRewardStatsByValidator = {
4614
4614
  timestamp: Scalars['Timestamp']['output'];
4615
4615
  validator: Validator;
4616
4616
  };
4617
- declare const BlockRewardStatsByValidator: graphql.DocumentNode;
4618
- declare const VaultMinimal: graphql.DocumentNode;
4619
- declare const StakingToken: graphql.DocumentNode;
4620
- declare const VaultWithStakingToken: graphql.DocumentNode;
4617
+ declare const BlockRewardStatsByValidator: _apollo_client.DocumentNode;
4618
+ declare const VaultMinimal: _apollo_client.DocumentNode;
4619
+ declare const StakingToken: _apollo_client.DocumentNode;
4620
+ declare const VaultWithStakingToken: _apollo_client.DocumentNode;
4621
4621
  /**
4622
4622
  * Global stats for Proof of Liquidity
4623
4623
  *
@@ -4637,17 +4637,17 @@ type GlobalInfo = {
4637
4637
  totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
4638
4638
  totalValidatorsCount: Scalars['BigInt']['output'];
4639
4639
  };
4640
- declare const GlobalInfo: graphql.DocumentNode;
4641
- declare const GetUserValidatorInformation: graphql.DocumentNode;
4642
- declare const GetValidValidator: graphql.DocumentNode;
4643
- declare const GetAllValidators: graphql.DocumentNode;
4644
- declare const GetValidatorBlockStats: graphql.DocumentNode;
4645
- declare const GetGauges: graphql.DocumentNode;
4646
- declare const GetWeeklyBgtInflation: graphql.DocumentNode;
4647
- declare const GetRewardVault: graphql.DocumentNode;
4648
- declare const GetValidatorByAccount: graphql.DocumentNode;
4649
- declare const GetValidatorAnalytics: graphql.DocumentNode;
4650
- declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
4640
+ declare const GlobalInfo: _apollo_client.DocumentNode;
4641
+ declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
4642
+ declare const GetValidValidator: _apollo_client.DocumentNode;
4643
+ declare const GetAllValidators: _apollo_client.DocumentNode;
4644
+ declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
4645
+ declare const GetGauges: _apollo_client.DocumentNode;
4646
+ declare const GetWeeklyBgtInflation: _apollo_client.DocumentNode;
4647
+ declare const GetRewardVault: _apollo_client.DocumentNode;
4648
+ declare const GetValidatorByAccount: _apollo_client.DocumentNode;
4649
+ declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
4650
+ declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
4651
4651
  interface PossibleTypesResultData {
4652
4652
  possibleTypes: {
4653
4653
  [key: string]: string[];
@@ -1,4 +1,4 @@
1
- import * as graphql from 'graphql';
1
+ import * as _apollo_client from '@apollo/client';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -4581,7 +4581,7 @@ type GetIncentiveFeeClaimStatsQuery = {
4581
4581
  timestamp: string;
4582
4582
  }>;
4583
4583
  };
4584
- declare const SubgraphStatusMeta: graphql.DocumentNode;
4584
+ declare const SubgraphStatusMeta: _apollo_client.DocumentNode;
4585
4585
  /**
4586
4586
  * Aggregation for the amount of BGT boosted to a Validator (User -> Validator)
4587
4587
  *
@@ -4598,8 +4598,8 @@ type BoostByValidator = {
4598
4598
  timestamp: Scalars['Timestamp']['output'];
4599
4599
  validator: Validator;
4600
4600
  };
4601
- declare const BoostByValidator: graphql.DocumentNode;
4602
- declare const ValidatorMinimal: graphql.DocumentNode;
4601
+ declare const BoostByValidator: _apollo_client.DocumentNode;
4602
+ declare const ValidatorMinimal: _apollo_client.DocumentNode;
4603
4603
  /**
4604
4604
  * Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator)
4605
4605
  *
@@ -4614,10 +4614,10 @@ type BlockRewardStatsByValidator = {
4614
4614
  timestamp: Scalars['Timestamp']['output'];
4615
4615
  validator: Validator;
4616
4616
  };
4617
- declare const BlockRewardStatsByValidator: graphql.DocumentNode;
4618
- declare const VaultMinimal: graphql.DocumentNode;
4619
- declare const StakingToken: graphql.DocumentNode;
4620
- declare const VaultWithStakingToken: graphql.DocumentNode;
4617
+ declare const BlockRewardStatsByValidator: _apollo_client.DocumentNode;
4618
+ declare const VaultMinimal: _apollo_client.DocumentNode;
4619
+ declare const StakingToken: _apollo_client.DocumentNode;
4620
+ declare const VaultWithStakingToken: _apollo_client.DocumentNode;
4621
4621
  /**
4622
4622
  * Global stats for Proof of Liquidity
4623
4623
  *
@@ -4637,17 +4637,17 @@ type GlobalInfo = {
4637
4637
  totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
4638
4638
  totalValidatorsCount: Scalars['BigInt']['output'];
4639
4639
  };
4640
- declare const GlobalInfo: graphql.DocumentNode;
4641
- declare const GetUserValidatorInformation: graphql.DocumentNode;
4642
- declare const GetValidValidator: graphql.DocumentNode;
4643
- declare const GetAllValidators: graphql.DocumentNode;
4644
- declare const GetValidatorBlockStats: graphql.DocumentNode;
4645
- declare const GetGauges: graphql.DocumentNode;
4646
- declare const GetWeeklyBgtInflation: graphql.DocumentNode;
4647
- declare const GetRewardVault: graphql.DocumentNode;
4648
- declare const GetValidatorByAccount: graphql.DocumentNode;
4649
- declare const GetValidatorAnalytics: graphql.DocumentNode;
4650
- declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
4640
+ declare const GlobalInfo: _apollo_client.DocumentNode;
4641
+ declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
4642
+ declare const GetValidValidator: _apollo_client.DocumentNode;
4643
+ declare const GetAllValidators: _apollo_client.DocumentNode;
4644
+ declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
4645
+ declare const GetGauges: _apollo_client.DocumentNode;
4646
+ declare const GetWeeklyBgtInflation: _apollo_client.DocumentNode;
4647
+ declare const GetRewardVault: _apollo_client.DocumentNode;
4648
+ declare const GetValidatorByAccount: _apollo_client.DocumentNode;
4649
+ declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
4650
+ declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
4651
4651
  interface PossibleTypesResultData {
4652
4652
  possibleTypes: {
4653
4653
  [key: string]: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/graphql",
3
- "version": "0.2.4",
3
+ "version": "0.2.6-beta.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -33,7 +33,7 @@
33
33
  "@parcel/watcher": "2.5.1",
34
34
  "@types/node": "22.12.0",
35
35
  "dotenv": "16.6.1",
36
- "graphql": "16.8.2",
36
+ "graphql": "16.12.0",
37
37
  "tsup": "8.4.0"
38
38
  },
39
39
  "exports": {