feat: complete Ancestor quote bot with production-ready Docker support

This commit is contained in:
unfunny
2026-09-13 14:14:38 -04:00
parent f2016da05a
commit fe7351a7dc
1145 changed files with 30890 additions and 97684 deletions

View File

@@ -1,16 +1,15 @@
import { type ISavedSync } from "./index.ts";
import { type IStoredClientOpts } from "../client.ts";
import { type IStateEventWithRoomId, type ISyncResponse } from "../matrix.ts";
import { type IIndexedDBBackend, type UserTuple } from "./indexeddb-backend.ts";
import { type IndexedToDeviceBatch, type ToDeviceBatchWithTxnId } from "../models/ToDeviceMessage.ts";
import { type SyncUserProfile } from "../models/user.ts";
import { ISavedSync } from "./index";
import { IStoredClientOpts } from "../client";
import { IStateEventWithRoomId, ISyncResponse } from "../matrix";
import { IIndexedDBBackend, UserTuple } from "./indexeddb-backend";
import { IndexedToDeviceBatch, ToDeviceBatchWithTxnId } from "../models/ToDeviceMessage";
export declare class RemoteIndexedDBStoreBackend implements IIndexedDBBackend {
private readonly workerFactory;
private readonly dbName?;
private worker?;
private nextSeq;
private inFlight;
private startPromiseResolvers?;
private startPromise?;
private onClose;
/**
* An IndexedDB store backend where the actual backend sits in a web
@@ -72,13 +71,8 @@ export declare class RemoteIndexedDBStoreBackend implements IIndexedDBBackend {
saveToDeviceBatches(batches: ToDeviceBatchWithTxnId[]): Promise<void>;
getOldestToDeviceBatch(): Promise<IndexedToDeviceBatch | null>;
removeToDeviceBatch(id: number): Promise<void>;
getUserProfile(userId: string): Promise<SyncUserProfile | undefined>;
storeUserProfiles(userProfiles: Map<string, SyncUserProfile>): Promise<void>;
removeUserProfiles(userIds: string[]): Promise<void>;
removeEventsFromRoom(roomId: string, eventIds: string[]): Promise<void>;
private ensureStarted;
private doCmd;
private onWorkerError;
private onWorkerMessage;
destroy(): Promise<void>;
}