mock interface modify

This commit is contained in:
scq 2023-08-19 06:56:58 +08:00
parent 64be380421
commit 635dcb0d48
2 changed files with 26 additions and 17 deletions

View File

@ -1,30 +1,33 @@
module ShanxiDataRepo{ module ShanxiDataRepo{
export function getDataDoList() { export function getDataDoList() {
return executeContract("ShanxiDataRepo","getDataDOList",arg).result; return executeContract("ShanxiDataRepo","getDataDoList",arg).result;
} }
export function deleteDataDO() { export function deleteDataDo() {
return executeContract("ShanxiDataRepo","deleteDataDO",arg).result; return executeContract("ShanxiDataRepo","deleteDataDo",arg).result;
} }
export function createDataDO() { export function createDataDo() {
return executeContract("ShanxiDataRepo","createDataDO",arg).result; return executeContract("ShanxiDataRepo","createDataDo",arg).result;
} }
export function retrieveDataDO() { export function retrieveDataDo() {
return executeContract("ShanxiDataRepo","retrieveDataDO",arg).result; return executeContract("ShanxiDataRepo","retrieveDataDo",arg).result;
} }
export function createViewDO() { export function updateDataDo() {
return executeContract("ShanxiDataRepo","createViewDO",arg).result; return executeContract("ShanxiDataRepo","updateDataDo",arg).result;
} }
export function updateViewDO() { export function createViewDo() {
return executeContract("ShanxiDataRepo","updateViewDO",arg).result; return executeContract("ShanxiDataRepo","createViewDo",arg).result;
} }
export function getViewDOList() { export function updateViewDo() {
return executeContract("ShanxiDataRepo","getViewDOList",arg).result; return executeContract("ShanxiDataRepo","updateViewDo",arg).result;
} }
export function deleteViewDO() { export function getViewDoList() {
return executeContract("ShanxiDataRepo","deleteViewDO",arg).result; return executeContract("ShanxiDataRepo","getViewDoList",arg).result;
} }
export function retrieveViewDO() { export function deleteViewDo() {
return executeContract("ShanxiDataRepo","retrieveViewDO",arg).result; return executeContract("ShanxiDataRepo","deleteViewDo",arg).result;
}
export function retrieveViewDo() {
return executeContract("ShanxiDataRepo","retrieveViewDo",arg).result;
} }
export function addAuthedUser() { export function addAuthedUser() {
return executeContract("ShanxiDataRepo","addAuthedUser",arg).result; return executeContract("ShanxiDataRepo","addAuthedUser",arg).result;

View File

@ -20,12 +20,18 @@ module ShanxiRegistry{
export function addRepoToRegistry() { export function addRepoToRegistry() {
return executeContract("ShanxiRegistry","addRepoToRegistry",arg).result; return executeContract("ShanxiRegistry","addRepoToRegistry",arg).result;
} }
export function updateRepoInRegistry() {
return executeContract("ShanxiRegistry","updateRepoInRegistry",arg).result;
}
export function deleteRepoList() { export function deleteRepoList() {
return executeContract("ControlProxy","deleteRepoList",arg).result; return executeContract("ControlProxy","deleteRepoList",arg).result;
} }
export function listDataRequirement() { export function listDataRequirement() {
return executeContract("ShanxiRegistry","listDataRequirement",arg).result; return executeContract("ShanxiRegistry","listDataRequirement",arg).result;
} }
export function getDataRequirementIssueList() {
return executeContract("ShanxiRegistry","getDataRequirementIssueList",arg).result;
}
export function createDataRequirement() { export function createDataRequirement() {
return executeContract("ShanxiRegistry","createDataRequirement",arg).result; return executeContract("ShanxiRegistry","createDataRequirement",arg).result;
} }