forked from imbytecat/fullstack-starter
refactor: 重构合约API模块结构并修复路径错误
- 删除已废弃的合约API模块及其导出配置 - 添加合约接口导出,包含待办事项相关接口。 - 修复文件路径拼写错误,将文件名从 `contracts` 重命名为 `contract`。
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
import * as todo from './contracts/todo'
|
|
||||||
|
|
||||||
export const contract = {
|
|
||||||
todo,
|
|
||||||
}
|
|
||||||
5
apps/server/src/api/contract/index.ts
Normal file
5
apps/server/src/api/contract/index.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
import * as todo from './todo'
|
||||||
|
|
||||||
|
export const contract = {
|
||||||
|
todo,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user