Skip to content

Commit

Permalink
Merge pull request #4636 from mnaamani/master-typegen
Browse files Browse the repository at this point in the history
graphql typegen
  • Loading branch information
mnaamani authored Feb 17, 2023
2 parents ac94062 + 5ececd8 commit 1c7d959
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 53 deletions.
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
26 changes: 13 additions & 13 deletions tests/network-tests/src/graphql/generated/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export type OwnedNftFieldsFragment = {
transactionalStatus?: Types.Maybe<
| { __typename: 'TransactionalStatusIdle'; dummy?: Types.Maybe<number> }
| { __typename: 'TransactionalStatusInitiatedOfferToMember' }
| { __typename: 'TransactionalStatusBuyNow'; price: number }
| { __typename: 'TransactionalStatusBuyNow'; price: any }
>
transactionalStatusAuction?: Types.Maybe<{
startsAtBlock: number
Expand All @@ -185,7 +185,7 @@ export type OwnedNftFieldsFragment = {
extensionPeriod: number
duration: number
plannedEndAtBlock: number
minimalBidStep: number
minimalBidStep: any
}
| { __typename: 'AuctionTypeOpen'; bidLockDuration: number }
bids: Array<BidFieldsFragment>
Expand Down Expand Up @@ -1459,9 +1459,9 @@ type ProposalDetailsFields_SetMaxValidatorCountProposalDetails_Fragment = {

type ProposalDetailsFields_CreateWorkingGroupLeadOpeningProposalDetails_Fragment = {
__typename: 'CreateWorkingGroupLeadOpeningProposalDetails'
stakeAmount: number
stakeAmount: any
unstakingPeriod: number
rewardPerBlock: number
rewardPerBlock: any
metadata?: Types.Maybe<OpeningMetadataFieldsFragment>
group?: Types.Maybe<{ id: string }>
}
Expand All @@ -1474,31 +1474,31 @@ type ProposalDetailsFields_FillWorkingGroupLeadOpeningProposalDetails_Fragment =

type ProposalDetailsFields_UpdateWorkingGroupBudgetProposalDetails_Fragment = {
__typename: 'UpdateWorkingGroupBudgetProposalDetails'
amount: number
amount: any
group?: Types.Maybe<{ id: string }>
}

type ProposalDetailsFields_DecreaseWorkingGroupLeadStakeProposalDetails_Fragment = {
__typename: 'DecreaseWorkingGroupLeadStakeProposalDetails'
amount: number
amount: any
lead?: Types.Maybe<{ id: string }>
}

type ProposalDetailsFields_SlashWorkingGroupLeadProposalDetails_Fragment = {
__typename: 'SlashWorkingGroupLeadProposalDetails'
amount: number
amount: any
lead?: Types.Maybe<{ id: string }>
}

type ProposalDetailsFields_SetWorkingGroupLeadRewardProposalDetails_Fragment = {
__typename: 'SetWorkingGroupLeadRewardProposalDetails'
newRewardPerBlock: number
newRewardPerBlock: any
lead?: Types.Maybe<{ id: string }>
}

type ProposalDetailsFields_TerminateWorkingGroupLeadProposalDetails_Fragment = {
__typename: 'TerminateWorkingGroupLeadProposalDetails'
slashingAmount?: Types.Maybe<number>
slashingAmount?: Types.Maybe<any>
lead?: Types.Maybe<{ id: string }>
}

Expand All @@ -1514,22 +1514,22 @@ type ProposalDetailsFields_CancelWorkingGroupLeadOpeningProposalDetails_Fragment

type ProposalDetailsFields_SetMembershipPriceProposalDetails_Fragment = {
__typename: 'SetMembershipPriceProposalDetails'
newPrice: number
newPrice: any
}

type ProposalDetailsFields_SetCouncilBudgetIncrementProposalDetails_Fragment = {
__typename: 'SetCouncilBudgetIncrementProposalDetails'
newAmount: number
newAmount: any
}

type ProposalDetailsFields_SetCouncilorRewardProposalDetails_Fragment = {
__typename: 'SetCouncilorRewardProposalDetails'
newRewardPerBlock: number
newRewardPerBlock: any
}

type ProposalDetailsFields_SetInitialInvitationBalanceProposalDetails_Fragment = {
__typename: 'SetInitialInvitationBalanceProposalDetails'
newInitialInvitationBalance: number
newInitialInvitationBalance: any
}

type ProposalDetailsFields_SetInitialInvitationCountProposalDetails_Fragment = {
Expand Down
Loading

0 comments on commit 1c7d959

Please sign in to comment.