@iota/graphql-transport 0.13.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/generated/queries.d.ts +190 -72
  4. package/dist/cjs/generated/queries.d.ts.map +1 -0
  5. package/dist/cjs/generated/queries.js +138 -29
  6. package/dist/cjs/generated/queries.js.map +2 -2
  7. package/dist/cjs/index.d.ts +1 -0
  8. package/dist/cjs/index.d.ts.map +1 -0
  9. package/dist/cjs/mappers/bcs.d.ts +1 -0
  10. package/dist/cjs/mappers/bcs.d.ts.map +1 -0
  11. package/dist/cjs/mappers/checkpoint.d.ts +1 -0
  12. package/dist/cjs/mappers/checkpoint.d.ts.map +1 -0
  13. package/dist/cjs/mappers/display.d.ts +1 -0
  14. package/dist/cjs/mappers/display.d.ts.map +1 -0
  15. package/dist/cjs/mappers/move.d.ts +4 -2
  16. package/dist/cjs/mappers/move.d.ts.map +1 -0
  17. package/dist/cjs/mappers/move.js +30 -0
  18. package/dist/cjs/mappers/move.js.map +2 -2
  19. package/dist/cjs/mappers/object.d.ts +1 -0
  20. package/dist/cjs/mappers/object.d.ts.map +1 -0
  21. package/dist/cjs/mappers/owner.d.ts +1 -0
  22. package/dist/cjs/mappers/owner.d.ts.map +1 -0
  23. package/dist/cjs/mappers/stakes.d.ts +1 -0
  24. package/dist/cjs/mappers/stakes.d.ts.map +1 -0
  25. package/dist/cjs/mappers/transaction-block.d.ts +1 -0
  26. package/dist/cjs/mappers/transaction-block.d.ts.map +1 -0
  27. package/dist/cjs/mappers/transaction-block.js +1 -1
  28. package/dist/cjs/mappers/transaction-block.js.map +2 -2
  29. package/dist/cjs/mappers/util.d.ts +1 -0
  30. package/dist/cjs/mappers/util.d.ts.map +1 -0
  31. package/dist/cjs/mappers/validator.d.ts +1 -0
  32. package/dist/cjs/mappers/validator.d.ts.map +1 -0
  33. package/dist/cjs/mappers/validator.js +2 -2
  34. package/dist/cjs/mappers/validator.js.map +2 -2
  35. package/dist/cjs/methods.d.ts +1 -0
  36. package/dist/cjs/methods.d.ts.map +1 -0
  37. package/dist/cjs/methods.js +73 -40
  38. package/dist/cjs/methods.js.map +2 -2
  39. package/dist/cjs/transport.d.ts +4 -1
  40. package/dist/cjs/transport.d.ts.map +1 -0
  41. package/dist/cjs/transport.js +34 -30
  42. package/dist/cjs/transport.js.map +2 -2
  43. package/dist/esm/generated/queries.d.ts +190 -72
  44. package/dist/esm/generated/queries.d.ts.map +1 -0
  45. package/dist/esm/generated/queries.js +138 -29
  46. package/dist/esm/generated/queries.js.map +2 -2
  47. package/dist/esm/index.d.ts +1 -0
  48. package/dist/esm/index.d.ts.map +1 -0
  49. package/dist/esm/mappers/bcs.d.ts +1 -0
  50. package/dist/esm/mappers/bcs.d.ts.map +1 -0
  51. package/dist/esm/mappers/checkpoint.d.ts +1 -0
  52. package/dist/esm/mappers/checkpoint.d.ts.map +1 -0
  53. package/dist/esm/mappers/display.d.ts +1 -0
  54. package/dist/esm/mappers/display.d.ts.map +1 -0
  55. package/dist/esm/mappers/move.d.ts +4 -2
  56. package/dist/esm/mappers/move.d.ts.map +1 -0
  57. package/dist/esm/mappers/move.js +30 -0
  58. package/dist/esm/mappers/move.js.map +2 -2
  59. package/dist/esm/mappers/object.d.ts +1 -0
  60. package/dist/esm/mappers/object.d.ts.map +1 -0
  61. package/dist/esm/mappers/owner.d.ts +1 -0
  62. package/dist/esm/mappers/owner.d.ts.map +1 -0
  63. package/dist/esm/mappers/stakes.d.ts +1 -0
  64. package/dist/esm/mappers/stakes.d.ts.map +1 -0
  65. package/dist/esm/mappers/transaction-block.d.ts +1 -0
  66. package/dist/esm/mappers/transaction-block.d.ts.map +1 -0
  67. package/dist/esm/mappers/transaction-block.js +1 -1
  68. package/dist/esm/mappers/transaction-block.js.map +2 -2
  69. package/dist/esm/mappers/util.d.ts +1 -0
  70. package/dist/esm/mappers/util.d.ts.map +1 -0
  71. package/dist/esm/mappers/validator.d.ts +1 -0
  72. package/dist/esm/mappers/validator.d.ts.map +1 -0
  73. package/dist/esm/mappers/validator.js +2 -2
  74. package/dist/esm/mappers/validator.js.map +2 -2
  75. package/dist/esm/methods.d.ts +1 -0
  76. package/dist/esm/methods.d.ts.map +1 -0
  77. package/dist/esm/methods.js +79 -41
  78. package/dist/esm/methods.js.map +2 -2
  79. package/dist/esm/transport.d.ts +4 -1
  80. package/dist/esm/transport.d.ts.map +1 -0
  81. package/dist/esm/transport.js +34 -30
  82. package/dist/esm/transport.js.map +2 -2
  83. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  84. package/dist/tsconfig.tsbuildinfo +1 -1
  85. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,98 @@
