Skip to content

Commit

Permalink
Merge pull request #160 from ponderingdemocritus/main
Browse files Browse the repository at this point in the history
type export structure
  • Loading branch information
lalalune authored Nov 1, 2024
2 parents f1a5af8 + 2ba0aaf commit 73d9033
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 48 deletions.
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 73d9033

Please sign in to comment.