From 635dcb0d48e62aef5f082d506b993e61ced77ced Mon Sep 17 00:00:00 2001 From: scq <1139040563@qq.com> Date: Sat, 19 Aug 2023 06:56:58 +0800 Subject: [PATCH] mock interface modify --- backend/yjs/ShanxiDataRepo.yjs | 37 ++++++++++++++++++---------------- backend/yjs/ShanxiRegistry.yjs | 6 ++++++ 2 files changed, 26 insertions(+), 17 deletions(-) diff --git a/backend/yjs/ShanxiDataRepo.yjs b/backend/yjs/ShanxiDataRepo.yjs index 4be0b68..6e61b4e 100644 --- a/backend/yjs/ShanxiDataRepo.yjs +++ b/backend/yjs/ShanxiDataRepo.yjs @@ -1,30 +1,33 @@ module ShanxiDataRepo{ export function getDataDoList() { - return executeContract("ShanxiDataRepo","getDataDOList",arg).result; + return executeContract("ShanxiDataRepo","getDataDoList",arg).result; } - export function deleteDataDO() { - return executeContract("ShanxiDataRepo","deleteDataDO",arg).result; + export function deleteDataDo() { + return executeContract("ShanxiDataRepo","deleteDataDo",arg).result; } - export function createDataDO() { - return executeContract("ShanxiDataRepo","createDataDO",arg).result; + export function createDataDo() { + return executeContract("ShanxiDataRepo","createDataDo",arg).result; } - export function retrieveDataDO() { - return executeContract("ShanxiDataRepo","retrieveDataDO",arg).result; + export function retrieveDataDo() { + return executeContract("ShanxiDataRepo","retrieveDataDo",arg).result; } - export function createViewDO() { - return executeContract("ShanxiDataRepo","createViewDO",arg).result; + export function updateDataDo() { + return executeContract("ShanxiDataRepo","updateDataDo",arg).result; } - export function updateViewDO() { - return executeContract("ShanxiDataRepo","updateViewDO",arg).result; + export function createViewDo() { + return executeContract("ShanxiDataRepo","createViewDo",arg).result; } - export function getViewDOList() { - return executeContract("ShanxiDataRepo","getViewDOList",arg).result; + export function updateViewDo() { + return executeContract("ShanxiDataRepo","updateViewDo",arg).result; } - export function deleteViewDO() { - return executeContract("ShanxiDataRepo","deleteViewDO",arg).result; + export function getViewDoList() { + return executeContract("ShanxiDataRepo","getViewDoList",arg).result; } - export function retrieveViewDO() { - return executeContract("ShanxiDataRepo","retrieveViewDO",arg).result; + export function deleteViewDo() { + return executeContract("ShanxiDataRepo","deleteViewDo",arg).result; + } + export function retrieveViewDo() { + return executeContract("ShanxiDataRepo","retrieveViewDo",arg).result; } export function addAuthedUser() { return executeContract("ShanxiDataRepo","addAuthedUser",arg).result; diff --git a/backend/yjs/ShanxiRegistry.yjs b/backend/yjs/ShanxiRegistry.yjs index bbed096..0dcb0c5 100644 --- a/backend/yjs/ShanxiRegistry.yjs +++ b/backend/yjs/ShanxiRegistry.yjs @@ -20,12 +20,18 @@ module ShanxiRegistry{ export function addRepoToRegistry() { return executeContract("ShanxiRegistry","addRepoToRegistry",arg).result; } + export function updateRepoInRegistry() { + return executeContract("ShanxiRegistry","updateRepoInRegistry",arg).result; + } export function deleteRepoList() { return executeContract("ControlProxy","deleteRepoList",arg).result; } export function listDataRequirement() { return executeContract("ShanxiRegistry","listDataRequirement",arg).result; } + export function getDataRequirementIssueList() { + return executeContract("ShanxiRegistry","getDataRequirementIssueList",arg).result; + } export function createDataRequirement() { return executeContract("ShanxiRegistry","createDataRequirement",arg).result; }