1
1
  # @iota/graphql-transport
2
2
 
3
+ ## 0.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0be1d8d: Add a new RequestInspector API to look into requests and responses of an IotaClient
8
+
9
+ ### Patch Changes
10
+
11
+ - 331b7ab: Refreshed the README with up to date APIs, examples and more.
12
+ - adea573: Enable declarationMap in TS packages
13
+ - 1359874: Add fallback values to getBalance call if there is no balance for the requested
14
+ address.
15
+ - f116b86: fix undefined exchangeRatesId and stakingPoolId
16
+ - Updated dependencies [fe97265]
17
+ - Updated dependencies [d2ed95a]
18
+ - Updated dependencies [379dd4b]
19
+ - Updated dependencies [1a2b37f]
20
+ - Updated dependencies [1a2b37f]
21
+ - Updated dependencies [66d0c0d]
22
+ - Updated dependencies [9c6137c]
23
+ - Updated dependencies [331b7ab]
24
+ - Updated dependencies [adea573]
25
+ - Updated dependencies [bd1fa0b]
26
+ - Updated dependencies [1a2b37f]
27
+ - Updated dependencies [3f80310]
28
+ - Updated dependencies [2a9a1df]
29
+ - Updated dependencies [c74bcc2]
30
+ - Updated dependencies [045acb2]
31
+ - Updated dependencies [999224b]
32
+ - Updated dependencies [1a2b37f]
33
+ - Updated dependencies [f3d9079]
34
+ - Updated dependencies [7849d0e]
35
+ - Updated dependencies [045acb2]
36
+ - Updated dependencies [bd1fa0b]
37
+ - Updated dependencies [1a2b37f]
38
+ - Updated dependencies [045acb2]
39
+ - Updated dependencies [0be1d8d]
40
+ - Updated dependencies [235a8d7]
41
+ - Updated dependencies [46171b1]
42
+ - Updated dependencies [9d88461]
43
+ - Updated dependencies [045acb2]
44
+ - @iota/iota-sdk@1.12.0
45
+ - @iota/bcs@1.6.0
46
+
47
+ ## 0.14.0
48
+
49
+ ### Minor Changes
50
+
51
+ - 19c174f: Add enum pagination support to getNormalizedMoveModule and fix type generator for
52
+ arrays without items
53
+ - 8bd4574: Sync types with the new score integration.
54
+ - d5923e9: Add the `MoveAuthenticator` variant to the `GenericSignature` to allow the
55
+ authentication of Abstract Accounts.
56
+ - ffbb296: Update the GraphQL queries to support new fields
57
+ - f22df28: Change the thrown error of `getObject` when using the GraphQL transport for it to
58
+ behave like the JSON-RPC transport.
59
+
60
+ ### Patch Changes
61
+
62
+ - 54c7803: Update @types/node to v24.
63
+ - f2b8160: fix graphql transport error
64
+ - abcdd2f: add transactionBlocksByDigests tests
65
+ - 6f06e01: Bring back unsupportedFilters for `getOwnedObjects`
66
+ - Updated dependencies [43cfa2b]
67
+ - Updated dependencies [94b38e1]
68
+ - Updated dependencies [3bcb711]
69
+ - Updated dependencies [0296e7d]
70
+ - Updated dependencies [54c7803]
71
+ - Updated dependencies [b903c0a]
72
+ - Updated dependencies [f5a4569]
73
+ - Updated dependencies [19c174f]
74
+ - Updated dependencies [8bd4574]
75
+ - Updated dependencies [5fc7e20]
76
+ - Updated dependencies [7a61cb5]
77
+ - Updated dependencies [f2b8160]
78
+ - Updated dependencies [abcdd2f]
79
+ - Updated dependencies [d5923e9]
80
+ - Updated dependencies [6fc20db]
81
+ - Updated dependencies [b72bfd2]
82
+ - Updated dependencies [38657f6]
83
+ - Updated dependencies [7fa1fde]
84
+ - Updated dependencies [2164846]
85
+ - Updated dependencies [4dc4b84]
86
+ - Updated dependencies [58891a9]
87
+ - Updated dependencies [f445f37]
88
+ - Updated dependencies [924bf18]
89
+ - Updated dependencies [21a4820]
90
+ - Updated dependencies [ffbb296]
91
+ - Updated dependencies [088c577]
92
+ - Updated dependencies [0cc417d]
93
+ - @iota/iota-sdk@1.11.0
94
+ - @iota/bcs@1.5.0
95
+
3
96
  ## 0.13.1
