chore: remove settlementDataDecimals field and regen graphql (#2442)
This commit is contained in:
parent
5730e39b32
commit
df609d442c
@ -32,7 +32,6 @@ query Proposal($proposalId: ID!) {
|
|||||||
quantum
|
quantum
|
||||||
}
|
}
|
||||||
quoteName
|
quoteName
|
||||||
settlementDataDecimals
|
|
||||||
dataSourceSpecForSettlementData {
|
dataSourceSpecForSettlementData {
|
||||||
sourceType {
|
sourceType {
|
||||||
... on DataSourceDefinitionInternal {
|
... on DataSourceDefinitionInternal {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -8,7 +8,7 @@ export type PreviousEpochQueryVariables = Types.Exact<{
|
|||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type PreviousEpochQuery = { __typename?: 'Query', epoch: { __typename?: 'Epoch', id: string, validatorsConnection?: { __typename?: 'NodesConnection', edges?: Array<{ __typename?: 'NodeEdge', node: { __typename?: 'Node', id: string, rewardScore?: { __typename?: 'RewardScore', rawValidatorScore: string } | null } } | null> | null } | null } };
|
export type PreviousEpochQuery = { __typename?: 'Query', epoch: { __typename?: 'Epoch', id: string, validatorsConnection?: { __typename?: 'NodesConnection', edges?: Array<{ __typename?: 'NodeEdge', node: { __typename?: 'Node', id: string, rewardScore?: { __typename?: 'RewardScore', rawValidatorScore: string } | null, rankingScore: { __typename?: 'RankingScore', performanceScore: string } } } | null> | null } | null } };
|
||||||
|
|
||||||
|
|
||||||
export const PreviousEpochDocument = gql`
|
export const PreviousEpochDocument = gql`
|
||||||
@ -22,6 +22,9 @@ export const PreviousEpochDocument = gql`
|
|||||||
rewardScore {
|
rewardScore {
|
||||||
rawValidatorScore
|
rawValidatorScore
|
||||||
}
|
}
|
||||||
|
rankingScore {
|
||||||
|
performanceScore
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -151,4 +151,4 @@ export function useOrdersUpdateSubscription(baseOptions: Apollo.SubscriptionHook
|
|||||||
return Apollo.useSubscription<OrdersUpdateSubscription, OrdersUpdateSubscriptionVariables>(OrdersUpdateDocument, options);
|
return Apollo.useSubscription<OrdersUpdateSubscription, OrdersUpdateSubscriptionVariables>(OrdersUpdateDocument, options);
|
||||||
}
|
}
|
||||||
export type OrdersUpdateSubscriptionHookResult = ReturnType<typeof useOrdersUpdateSubscription>;
|
export type OrdersUpdateSubscriptionHookResult = ReturnType<typeof useOrdersUpdateSubscription>;
|
||||||
export type OrdersUpdateSubscriptionResult = Apollo.SubscriptionResult<OrdersUpdateSubscription>;
|
export type OrdersUpdateSubscriptionResult = Apollo.SubscriptionResult<OrdersUpdateSubscription>;
|
80
libs/types/src/__generated__/types.ts
generated
80
libs/types/src/__generated__/types.ts
generated
@ -473,6 +473,35 @@ export type ContinuousTrading = {
|
|||||||
tickSize: Scalars['String'];
|
tickSize: Scalars['String'];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Connection type for retrieving cursor-based paginated core snapshot data */
|
||||||
|
export type CoreSnapshotConnection = {
|
||||||
|
__typename?: 'CoreSnapshotConnection';
|
||||||
|
/** The positions in this connection */
|
||||||
|
edges?: Maybe<Array<CoreSnapshotEdge>>;
|
||||||
|
/** The pagination information */
|
||||||
|
pageInfo?: Maybe<PageInfo>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/** A snapshot taken by the core */
|
||||||
|
export type CoreSnapshotData = {
|
||||||
|
__typename?: 'CoreSnapshotData';
|
||||||
|
/** The block hash at the snapshot block height */
|
||||||
|
blockHash: Scalars['String'];
|
||||||
|
/** At which block the snapshot was taken */
|
||||||
|
blockHeight: Scalars['String'];
|
||||||
|
/** The current version of vega core */
|
||||||
|
vegaCoreVersion: Scalars['String'];
|
||||||
|
};
|
||||||
|
|
||||||
|
/** Edge type containing the core snapshot cursor information */
|
||||||
|
export type CoreSnapshotEdge = {
|
||||||
|
__typename?: 'CoreSnapshotEdge';
|
||||||
|
/** Cursor identifying the core snapashot data */
|
||||||
|
cursor: Scalars['String'];
|
||||||
|
/** The core snapshot data */
|
||||||
|
node: CoreSnapshotData;
|
||||||
|
};
|
||||||
|
|
||||||
/** A data source contains the data sent by a data source */
|
/** A data source contains the data sent by a data source */
|
||||||
export type Data = {
|
export type Data = {
|
||||||
__typename?: 'Data';
|
__typename?: 'Data';
|
||||||
@ -861,6 +890,33 @@ export type EpochParticipation = {
|
|||||||
totalRewards?: Maybe<Scalars['Float']>;
|
totalRewards?: Maybe<Scalars['Float']>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** an aggregated reward summary for a combination of epoch/asset/market/reward type */
|
||||||
|
export type EpochRewardSummary = {
|
||||||
|
__typename?: 'EpochRewardSummary';
|
||||||
|
/** Total quantity of rewards awarded in this asset/market/reward type in this epoch */
|
||||||
|
amount: Scalars['String'];
|
||||||
|
/** ID of the Asset */
|
||||||
|
assetId: Scalars['ID'];
|
||||||
|
/** The epoch for which summary is generated */
|
||||||
|
epoch: Scalars['Int'];
|
||||||
|
/** ID of the market */
|
||||||
|
marketId?: Maybe<Scalars['ID']>;
|
||||||
|
/** Type of the reward */
|
||||||
|
rewardType: AccountType;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type EpochRewardSummaryConnection = {
|
||||||
|
__typename?: 'EpochRewardSummaryConnection';
|
||||||
|
edges?: Maybe<Array<Maybe<EpochRewardSummaryEdge>>>;
|
||||||
|
pageInfo?: Maybe<PageInfo>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type EpochRewardSummaryEdge = {
|
||||||
|
__typename?: 'EpochRewardSummaryEdge';
|
||||||
|
cursor: Scalars['String'];
|
||||||
|
node: EpochRewardSummary;
|
||||||
|
};
|
||||||
|
|
||||||
/** Describes in both human readable and block time when an epoch spans. */
|
/** Describes in both human readable and block time when an epoch spans. */
|
||||||
export type EpochTimestamps = {
|
export type EpochTimestamps = {
|
||||||
__typename?: 'EpochTimestamps';
|
__typename?: 'EpochTimestamps';
|
||||||
@ -1432,6 +1488,8 @@ export type Market = {
|
|||||||
liquidityMonitoringParameters: LiquidityMonitoringParameters;
|
liquidityMonitoringParameters: LiquidityMonitoringParameters;
|
||||||
/** The list of the liquidity provision commitments for this market */
|
/** The list of the liquidity provision commitments for this market */
|
||||||
liquidityProvisionsConnection?: Maybe<LiquidityProvisionsConnection>;
|
liquidityProvisionsConnection?: Maybe<LiquidityProvisionsConnection>;
|
||||||
|
/** Liquidity Provision order price range */
|
||||||
|
lpPriceRange: Scalars['String'];
|
||||||
/** Timestamps for state changes in the market */
|
/** Timestamps for state changes in the market */
|
||||||
marketTimestamps: MarketTimestamps;
|
marketTimestamps: MarketTimestamps;
|
||||||
/**
|
/**
|
||||||
@ -1811,6 +1869,8 @@ export type NewMarket = {
|
|||||||
decimalPlaces: Scalars['Int'];
|
decimalPlaces: Scalars['Int'];
|
||||||
/** New market instrument configuration */
|
/** New market instrument configuration */
|
||||||
instrument: InstrumentConfiguration;
|
instrument: InstrumentConfiguration;
|
||||||
|
/** Liquidity Provision order price range */
|
||||||
|
lpPriceRange: Scalars['String'];
|
||||||
/** Metadata for this instrument, tags */
|
/** Metadata for this instrument, tags */
|
||||||
metadata?: Maybe<Array<Scalars['String']>>;
|
metadata?: Maybe<Array<Scalars['String']>>;
|
||||||
/** New market risk configuration */
|
/** New market risk configuration */
|
||||||
@ -3136,12 +3196,16 @@ export type Query = {
|
|||||||
assetsConnection?: Maybe<AssetsConnection>;
|
assetsConnection?: Maybe<AssetsConnection>;
|
||||||
/** Get historical balances for an account within the given date range */
|
/** Get historical balances for an account within the given date range */
|
||||||
balanceChanges: AggregatedBalanceConnection;
|
balanceChanges: AggregatedBalanceConnection;
|
||||||
|
/** List core snapshots */
|
||||||
|
coreSnapshots?: Maybe<CoreSnapshotConnection>;
|
||||||
/** Find a deposit using its ID */
|
/** Find a deposit using its ID */
|
||||||
deposit?: Maybe<Deposit>;
|
deposit?: Maybe<Deposit>;
|
||||||
/** Fetch all deposits */
|
/** Fetch all deposits */
|
||||||
deposits?: Maybe<DepositsConnection>;
|
deposits?: Maybe<DepositsConnection>;
|
||||||
/** Get data for a specific epoch, if ID omitted it gets the current epoch. If the string is 'next', fetch the next epoch */
|
/** Get data for a specific epoch, if ID omitted it gets the current epoch. If the string is 'next', fetch the next epoch */
|
||||||
epoch: Epoch;
|
epoch: Epoch;
|
||||||
|
/** List reward summary per epoch by asset, market, reward type */
|
||||||
|
epochRewardSummaries?: Maybe<EpochRewardSummaryConnection>;
|
||||||
/** Get the signatures bundle to allowlist an ERC20 token in the collateral bridge */
|
/** Get the signatures bundle to allowlist an ERC20 token in the collateral bridge */
|
||||||
erc20ListAssetBundle?: Maybe<Erc20ListAssetBundle>;
|
erc20ListAssetBundle?: Maybe<Erc20ListAssetBundle>;
|
||||||
/** Get the signature bundle to add a particular validator to the signer list of the multisig contract */
|
/** Get the signature bundle to add a particular validator to the signer list of the multisig contract */
|
||||||
@ -3247,6 +3311,12 @@ export type QuerybalanceChangesArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/** Queries allow a caller to read data and filter data via GraphQL. */
|
||||||
|
export type QuerycoreSnapshotsArgs = {
|
||||||
|
pagination?: InputMaybe<Pagination>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/** Queries allow a caller to read data and filter data via GraphQL. */
|
/** Queries allow a caller to read data and filter data via GraphQL. */
|
||||||
export type QuerydepositArgs = {
|
export type QuerydepositArgs = {
|
||||||
id: Scalars['ID'];
|
id: Scalars['ID'];
|
||||||
@ -3266,6 +3336,14 @@ export type QueryepochArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/** Queries allow a caller to read data and filter data via GraphQL. */
|
||||||
|
export type QueryepochRewardSummariesArgs = {
|
||||||
|
fromEpoch?: InputMaybe<Scalars['Int']>;
|
||||||
|
pagination?: InputMaybe<Pagination>;
|
||||||
|
toEpoch?: InputMaybe<Scalars['Int']>;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/** Queries allow a caller to read data and filter data via GraphQL. */
|
/** Queries allow a caller to read data and filter data via GraphQL. */
|
||||||
export type Queryerc20ListAssetBundleArgs = {
|
export type Queryerc20ListAssetBundleArgs = {
|
||||||
assetId: Scalars['ID'];
|
assetId: Scalars['ID'];
|
||||||
@ -4265,7 +4343,7 @@ export enum TransferType {
|
|||||||
TRANSFER_TYPE_MTM_LOSS = 'TRANSFER_TYPE_MTM_LOSS',
|
TRANSFER_TYPE_MTM_LOSS = 'TRANSFER_TYPE_MTM_LOSS',
|
||||||
/** Funds added to margin account after mark to market gain */
|
/** Funds added to margin account after mark to market gain */
|
||||||
TRANSFER_TYPE_MTM_WIN = 'TRANSFER_TYPE_MTM_WIN',
|
TRANSFER_TYPE_MTM_WIN = 'TRANSFER_TYPE_MTM_WIN',
|
||||||
/** Staking reward received */
|
/** Reward payout received */
|
||||||
TRANSFER_TYPE_REWARD_PAYOUT = 'TRANSFER_TYPE_REWARD_PAYOUT',
|
TRANSFER_TYPE_REWARD_PAYOUT = 'TRANSFER_TYPE_REWARD_PAYOUT',
|
||||||
/** A network internal instruction for the collateral engine to move funds from the pending transfers pool account into the destination account */
|
/** A network internal instruction for the collateral engine to move funds from the pending transfers pool account into the destination account */
|
||||||
TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE = 'TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE',
|
TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE = 'TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE',
|
||||||
|
Loading…
Reference in New Issue
Block a user