@berachain/graphql 0.4.3 → 0.4.5

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
- import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(g||{}),d=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(d||{}),m=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(m||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),A=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(A||{}),b=(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(b||{}),I=(t=>(t.Exit="Exit",t.Join="Join",t))(I||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),P=(r=>(r.Apr="apr",r.BgtApr="bgtApr",r.CombinedApr="combinedApr",r.Fees24h="fees24h",r.TotalLiquidity="totalLiquidity",r.TotalShares="totalShares",r.UserbalanceUsd="userbalanceUsd",r.Volume24h="volume24h",r))(P||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),k=(o=>(o.AllTime="ALL_TIME",o.NinetyDays="NINETY_DAYS",o.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",o.OneYear="ONE_YEAR",o.ThirtyDays="THIRTY_DAYS",o))(k||{}),h=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(h||{}),_=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(_||{}),D=(t=>(t.Asc="asc",t.Desc="desc",t))(D||{}),v=(r=>(r.ActiveIncentivesRateUsd="activeIncentivesRateUsd",r.ActiveIncentivesValueUsd="activeIncentivesValueUsd",r.AllTimeBgtReceived="allTimeBGTReceived",r.Apr="apr",r.Apy="apy",r.BgtCapturePercentage="bgtCapturePercentage",r.Last24hBgtReceived="last24hBGTReceived",r.ProjectedApr="projectedApr",r))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),V=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(V||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),R=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(R||{}),C=(o=>(o.NinetyDay="NINETY_DAY",o.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",o.OneYear="ONE_YEAR",o.SevenDay="SEVEN_DAY",o.ThirtyDay="THIRTY_DAY",o))(C||{}),E=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(E||{}),U=(y=>(y.Amount="amount",y))(U||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),F=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))(F||{}),f=(o=>(o.ActiveBoostAmount="activeBoostAmount",o.LatestBlock="latestBlock",o.LatestBlockTime="latestBlockTime",o.QueuedBoostAmount="queuedBoostAmount",o.QueuedDropBoostAmount="queuedDropBoostAmount",o))(f||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),Q=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(Q||{}),W=(t=>(t.Asc="asc",t.Desc="desc",t))(W||{}),O=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(O||{}),S=e`
1
+ import{gql as r}from"@apollo/client";var d=(t=>(t.Bepolia="BEPOLIA",t.Berachain="BERACHAIN",t))(d||{}),g=(a=>(a.Discord="discord",a.Medium="medium",a.Twitter="twitter",a))(g||{}),m=(i=>(i.Aura="AURA",i.IbYield="IB_YIELD",i.Locking="LOCKING",i.MabeetsEmissions="MABEETS_EMISSIONS",i.Merkl="MERKL",i.Nested="NESTED",i.Staking="STAKING",i.StakingBoost="STAKING_BOOST",i.Surplus="SURPLUS",i.SwapFee="SWAP_FEE",i.VebalEmissions="VEBAL_EMISSIONS",i.Voting="VOTING",i))(m||{}),G=(a=>(a.Add="ADD",a.Remove="REMOVE",a.Swap="SWAP",a))(G||{}),A=(a=>(a.NinetyDays="NINETY_DAYS",a.SevenDays="SEVEN_DAYS",a.ThirtyDays="THIRTY_DAYS",a))(A||{}),b=(u=>(u.BlackListed="BLACK_LISTED",u.Incentivized="INCENTIVIZED",u.Lrt="LRT",u.Points="POINTS",u.PointsEigenlayer="POINTS_EIGENLAYER",u.PointsGyro="POINTS_GYRO",u.PointsKelp="POINTS_KELP",u.PointsRenzo="POINTS_RENZO",u.PointsSwell="POINTS_SWELL",u.Superfest="SUPERFEST",u))(b||{}),I=(t=>(t.Exit="Exit",t.Join="Join",t))(I||{}),q=(a=>(a.HasOnlyPhantomBpt="HAS_ONLY_PHANTOM_BPT",a.HasSomePhantomBpt="HAS_SOME_PHANTOM_BPT",a.NoNesting="NO_NESTING",a))(q||{}),P=(o=>(o.Apr="apr",o.BgtApr="bgtApr",o.CombinedApr="combinedApr",o.Fees24h="fees24h",o.TotalLiquidity="totalLiquidity",o.TotalShares="totalShares",o.UserbalanceUsd="userbalanceUsd",o.Volume24h="volume24h",o))(P||{}),B=(t=>(t.Asc="asc",t.Desc="desc",t))(B||{}),h=(e=>(e.AllTime="ALL_TIME",e.NinetyDays="NINETY_DAYS",e.OneHundredEightyDays="ONE_HUNDRED_EIGHTY_DAYS",e.OneYear="ONE_YEAR",e.ThirtyDays="THIRTY_DAYS",e))(h||{}),k=(s=>(s.ComposableStable="COMPOSABLE_STABLE",s.CowAmm="COW_AMM",s.Element="ELEMENT",s.Fx="FX",s.Gyro="GYRO",s.Gyro3="GYRO3",s.Gyroe="GYROE",s.Investment="INVESTMENT",s.LiquidityBootstrapping="LIQUIDITY_BOOTSTRAPPING",s.MetaStable="META_STABLE",s.PhantomStable="PHANTOM_STABLE",s.Stable="STABLE",s.Unknown="UNKNOWN",s.Weighted="WEIGHTED",s))(k||{}),D=(a=>(a.AmountRemaining="amountRemaining",a.AmountRemainingUsd="amountRemainingUsd",a.IncentiveRate="incentiveRate",a))(D||{}),_=(t=>(t.Asc="asc",t.Desc="desc",t))(_||{}),v=(o=>(o.ActiveIncentivesRateUsd="activeIncentivesRateUsd",o.ActiveIncentivesValueUsd="activeIncentivesValueUsd",o.AllTimeBgtReceived="allTimeBGTReceived",o.Apr="apr",o.Apy="apy",o.BgtCapturePercentage="bgtCapturePercentage",o.Last24hBgtReceived="last24hBGTReceived",o.ProjectedApr="projectedApr",o))(v||{}),M=(t=>(t.Asc="asc",t.Desc="desc",t))(M||{}),T=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(T||{}),x=(t=>(t.Day="DAY",t.Hour="HOUR",t))(x||{}),V=(t=>(t.OneDay="ONE_DAY",t.SevenDays="SEVEN_DAYS",t))(V||{}),w=(t=>(t.ExactIn="EXACT_IN",t.ExactOut="EXACT_OUT",t))(w||{}),R=(t=>(t.Deposit="DEPOSIT",t.WithdrawalCompleted="WITHDRAWAL_COMPLETED",t))(R||{}),C=(e=>(e.NinetyDay="NINETY_DAY",e.OneHundredEightyDay="ONE_HUNDRED_EIGHTY_DAY",e.OneYear="ONE_YEAR",e.SevenDay="SEVEN_DAY",e.ThirtyDay="THIRTY_DAY",e))(C||{}),U=(a=>(a.Bpt="BPT",a.PhantomBpt="PHANTOM_BPT",a.WhiteListed="WHITE_LISTED",a))(U||{}),E=(y=>(y.Amount="amount",y))(E||{}),$=(t=>(t.Asc="asc",t.Desc="desc",t))($||{}),F=(l=>(l.Inactive="INACTIVE",l.Offline="OFFLINE",l.Proposed="PROPOSED",l.Signed="SIGNED",l))(F||{}),f=(e=>(e.ActiveBoostAmount="activeBoostAmount",e.LatestBlock="latestBlock",e.LatestBlockTime="latestBlockTime",e.QueuedBoostAmount="queuedBoostAmount",e.QueuedDropBoostAmount="queuedDropBoostAmount",e))(f||{}),N=(t=>(t.Asc="asc",t.Desc="desc",t))(N||{}),W=(n=>(n.ActiveBoostAmount="activeBoostAmount",n.AllTimeDistributedBgtAmount="allTimeDistributedBGTAmount",n.AllTimeEarnedBgtAmount="allTimeEarnedBGTAmount",n.Apy="apy",n.BgtCapturePercentage="bgtCapturePercentage",n.BoostApr="boostApr",n.CommissionOnIncentives="commissionOnIncentives",n.LastDayDistributedBgtAmount="lastDayDistributedBGTAmount",n.LastDayEarnedBgtAmount="lastDayEarnedBGTAmount",n.QueuedBoostAmount="queuedBoostAmount",n.QueuedDropBoostAmount="queuedDropBoostAmount",n.RewardRate="rewardRate",n.StakedBeraAmount="stakedBeraAmount",n.UsersActiveBoostCount="usersActiveBoostCount",n.UsersQueuedBoostCount="usersQueuedBoostCount",n))(W||{}),Q=(t=>(t.Asc="asc",t.Desc="desc",t))(Q||{}),H=(l=>(l.NinetyDays="NINETY_DAYS",l.SevenDays="SEVEN_DAYS",l.SixtyDays="SIXTY_DAYS",l.ThirtyDays="THIRTY_DAYS",l))(H||{}),S=r`
2
2
  fragment ApiValidatorMinimal on GqlValidator {
3
3
  id
4
4
  pubkey
@@ -22,7 +22,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
22
22
  commissionOnIncentives
23
23
  }
