Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Block Explorer UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
Block Explorer UI
Commits
ffc07f55
Commit
ffc07f55
authored
1 month ago
by
Dima Rifai
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#479
- Fix type issue
parent
3ada388f
No related branches found
No related tags found
1 merge request
!587
Delrifai/#479 use aggregated balance api
Pipeline
#117484
canceled
1 month ago
Stage: build
Stage: test
Stage: test-report-aggregate
Stage: cleanup
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
types/Hive.ts
+2
-2
2 additions, 2 deletions
types/Hive.ts
types/Rest.ts
+2
-2
2 additions, 2 deletions
types/Rest.ts
with
4 additions
and
4 deletions
types/Hive.ts
+
2
−
2
View file @
ffc07f55
...
...
@@ -779,7 +779,7 @@ namespace Hive {
balance_change
!
:
number
;
timestamp
!
:
string
;
}
export
class
Get
AccountBalanceHistoryParams
{
export
class
AccountBalanceHistoryParams
{
"
accountName
"
:
string
;
"
coin-type
"
:
string
;
direction
?:
Hive
.
Direction
;
...
...
@@ -793,7 +793,7 @@ namespace Hive {
total_pages
!
:
number
;
operations_result
!
:
AccountBalanceHistory
[];
}
export
class
Get
AggregatedAccountBalanceHistoryParams
{
export
class
AggregatedAccountBalanceHistoryParams
{
"
accountName
"
:
string
;
"
coin-type
"
:
string
;
"
granularity
"
:
string
;
...
...
This diff is collapsed.
Click to expand it.
types/Rest.ts
+
2
−
2
View file @
ffc07f55
...
...
@@ -142,13 +142,13 @@ export const extendedRest = {
},
"
balance-api
"
:
{
balanceHistory
:
{
params
:
Hive
.
Get
AccountBalanceHistoryParams
,
params
:
Hive
.
AccountBalanceHistoryParams
,
result
:
Hive
.
AccountBalanceHistoryResponse
,
urlPath
:
"
accounts/{accountName}/balance-history
"
,
},
aggregatedHistory
:
{
params
:
Hive
.
Get
AccountBalanceHistoryParams
,
params
:
Hive
.
Aggregated
AccountBalanceHistoryParams
,
result
:
Hive
.
AccountAggregatedBalanceHistoryResponse
,
urlPath
:
"
accounts/{accountName}/aggregated-history
"
,
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment