Skip to content

Commit

Permalink
chore (prettier): format whole repo
Browse files Browse the repository at this point in the history
  • Loading branch information
vblackwhale committed Dec 16, 2024
1 parent da4e21c commit e061ed2
Show file tree
Hide file tree
Showing 411 changed files with 101,407 additions and 51,818 deletions.
2,478 changes: 1,550 additions & 928 deletions .graphclient/index.ts

Large diffs are not rendered by default.

116 changes: 89 additions & 27 deletions .graphclient/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ type Query {
"""
subgraphError: _SubgraphErrorPolicy_! = deny
): [PreMiningLock!]!
"""Access to subgraph metadata"""
"""
Access to subgraph metadata
"""
c195__meta(block: Block_height): _Meta_
c59144_ltoken(
id: ID!
Expand Down Expand Up @@ -327,7 +329,9 @@ type Query {
"""
subgraphError: _SubgraphErrorPolicy_! = deny
): [PreMiningLock!]!
"""Access to subgraph metadata"""
"""
Access to subgraph metadata
"""
c59144__meta(block: Block_height): _Meta_
c42161_ltoken(
id: ID!
Expand Down Expand Up @@ -485,7 +489,9 @@ type Query {
"""
subgraphError: _SubgraphErrorPolicy_! = deny
): [PreMiningLock!]!
"""Access to subgraph metadata"""
"""
Access to subgraph metadata
"""
c42161__meta(block: Block_height): _Meta_
}

Expand Down Expand Up @@ -646,7 +652,9 @@ type Subscription {
"""
subgraphError: _SubgraphErrorPolicy_! = deny
): [PreMiningLock!]!
"""Access to subgraph metadata"""
"""
Access to subgraph metadata
"""
c195__meta(block: Block_height): _Meta_
c59144_ltoken(
id: ID!
Expand Down Expand Up @@ -804,7 +812,9 @@ type Subscription {
"""
subgraphError: _SubgraphErrorPolicy_! = deny
): [PreMiningLock!]!
"""Access to subgraph metadata"""
"""
Access to subgraph metadata
"""
c59144__meta(block: Block_height): _Meta_
c42161_ltoken(
id: ID!
Expand Down Expand Up @@ -962,7 +972,9 @@ type Subscription {
"""
subgraphError: _SubgraphErrorPolicy_! = deny
): [PreMiningLock!]!
"""Access to subgraph metadata"""
"""
Access to subgraph metadata
"""
c42161__meta(block: Block_height): _Meta_
}

Expand Down Expand Up @@ -1019,7 +1031,9 @@ input APRChange_filter {
apr_lte: BigDecimal
apr_in: [BigDecimal!]
apr_not_in: [BigDecimal!]
"""Filter for the block changed event."""
"""
Filter for the block changed event.
"""
_change_block: BlockChangedFilter
and: [APRChange_filter]
or: [APRChange_filter]
Expand Down Expand Up @@ -1136,7 +1150,9 @@ input Activity_filter {
status_not: ActivityStatus
status_in: [ActivityStatus!]
status_not_in: [ActivityStatus!]
"""Filter for the block changed event."""
"""
Filter for the block changed event.
"""
_change_block: BlockChangedFilter
account_gt: Bytes
account_lt: Bytes
Expand Down Expand Up @@ -1183,10 +1199,34 @@ type LToken {
symbol: String!
decimals: Int!
totalMintedRewards: BigDecimal!
tvlUpdates(skip: Int = 0, first: Int = 100, orderBy: TVLChange_orderBy, orderDirection: OrderDirection, where: TVLChange_filter): [TVLChange!]
aprUpdates(skip: Int = 0, first: Int = 100, orderBy: APRChange_orderBy, orderDirection: OrderDirection, where: APRChange_filter): [APRChange!]
activities(skip: Int = 0, first: Int = 100, orderBy: Activity_orderBy, orderDirection: OrderDirection, where: Activity_filter): [Activity!]
rewardsMints(skip: Int = 0, first: Int = 100, orderBy: RewardsMint_orderBy, orderDirection: OrderDirection, where: RewardsMint_filter): [RewardsMint!]
tvlUpdates(
skip: Int = 0
first: Int = 100
orderBy: TVLChange_orderBy
orderDirection: OrderDirection
where: TVLChange_filter
): [TVLChange!]
aprUpdates(
skip: Int = 0
first: Int = 100
orderBy: APRChange_orderBy
orderDirection: OrderDirection
where: APRChange_filter
): [APRChange!]
activities(
skip: Int = 0
first: Int = 100
orderBy: Activity_orderBy
orderDirection: OrderDirection
where: Activity_filter
): [Activity!]
rewardsMints(
skip: Int = 0
first: Int = 100
orderBy: RewardsMint_orderBy
orderDirection: OrderDirection
where: RewardsMint_filter
): [RewardsMint!]
}

input LToken_filter {
Expand Down Expand Up @@ -1238,7 +1278,9 @@ input LToken_filter {
aprUpdates_: APRChange_filter
activities_: Activity_filter
rewardsMints_: RewardsMint_filter
"""Filter for the block changed event."""
"""
Filter for the block changed event.
"""
_change_block: BlockChangedFilter
and: [LToken_filter]
or: [LToken_filter]
Expand All @@ -1255,7 +1297,9 @@ enum LToken_orderBy {
rewardsMints
}

"""Defines the order direction, either ascending or descending"""
"""
Defines the order direction, either ascending or descending
"""
enum OrderDirection {
asc
desc
Expand Down Expand Up @@ -1292,7 +1336,9 @@ input PreMiningLock_filter {
duration_lte: Int
duration_in: [Int!]
duration_not_in: [Int!]
"""Filter for the block changed event."""
"""
Filter for the block changed event.
"""
_change_block: BlockChangedFilter
and: [PreMiningLock_filter]
or: [PreMiningLock_filter]
Expand Down Expand Up @@ -1382,7 +1428,9 @@ input RewardsMint_filter {
growth_lte: BigDecimal
growth_in: [BigDecimal!]
growth_not_in: [BigDecimal!]
"""Filter for the block changed event."""
"""
Filter for the block changed event.
"""
_change_block: BlockChangedFilter
account_gt: Bytes
account_lt: Bytes
Expand Down Expand Up @@ -1459,7 +1507,9 @@ input TVLChange_filter {
amount_lte: BigDecimal
amount_in: [BigDecimal!]
amount_not_in: [BigDecimal!]
"""Filter for the block changed event."""
"""
Filter for the block changed event.
"""
_change_block: BlockChangedFilter
and: [TVLChange_filter]
or: [TVLChange_filter]
Expand All @@ -1477,32 +1527,45 @@ enum TVLChange_orderBy {
}

type _Block_ {
"""The hash of the block"""
"""
The hash of the block
"""
hash: Bytes
"""The block number"""
"""
The block number
"""
number: Int!
"""Integer representation of the timestamp stored in blocks for the chain"""
"""
Integer representation of the timestamp stored in blocks for the chain
"""
timestamp: Int
}

"""The type for the top-level _meta field"""
"""
The type for the top-level _meta field
"""
type _Meta_ {
"""
Information about a specific subgraph block. The hash of the block
will be null if the _meta field has a block constraint that asks for
a block number. It will be filled if the _meta field has no block constraint
and therefore asks for the latest block
"""
block: _Block_!
"""The deployment ID"""
"""
The deployment ID
"""
deployment: String!
"""If `true`, the subgraph encountered indexing errors at some past block"""
"""
If `true`, the subgraph encountered indexing errors at some past block
"""
hasIndexingErrors: Boolean!
}

enum _SubgraphErrorPolicy_ {
"""Data will be returned even if the subgraph has indexing errors"""
"""
Data will be returned even if the subgraph has indexing errors
"""
allow
"""
If the subgraph has indexing errors, data will be omitted. The default.
Expand All @@ -1512,6 +1575,5 @@ enum _SubgraphErrorPolicy_ {

"""
8 bytes signed integer
"""
scalar Int8
scalar Int8
Loading

0 comments on commit e061ed2

Please sign in to comment.