24
24
  }
25
- `,H=e`
25
+ `,O=r`
26
26
  fragment ApiVaultIncentive on GqlRewardVaultIncentive {
27
27
  active
28
28
  remainingAmount
@@ -37,7 +37,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
37
37
  decimals
38
38
  }
39
39
  }
40
- `,p=e`
40
+ `,p=r`
41
41
  fragment ApiVault on GqlRewardVault {
42
42
  id: vaultAddress
43
43
  vaultAddress
@@ -74,7 +74,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
74
74
  ...ApiVaultIncentive
75
75
  }
76
76
  }
77
- ${H}`,L=e`
77
+ ${O}`,L=r`
78
78
  fragment ApiRewardAllocationWeight on GqlValidatorRewardAllocationWeight {
79
79
  percentage
80
80
  receivingVault {
@@ -83,7 +83,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
83
83
  receiver
84
84
  startBlock
85
85
  }
86
- ${p}`,c=e`
86
+ ${p}`,c=r`
87
87
  fragment ApiValidator on GqlValidator {
88
88
  ...ApiValidatorMinimal
89
89
  operator
@@ -105,7 +105,7 @@ import{gql as e}from"@apollo/client";var g=(t=>(t.Bepolia="BEPOLIA",t.Berachain=
105
105
  }
106
106
  }
107
107
  ${S}
108
- ${L}`,Y=e`
108
+ ${L}`,Y=r`
109
109
  fragment ApiValidatorBlockUptime on GqlValidatorBlockUptime {
110
110
  isActive
111
111
  isProposer
@@ -113,7 +113,7 @@ ${L}`,Y=e`
113
113
  status
114
114
  blockNumber
115
115
  }
116
- `,J=e`
116
+ `,J=r`
117
117
  query GetVaults($where: GqlRewardVaultFilter, $pageSize: Int, $skip: Int, $orderBy: GqlRewardVaultOrderBy = bgtCapturePercentage, $orderDirection: GqlRewardVaultOrderDirection = desc, $search: String) {
118
118
  polGetRewardVaults(
119
119
  where: $where
@@ -132,7 +132,7 @@ ${L}`,Y=e`
132
132
  }
133
133
  }
134
134
  }
135
- ${p}`,X=e`
135
+ ${p}`,X=r`
136
136
  query GetValidator($id: String!, $chain: GqlChain!) {
137
137
  validator: polGetValidator(validatorId: $id, chain: $chain) {
138
138
  ...ApiValidator
@@ -142,7 +142,7 @@ ${L}`,Y=e`
142
142
  }
143
143
  }
144
144
  ${c}
145
- ${Y}`,j=e`
145
+ ${Y}`,j=r`
146
146
  query GetValidators($where: GqlValidatorFilter, $sortBy: GqlValidatorOrderBy = lastDayDistributedBGTAmount, $sortOrder: GqlValidatorOrderDirection = desc, $pageSize: Int, $skip: Int, $search: String, $chain: GqlChain) {
147
147
  validators: polGetValidators(
148
148
  where: $where
@@ -164,7 +164,7 @@ ${Y}`,j=e`
164
164
  }
165
165
  }
166
166
  }
