File tree Expand file tree Collapse file tree 5 files changed +69
-8
lines changed
graphql-transport/src/generated Expand file tree Collapse file tree 5 files changed +69
-8
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @iota/graphql-transport ' : minor
3
+ ' @iota/iota-sdk ' : minor
4
+ ---
5
+
6
+ Sync with Node changes.
Original file line number Diff line number Diff line change 37
37
uses : " ./.github/actions/diffs"
38
38
id : diff
39
39
40
+ sync :
41
+ name : ts-sdk sync with Node Changes
42
+ runs-on : self-hosted-x64
43
+ concurrency :
44
+ group : turbo-sync-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
45
+ cancel-in-progress : ${{ github.ref != 'refs/heads/develop' }}
46
+ if : (github.event.pull_request.draft == false || contains(github.event.pull_request.body, '[run-ci]'))
47
+ steps :
48
+ - name : Checkout
49
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
50
+ with :
51
+ fetch-depth : 2
52
+ - uses : pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
53
+ - name : Install Nodejs
54
+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
55
+ with :
56
+ node-version : " 20"
57
+ cache : " pnpm"
58
+ - name : Install dependencies
59
+ run : pnpm install --frozen-lockfile
60
+ - name : Turbo Cache
61
+ id : turbo-cache
62
+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
63
+ with :
64
+ path : .turbo
65
+ key : turbo-${{ runner.os }}-${{ github.sha }}
66
+ restore-keys : |
67
+ turbo-${{ runner.os }}-
68
+ - name : Node Sync
69
+ run : |
70
+ cd sdk/typescript
71
+ pnpm update-graphql-schemas
72
+ pnpm update-open-rpc-client-types
73
+ cd ../graphql-transport
74
+ pnpm codegen
75
+ if [ -z "$(git status --porcelain)" ]; then
76
+ echo "No sync needed"
77
+ else
78
+ echo "Sync is needed!"
79
+ git status
80
+ exit 1
81
+ fi
82
+
40
83
audit :
41
84
name : pnpm audit
42
85
runs-on : self-hosted-x64
Original file line number Diff line number Diff line change @@ -1498,7 +1498,12 @@ export type Epoch = {
1498
1498
* epoch.
1499
1499
*/
1500
1500
transactionBlocks : TransactionBlockConnection ;
1501
- /** Validator related properties, including the active validators. */
1501
+ /**
1502
+ * Validator related properties, including the active validators.
1503
+ *
1504
+ * For epochs other than the current the data provided refer to the start
1505
+ * of the epoch.
1506
+ */
1502
1507
validatorSet ?: Maybe < ValidatorSet > ;
1503
1508
} ;
1504
1509
@@ -5562,14 +5567,17 @@ export type Validator = {
5562
5567
operationCap ?: Maybe < MoveObject > ;
5563
5568
/**
5564
5569
* Pending pool token withdrawn during the current epoch, emptied at epoch
5565
- * boundaries.
5570
+ * boundaries. Zero for past epochs.
5566
5571
*/
5567
5572
pendingPoolTokenWithdraw ?: Maybe < Scalars [ 'BigInt' ] [ 'output' ] > ;
5568
- /** Pending stake amount for this epoch. */
5573
+ /**
5574
+ * Pending stake amount for the current epoch, emptied at epoch boundaries.
5575
+ * Zero for past epochs.
5576
+ */
5569
5577
pendingStake ?: Maybe < Scalars [ 'BigInt' ] [ 'output' ] > ;
5570
5578
/**
5571
5579
* Pending stake withdrawn during the current epoch, emptied at epoch
5572
- * boundaries.
5580
+ * boundaries. Zero for past epochs.
5573
5581
*/
5574
5582
pendingTotalIotaWithdraw ?: Maybe < Scalars [ 'BigInt' ] [ 'output' ] > ;
5575
5583
/** Total number of pool tokens issued by the pool. */
Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ export interface UnsafeMoveCallParams {
460
460
typeArguments : string [ ] ;
461
461
/**
462
462
* the arguments to be passed into the Move function, in
463
- * [IotaJson](/developer/references/iota-api) format
463
+ * [IotaJson](https://docs.iota.org /developer/references/iota-api) format
464
464
*/
465
465
arguments : unknown [ ] ;
466
466
/**
You can’t perform that action at this time.
0 commit comments