init
This commit is contained in:
11
packages/genaiscript/genaisrc/_state/news.ts
Normal file
11
packages/genaiscript/genaisrc/_state/news.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import {NewsStore} from "@web-agent-rs/core/news";
|
||||
import {Instance} from "mobx-state-tree";
|
||||
|
||||
const newsStore = NewsStore.create({
|
||||
isLoading: false,
|
||||
apiKey: process.env.PERIGON_API_KEY
|
||||
});
|
||||
|
||||
export type NewsStore = Instance<typeof newsStore>;
|
||||
|
||||
export default newsStore;
|
Reference in New Issue
Block a user