Skip to content

Commit 73d9033

Browse files
authored
Merge pull request #160 from ponderingdemocritus/main
type export structure
2 parents f1a5af8 + 2ba0aaf commit 73d9033

File tree

7 files changed

+37
-48
lines changed

7 files changed

+37
-48
lines changed

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)