feat: support concurrent Reddit accounts
This commit is contained in:
1 parent
d819a0f1e6
commit
16a31335d0
51 files changed
+3241
-250
No files matched your search
@@ -20,6 +20,8 @@ import type { RuntimeConfig } from './types.js';
|
||||
import type { RedditSessionImporter } from '../services/reddit-session-importer.js';
|
||||
import type { AccountAuthContext } from '../services/account-auth-context.js';
|
||||
import type { ConfigStore } from '../config/persistence.js';
|
||||
import type { RedditAccountsService } from '../services/reddit-accounts.js';
|
||||
import type { RedditAccountRuntimeManager } from '../services/reddit-account-runtime.js';
|
||||
|
||||
/** Bag of everything the route modules might need. */
|
||||
export interface WebContext {
|
||||
@@ -48,6 +50,8 @@ export interface WebContext {
|
||||
accountAuth?: AccountAuthContext;
|
||||
conversationState?: ConversationStateRepository;
|
||||
configStore?: ConfigStore;
|
||||
redditAccounts?: RedditAccountsService;
|
||||
accountRuntimes?: RedditAccountRuntimeManager;
|
||||
};
|
||||
|
||||
/** Bot pause/resume toggle read by the main loop. */
|
||||
|
||||
Reference in new issue
Block a user