167
- ${c}`,Z=e`
167
+ ${c}`,Z=r`
168
168
  query GetVaultValidators($vaultId: String!, $chain: GqlChain, $isActive: Boolean = true) {
169
169
  validators: polGetValidators(
170
170
  where: {vaultAddress: $vaultId, isActive: $isActive}
@@ -181,13 +181,13 @@ ${Y}`,j=e`
181
181
  }
182
182
  }
183
183
  }
184
- ${c}`,tt=e`
184
+ ${c}`,tt=r`
185
185
  query GetRewardVault($vaultId: String!, $chain: GqlChain!) {
186
186
  rewardVault: polGetRewardVault(vaultAddress: $vaultId, chain: $chain) {
187
187
  ...ApiVault
188
188
  }
189
189
  }
190
- ${p}`,at=e`
190
+ ${p}`,at=r`
191
191
  query GlobalData($chain: GqlChain!) {
192
192
  top3EmittingValidators: polGetValidators(
193
193
  orderBy: bgtCapturePercentage
@@ -220,7 +220,7 @@ ${Y}`,j=e`
220
220
  }
221
221
  }
222
222
  }
223
- ${S}`,et=e`
223
+ ${S}`,et=r`
224
224
  query GetUserVaults($userId: String!, $chain: GqlChain!) {
225
225
  userVaultDeposits: polGetUserVaultDeposits(userAddress: $userId, chain: $chain) {
226
226
  pagination {
@@ -236,7 +236,7 @@ ${Y}`,j=e`
236
236
  }
237
237
  }
238
238
  }
