From 7abd641b9091ee155a3eb180cdaa5d87fca35818 Mon Sep 17 00:00:00 2001 From: jaybuidl Date: Wed, 14 Jun 2023 21:48:11 +0100 Subject: [PATCH] chore: graphql regenerated --- web/src/graphql/generated.ts | 230 +++++++++++++++++++++++++++++------ 1 file changed, 195 insertions(+), 35 deletions(-) diff --git a/web/src/graphql/generated.ts b/web/src/graphql/generated.ts index 9bb847625..21eadbfde 100644 --- a/web/src/graphql/generated.ts +++ b/web/src/graphql/generated.ts @@ -1,14 +1,8 @@ export type Maybe = T | null; export type InputMaybe = Maybe; -export type Exact = { - [K in keyof T]: T[K]; -}; -export type MakeOptional = Omit & { - [SubKey in K]?: Maybe; -}; -export type MakeMaybe = Omit & { - [SubKey in K]: Maybe; -}; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; @@ -19,6 +13,7 @@ export type Scalars = { BigDecimal: any; BigInt: any; Bytes: any; + Int8: any; }; export type Arbitrable = { @@ -39,6 +34,7 @@ export type ArbitrableDisputesArgs = { export type Arbitrable_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; disputes_?: InputMaybe; id?: InputMaybe; id_gt?: InputMaybe; @@ -48,6 +44,7 @@ export type Arbitrable_Filter = { id_lte?: InputMaybe; id_not?: InputMaybe; id_not_in?: InputMaybe>; + or?: InputMaybe>>; totalDisputes?: InputMaybe; totalDisputes_gt?: InputMaybe; totalDisputes_gte?: InputMaybe; @@ -96,6 +93,7 @@ export type ClassicContribution_Filter = { amount_lte?: InputMaybe; amount_not?: InputMaybe; amount_not_in?: InputMaybe>; + and?: InputMaybe>>; choice?: InputMaybe; choice_gt?: InputMaybe; choice_gte?: InputMaybe; @@ -175,6 +173,7 @@ export type ClassicContribution_Filter = { localRound_not_starts_with_nocase?: InputMaybe; localRound_starts_with?: InputMaybe; localRound_starts_with_nocase?: InputMaybe; + or?: InputMaybe>>; rewardWithdrawn?: InputMaybe; rewardWithdrawn_in?: InputMaybe>; rewardWithdrawn_not?: InputMaybe; @@ -185,9 +184,22 @@ export enum ClassicContribution_OrderBy { Amount = "amount", Choice = "choice", Contributor = "contributor", + ContributorId = "contributor__id", + ContributorTotalStake = "contributor__totalStake", CoreDispute = "coreDispute", + CoreDisputeCurrentRoundIndex = "coreDispute__currentRoundIndex", + CoreDisputeId = "coreDispute__id", + CoreDisputeLastPeriodChange = "coreDispute__lastPeriodChange", + CoreDisputePeriod = "coreDispute__period", + CoreDisputeRuled = "coreDispute__ruled", Id = "id", LocalRound = "localRound", + LocalRoundFeeRewards = "localRound__feeRewards", + LocalRoundId = "localRound__id", + LocalRoundTied = "localRound__tied", + LocalRoundTotalCommited = "localRound__totalCommited", + LocalRoundTotalVoted = "localRound__totalVoted", + LocalRoundWinningChoice = "localRound__winningChoice", RewardWithdrawn = "rewardWithdrawn", } @@ -213,6 +225,7 @@ export type ClassicDisputeLocalRoundsArgs = { export type ClassicDispute_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; coreDispute?: InputMaybe; coreDispute_?: InputMaybe; coreDispute_contains?: InputMaybe; @@ -273,10 +286,16 @@ export type ClassicDispute_Filter = { numberOfChoices_lte?: InputMaybe; numberOfChoices_not?: InputMaybe; numberOfChoices_not_in?: InputMaybe>; + or?: InputMaybe>>; }; export enum ClassicDispute_OrderBy { CoreDispute = "coreDispute", + CoreDisputeCurrentRoundIndex = "coreDispute__currentRoundIndex", + CoreDisputeId = "coreDispute__id", + CoreDisputeLastPeriodChange = "coreDispute__lastPeriodChange", + CoreDisputePeriod = "coreDispute__period", + CoreDisputeRuled = "coreDispute__ruled", CurrentLocalRoundIndex = "currentLocalRoundIndex", ExtraData = "extraData", Id = "id", @@ -311,6 +330,7 @@ export type ClassicEvidenceGroupEvidencesArgs = { export type ClassicEvidenceGroup_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; evidences_?: InputMaybe; id?: InputMaybe; id_gt?: InputMaybe; @@ -328,6 +348,7 @@ export type ClassicEvidenceGroup_Filter = { nextEvidenceIndex_lte?: InputMaybe; nextEvidenceIndex_not?: InputMaybe; nextEvidenceIndex_not_in?: InputMaybe>; + or?: InputMaybe>>; }; export enum ClassicEvidenceGroup_OrderBy { @@ -339,6 +360,7 @@ export enum ClassicEvidenceGroup_OrderBy { export type ClassicEvidence_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; evidence?: InputMaybe; evidenceGroup?: InputMaybe; evidenceGroup_?: InputMaybe; @@ -388,6 +410,7 @@ export type ClassicEvidence_Filter = { id_lte?: InputMaybe; id_not?: InputMaybe; id_not_in?: InputMaybe>; + or?: InputMaybe>>; sender?: InputMaybe; sender_?: InputMaybe; sender_contains?: InputMaybe; @@ -414,8 +437,12 @@ export type ClassicEvidence_Filter = { export enum ClassicEvidence_OrderBy { Evidence = "evidence", EvidenceGroup = "evidenceGroup", + EvidenceGroupId = "evidenceGroup__id", + EvidenceGroupNextEvidenceIndex = "evidenceGroup__nextEvidenceIndex", Id = "id", Sender = "sender", + SenderId = "sender__id", + SenderTotalStake = "sender__totalStake", } export type ClassicRound = DisputeKitRound & { @@ -453,6 +480,7 @@ export type ClassicRoundVotesArgs = { export type ClassicRound_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; contributions_?: InputMaybe; counts?: InputMaybe>; counts_contains?: InputMaybe>; @@ -503,6 +531,7 @@ export type ClassicRound_Filter = { localDispute_not_starts_with_nocase?: InputMaybe; localDispute_starts_with?: InputMaybe; localDispute_starts_with_nocase?: InputMaybe; + or?: InputMaybe>>; paidFees?: InputMaybe>; paidFees_contains?: InputMaybe>; paidFees_contains_nocase?: InputMaybe>; @@ -547,6 +576,8 @@ export enum ClassicRound_OrderBy { FundedChoices = "fundedChoices", Id = "id", LocalDispute = "localDispute", + LocalDisputeCurrentLocalRoundIndex = "localDispute__currentLocalRoundIndex", + LocalDisputeId = "localDispute__id", PaidFees = "paidFees", Tied = "tied", TotalCommited = "totalCommited", @@ -568,6 +599,7 @@ export type ClassicVote = Vote & { export type ClassicVote_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; choice?: InputMaybe; choice_gt?: InputMaybe; choice_gte?: InputMaybe; @@ -667,15 +699,24 @@ export type ClassicVote_Filter = { localRound_not_starts_with_nocase?: InputMaybe; localRound_starts_with?: InputMaybe; localRound_starts_with_nocase?: InputMaybe; + or?: InputMaybe>>; }; export enum ClassicVote_OrderBy { Choice = "choice", CoreDispute = "coreDispute", + CoreDisputeCurrentRoundIndex = "coreDispute__currentRoundIndex", + CoreDisputeId = "coreDispute__id", + CoreDisputeLastPeriodChange = "coreDispute__lastPeriodChange", + CoreDisputePeriod = "coreDispute__period", + CoreDisputeRuled = "coreDispute__ruled", Id = "id", Juror = "juror", + JurorId = "juror__id", + JurorTotalStake = "juror__totalStake", Justification = "justification", LocalRound = "localRound", + LocalRoundId = "localRound__id", } export type Contribution = { @@ -687,6 +728,7 @@ export type Contribution = { export type Contribution_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; contributor?: InputMaybe; contributor_?: InputMaybe; contributor_contains?: InputMaybe; @@ -737,11 +779,19 @@ export type Contribution_Filter = { id_lte?: InputMaybe; id_not?: InputMaybe; id_not_in?: InputMaybe>; + or?: InputMaybe>>; }; export enum Contribution_OrderBy { Contributor = "contributor", + ContributorId = "contributor__id", + ContributorTotalStake = "contributor__totalStake", CoreDispute = "coreDispute", + CoreDisputeCurrentRoundIndex = "coreDispute__currentRoundIndex", + CoreDisputeId = "coreDispute__id", + CoreDisputeLastPeriodChange = "coreDispute__lastPeriodChange", + CoreDisputePeriod = "coreDispute__period", + CoreDisputeRuled = "coreDispute__ruled", Id = "id", } @@ -768,6 +818,7 @@ export type Counter_Filter = { activeJurors_lte?: InputMaybe; activeJurors_not?: InputMaybe; activeJurors_not_in?: InputMaybe>; + and?: InputMaybe>>; cases?: InputMaybe; casesRuled?: InputMaybe; casesRuled_gt?: InputMaybe; @@ -800,6 +851,7 @@ export type Counter_Filter = { id_lte?: InputMaybe; id_not?: InputMaybe; id_not_in?: InputMaybe>; + or?: InputMaybe>>; paidETH?: InputMaybe; paidETH_gt?: InputMaybe; paidETH_gte?: InputMaybe; @@ -903,6 +955,7 @@ export type Court_Filter = { alpha_lte?: InputMaybe; alpha_not?: InputMaybe; alpha_not_in?: InputMaybe>; + and?: InputMaybe>>; children_?: InputMaybe; disputes_?: InputMaybe; feeForJuror?: InputMaybe; @@ -977,6 +1030,7 @@ export type Court_Filter = { numberStakedJurors_lte?: InputMaybe; numberStakedJurors_not?: InputMaybe; numberStakedJurors_not_in?: InputMaybe>; + or?: InputMaybe>>; paidETH?: InputMaybe; paidETH_gt?: InputMaybe; paidETH_gte?: InputMaybe; @@ -1049,9 +1103,7 @@ export type Court_Filter = { supportedDisputeKits_contains_nocase?: InputMaybe>; supportedDisputeKits_not?: InputMaybe>; supportedDisputeKits_not_contains?: InputMaybe>; - supportedDisputeKits_not_contains_nocase?: InputMaybe< - Array - >; + supportedDisputeKits_not_contains_nocase?: InputMaybe>; timesPerPeriod?: InputMaybe>; timesPerPeriod_contains?: InputMaybe>; timesPerPeriod_contains_nocase?: InputMaybe>; @@ -1075,6 +1127,19 @@ export enum Court_OrderBy { PaidEth = "paidETH", PaidPnk = "paidPNK", Parent = "parent", + ParentAlpha = "parent__alpha", + ParentFeeForJuror = "parent__feeForJuror", + ParentHiddenVotes = "parent__hiddenVotes", + ParentId = "parent__id", + ParentJurorsForCourtJump = "parent__jurorsForCourtJump", + ParentMinStake = "parent__minStake", + ParentName = "parent__name", + ParentNumberDisputes = "parent__numberDisputes", + ParentNumberStakedJurors = "parent__numberStakedJurors", + ParentPaidEth = "parent__paidETH", + ParentPaidPnk = "parent__paidPNK", + ParentPolicy = "parent__policy", + ParentStake = "parent__stake", Policy = "policy", Stake = "stake", StakedJurors = "stakedJurors", @@ -1167,6 +1232,7 @@ export type DisputeKitDisputeLocalRoundsArgs = { export type DisputeKitDispute_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; coreDispute?: InputMaybe; coreDispute_?: InputMaybe; coreDispute_contains?: InputMaybe; @@ -1205,10 +1271,16 @@ export type DisputeKitDispute_Filter = { id_not?: InputMaybe; id_not_in?: InputMaybe>; localRounds_?: InputMaybe; + or?: InputMaybe>>; }; export enum DisputeKitDispute_OrderBy { CoreDispute = "coreDispute", + CoreDisputeCurrentRoundIndex = "coreDispute__currentRoundIndex", + CoreDisputeId = "coreDispute__id", + CoreDisputeLastPeriodChange = "coreDispute__lastPeriodChange", + CoreDisputePeriod = "coreDispute__period", + CoreDisputeRuled = "coreDispute__ruled", CurrentLocalRoundIndex = "currentLocalRoundIndex", Id = "id", LocalRounds = "localRounds", @@ -1231,6 +1303,7 @@ export type DisputeKitRoundVotesArgs = { export type DisputeKitRound_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; id?: InputMaybe; id_gt?: InputMaybe; id_gte?: InputMaybe; @@ -1260,12 +1333,15 @@ export type DisputeKitRound_Filter = { localDispute_not_starts_with_nocase?: InputMaybe; localDispute_starts_with?: InputMaybe; localDispute_starts_with_nocase?: InputMaybe; + or?: InputMaybe>>; votes_?: InputMaybe; }; export enum DisputeKitRound_OrderBy { Id = "id", LocalDispute = "localDispute", + LocalDisputeCurrentLocalRoundIndex = "localDispute__currentLocalRoundIndex", + LocalDisputeId = "localDispute__id", Votes = "votes", } @@ -1282,6 +1358,7 @@ export type DisputeKit_Filter = { address_not?: InputMaybe; address_not_contains?: InputMaybe; address_not_in?: InputMaybe>; + and?: InputMaybe>>; children_?: InputMaybe; courts_?: InputMaybe; depthLevel?: InputMaybe; @@ -1304,6 +1381,7 @@ export type DisputeKit_Filter = { needsFreezing_in?: InputMaybe>; needsFreezing_not?: InputMaybe; needsFreezing_not_in?: InputMaybe>; + or?: InputMaybe>>; parent?: InputMaybe; parent_?: InputMaybe; parent_contains?: InputMaybe; @@ -1336,12 +1414,17 @@ export enum DisputeKit_OrderBy { Id = "id", NeedsFreezing = "needsFreezing", Parent = "parent", + ParentAddress = "parent__address", + ParentDepthLevel = "parent__depthLevel", + ParentId = "parent__id", + ParentNeedsFreezing = "parent__needsFreezing", Rounds = "rounds", } export type Dispute_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; arbitrated?: InputMaybe; arbitrated_?: InputMaybe; arbitrated_contains?: InputMaybe; @@ -1430,6 +1513,7 @@ export type Dispute_Filter = { lastPeriodChange_lte?: InputMaybe; lastPeriodChange_not?: InputMaybe; lastPeriodChange_not_in?: InputMaybe>; + or?: InputMaybe>>; period?: InputMaybe; period_in?: InputMaybe>; period_not?: InputMaybe; @@ -1444,10 +1528,33 @@ export type Dispute_Filter = { export enum Dispute_OrderBy { Arbitrated = "arbitrated", + ArbitratedId = "arbitrated__id", + ArbitratedTotalDisputes = "arbitrated__totalDisputes", Court = "court", + CourtAlpha = "court__alpha", + CourtFeeForJuror = "court__feeForJuror", + CourtHiddenVotes = "court__hiddenVotes", + CourtId = "court__id", + CourtJurorsForCourtJump = "court__jurorsForCourtJump", + CourtMinStake = "court__minStake", + CourtName = "court__name", + CourtNumberDisputes = "court__numberDisputes", + CourtNumberStakedJurors = "court__numberStakedJurors", + CourtPaidEth = "court__paidETH", + CourtPaidPnk = "court__paidPNK", + CourtPolicy = "court__policy", + CourtStake = "court__stake", CurrentRound = "currentRound", CurrentRoundIndex = "currentRoundIndex", + CurrentRoundId = "currentRound__id", + CurrentRoundNbVotes = "currentRound__nbVotes", + CurrentRoundPenalties = "currentRound__penalties", + CurrentRoundRepartitions = "currentRound__repartitions", + CurrentRoundTokensAtStakePerJuror = "currentRound__tokensAtStakePerJuror", + CurrentRoundTotalFeesForJurors = "currentRound__totalFeesForJurors", DisputeKitDispute = "disputeKitDispute", + DisputeKitDisputeCurrentLocalRoundIndex = "disputeKitDispute__currentLocalRoundIndex", + DisputeKitDisputeId = "disputeKitDispute__id", Id = "id", LastPeriodChange = "lastPeriodChange", Period = "period", @@ -1468,6 +1575,7 @@ export type Draw = { export type Draw_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; dispute?: InputMaybe; dispute_?: InputMaybe; dispute_contains?: InputMaybe; @@ -1518,6 +1626,7 @@ export type Draw_Filter = { juror_not_starts_with_nocase?: InputMaybe; juror_starts_with?: InputMaybe; juror_starts_with_nocase?: InputMaybe; + or?: InputMaybe>>; round?: InputMaybe; round_?: InputMaybe; round_contains?: InputMaybe; @@ -1551,9 +1660,22 @@ export type Draw_Filter = { export enum Draw_OrderBy { Dispute = "dispute", + DisputeCurrentRoundIndex = "dispute__currentRoundIndex", + DisputeId = "dispute__id", + DisputeLastPeriodChange = "dispute__lastPeriodChange", + DisputePeriod = "dispute__period", + DisputeRuled = "dispute__ruled", Id = "id", Juror = "juror", + JurorId = "juror__id", + JurorTotalStake = "juror__totalStake", Round = "round", + RoundId = "round__id", + RoundNbVotes = "round__nbVotes", + RoundPenalties = "round__penalties", + RoundRepartitions = "round__repartitions", + RoundTokensAtStakePerJuror = "round__tokensAtStakePerJuror", + RoundTotalFeesForJurors = "round__totalFeesForJurors", VoteId = "voteID", } @@ -1581,6 +1703,7 @@ export type EvidenceGroupEvidencesArgs = { export type EvidenceGroup_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; evidences_?: InputMaybe; id?: InputMaybe; id_gt?: InputMaybe; @@ -1598,6 +1721,7 @@ export type EvidenceGroup_Filter = { nextEvidenceIndex_lte?: InputMaybe; nextEvidenceIndex_not?: InputMaybe; nextEvidenceIndex_not_in?: InputMaybe>; + or?: InputMaybe>>; }; export enum EvidenceGroup_OrderBy { @@ -1609,6 +1733,7 @@ export enum EvidenceGroup_OrderBy { export type Evidence_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; evidence?: InputMaybe; evidenceGroup?: InputMaybe; evidenceGroup_?: InputMaybe; @@ -1658,6 +1783,7 @@ export type Evidence_Filter = { id_lte?: InputMaybe; id_not?: InputMaybe; id_not_in?: InputMaybe>; + or?: InputMaybe>>; sender?: InputMaybe; sender_?: InputMaybe; sender_contains?: InputMaybe; @@ -1684,8 +1810,12 @@ export type Evidence_Filter = { export enum Evidence_OrderBy { Evidence = "evidence", EvidenceGroup = "evidenceGroup", + EvidenceGroupId = "evidenceGroup__id", + EvidenceGroupNextEvidenceIndex = "evidenceGroup__nextEvidenceIndex", Id = "id", Sender = "sender", + SenderId = "sender__id", + SenderTotalStake = "sender__totalStake", } export type JurorTokensPerCourt = { @@ -1700,6 +1830,7 @@ export type JurorTokensPerCourt = { export type JurorTokensPerCourt_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; court?: InputMaybe; court_?: InputMaybe; court_contains?: InputMaybe; @@ -1758,6 +1889,7 @@ export type JurorTokensPerCourt_Filter = { locked_lte?: InputMaybe; locked_not?: InputMaybe; locked_not_in?: InputMaybe>; + or?: InputMaybe>>; staked?: InputMaybe; staked_gt?: InputMaybe; staked_gte?: InputMaybe; @@ -1770,8 +1902,23 @@ export type JurorTokensPerCourt_Filter = { export enum JurorTokensPerCourt_OrderBy { Court = "court", + CourtAlpha = "court__alpha", + CourtFeeForJuror = "court__feeForJuror", + CourtHiddenVotes = "court__hiddenVotes", + CourtId = "court__id", + CourtJurorsForCourtJump = "court__jurorsForCourtJump", + CourtMinStake = "court__minStake", + CourtName = "court__name", + CourtNumberDisputes = "court__numberDisputes", + CourtNumberStakedJurors = "court__numberStakedJurors", + CourtPaidEth = "court__paidETH", + CourtPaidPnk = "court__paidPNK", + CourtPolicy = "court__policy", + CourtStake = "court__stake", Id = "id", Juror = "juror", + JurorId = "juror__id", + JurorTotalStake = "juror__totalStake", Locked = "locked", Staked = "staked", } @@ -2220,6 +2367,7 @@ export type RoundDrawnJurorsArgs = { export type Round_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; dispute?: InputMaybe; disputeKit?: InputMaybe; disputeKit_?: InputMaybe; @@ -2279,6 +2427,7 @@ export type Round_Filter = { nbVotes_lte?: InputMaybe; nbVotes_not?: InputMaybe; nbVotes_not_in?: InputMaybe>; + or?: InputMaybe>>; penalties?: InputMaybe; penalties_gt?: InputMaybe; penalties_gte?: InputMaybe; @@ -2316,6 +2465,15 @@ export type Round_Filter = { export enum Round_OrderBy { Dispute = "dispute", DisputeKit = "disputeKit", + DisputeKitAddress = "disputeKit__address", + DisputeKitDepthLevel = "disputeKit__depthLevel", + DisputeKitId = "disputeKit__id", + DisputeKitNeedsFreezing = "disputeKit__needsFreezing", + DisputeCurrentRoundIndex = "dispute__currentRoundIndex", + DisputeId = "dispute__id", + DisputeLastPeriodChange = "dispute__lastPeriodChange", + DisputePeriod = "dispute__period", + DisputeRuled = "dispute__ruled", DrawnJurors = "drawnJurors", Id = "id", NbVotes = "nbVotes", @@ -2743,6 +2901,7 @@ export type TokenAndEthShift = { export type TokenAndEthShift_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; dispute?: InputMaybe; dispute_?: InputMaybe; dispute_contains?: InputMaybe; @@ -2801,6 +2960,7 @@ export type TokenAndEthShift_Filter = { juror_not_starts_with_nocase?: InputMaybe; juror_starts_with?: InputMaybe; juror_starts_with_nocase?: InputMaybe; + or?: InputMaybe>>; tokenAmount?: InputMaybe; tokenAmount_gt?: InputMaybe; tokenAmount_gte?: InputMaybe; @@ -2813,9 +2973,16 @@ export type TokenAndEthShift_Filter = { export enum TokenAndEthShift_OrderBy { Dispute = "dispute", + DisputeCurrentRoundIndex = "dispute__currentRoundIndex", + DisputeId = "dispute__id", + DisputeLastPeriodChange = "dispute__lastPeriodChange", + DisputePeriod = "dispute__period", + DisputeRuled = "dispute__ruled", EthAmount = "ethAmount", Id = "id", Juror = "juror", + JurorId = "juror__id", + JurorTotalStake = "juror__totalStake", TokenAmount = "tokenAmount", } @@ -2882,6 +3049,7 @@ export type UserVotesArgs = { export type User_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; contributions_?: InputMaybe; draws_?: InputMaybe; evidences_?: InputMaybe; @@ -2893,6 +3061,7 @@ export type User_Filter = { id_lte?: InputMaybe; id_not?: InputMaybe; id_not_in?: InputMaybe>; + or?: InputMaybe>>; shifts_?: InputMaybe; tokens_?: InputMaybe; totalStake?: InputMaybe; @@ -2927,6 +3096,7 @@ export type Vote = { export type Vote_Filter = { /** Filter for the block changed event. */ _change_block?: InputMaybe; + and?: InputMaybe>>; coreDispute?: InputMaybe; coreDispute_?: InputMaybe; coreDispute_contains?: InputMaybe; @@ -2998,13 +3168,22 @@ export type Vote_Filter = { localRound_not_starts_with_nocase?: InputMaybe; localRound_starts_with?: InputMaybe; localRound_starts_with_nocase?: InputMaybe; + or?: InputMaybe>>; }; export enum Vote_OrderBy { CoreDispute = "coreDispute", + CoreDisputeCurrentRoundIndex = "coreDispute__currentRoundIndex", + CoreDisputeId = "coreDispute__id", + CoreDisputeLastPeriodChange = "coreDispute__lastPeriodChange", + CoreDisputePeriod = "coreDispute__period", + CoreDisputeRuled = "coreDispute__ruled", Id = "id", Juror = "juror", + JurorId = "juror__id", + JurorTotalStake = "juror__totalStake", LocalRound = "localRound", + LocalRoundId = "localRound__id", } export type _Block_ = { @@ -3053,13 +3232,7 @@ export type CasesPageQuery = { period: Period; lastPeriodChange: any; arbitrated: { __typename?: "Arbitrable"; id: string }; - court: { - __typename?: "Court"; - id: string; - policy?: string | null; - feeForJuror: any; - timesPerPeriod: Array; - }; + court: { __typename?: "Court"; id: string; policy?: string | null; feeForJuror: any; timesPerPeriod: Array }; }>; counter?: { __typename?: "Counter"; cases: any } | null; }; @@ -3141,11 +3314,7 @@ export type CourtTreeQuery = { __typename?: "Court"; name?: string | null; id: string; - children: Array<{ - __typename?: "Court"; - name?: string | null; - id: string; - }>; + children: Array<{ __typename?: "Court"; name?: string | null; id: string }>; }>; }>; }>; @@ -3164,13 +3333,7 @@ export type DisputeDetailsQuery = { period: Period; ruled: boolean; lastPeriodChange: any; - court: { - __typename?: "Court"; - id: string; - timesPerPeriod: Array; - hiddenVotes: boolean; - feeForJuror: any; - }; + court: { __typename?: "Court"; id: string; timesPerPeriod: Array; hiddenVotes: boolean; feeForJuror: any }; arbitrated: { __typename?: "Arbitrable"; id: string }; } | null; }; @@ -3180,10 +3343,7 @@ export type DrawQueryVariables = Exact<{ disputeID?: InputMaybe; }>; -export type DrawQuery = { - __typename?: "Query"; - draws: Array<{ __typename?: "Draw"; voteID: any }>; -}; +export type DrawQuery = { __typename?: "Query"; draws: Array<{ __typename?: "Draw"; voteID: any }> }; export type EvidencesQueryVariables = Exact<{ evidenceGroup?: InputMaybe;