Compare commits

...

2 Commits

Author SHA1 Message Date
c0de941ba8 chore(release): publish
- @egg/net-tool@1.30.0
2025-01-27 14:05:40 +00:00
5b7065dd0d feat(net-tool): 添加 LarkWikiService 以支持知识空间功能
All checks were successful
/ release (push) Successful in 24s
2025-01-27 14:05:13 +00:00
4 changed files with 11 additions and 2 deletions

2
package-lock.json generated
View File

@ -12394,7 +12394,7 @@
},
"packages/net-tool": {
"name": "@egg/net-tool",
"version": "1.29.0",
"version": "1.30.0",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.6.0",

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.30.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.29.0...@egg/net-tool@1.30.0) (2025-01-27)
### Features
- **net-tool:** 添加 LarkWikiService 以支持知识空间功能 ([5b7065d](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/5b7065dd0d787bd4ed173d77cf2c725d6d172553))
# [1.29.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.28.2...@egg/net-tool@1.29.0) (2025-01-27)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@egg/net-tool",
"version": "1.29.0",
"version": "1.30.0",
"description": "Net Tools for Egg projects",
"type": "module",
"main": "src/index.ts",

View File

@ -4,6 +4,7 @@ import LarkDriveService from "./drive"
import LarkMessageService from "./message"
import LarkSheetService from "./sheet"
import LarkUserService from "./user"
import LarkWikiService from "./wiki"
class LarkService {
drive: LarkDriveService
@ -12,6 +13,7 @@ class LarkService {
sheet: LarkSheetService
auth: LarkAuthService
chat: LarkChatService
wiki: LarkWikiService
requestId: string
constructor({
@ -34,6 +36,7 @@ class LarkService {
this.user = new LarkUserService(getAppAuth, requestId)
this.sheet = new LarkSheetService(getAppAuth, requestId)
this.chat = new LarkChatService(getAppAuth, requestId)
this.wiki = new LarkWikiService(getAppAuth, requestId)
this.requestId = requestId
}
}