Skip to content

Commit

Permalink
feat(feishu): feishu optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
LetTTGACO committed May 19, 2024
1 parent 64cf4c6 commit ed93885
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions playground/plugin-from-feishu-wiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
}
},
"dependencies": {
"front-matter": "~4.0.2",
"@feishux/api": "^0.3.1",
"@feishux/doc-to-md": "^0.3.1",
"@feishux/shared": "^0.3.1"
Expand Down
6 changes: 3 additions & 3 deletions playground/plugin-from-wolai/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { IPlugin } from '@elogx-test/elog';
import type { FlowUsConfig } from './types';
import type { WoLaiConfig } from './types';
import WolaiClient from './WolaiClient';

export default function yuque(options: Partial<FlowUsConfig>): IPlugin {
export default function yuque(options: Partial<WoLaiConfig>): IPlugin {
return {
name: 'from-flowus',
async down(this) {
const notion = new WolaiClient(options as FlowUsConfig, this);
const notion = new WolaiClient(options as WoLaiConfig, this);
return notion.getDocDetailList();
},
};
Expand Down

0 comments on commit ed93885

Please sign in to comment.