Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graphql typegen #4636

Merged
merged 2 commits into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions cli/src/graphql/generated/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ export type AuctionTypeEnglish = {
/** Block when auction is supposed to end */
plannedEndAtBlock: Scalars['Int']
/** Minimal step between auction bids */
minimalBidStep: Scalars['Float']
minimalBidStep: Scalars['BigInt']
}

export type AuctionTypeOpen = {
Expand Down Expand Up @@ -2461,7 +2461,7 @@ export type BountyEntryStatusRejected = {
}

export type BountyEntryStatusWinner = {
reward: Scalars['Float']
reward: Scalars['BigInt']
}

export type BountyEntryStatusWithdrawn = {
Expand Down Expand Up @@ -2657,16 +2657,16 @@ export type BountyFundedEventWhereUniqueInput = {

export type BountyFundingLimited = {
/** Minimum amount of funds for a successful bounty */
minFundingAmount: Scalars['Float']
minFundingAmount: Scalars['BigInt']
/** Upper boundary for a bounty funding */
maxFundingAmount: Scalars['Float']
maxFundingAmount: Scalars['BigInt']
/** Maximum allowed funding period */
fundingPeriod: Scalars['Int']
}

export type BountyFundingPerpetual = {
/** Desired funding */
target: Scalars['Float']
target: Scalars['BigInt']
}

export type BountyFundingType = BountyFundingPerpetual | BountyFundingLimited
Expand Down Expand Up @@ -8539,14 +8539,14 @@ export type CouncilStage = CouncilStageAnnouncing | CouncilStageElection | Counc

export type CouncilStageAnnouncing = {
/** Number of candidates aspiring to be elected as council members. */
candidatesCount: Scalars['Float']
candidatesCount: Scalars['BigInt']
/** Block number at which the stage ends */
endsAt: Scalars['Int']
}

export type CouncilStageElection = {
/** Number of candidates aspiring to be elected as council members. */
candidatesCount: Scalars['Float']
candidatesCount: Scalars['BigInt']
}

export type CouncilStageIdle = {
Expand Down Expand Up @@ -8790,11 +8790,11 @@ export type CreateWorkingGroupLeadOpeningProposalDetails = {
/** The opening metadata */
metadata?: Maybe<WorkingGroupOpeningMetadata>
/** Min. application / role stake amount */
stakeAmount: Scalars['Float']
stakeAmount: Scalars['BigInt']
/** Role stake unstaking period in blocks */
unstakingPeriod: Scalars['Int']
/** Initial workers' reward per block */
rewardPerBlock: Scalars['Float']
rewardPerBlock: Scalars['BigInt']
/** Related working group */
group?: Maybe<WorkingGroup>
}
Expand Down Expand Up @@ -9184,7 +9184,7 @@ export type DecreaseWorkingGroupLeadStakeProposalDetails = {
/** The lead that should be affected */
lead?: Maybe<Worker>
/** Amount to decrease the stake by */
amount: Scalars['Float']
amount: Scalars['BigInt']
}

export type DeleteResponse = {
Expand Down Expand Up @@ -26536,17 +26536,17 @@ export type SearchSearchResult = Channel | Video

export type SetCouncilBudgetIncrementProposalDetails = {
/** New (proposed) amount the council budget should be increased by per each budget period */
newAmount: Scalars['Float']
newAmount: Scalars['BigInt']
}

export type SetCouncilorRewardProposalDetails = {
/** New (proposed) council members' reward per block */
newRewardPerBlock: Scalars['Float']
newRewardPerBlock: Scalars['BigInt']
}

export type SetInitialInvitationBalanceProposalDetails = {
/** The new (proposed) initial balance credited to controller account of an invitee (locked for transaction fee payments only) */
newInitialInvitationBalance: Scalars['Float']
newInitialInvitationBalance: Scalars['BigInt']
}

export type SetInitialInvitationCountProposalDetails = {
Expand All @@ -26566,7 +26566,7 @@ export type SetMembershipLeadInvitationQuotaProposalDetails = {

export type SetMembershipPriceProposalDetails = {
/** New (proposed) membership price */
newPrice: Scalars['Float']
newPrice: Scalars['BigInt']
}

export type SetReferralCutProposalDetails = {
Expand All @@ -26578,7 +26578,7 @@ export type SetWorkingGroupLeadRewardProposalDetails = {
/** The lead that should be affected */
lead?: Maybe<Worker>
/** Lead's new (proposed) reward per block */
newRewardPerBlock: Scalars['Float']
newRewardPerBlock: Scalars['BigInt']
}

export type SignalProposalDetails = {
Expand All @@ -26590,7 +26590,7 @@ export type SlashWorkingGroupLeadProposalDetails = {
/** The lead that should be affected */
lead?: Maybe<Worker>
/** Amount to slash the stake by */
amount: Scalars['Float']
amount: Scalars['BigInt']
}

export type StakeDecreasedEvent = Event &
Expand Down Expand Up @@ -28269,7 +28269,7 @@ export type TerminateWorkingGroupLeadProposalDetails = {
/** Lead that's supposed to be terminated */
lead?: Maybe<Worker>
/** Optionally - the amount to slash the lead's stake by */
slashingAmount?: Maybe<Scalars['Float']>
slashingAmount?: Maybe<Scalars['BigInt']>
}

export type TerminatedLeaderEvent = Event &
Expand Down Expand Up @@ -29308,7 +29308,7 @@ export type TransactionalStatus =
| TransactionalStatusBuyNow

export type TransactionalStatusBuyNow = {
price: Scalars['Float']
price: Scalars['BigInt']
}

export type TransactionalStatusIdle = {
Expand All @@ -29320,7 +29320,7 @@ export type TransactionalStatusInitiatedOfferToMember = {
/** Member identifier */
memberId: Scalars['Int']
/** Whether member should pay to accept offer (optional) */
price?: Maybe<Scalars['Float']>
price?: Maybe<Scalars['BigInt']>
}

export type TransactionalStatusUpdate = BaseGraphQlObject & {
Expand Down Expand Up @@ -29562,7 +29562,7 @@ export type UpcomingWorkingGroupOpeningWhereUniqueInput = {

export type UpdateWorkingGroupBudgetProposalDetails = {
/** Amount to increase / decrease the working group budget by (will be decudted from / appended to council budget accordingly) */
amount: Scalars['Float']
amount: Scalars['BigInt']
/** Related working group */
group?: Maybe<WorkingGroup>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ export type AuctionTypeEnglish = {
/** Block when auction is supposed to end */
plannedEndAtBlock: Scalars['Int']
/** Minimal step between auction bids */
minimalBidStep: Scalars['Float']
minimalBidStep: Scalars['BigInt']
}

export type AuctionTypeOpen = {
Expand Down Expand Up @@ -2461,7 +2461,7 @@ export type BountyEntryStatusRejected = {
}

export type BountyEntryStatusWinner = {
reward: Scalars['Float']
reward: Scalars['BigInt']
}

export type BountyEntryStatusWithdrawn = {
Expand Down Expand Up @@ -2657,16 +2657,16 @@ export type BountyFundedEventWhereUniqueInput = {

export type BountyFundingLimited = {
/** Minimum amount of funds for a successful bounty */
minFundingAmount: Scalars['Float']
minFundingAmount: Scalars['BigInt']
/** Upper boundary for a bounty funding */
maxFundingAmount: Scalars['Float']
maxFundingAmount: Scalars['BigInt']
/** Maximum allowed funding period */
fundingPeriod: Scalars['Int']
}

export type BountyFundingPerpetual = {
/** Desired funding */
target: Scalars['Float']
target: Scalars['BigInt']
}

export type BountyFundingType = BountyFundingPerpetual | BountyFundingLimited
Expand Down Expand Up @@ -8539,14 +8539,14 @@ export type CouncilStage = CouncilStageAnnouncing | CouncilStageElection | Counc

export type CouncilStageAnnouncing = {
/** Number of candidates aspiring to be elected as council members. */
candidatesCount: Scalars['Float']
candidatesCount: Scalars['BigInt']
/** Block number at which the stage ends */
endsAt: Scalars['Int']
}

export type CouncilStageElection = {
/** Number of candidates aspiring to be elected as council members. */
candidatesCount: Scalars['Float']
candidatesCount: Scalars['BigInt']
}

export type CouncilStageIdle = {
Expand Down Expand Up @@ -8790,11 +8790,11 @@ export type CreateWorkingGroupLeadOpeningProposalDetails = {
/** The opening metadata */
metadata?: Maybe<WorkingGroupOpeningMetadata>
/** Min. application / role stake amount */
stakeAmount: Scalars['Float']
stakeAmount: Scalars['BigInt']
/** Role stake unstaking period in blocks */
unstakingPeriod: Scalars['Int']
/** Initial workers' reward per block */
rewardPerBlock: Scalars['Float']
rewardPerBlock: Scalars['BigInt']
/** Related working group */
group?: Maybe<WorkingGroup>
}
Expand Down Expand Up @@ -9184,7 +9184,7 @@ export type DecreaseWorkingGroupLeadStakeProposalDetails = {
/** The lead that should be affected */
lead?: Maybe<Worker>
/** Amount to decrease the stake by */
amount: Scalars['Float']
amount: Scalars['BigInt']
}

export type DeleteResponse = {
Expand Down Expand Up @@ -26536,17 +26536,17 @@ export type SearchSearchResult = Channel | Video

export type SetCouncilBudgetIncrementProposalDetails = {
/** New (proposed) amount the council budget should be increased by per each budget period */
newAmount: Scalars['Float']
newAmount: Scalars['BigInt']
}

export type SetCouncilorRewardProposalDetails = {
/** New (proposed) council members' reward per block */
newRewardPerBlock: Scalars['Float']
newRewardPerBlock: Scalars['BigInt']
}

export type SetInitialInvitationBalanceProposalDetails = {
/** The new (proposed) initial balance credited to controller account of an invitee (locked for transaction fee payments only) */
newInitialInvitationBalance: Scalars['Float']
newInitialInvitationBalance: Scalars['BigInt']
}

export type SetInitialInvitationCountProposalDetails = {
Expand All @@ -26566,7 +26566,7 @@ export type SetMembershipLeadInvitationQuotaProposalDetails = {

export type SetMembershipPriceProposalDetails = {
/** New (proposed) membership price */
newPrice: Scalars['Float']
newPrice: Scalars['BigInt']
}

export type SetReferralCutProposalDetails = {
Expand All @@ -26578,7 +26578,7 @@ export type SetWorkingGroupLeadRewardProposalDetails = {
/** The lead that should be affected */
lead?: Maybe<Worker>
/** Lead's new (proposed) reward per block */
newRewardPerBlock: Scalars['Float']
newRewardPerBlock: Scalars['BigInt']
}

export type SignalProposalDetails = {
Expand All @@ -26590,7 +26590,7 @@ export type SlashWorkingGroupLeadProposalDetails = {
/** The lead that should be affected */
lead?: Maybe<Worker>
/** Amount to slash the stake by */
amount: Scalars['Float']
amount: Scalars['BigInt']
}

export type StakeDecreasedEvent = Event &
Expand Down Expand Up @@ -28269,7 +28269,7 @@ export type TerminateWorkingGroupLeadProposalDetails = {
/** Lead that's supposed to be terminated */
lead?: Maybe<Worker>
/** Optionally - the amount to slash the lead's stake by */
slashingAmount?: Maybe<Scalars['Float']>
slashingAmount?: Maybe<Scalars['BigInt']>
}

export type TerminatedLeaderEvent = Event &
Expand Down Expand Up @@ -29308,7 +29308,7 @@ export type TransactionalStatus =
| TransactionalStatusBuyNow

export type TransactionalStatusBuyNow = {
price: Scalars['Float']
price: Scalars['BigInt']
}

export type TransactionalStatusIdle = {
Expand All @@ -29320,7 +29320,7 @@ export type TransactionalStatusInitiatedOfferToMember = {
/** Member identifier */
memberId: Scalars['Int']
/** Whether member should pay to accept offer (optional) */
price?: Maybe<Scalars['Float']>
price?: Maybe<Scalars['BigInt']>
}

export type TransactionalStatusUpdate = BaseGraphQlObject & {
Expand Down Expand Up @@ -29562,7 +29562,7 @@ export type UpcomingWorkingGroupOpeningWhereUniqueInput = {

export type UpdateWorkingGroupBudgetProposalDetails = {
/** Amount to increase / decrease the working group budget by (will be decudted from / appended to council budget accordingly) */
amount: Scalars['Float']
amount: Scalars['BigInt']
/** Related working group */
group?: Maybe<WorkingGroup>
}
Expand Down
Loading