Skip to content

Commit

Permalink
export types
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Nov 1, 2024
1 parent eaa4624 commit 2ba0aaf
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 49 deletions.
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "tsc",
"lint": "eslint . --fix",
"start": "node --loader ts-node/esm src/index.ts --characters=\"../characters/blobert.character.json\"",
"start": "node --loader ts-node/esm src/index.ts",
"start:arok": "node --loader ts-node/esm src/index.ts --characters=\"characters/arok.character.json\"",
"start:service:ruby": "pm2 start npm --name=\"ruby\" --restart-delay=3000 --max-restarts=10 -- run start:ruby",
"stop:service:ruby": "pm2 stop ruby",
Expand Down
16 changes: 16 additions & 0 deletions core/src/actions/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export * from "./ask_claude.ts";
export * from "./follow_room.ts";
export * from "./imageGeneration.ts";
export * from "./mute_room.ts";
export * from "./swap.ts";
export * from "./unfollow_room.ts";
export * from "./unmute_room.ts";
export * from "./mute_room.ts";
export * from "./continue.ts";
export * from "./follow_room.ts";
export * from "./ignore.ts";
export * from "./imageGenerationUtils.ts";
export * from "./pumpfun.ts";
export * from "./swap.ts";
export * from "./swapUtils.ts";
export * from "./take_order.ts";
2 changes: 2 additions & 0 deletions core/src/adapters/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { PostgresDatabaseAdapter } from "./postgres.ts";
export { SqliteDatabaseAdapter } from "./sqlite.ts";
10 changes: 10 additions & 0 deletions core/src/clients/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import DirectClient from "./direct";

export {
TwitterGenerationClient,
TwitterInteractionClient,
TwitterSearchClient,
} from "./twitter";
export { TelegramClient } from "./telegram";
export { DiscordClient } from "./discord";
export { DirectClient };
1 change: 1 addition & 0 deletions core/src/clients/telegram/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { TelegramClient } from "./src/index.ts";
3 changes: 3 additions & 0 deletions core/src/clients/twitter/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export { TwitterGenerationClient } from "./generate.ts";
export { TwitterSearchClient } from "./search.ts";
export { TwitterInteractionClient } from "./interactions.ts";
5 changes: 5 additions & 0 deletions core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Exports
export * from "./actions/index.ts";
export * from "./clients/index.ts";
export * from "./adapters/index.ts";

import Database from "better-sqlite3";
import fs from "fs";
import yargs from "yargs";
Expand Down
48 changes: 0 additions & 48 deletions core/src/lib.ts

This file was deleted.

0 comments on commit 2ba0aaf

Please sign in to comment.