Add consent-gated media exchange library

This commit is contained in:
jjbrunton committed 2026-08-09 19:24:38 +01:00
1 parent b8e4a1bb88
commit bf474dfe10
42 files changed
+2533 -9

No files matched your search

+2
View File
@@ -24,6 +24,7 @@ import type { RedditAccountsService } from '../services/reddit-accounts.js';
import type { RedditAccountRuntimeManager } from '../services/reddit-account-runtime.js';
import type { AiUsageRepository } from '../database/ai-usage-repository.js';
import type { CandidateQueueRepository } from '../database/candidate-queue-repository.js';
import type { MediaLibraryService } from '../services/media-library.js';
/** Bag of everything the route modules might need. */
export interface WebContext {
@@ -56,6 +57,7 @@ export interface WebContext {
redditAccounts?: RedditAccountsService;
accountRuntimes?: RedditAccountRuntimeManager;
candidateQueue?: CandidateQueueRepository;
mediaLibrary?: MediaLibraryService;
};
/** Bot pause/resume toggle read by the main loop. */