239
- ${p}`,ot=e`
239
+ ${p}`,ot=r`
240
240
  query GetVaultHistory($vaultId: String!, $chain: GqlChain!, $resolution: GqlRewardVaultSnapshotResolution = DAY, $range: GqlRewardVaultSnapshotDataRange = THIRTY_DAYS) {
241
241
  polGetRewardVaultSnapshots(
242
242
  chain: $chain
@@ -249,14 +249,14 @@ ${Y}`,j=e`
249
249
  apr
250
250
  }
251
251
  }
252
- `,rt=e`
252
+ `,rt=r`
253
253
  query GetSWberaVaultMetadata($chain: GqlChain!, $resolution: GqlSWberaVaultMetadataResolution) {
254
254
  polGetSWberaVaultMetadata(chain: $chain, resolution: $resolution) {
255
255
  apr
256
256
  chain
257
257
  }
258
258
  }
259
- `,nt=e`
259
+ `,nt=r`
260
260
  query GetSWberaVaultSnapshots($chain: GqlChain!, $range: GqlVaultSnapshotDataRange) {
261
261
  polGetSWberaVaultSnapshots(chain: $chain, range: $range) {
262
262
  apr
@@ -267,22 +267,4 @@ ${Y}`,j=e`
267
267
  vaultAddress
268
268
  }
269
269
  }
