Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
feat: export defineConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
KeJunMao committed Feb 17, 2023
1 parent 040b2d5 commit 7cd608d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ lib-cov
logs
node_modules
temp
cookies.json
cookie.json
5 changes: 5 additions & 0 deletions edgegpt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from ".";

export default defineConfig({
cookies: "cookie.json",
});
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { EdgeGPTConfig } from "./types";

export * from "./ChatBot";
export * from "./ChatHub";
export * from "./config";
export * from "./conversation";
export * from "./request";
export * from "./types";
export * from "./utils";

export const defineConfig = (config: Partial<EdgeGPTConfig>) => config;

0 comments on commit 7cd608d

Please sign in to comment.