add registry todos

This commit is contained in:
CaiHQ 2023-11-20 11:58:54 +08:00
parent 65431ebcb2
commit b635aeab77
3 changed files with 12 additions and 12 deletions

View File

@ -1,29 +1,29 @@
module ShanxiRegistry{ module ShanxiRegistry{
export function getAllRepoCount() { export function getAllRepoCount() {
return executeContract("ShanxiRegistry","getAllRepoCount",arg).result; return executeContract("ShanxiRegistry","getAllRepoCount","").result;
} }
export function getAllDoCount() { export function getAllDoCount() {
return executeContract("ShanxiRegistry","getAllDoCount",arg).result; return executeContract("ShanxiRegistry","getAllDoCount","").result;
} }
export function getAllSearchCount() { export function getAllSearchCount() {
return executeContract("ShanxiRegistry","getAllSearchCount",arg).result; return executeContract("ShanxiRegistry","getAllSearchCount","").result;
} }
export function getIndexStatistics() { export function getIndexStatistics() {
return executeContract("ShanxiRegistry","getIndexStatistics",arg).result; return executeContract("ShanxiRegistry","getIndexStatistics","").result;
} }
export function getRepoList() { export function getRepoList() {
return executeContract("ShanxiRegistry","getRepoList",arg).result; return executeContract("ShanxiRegistry","getRepoList","").result;
} }
export function pingRepo() { export function pingRepo(arg) {
return executeContract("ShanxiRegistry","pingRepo",arg).result; return executeContract("ShanxiRegistry","pingRepo",arg).result;
} }
export function addRepoToRegistry() { export function addRepoToRegistry(arg) {
return executeContract("ShanxiRegistry","addRepoToRegistry",arg).result; return executeContract("ShanxiRegistry","addRepoToRegistry",arg).result;
} }
export function updateRepoInRegistry() { export function updateRepoInRegistry(arg) {
return executeContract("ShanxiRegistry","updateRepoInRegistry",arg).result; return executeContract("ShanxiRegistry","updateRepoInRegistry",arg).result;
} }
export function deleteRepoList() { export function deleteRepoList(arg) {
return executeContract("ShanxiRegistry","deleteRepoList",arg).result; return executeContract("ShanxiRegistry","deleteRepoList",arg).result;
} }
export function listDataRequirement() { export function listDataRequirement() {
@ -41,7 +41,7 @@ module ShanxiRegistry{
export function updateDataRequirement() { export function updateDataRequirement() {
return executeContract("ShanxiRegistry","updateDataRequirement",arg).result; return executeContract("ShanxiRegistry","updateDataRequirement",arg).result;
} }
export function getDataRequirement() { export function getDataRequirement(arg) {
return executeContract("ShanxiRegistry","getDataRequirement",arg).result; return executeContract("ShanxiRegistry","getDataRequirement",arg).result;
} }
export function deleteDataRequirement() { export function deleteDataRequirement() {

@ -1 +1 @@
Subproject commit d648b4c5175912b89b9f2d829b2e45e0ab1d702a Subproject commit 44e44ea119b5b1fdf35be3a46b9db7d6a37b8d2b

@ -1 +1 @@
Subproject commit 3193d518b2cf625990a385489eef8101606f9b67 Subproject commit 02d34e6d38771a27722dfb243a53892a432e112f