270
- `,lt=e`
271
- query GetPolStakeBeraVaultEventsByOwner($owner: String!) {
272
- events: polGetStakeBeraVaultEventsByOwner(owner: $owner) {
273
- type
274
- assets
275
- shares
276
- owner
277
- _id
278
- _timestamp
279
- }
280
- }
281
- `,st=e`
282
- query GetStakeBeraVaultEarningsByOwner($owner: String!) {
283
- polGetStakeBeraVaultEarningsByOwner(owner: $owner) {
284
- earnings
285
- owner
286
- }
287
- }
288
- `,z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},it=z;export{L as ApiRewardAllocationWeight,c as ApiValidator,Y as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,H as ApiVaultIncentive,lt as GetPolStakeBeraVaultEventsByOwner,tt as GetRewardVault,rt as GetSWberaVaultMetadata,nt as GetSWberaVaultSnapshots,st as GetStakeBeraVaultEarningsByOwner,et as GetUserVaults,X as GetValidator,j as GetValidators,ot as GetVaultHistory,Z as GetVaultValidators,J as GetVaults,at as GlobalData,g as GqlChain,d as GqlContentNewsItemSource,m as GqlPoolAprItemType,G as GqlPoolEventType,A as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,I as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,B as GqlPoolOrderDirection,k as GqlPoolSnapshotDataRange,h as GqlPoolType,_ as GqlRewardVaultIncentiveOrderBy,D as GqlRewardVaultIncentiveOrderDirection,v as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,T as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,R as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,E as GqlTokenType,U as GqlUserVaultDepositOrderBy,$ as GqlUserVaultDepositOrderDirection,F as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,Q as GqlValidatorOrderBy,W as GqlValidatorOrderDirection,O as GqlVaultSnapshotDataRange,it as default};
270
+ `,z={possibleTypes:{GqlPoolAprValue:["GqlPoolAprRange","GqlPoolAprTotal"],GqlPoolBase:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"],GqlPoolEvent:["GqlPoolAddRemoveEventV3","GqlPoolSwapEventCowAmm","GqlPoolSwapEventV3"],GqlPoolFeaturedPoolGroupItem:["GqlFeaturePoolGroupItemExternalLink","GqlPoolMinimal"],GqlPoolNestedUnion:["GqlPoolComposableStableNested"],GqlPoolTokenBase:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolTokenComposableStableNestedUnion:["GqlPoolToken"],GqlPoolTokenUnion:["GqlPoolToken","GqlPoolTokenComposableStable"],GqlPoolUnion:["GqlPoolComposableStable","GqlPoolElement","GqlPoolFx","GqlPoolGyro","GqlPoolLiquidityBootstrapping","GqlPoolMetaStable","GqlPoolStable","GqlPoolWeighted"]}},lt=z;export{L as ApiRewardAllocationWeight,c as ApiValidator,Y as ApiValidatorBlockUptime,S as ApiValidatorMinimal,p as ApiVault,O as ApiVaultIncentive,tt as GetRewardVault,rt as GetSWberaVaultMetadata,nt as GetSWberaVaultSnapshots,et as GetUserVaults,X as GetValidator,j as GetValidators,ot as GetVaultHistory,Z as GetVaultValidators,J as GetVaults,at as GlobalData,d as GqlChain,g as GqlContentNewsItemSource,m as GqlPoolAprItemType,G as GqlPoolEventType,A as GqlPoolEventsDataRange,b as GqlPoolFilterCategory,I as GqlPoolJoinExitType,q as GqlPoolNestingType,P as GqlPoolOrderBy,B as GqlPoolOrderDirection,h as GqlPoolSnapshotDataRange,k as GqlPoolType,D as GqlRewardVaultIncentiveOrderBy,_ as GqlRewardVaultIncentiveOrderDirection,v as GqlRewardVaultOrderBy,M as GqlRewardVaultOrderDirection,T as GqlRewardVaultSnapshotDataRange,x as GqlRewardVaultSnapshotResolution,V as GqlSWberaVaultMetadataResolution,w as GqlSorSwapType,R as GqlStakeBeraVaultEventType,C as GqlTokenChartDataRange,U as GqlTokenType,E as GqlUserVaultDepositOrderBy,$ as GqlUserVaultDepositOrderDirection,F as GqlValidatorBlockUptimeStatus,f as GqlValidatorBoostOrderBy,N as GqlValidatorBoostOrderDirection,W as GqlValidatorOrderBy,Q as GqlValidatorOrderDirection,H as GqlVaultSnapshotDataRange,lt as default};
@@ -1,4 +1,4 @@
1
- import * as _apollo_client from '@apollo/client';
1
+ import * as graphql from 'graphql';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -4228,7 +4228,7 @@ type GetIncentiveFeeClaimStatsQuery = {
4228
4228
  timestamp: string;
4229
4229
  }>;
4230
4230
  };
4231
- declare const SubgraphStatusMeta: _apollo_client.DocumentNode;
4231
+ declare const SubgraphStatusMeta: graphql.DocumentNode;
4232
4232
  /** Aggregation for the amount of BGT boosted to a Validator (User -> Validator) */
4233
4233
  type BoostByValidator = {
4234
4234
  __typename?: 'BoostByValidator';
@@ -4242,8 +4242,8 @@ type BoostByValidator = {
4242
4242
  timestamp: Scalars['Timestamp']['output'];
4243
4243
  validator: Validator;
4244
4244
  };
4245
- declare const BoostByValidator: _apollo_client.DocumentNode;
4246
- declare const ValidatorMinimal: _apollo_client.DocumentNode;
4245
+ declare const BoostByValidator: graphql.DocumentNode;
4246
+ declare const ValidatorMinimal: graphql.DocumentNode;
4247
4247
  /** Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator) */
4248
4248
  type BlockRewardStatsByValidator = {
4249
4249
  __typename?: 'BlockRewardStatsByValidator';
@@ -4255,10 +4255,10 @@ type BlockRewardStatsByValidator = {
4255
4255
  timestamp: Scalars['Timestamp']['output'];
4256
4256
  validator: Validator;
4257
4257
  };
4258
- declare const BlockRewardStatsByValidator: _apollo_client.DocumentNode;
4259
- declare const VaultMinimal: _apollo_client.DocumentNode;
4260
- declare const StakingToken: _apollo_client.DocumentNode;
4261
- declare const VaultWithStakingToken: _apollo_client.DocumentNode;
4258
+ declare const BlockRewardStatsByValidator: graphql.DocumentNode;
4259
+ declare const VaultMinimal: graphql.DocumentNode;
4260
+ declare const StakingToken: graphql.DocumentNode;
4261
+ declare const VaultWithStakingToken: graphql.DocumentNode;
4262
4262
  /** Global stats for Proof of Liquidity */
4263
4263
  type GlobalInfo = {
4264
4264
  __typename?: 'GlobalInfo';
@@ -4275,17 +4275,17 @@ type GlobalInfo = {
4275
4275
  totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
4276
4276
  totalValidatorsCount: Scalars['BigInt']['output'];
4277
4277
  };
4278
- declare const GlobalInfo: _apollo_client.DocumentNode;
4279
- declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
4280
- declare const GetValidValidator: _apollo_client.DocumentNode;
4281
- declare const GetAllValidators: _apollo_client.DocumentNode;
4282
- declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
4283
- declare const GetGauges: _apollo_client.DocumentNode;
4284
- declare const GetWeeklyBgtInflation: _apollo_client.DocumentNode;
4285
- declare const GetRewardVault: _apollo_client.DocumentNode;
4286
- declare const GetValidatorByAccount: _apollo_client.DocumentNode;
4287
- declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
4288
- declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
4278
+ declare const GlobalInfo: graphql.DocumentNode;
4279
+ declare const GetUserValidatorInformation: graphql.DocumentNode;
4280
+ declare const GetValidValidator: graphql.DocumentNode;
4281
+ declare const GetAllValidators: graphql.DocumentNode;
4282
+ declare const GetValidatorBlockStats: graphql.DocumentNode;
4283
+ declare const GetGauges: graphql.DocumentNode;
4284
+ declare const GetWeeklyBgtInflation: graphql.DocumentNode;
4285
+ declare const GetRewardVault: graphql.DocumentNode;
4286
+ declare const GetValidatorByAccount: graphql.DocumentNode;
4287
+ declare const GetValidatorAnalytics: graphql.DocumentNode;
4288
+ declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
4289
4289
  interface PossibleTypesResultData {
4290
4290
  possibleTypes: {
4291
4291
  [key: string]: string[];
@@ -1,4 +1,4 @@
1
- import * as _apollo_client from '@apollo/client';
1
+ import * as graphql from 'graphql';
2
2
 
3
3
  type Maybe<T> = T | null;
4
4
  type InputMaybe<T> = Maybe<T>;
@@ -4228,7 +4228,7 @@ type GetIncentiveFeeClaimStatsQuery = {
4228
4228
  timestamp: string;
4229
4229
  }>;
4230
4230
  };
4231
- declare const SubgraphStatusMeta: _apollo_client.DocumentNode;
4231
+ declare const SubgraphStatusMeta: graphql.DocumentNode;
4232
4232
  /** Aggregation for the amount of BGT boosted to a Validator (User -> Validator) */
4233
4233
  type BoostByValidator = {
4234
4234
  __typename?: 'BoostByValidator';
@@ -4242,8 +4242,8 @@ type BoostByValidator = {
4242
4242
  timestamp: Scalars['Timestamp']['output'];
4243
4243
  validator: Validator;
4244
4244
  };
4245
- declare const BoostByValidator: _apollo_client.DocumentNode;
4246
- declare const ValidatorMinimal: _apollo_client.DocumentNode;
4245
+ declare const BoostByValidator: graphql.DocumentNode;
4246
+ declare const ValidatorMinimal: graphql.DocumentNode;
4247
4247
  /** Aggregation for the amount of BGT awarded to a Validator for proposing a block by Validator (Distributor -> Validator) */
4248
4248
  type BlockRewardStatsByValidator = {
4249
4249
  __typename?: 'BlockRewardStatsByValidator';
@@ -4255,10 +4255,10 @@ type BlockRewardStatsByValidator = {
4255
4255
  timestamp: Scalars['Timestamp']['output'];
4256
4256
  validator: Validator;
4257
4257
  };
4258
- declare const BlockRewardStatsByValidator: _apollo_client.DocumentNode;
4259
- declare const VaultMinimal: _apollo_client.DocumentNode;
4260
- declare const StakingToken: _apollo_client.DocumentNode;
4261
- declare const VaultWithStakingToken: _apollo_client.DocumentNode;
4258
+ declare const BlockRewardStatsByValidator: graphql.DocumentNode;
4259
+ declare const VaultMinimal: graphql.DocumentNode;
4260
+ declare const StakingToken: graphql.DocumentNode;
4261
+ declare const VaultWithStakingToken: graphql.DocumentNode;
4262
4262
  /** Global stats for Proof of Liquidity */
4263
4263
  type GlobalInfo = {
4264
4264
  __typename?: 'GlobalInfo';
@@ -4275,17 +4275,17 @@ type GlobalInfo = {
4275
4275
  totalQueuedDropBoostAmount: Scalars['BigDecimal']['output'];
4276
4276
  totalValidatorsCount: Scalars['BigInt']['output'];
4277
4277
  };
4278
- declare const GlobalInfo: _apollo_client.DocumentNode;
4279
- declare const GetUserValidatorInformation: _apollo_client.DocumentNode;
4280
- declare const GetValidValidator: _apollo_client.DocumentNode;
4281
- declare const GetAllValidators: _apollo_client.DocumentNode;
4282
- declare const GetValidatorBlockStats: _apollo_client.DocumentNode;
4283
- declare const GetGauges: _apollo_client.DocumentNode;
4284
- declare const GetWeeklyBgtInflation: _apollo_client.DocumentNode;
4285
- declare const GetRewardVault: _apollo_client.DocumentNode;
4286
- declare const GetValidatorByAccount: _apollo_client.DocumentNode;
4287
- declare const GetValidatorAnalytics: _apollo_client.DocumentNode;
4288
- declare const GetIncentiveFeeClaimStats: _apollo_client.DocumentNode;
4278
+ declare const GlobalInfo: graphql.DocumentNode;
4279
+ declare const GetUserValidatorInformation: graphql.DocumentNode;
4280
+ declare const GetValidValidator: graphql.DocumentNode;
4281
+ declare const GetAllValidators: graphql.DocumentNode;
4282
+ declare const GetValidatorBlockStats: graphql.DocumentNode;
4283
+ declare const GetGauges: graphql.DocumentNode;
4284
+ declare const GetWeeklyBgtInflation: graphql.DocumentNode;
4285
+ declare const GetRewardVault: graphql.DocumentNode;
4286
+ declare const GetValidatorByAccount: graphql.DocumentNode;
4287
+ declare const GetValidatorAnalytics: graphql.DocumentNode;
4288
+ declare const GetIncentiveFeeClaimStats: graphql.DocumentNode;
4289
4289
  interface PossibleTypesResultData {
4290
4290
  possibleTypes: {
4291
4291
  [key: string]: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/graphql",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -9,16 +9,14 @@
9
9
  "license": "MIT",
10
10
  "sideEffects": false,
11
11
  "dependencies": {
12
- "@apollo/client": "4.0.7"
12
+ "@apollo/client": "4.1.6"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "@apollo/client": "^4.0",
16
16
  "graphql": "^16.8"
17
17
  },
18
18
  "devDependencies": {
19
- "@apollo/client": "4.0.7",
20
- "@berachain/config": "",
21
- "@biomejs/biome": "2.2.4",
19
+ "@biomejs/biome": "2.4.5",
22
20
  "@graphql-codegen/cli": "5.0.7",
23
21
  "@graphql-codegen/client-preset": "4.7.0",
24
22
  "@graphql-codegen/fragment-matcher": "5.1.0",
@@ -27,11 +25,11 @@
27
25
  "@graphql-codegen/typescript-document-nodes": "5.0.0",
28
26
  "@graphql-codegen/typescript-operations": "5.0.0",
29
27
  "@graphql-codegen/typescript-react-apollo": "4.3.3",
30
- "@parcel/watcher": "2.5.1",
31
- "@types/node": "22.12.0",
28
+ "@types/node": "24.1.0",
32
29
  "dotenv": "16.6.1",
33
30
  "graphql": "16.12.0",
34
- "tsup": "8.4.0"
31
+ "tsup": "8.4.0",
32
+ "@berachain/config": "^0.1.0"
35
33
  },
36
34
  "exports": {
37
35
  "./governance": {