Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquidwe committed Dec 8, 2024
2 parents 029da5e + baa7e6b commit fe49203
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ Here are some of the planned improvements:
<br />
<sub><b>jinmu0410</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/youngpriince">
<img src="https://avatars.githubusercontent.com/u/110453347?v=4" width="100;" alt="youngpriince"/>
<br />
<sub><b>ypszn</b></sub>
</a>
</td>
</tr>
<tbody>
Expand Down
27 changes: 17 additions & 10 deletions client/network_chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,23 @@ type ChainBaseDatasetListItem struct {
}

type ChainResponse struct {
Code int `json:"code"`
Message string `json:"message"`
GraphData []struct {
Chain struct {
ID string `json:"id"`
Name string `json:"name"`
DatabaseName string `json:"databaseName"`
DataDictionary map[string][]TableInfo `json:"dataDictionary"`
} `json:"chain"`
} `json:"graphData"`
Code int `json:"code"`
Message string `json:"message"`
GraphData []struct {
Chain struct {
ID string `json:"id"`
Name string `json:"name"`
DatabaseName string `json:"databaseName"`
DataDictionary map[string][]TableInfo `json:"dataDictionary"`
} `json:"chain"`
} `json:"graphData"`
TransactionLogs *[]TransactionLog `json:"transactionLogs,omitempty"`
}

type TransactionLog struct {
Timestamp string `json:"timestamp"`
Action string `json:"action"`
Details string `json:"details"`
}

type TableInfo struct {
Expand Down

0 comments on commit fe49203

Please sign in to comment.