Set GQL query param to optional string for avoiding validation error #12

Merged
nabarun merged 2 commits from ng-gql-validation into main 2024-05-17 13:24:20 +00:00
Showing only changes of commit b765739c89 - Show all commits

View File

@ -9933,139 +9933,139 @@ type SyncStatus {
type Query {
events(blockHash: String!, contractAddress: String!, name: String): [ResultEvent!]
eventsInRange(fromBlockNumber: Int!, toBlockNumber: Int!): [ResultEvent!]
token(id: ID!, block: Block_height): Token
token(id: String, block: Block_height): Token
tokens(block: Block_height, where: Token_filter, orderBy: Token_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Token!]!
poolFactory(id: ID!, block: Block_height): PoolFactory
poolFactory(id: String, block: Block_height): PoolFactory
poolFactories(block: Block_height, where: PoolFactory_filter, orderBy: PoolFactory_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PoolFactory!]!
pool(id: ID!, block: Block_height): Pool
pool(id: String, block: Block_height): Pool
pools(block: Block_height, where: Pool_filter, orderBy: Pool_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Pool!]!
bucket(id: ID!, block: Block_height): Bucket
bucket(id: String, block: Block_height): Bucket
buckets(block: Block_height, where: Bucket_filter, orderBy: Bucket_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Bucket!]!
lend(id: ID!, block: Block_height): Lend
lend(id: String, block: Block_height): Lend
lends(block: Block_height, where: Lend_filter, orderBy: Lend_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Lend!]!
loan(id: ID!, block: Block_height): Loan
loan(id: String, block: Block_height): Loan
loans(block: Block_height, where: Loan_filter, orderBy: Loan_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Loan!]!
account(id: ID!, block: Block_height): Account
account(id: String, block: Block_height): Account
accounts(block: Block_height, where: Account_filter, orderBy: Account_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Account!]!
liquidationAuction(id: ID!, block: Block_height): LiquidationAuction
liquidationAuction(id: String, block: Block_height): LiquidationAuction
liquidationAuctions(block: Block_height, where: LiquidationAuction_filter, orderBy: LiquidationAuction_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LiquidationAuction!]!
reserveAuction(id: ID!, block: Block_height): ReserveAuction
reserveAuction(id: String, block: Block_height): ReserveAuction
reserveAuctions(block: Block_height, where: ReserveAuction_filter, orderBy: ReserveAuction_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ReserveAuction!]!
lptransferorList(id: ID!, block: Block_height): LPTransferorList
lptransferorList(id: String, block: Block_height): LPTransferorList
lptransferorLists(block: Block_height, where: LPTransferorList_filter, orderBy: LPTransferorList_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LPTransferorList!]!
lpallowance(id: ID!, block: Block_height): LPAllowance
lpallowance(id: String, block: Block_height): LPAllowance
lpallowances(block: Block_height, where: LPAllowance_filter, orderBy: LPAllowance_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LPAllowance!]!
lpallowanceList(id: ID!, block: Block_height): LPAllowanceList
lpallowanceList(id: String, block: Block_height): LPAllowanceList
lpallowanceLists(block: Block_height, where: LPAllowanceList_filter, orderBy: LPAllowanceList_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LPAllowanceList!]!
addCollateral(id: ID!, block: Block_height): AddCollateral
addCollateral(id: String, block: Block_height): AddCollateral
addCollaterals(block: Block_height, where: AddCollateral_filter, orderBy: AddCollateral_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AddCollateral!]!
addQuoteToken(id: ID!, block: Block_height): AddQuoteToken
addQuoteToken(id: String, block: Block_height): AddQuoteToken
addQuoteTokens(block: Block_height, where: AddQuoteToken_filter, orderBy: AddQuoteToken_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AddQuoteToken!]!
auctionSettle(id: ID!, block: Block_height): AuctionSettle
auctionSettle(id: String, block: Block_height): AuctionSettle
auctionSettles(block: Block_height, where: AuctionSettle_filter, orderBy: AuctionSettle_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AuctionSettle!]!
bondWithdrawn(id: ID!, block: Block_height): BondWithdrawn
bondWithdrawn(id: String, block: Block_height): BondWithdrawn
bondWithdrawns(block: Block_height, where: BondWithdrawn_filter, orderBy: BondWithdrawn_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BondWithdrawn!]!
bucketBankruptcy(id: ID!, block: Block_height): BucketBankruptcy
bucketBankruptcy(id: String, block: Block_height): BucketBankruptcy
bucketBankruptcies(block: Block_height, where: BucketBankruptcy_filter, orderBy: BucketBankruptcy_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BucketBankruptcy!]!
bucketTake(id: ID!, block: Block_height): BucketTake
bucketTake(id: String, block: Block_height): BucketTake
bucketTakes(block: Block_height, where: BucketTake_filter, orderBy: BucketTake_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BucketTake!]!
bucketTakeLPAwarded(id: ID!, block: Block_height): BucketTakeLPAwarded
bucketTakeLPAwarded(id: String, block: Block_height): BucketTakeLPAwarded
bucketTakeLPAwardeds(block: Block_height, where: BucketTakeLPAwarded_filter, orderBy: BucketTakeLPAwarded_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BucketTakeLPAwarded!]!
drawDebt(id: ID!, block: Block_height): DrawDebt
drawDebt(id: String, block: Block_height): DrawDebt
drawDebts(block: Block_height, where: DrawDebt_filter, orderBy: DrawDebt_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DrawDebt!]!
flashloan(id: ID!, block: Block_height): Flashloan
flashloan(id: String, block: Block_height): Flashloan
flashloans(block: Block_height, where: Flashloan_filter, orderBy: Flashloan_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Flashloan!]!
kick(id: ID!, block: Block_height): Kick
kick(id: String, block: Block_height): Kick
kicks(block: Block_height, where: Kick_filter, orderBy: Kick_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Kick!]!
loanStamped(id: ID!, block: Block_height): LoanStamped
loanStamped(id: String, block: Block_height): LoanStamped
loanStampeds(block: Block_height, where: LoanStamped_filter, orderBy: LoanStamped_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LoanStamped!]!
moveQuoteToken(id: ID!, block: Block_height): MoveQuoteToken
moveQuoteToken(id: String, block: Block_height): MoveQuoteToken
moveQuoteTokens(block: Block_height, where: MoveQuoteToken_filter, orderBy: MoveQuoteToken_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [MoveQuoteToken!]!
removeCollateral(id: ID!, block: Block_height): RemoveCollateral
removeCollateral(id: String, block: Block_height): RemoveCollateral
removeCollaterals(block: Block_height, where: RemoveCollateral_filter, orderBy: RemoveCollateral_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [RemoveCollateral!]!
removeQuoteToken(id: ID!, block: Block_height): RemoveQuoteToken
removeQuoteToken(id: String, block: Block_height): RemoveQuoteToken
removeQuoteTokens(block: Block_height, where: RemoveQuoteToken_filter, orderBy: RemoveQuoteToken_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [RemoveQuoteToken!]!
repayDebt(id: ID!, block: Block_height): RepayDebt
repayDebt(id: String, block: Block_height): RepayDebt
repayDebts(block: Block_height, where: RepayDebt_filter, orderBy: RepayDebt_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [RepayDebt!]!
reserveAuctionKick(id: ID!, block: Block_height): ReserveAuctionKick
reserveAuctionKick(id: String, block: Block_height): ReserveAuctionKick
reserveAuctionKicks(block: Block_height, where: ReserveAuctionKick_filter, orderBy: ReserveAuctionKick_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ReserveAuctionKick!]!
reserveAuctionTake(id: ID!, block: Block_height): ReserveAuctionTake
reserveAuctionTake(id: String, block: Block_height): ReserveAuctionTake
reserveAuctionTakes(block: Block_height, where: ReserveAuctionTake_filter, orderBy: ReserveAuctionTake_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ReserveAuctionTake!]!
resetInterestRate(id: ID!, block: Block_height): ResetInterestRate
resetInterestRate(id: String, block: Block_height): ResetInterestRate
resetInterestRates(block: Block_height, where: ResetInterestRate_filter, orderBy: ResetInterestRate_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ResetInterestRate!]!
settle(id: ID!, block: Block_height): Settle
settle(id: String, block: Block_height): Settle
settles(block: Block_height, where: Settle_filter, orderBy: Settle_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Settle!]!
take(id: ID!, block: Block_height): Take
take(id: String, block: Block_height): Take
takes(block: Block_height, where: Take_filter, orderBy: Take_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Take!]!
transferLP(id: ID!, block: Block_height): TransferLP
transferLP(id: String, block: Block_height): TransferLP
transferLPS(block: Block_height, where: TransferLP_filter, orderBy: TransferLP_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [TransferLP!]!
updateInterestRate(id: ID!, block: Block_height): UpdateInterestRate
updateInterestRate(id: String, block: Block_height): UpdateInterestRate
updateInterestRates(block: Block_height, where: UpdateInterestRate_filter, orderBy: UpdateInterestRate_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [UpdateInterestRate!]!
approval(id: ID!, block: Block_height): Approval
approval(id: String, block: Block_height): Approval
approvals(block: Block_height, where: Approval_filter, orderBy: Approval_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Approval!]!
approvalForAll(id: ID!, block: Block_height): ApprovalForAll
approvalForAll(id: String, block: Block_height): ApprovalForAll
approvalForAlls(block: Block_height, where: ApprovalForAll_filter, orderBy: ApprovalForAll_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ApprovalForAll!]!
moveLiquidity(id: ID!, block: Block_height): MoveLiquidity
moveLiquidity(id: String, block: Block_height): MoveLiquidity
moveLiquidities(block: Block_height, where: MoveLiquidity_filter, orderBy: MoveLiquidity_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [MoveLiquidity!]!
transfer(id: ID!, block: Block_height): Transfer
transfer(id: String, block: Block_height): Transfer
transfers(block: Block_height, where: Transfer_filter, orderBy: Transfer_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Transfer!]!
poolCreated(id: ID!, block: Block_height): PoolCreated
poolCreated(id: String, block: Block_height): PoolCreated
poolCreateds(block: Block_height, where: PoolCreated_filter, orderBy: PoolCreated_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PoolCreated!]!
addCollateralNFT(id: ID!, block: Block_height): AddCollateralNFT
addCollateralNFT(id: String, block: Block_height): AddCollateralNFT
addCollateralNFTS(block: Block_height, where: AddCollateralNFT_filter, orderBy: AddCollateralNFT_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AddCollateralNFT!]!
auctionNFTSettle(id: ID!, block: Block_height): AuctionNFTSettle
auctionNFTSettle(id: String, block: Block_height): AuctionNFTSettle
auctionNFTSettles(block: Block_height, where: AuctionNFTSettle_filter, orderBy: AuctionNFTSettle_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AuctionNFTSettle!]!
drawDebtNFT(id: ID!, block: Block_height): DrawDebtNFT
drawDebtNFT(id: String, block: Block_height): DrawDebtNFT
drawDebtNFTS(block: Block_height, where: DrawDebtNFT_filter, orderBy: DrawDebtNFT_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DrawDebtNFT!]!
mergeOrRemoveCollateralNFT(id: ID!, block: Block_height): MergeOrRemoveCollateralNFT
mergeOrRemoveCollateralNFT(id: String, block: Block_height): MergeOrRemoveCollateralNFT
mergeOrRemoveCollateralNFTS(block: Block_height, where: MergeOrRemoveCollateralNFT_filter, orderBy: MergeOrRemoveCollateralNFT_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [MergeOrRemoveCollateralNFT!]!
position(id: ID!, block: Block_height): Position
position(id: String, block: Block_height): Position
positions(block: Block_height, where: Position_filter, orderBy: Position_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Position!]!
positionLend(id: ID!, block: Block_height): PositionLend
positionLend(id: String, block: Block_height): PositionLend
positionLends(block: Block_height, where: PositionLend_filter, orderBy: PositionLend_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PositionLend!]!
burn(id: ID!, block: Block_height): Burn
burn(id: String, block: Block_height): Burn
burns(block: Block_height, where: Burn_filter, orderBy: Burn_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Burn!]!
memorializePosition(id: ID!, block: Block_height): MemorializePosition
memorializePosition(id: String, block: Block_height): MemorializePosition
memorializePositions(block: Block_height, where: MemorializePosition_filter, orderBy: MemorializePosition_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [MemorializePosition!]!
mint(id: ID!, block: Block_height): Mint
mint(id: String, block: Block_height): Mint
mints(block: Block_height, where: Mint_filter, orderBy: Mint_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Mint!]!
redeemPosition(id: ID!, block: Block_height): RedeemPosition
redeemPosition(id: String, block: Block_height): RedeemPosition
redeemPositions(block: Block_height, where: RedeemPosition_filter, orderBy: RedeemPosition_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [RedeemPosition!]!
grantFund(id: ID!, block: Block_height): GrantFund
grantFund(id: String, block: Block_height): GrantFund
grantFunds(block: Block_height, where: GrantFund_filter, orderBy: GrantFund_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [GrantFund!]!
distributionPeriod(id: ID!, block: Block_height): DistributionPeriod
distributionPeriod(id: String, block: Block_height): DistributionPeriod
distributionPeriods(block: Block_height, where: DistributionPeriod_filter, orderBy: DistributionPeriod_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DistributionPeriod!]!
proposal(id: ID!, block: Block_height): Proposal
proposal(id: String, block: Block_height): Proposal
proposals(block: Block_height, where: Proposal_filter, orderBy: Proposal_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Proposal!]!
proposalParams(id: ID!, block: Block_height): ProposalParams
proposalParams(id: String, block: Block_height): ProposalParams
proposalParamss(block: Block_height, where: ProposalParams_filter, orderBy: ProposalParams_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ProposalParams!]!
distributionPeriodVote(id: ID!, block: Block_height): DistributionPeriodVote
distributionPeriodVote(id: String, block: Block_height): DistributionPeriodVote
distributionPeriodVotes(block: Block_height, where: DistributionPeriodVote_filter, orderBy: DistributionPeriodVote_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DistributionPeriodVote!]!
screeningVote(id: ID!, block: Block_height): ScreeningVote
screeningVote(id: String, block: Block_height): ScreeningVote
screeningVotes(block: Block_height, where: ScreeningVote_filter, orderBy: ScreeningVote_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ScreeningVote!]!
fundingVote(id: ID!, block: Block_height): FundingVote
fundingVote(id: String, block: Block_height): FundingVote
fundingVotes(block: Block_height, where: FundingVote_filter, orderBy: FundingVote_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [FundingVote!]!
fundedSlate(id: ID!, block: Block_height): FundedSlate
fundedSlate(id: String, block: Block_height): FundedSlate
fundedSlates(block: Block_height, where: FundedSlate_filter, orderBy: FundedSlate_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [FundedSlate!]!
delegateRewardClaimed(id: ID!, block: Block_height): DelegateRewardClaimed
delegateRewardClaimed(id: String, block: Block_height): DelegateRewardClaimed
delegateRewardClaimeds(block: Block_height, where: DelegateRewardClaimed_filter, orderBy: DelegateRewardClaimed_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DelegateRewardClaimed!]!
fundTreasury(id: ID!, block: Block_height): FundTreasury
fundTreasury(id: String, block: Block_height): FundTreasury
fundTreasuries(block: Block_height, where: FundTreasury_filter, orderBy: FundTreasury_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [FundTreasury!]!
fundedSlateUpdated(id: ID!, block: Block_height): FundedSlateUpdated
fundedSlateUpdated(id: String, block: Block_height): FundedSlateUpdated
fundedSlateUpdateds(block: Block_height, where: FundedSlateUpdated_filter, orderBy: FundedSlateUpdated_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [FundedSlateUpdated!]!
proposalCreated(id: ID!, block: Block_height): ProposalCreated
proposalCreated(id: String, block: Block_height): ProposalCreated
proposalCreateds(block: Block_height, where: ProposalCreated_filter, orderBy: ProposalCreated_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ProposalCreated!]!
proposalExecuted(id: ID!, block: Block_height): ProposalExecuted
proposalExecuted(id: String, block: Block_height): ProposalExecuted
proposalExecuteds(block: Block_height, where: ProposalExecuted_filter, orderBy: ProposalExecuted_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ProposalExecuted!]!
distributionPeriodStarted(id: ID!, block: Block_height): DistributionPeriodStarted
distributionPeriodStarted(id: String, block: Block_height): DistributionPeriodStarted
distributionPeriodStarteds(block: Block_height, where: DistributionPeriodStarted_filter, orderBy: DistributionPeriodStarted_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DistributionPeriodStarted!]!
voteCast(id: ID!, block: Block_height): VoteCast
voteCast(id: String, block: Block_height): VoteCast
voteCasts(block: Block_height, where: VoteCast_filter, orderBy: VoteCast_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [VoteCast!]!
delegateChanged(id: ID!, block: Block_height): DelegateChanged
delegateChanged(id: String, block: Block_height): DelegateChanged
delegateChangeds(block: Block_height, where: DelegateChanged_filter, orderBy: DelegateChanged_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DelegateChanged!]!
delegateVotesChanged(id: ID!, block: Block_height): DelegateVotesChanged
delegateVotesChanged(id: String, block: Block_height): DelegateVotesChanged
delegateVotesChangeds(block: Block_height, where: DelegateVotesChanged_filter, orderBy: DelegateVotesChanged_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DelegateVotesChanged!]!
burnWrap(id: ID!, block: Block_height): BurnWrap
burnWrap(id: String, block: Block_height): BurnWrap
burnWraps(block: Block_height, where: BurnWrap_filter, orderBy: BurnWrap_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BurnWrap!]!
_meta(block: Block_height): _Meta_
getStateByCID(cid: String!): ResultState