4
97
 
5
98
  ### Patch Changes
package/README.md CHANGED
@@ -15,11 +15,11 @@ npm install --save @iota/graphql-transport
15
15
 
16
16
  ```ts
17
17
  import { IotaClientGraphQLTransport } from '@iota/graphql-transport';
18
- import { getFullnodeUrl, IotaClient } from '@iota/iota-sdk/client';
18
+ import { getFullnodeUrl, getGraphQLUrl, IotaClient } from '@iota/iota-sdk/client';
19
19
 
20
20
  const client = new IotaClient({
21
21
  transport: new IotaClientGraphQLTransport({
22
- url: 'https://iota-testnet.iota.org/graphql',
22
+ url: getGraphQLUrl('testnet'),
23
23
  // When specified, the transport will fallback to JSON RPC for unsupported method and parameters
24
24
  fallbackFullNodeUrl: getFullnodeUrl('testnet'),
25
25
  }),
@@ -586,6 +586,8 @@ export type ChangeEpochTransactionV2 = {
586
586
  nonRefundableStorageFee: Scalars['BigInt']['output'];
587
587
  /** The protocol version in effect in the new epoch. */
588
588
  protocolVersion: Scalars['UInt53']['output'];
589
+ /** The validator scores at the end of the epoch. */
590
+ scores?: Maybe<Array<Scalars['BigInt']['output']>>;
589
591
  /** Time at which the next epoch will start. */
590
592
  startTimestamp: Scalars['DateTime']['output'];
591
593
  /**
@@ -1520,6 +1522,15 @@ export type Event = {
1520
1522
  sendingModule?: Maybe<MoveModule>;
1521
1523
  /** UTC timestamp in milliseconds since epoch (1/1/1970) */
1522
1524
  timestamp?: Maybe<Scalars['DateTime']['output']>;
1525
+ /**
1526
+ * The transaction block that emitted this event. This information is only
1527
+ * available for events from transactions included in a checkpoint.
1528
+ *
1529
+ * For simulated transactions (e.g. dry run), or transactions that have
1530
+ * been just executed but not yet included in a checkpoint this returns
1531
+ * null.
1532
+ */
1533
+ transactionBlock?: Maybe<TransactionBlock>;
1523
1534
  /** The value's Move type. */
1524
1535
  type: MoveType;
1525
1536
  };
@@ -2686,6 +2697,8 @@ export type MovePackage = IObject & IOwner & {
2686
2697
  * package's original ID, but has the specified `version`).
2687
2698
  */
2688
2699
  packageAtVersion?: Maybe<MovePackage>;
2700
+ /** BCS representation of the package itself, as a MovePackage. */
2701
+ packageBcs?: Maybe<Scalars['Base64']['output']>;
2689
2702
  /**
2690
2703
  * Fetch all versions of this package (packages that share this package's
2691
2704
  * original ID), optionally bounding the versions exclusively from
@@ -5022,11 +5035,14 @@ export type TransactionBlockEffects = {
5022
5035
  balanceChanges: BalanceChangeConnection;
5023
5036
  /** Base64 encoded bcs serialization of the on-chain transaction effects. */
5024
5037
  bcs: Scalars['Base64']['output'];
5025
- /** The checkpoint this transaction was finalized in. */
5038
+ /**
5039
+ * The checkpoint this transaction was finalized in, if it is within the
5040
+ * available range.
5041
+ */
5026
5042
  checkpoint?: Maybe<Checkpoint>;
5027
5043
  /** Transactions whose outputs this transaction depends upon. */
5028
5044
  dependencies: DependencyConnection;
5029
- /** The epoch this transaction was finalized in. */
5045
+ /** The epoch this transaction was executed in. */
5030
5046
  epoch?: Maybe<Epoch>;
5031
5047
  /**
5032
5048
  * The reason for a transaction failure, if it did fail.
@@ -6483,16 +6499,13 @@ export type GetCurrentEpochQuery = {
6483
6499
  poolTokenBalance?: any | null;
6484
6500
  projectUrl?: string | null;
6485
6501
  rewardsPool?: any | null;
6502
+ stakingPoolId: any;
6486
6503
  stakingPoolActivationEpoch?: any | null;
6487
6504
  stakingPoolIotaBalance?: any | null;
6488
6505
  votingPower?: number | null;
6489
- exchangeRates?: {
6490
- __typename?: 'MoveObject';
6506
+ exchangeRatesTable?: {
6507
+ __typename?: 'Owner';
6491
6508
  address: any;
6492
- contents?: {
6493
- __typename?: 'MoveValue';
6494
- json: any;
6495
- } | null;
6496
6509
  } | null;
6497
6510
  credentials?: {
6498
6511
  __typename?: 'ValidatorCredentials';
@@ -6518,10 +6531,6 @@ export type GetCurrentEpochQuery = {
6518
6531
  __typename?: 'MoveObject';
6519
6532
  address: any;
6520
6533
  } | null;
6521
- stakingPool?: {
6522
- __typename?: 'MoveObject';
6523
- address: any;
6524
- } | null;
6525
6534
  address: {
6526
6535
  __typename?: 'Address';
6527
6536
  address: any;
@@ -6553,16 +6562,13 @@ export type GetCurrentEpochQuery = {
6553
6562
  poolTokenBalance?: any | null;
6554
6563
  projectUrl?: string | null;
6555
6564
  rewardsPool?: any | null;
6565
+ stakingPoolId: any;
6556
6566
  stakingPoolActivationEpoch?: any | null;
6557
6567
  stakingPoolIotaBalance?: any | null;
6558
6568
  votingPower?: number | null;
6559
- exchangeRates?: {
6560
- __typename?: 'MoveObject';
6569
+ exchangeRatesTable?: {
6570
+ __typename?: 'Owner';
6561
6571
  address: any;
6562
- contents?: {
6563
- __typename?: 'MoveValue';
6564
- json: any;
6565
- } | null;
6566
6572
  } | null;
6567
6573
  credentials?: {
6568
6574
  __typename?: 'ValidatorCredentials';
@@ -6588,10 +6594,6 @@ export type GetCurrentEpochQuery = {
6588
6594
  __typename?: 'MoveObject';
6589
6595
  address: any;
6590
6596
  } | null;
6591
- stakingPool?: {
6592
- __typename?: 'MoveObject';
6593
- address: any;
6594
- } | null;
6595
6597
  address: {
6596
6598
  __typename?: 'Address';
6597
6599
  address: any;
@@ -6643,16 +6645,13 @@ export type PaginateEpochValidatorsQuery = {
6643
6645
  poolTokenBalance?: any | null;
6644
6646
  projectUrl?: string | null;
6645
6647
  rewardsPool?: any | null;
6648
+ stakingPoolId: any;
6646
6649
  stakingPoolActivationEpoch?: any | null;
6647
6650
  stakingPoolIotaBalance?: any | null;
6648
6651
  votingPower?: number | null;
6649
- exchangeRates?: {
6650
- __typename?: 'MoveObject';
6652
+ exchangeRatesTable?: {
6653
+ __typename?: 'Owner';
6651
6654
  address: any;
6652
- contents?: {
6653
- __typename?: 'MoveValue';
6654
- json: any;
6655
- } | null;
6656
6655
  } | null;
6657
6656
  credentials?: {
6658
6657
  __typename?: 'ValidatorCredentials';
@@ -6678,10 +6677,6 @@ export type PaginateEpochValidatorsQuery = {
6678
6677
  __typename?: 'MoveObject';
6679
6678
  address: any;
6680
6679
  } | null;
6681
- stakingPool?: {
6682
- __typename?: 'MoveObject';
6683
- address: any;
6684
- } | null;
6685
6680
  address: {
6686
6681
  __typename?: 'Address';
6687
6682
  address: any;
@@ -6713,16 +6708,13 @@ export type PaginateEpochValidatorsQuery = {
6713
6708
  poolTokenBalance?: any | null;
6714
6709
  projectUrl?: string | null;
6715
6710
  rewardsPool?: any | null;
6711
+ stakingPoolId: any;
6716
6712
  stakingPoolActivationEpoch?: any | null;
6717
6713
  stakingPoolIotaBalance?: any | null;
6718
6714
  votingPower?: number | null;
6719
- exchangeRates?: {
6720
- __typename?: 'MoveObject';
6715
+ exchangeRatesTable?: {
6716
+ __typename?: 'Owner';
6721
6717
  address: any;
6722
- contents?: {
6723
- __typename?: 'MoveValue';
6724
- json: any;
6725
- } | null;
6726
6718
  } | null;
6727
6719
  credentials?: {
6728
6720
  __typename?: 'ValidatorCredentials';
@@ -6748,10 +6740,6 @@ export type PaginateEpochValidatorsQuery = {
6748
6740
  __typename?: 'MoveObject';
6749
6741
  address: any;
6750
6742
  } | null;
6751
- stakingPool?: {
6752
- __typename?: 'MoveObject';
6753
- address: any;
6754
- } | null;
6755
6743
  address: {
6756
6744
  __typename?: 'Address';
6757
6745
  address: any;
@@ -6779,16 +6767,13 @@ export type Rpc_Validator_FieldsFragment = {
6779
6767
  poolTokenBalance?: any | null;
6780
6768
  projectUrl?: string | null;
6781
6769
  rewardsPool?: any | null;
6770
+ stakingPoolId: any;
6782
6771
  stakingPoolActivationEpoch?: any | null;
6783
6772
  stakingPoolIotaBalance?: any | null;
6784
6773
  votingPower?: number | null;
6785
- exchangeRates?: {
6786
- __typename?: 'MoveObject';
6774
+ exchangeRatesTable?: {
6775
+ __typename?: 'Owner';
6787
6776
  address: any;
6788
- contents?: {
6789
- __typename?: 'MoveValue';
6790
- json: any;
6791
- } | null;
6792
6777
  } | null;
6793
6778
  credentials?: {
6794
6779
  __typename?: 'ValidatorCredentials';
@@ -6814,10 +6799,6 @@ export type Rpc_Validator_FieldsFragment = {
6814
6799
  __typename?: 'MoveObject';
6815
6800
  address: any;
6816
6801
  } | null;
6817
- stakingPool?: {
6818
- __typename?: 'MoveObject';
6819
- address: any;
6820
- } | null;
6821
6802
  address: {
6822
6803
  __typename?: 'Address';
6823
6804
  address: any;
@@ -7065,16 +7046,13 @@ export type GetLatestIotaSystemStateQuery = {
7065
7046
  poolTokenBalance?: any | null;
7066
7047
  projectUrl?: string | null;
7067
7048
  rewardsPool?: any | null;
7049
+ stakingPoolId: any;
7068
7050
  stakingPoolActivationEpoch?: any | null;
7069
7051
  stakingPoolIotaBalance?: any | null;
7070
7052
  votingPower?: number | null;
7071
- exchangeRates?: {
7072
- __typename?: 'MoveObject';
7053
+ exchangeRatesTable?: {
7054
+ __typename?: 'Owner';
7073
7055
  address: any;
7074
- contents?: {
7075
- __typename?: 'MoveValue';
7076
- json: any;
7077
- } | null;
7078
7056
  } | null;
7079
7057
  credentials?: {
7080
7058
  __typename?: 'ValidatorCredentials';
@@ -7100,10 +7078,6 @@ export type GetLatestIotaSystemStateQuery = {
7100
7078
  __typename?: 'MoveObject';
7101
7079
  address: any;
7102
7080
  } | null;
7103
- stakingPool?: {
7104
- __typename?: 'MoveObject';
7105
- address: any;
7106
- } | null;
7107
7081
  address: {
7108
7082
  __typename?: 'Address';
7109
7083
  address: any;
@@ -7135,16 +7109,13 @@ export type GetLatestIotaSystemStateQuery = {
7135
7109
  poolTokenBalance?: any | null;
7136
7110
  projectUrl?: string | null;
7137
7111
  rewardsPool?: any | null;
7112
+ stakingPoolId: any;
7138
7113
  stakingPoolActivationEpoch?: any | null;
7139
7114
  stakingPoolIotaBalance?: any | null;
7140
7115
  votingPower?: number | null;
7141
- exchangeRates?: {
7142
- __typename?: 'MoveObject';
7116
+ exchangeRatesTable?: {
7117
+ __typename?: 'Owner';
7143
7118
  address: any;
7144
- contents?: {
7145
- __typename?: 'MoveValue';
7146
- json: any;
7147
- } | null;
7148
7119
  } | null;
7149
7120
  credentials?: {
7150
7121
  __typename?: 'ValidatorCredentials';
@@ -7170,10 +7141,6 @@ export type GetLatestIotaSystemStateQuery = {
7170
7141
  __typename?: 'MoveObject';
7171
7142
  address: any;
7172
7143
  } | null;
7173
- stakingPool?: {
7174
- __typename?: 'MoveObject';
7175
- address: any;
7176
- } | null;
7177
7144
  address: {
7178
7145
  __typename?: 'Address';
7179
7146
  address: any;
@@ -7321,6 +7288,37 @@ export type GetNormalizedMoveModuleQuery = {
7321
7288
  }> | null;
7322
7289
  }>;
7323
7290
  } | null;
7291
+ enums?: {
7292
+ __typename?: 'MoveEnumConnection';
7293
+ pageInfo: {
7294
+ __typename?: 'PageInfo';
7295
+ hasNextPage: boolean;
7296
+ endCursor?: string | null;
7297
+ };
7298
+ nodes: Array<{
7299
+ __typename?: 'MoveEnum';
7300
+ name: string;
7301
+ abilities?: Array<MoveAbility> | null;
7302
+ typeParameters?: Array<{
7303
+ __typename?: 'MoveStructTypeParameter';
7304
+ constraints: Array<MoveAbility>;
7305
+ isPhantom: boolean;
7306
+ }> | null;
7307
+ variants?: Array<{
7308
+ __typename?: 'MoveEnumVariant';
7309
+ name: string;
7310
+ fields?: Array<{
7311
+ __typename?: 'MoveField';
7312
+ name: string;
7313
+ type?: {
7314
+ __typename?: 'OpenMoveType';
7315
+ repr: string;
7316
+ signature: any;
7317
+ } | null;
7318
+ }> | null;
7319
+ }> | null;
7320
+ }>;
7321
+ } | null;
7324
7322
  functions?: {
7325
7323
  __typename?: 'MoveFunctionConnection';
7326
7324
  pageInfo: {
@@ -7358,9 +7356,11 @@ export type PaginateMoveModuleListsQueryVariables = Exact<{
7358
7356
  hasMoreFriends: Scalars['Boolean']['input'];
7359
7357
  hasMoreStructs: Scalars['Boolean']['input'];
7360
7358
  hasMoreFunctions: Scalars['Boolean']['input'];
7359
+ hasMoreEnums: Scalars['Boolean']['input'];
7361
7360
  afterFriends?: InputMaybe<Scalars['String']['input']>;
7362
7361
  afterStructs?: InputMaybe<Scalars['String']['input']>;
7363
7362
  afterFunctions?: InputMaybe<Scalars['String']['input']>;
7363
+ afterEnums?: InputMaybe<Scalars['String']['input']>;
7364
7364
  }>;
7365
7365
  export type PaginateMoveModuleListsQuery = {
7366
7366
  __typename?: 'Query';
@@ -7439,6 +7439,37 @@ export type PaginateMoveModuleListsQuery = {
7439
7439
  }> | null;
7440
7440
  }>;
7441
7441
  } | null;
7442
+ enums?: {
7443
+ __typename?: 'MoveEnumConnection';
7444
+ pageInfo: {
7445
+ __typename?: 'PageInfo';
7446
+ hasNextPage: boolean;
7447
+ endCursor?: string | null;
7448
+ };
7449
+ nodes: Array<{
7450
+ __typename?: 'MoveEnum';
7451
+ name: string;
7452
+ abilities?: Array<MoveAbility> | null;
7453
+ typeParameters?: Array<{
7454
+ __typename?: 'MoveStructTypeParameter';
7455
+ constraints: Array<MoveAbility>;
7456
+ isPhantom: boolean;
7457
+ }> | null;
7458
+ variants?: Array<{
7459
+ __typename?: 'MoveEnumVariant';
7460
+ name: string;
7461
+ fields?: Array<{
7462
+ __typename?: 'MoveField';
7463
+ name: string;
7464
+ type?: {
7465
+ __typename?: 'OpenMoveType';
7466
+ repr: string;
7467
+ signature: any;
7468
+ } | null;
7469
+ }> | null;
7470
+ }> | null;
7471
+ }>;
7472
+ } | null;
7442
7473
  } | null;
7443
7474
  } | null;
7444
7475
  } | null;
@@ -7489,6 +7520,37 @@ export type Rpc_Move_Module_FieldsFragment = {
7489
7520
  }> | null;
7490
7521
  }>;
7491
7522
  } | null;
7523
+ enums?: {
7524
+ __typename?: 'MoveEnumConnection';
7525
+ pageInfo: {
7526
+ __typename?: 'PageInfo';
7527
+ hasNextPage: boolean;
7528
+ endCursor?: string | null;
7529
+ };
7530
+ nodes: Array<{
7531
+ __typename?: 'MoveEnum';
7532
+ name: string;
7533
+ abilities?: Array<MoveAbility> | null;
7534
+ typeParameters?: Array<{
7535
+ __typename?: 'MoveStructTypeParameter';
7536
+ constraints: Array<MoveAbility>;
7537
+ isPhantom: boolean;
7538
+ }> | null;
7539
+ variants?: Array<{
7540
+ __typename?: 'MoveEnumVariant';
7541
+ name: string;
7542
+ fields?: Array<{
7543
+ __typename?: 'MoveField';
7544
+ name: string;
7545
+ type?: {
7546
+ __typename?: 'OpenMoveType';
7547
+ repr: string;
7548
+ signature: any;
7549
+ } | null;
7550
+ }> | null;
7551
+ }> | null;
7552
+ }>;
7553
+ } | null;
7492
7554
  functions?: {
7493
7555
  __typename?: 'MoveFunctionConnection';
7494
7556
  pageInfo: {
@@ -7517,6 +7579,29 @@ export type Rpc_Move_Module_FieldsFragment = {
7517
7579
  }>;
7518
7580
  } | null;
7519
7581
  };
7582
+ export type Rpc_Move_Enum_FieldsFragment = {
7583
+ __typename?: 'MoveEnum';
7584
+ name: string;
7585
+ abilities?: Array<MoveAbility> | null;
7586
+ typeParameters?: Array<{
7587
+ __typename?: 'MoveStructTypeParameter';
7588
+ constraints: Array<MoveAbility>;
7589
+ isPhantom: boolean;
7590
+ }> | null;
7591
+ variants?: Array<{
7592
+ __typename?: 'MoveEnumVariant';
7593
+ name: string;
7594
+ fields?: Array<{
7595
+ __typename?: 'MoveField';
7596
+ name: string;
7597
+ type?: {
7598
+ __typename?: 'OpenMoveType';
7599
+ repr: string;
7600
+ signature: any;
7601
+ } | null;
7602
+ }> | null;
7603
+ }> | null;
7604
+ };
7520
7605
  export type GetNormalizedMoveModulesByPackageQueryVariables = Exact<{
7521
7606
  packageId: Scalars['IotaAddress']['input'];
7522
7607
  cursor?: InputMaybe<Scalars['String']['input']>;
@@ -7581,6 +7666,37 @@ export type GetNormalizedMoveModulesByPackageQuery = {
7581
7666
  }> | null;
7582
7667
  }>;
7583
7668
  } | null;
7669
+ enums?: {
7670
+ __typename?: 'MoveEnumConnection';
7671
+ pageInfo: {
7672
+ __typename?: 'PageInfo';
7673
+ hasNextPage: boolean;
7674
+ endCursor?: string | null;
7675
+ };
7676
+ nodes: Array<{
7677
+ __typename?: 'MoveEnum';
7678
+ name: string;
7679
+ abilities?: Array<MoveAbility> | null;
7680
+ typeParameters?: Array<{
7681
+ __typename?: 'MoveStructTypeParameter';
7682
+ constraints: Array<MoveAbility>;
7683
+ isPhantom: boolean;
7684
+ }> | null;
7685
+ variants?: Array<{
7686
+ __typename?: 'MoveEnumVariant';
7687
+ name: string;
7688
+ fields?: Array<{
7689
+ __typename?: 'MoveField';
7690
+ name: string;
7691
+ type?: {
7692
+ __typename?: 'OpenMoveType';
7693
+ repr: string;
7694
+ signature: any;
7695
+ } | null;
7696
+ }> | null;
7697
+ }> | null;
7698
+ }>;
7699
+ } | null;
7584
7700
  functions?: {
7585
7701
  __typename?: 'MoveFunctionConnection';
7586
7702
  pageInfo: {
@@ -9231,6 +9347,7 @@ export declare const Rpc_Checkpoint_FieldsFragmentDoc: TypedDocumentString<Rpc_C
9231
9347
  export declare const Rpc_Credential_FieldsFragmentDoc: TypedDocumentString<Rpc_Credential_FieldsFragment, unknown>;
9232
9348
  export declare const Rpc_Validator_FieldsFragmentDoc: TypedDocumentString<Rpc_Validator_FieldsFragment, unknown>;
9233
9349
  export declare const Rpc_Move_Struct_FieldsFragmentDoc: TypedDocumentString<Rpc_Move_Struct_FieldsFragment, unknown>;
9350
+ export declare const Rpc_Move_Enum_FieldsFragmentDoc: TypedDocumentString<Rpc_Move_Enum_FieldsFragment, unknown>;
9234
9351
  export declare const Rpc_Move_Function_FieldsFragmentDoc: TypedDocumentString<Rpc_Move_Function_FieldsFragment, unknown>;
9235
9352
  export declare const Rpc_Move_Module_FieldsFragmentDoc: TypedDocumentString<Rpc_Move_Module_FieldsFragment, unknown>;
9236
9353
  export declare const Rpc_Object_Owner_FieldsFragmentDoc: TypedDocumentString<Rpc_Object_Owner_FieldsFragment, unknown>;
@@ -9287,3 +9404,4 @@ export declare const MultiGetTransactionBlocksDocument: TypedDocumentString<Mult
9287
9404
  export declare const PaginateTransactionBlockListsDocument: TypedDocumentString<PaginateTransactionBlockListsQuery, PaginateTransactionBlockListsQueryVariables>;
9288
9405
  export declare const ViewDocument: TypedDocumentString<ViewQuery, ViewQueryVariables>;
9289
9406
  export {};
9407
+ //# sourceMappingURL=queries.d.ts.map