Skip to content

Commit 2ba0aaf

Browse files
export types
1 parent eaa4624 commit 2ba0aaf

File tree

8 files changed

+38
-49
lines changed

8 files changed

+38
-49
lines changed

core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "tsc",
1010
"lint": "eslint . --fix",
11-
"start": "node --loader ts-node/esm src/index.ts --characters=\"../characters/blobert.character.json\"",
11+
"start": "node --loader ts-node/esm src/index.ts",
1212
"start:arok": "node --loader ts-node/esm src/index.ts --characters=\"characters/arok.character.json\"",
1313
"start:service:ruby": "pm2 start npm --name=\"ruby\" --restart-delay=3000 --max-restarts=10 -- run start:ruby",
1414
"stop:service:ruby": "pm2 stop ruby",

core/src/actions/index.ts

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export * from "./ask_claude.ts";
2+
export * from "./follow_room.ts";
3+
export * from "./imageGeneration.ts";
4+
export * from "./mute_room.ts";
5+
export * from "./swap.ts";
6+
export * from "./unfollow_room.ts";
7+
export * from "./unmute_room.ts";
8+
export * from "./mute_room.ts";
9+
export * from "./continue.ts";
10+
export * from "./follow_room.ts";
11+
export * from "./ignore.ts";
12+
export * from "./imageGenerationUtils.ts";
13+
export * from "./pumpfun.ts";
14+
export * from "./swap.ts";
15+
export * from "./swapUtils.ts";
16+
export * from "./take_order.ts";

core/src/adapters/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { PostgresDatabaseAdapter } from "./postgres.ts";
2+
export { SqliteDatabaseAdapter } from "./sqlite.ts";

core/src/clients/index.ts

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import DirectClient from "./direct";
2+
3+
export {
4+
TwitterGenerationClient,
5+
TwitterInteractionClient,
6+
TwitterSearchClient,
7+
} from "./twitter";
8+
export { TelegramClient } from "./telegram";
9+
export { DiscordClient } from "./discord";
10+
export { DirectClient };

core/src/clients/telegram/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { TelegramClient } from "./src/index.ts";

core/src/clients/twitter/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export { TwitterGenerationClient } from "./generate.ts";
2+
export { TwitterSearchClient } from "./search.ts";
3+
export { TwitterInteractionClient } from "./interactions.ts";

core/src/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Exports
2+
export * from "./actions/index.ts";
3+
export * from "./clients/index.ts";
4+
export * from "./adapters/index.ts";
5+
16
import Database from "better-sqlite3";
27
import fs from "fs";
38
import yargs from "yargs";

core/src/lib.ts

-48
This file was deleted.

0 commit comments

Comments
 (0)