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,17 +1,17 @@
/**
* This is an internal module.
*/
import { type EventType } from "../@types/event.ts";
import { type Room } from "../models/room.ts";
import { type User } from "../models/user.ts";
import { type IEvent, type MatrixEvent } from "../models/event.ts";
import { type Filter } from "../filter.ts";
import { type ISavedSync, type IStore, type UserCreator } from "./index.ts";
import { type RoomSummary } from "../models/room-summary.ts";
import { type ISyncResponse } from "../sync-accumulator.ts";
import { type IStateEventWithRoomId } from "../@types/search.ts";
import { type IndexedToDeviceBatch, type ToDeviceBatch } from "../models/ToDeviceMessage.ts";
import { type IStoredClientOpts } from "../client.ts";
import { EventType } from "../@types/event";
import { Room } from "../models/room";
import { User } from "../models/user";
import { IEvent, MatrixEvent } from "../models/event";
import { Filter } from "../filter";
import { ISavedSync, IStore } from "./index";
import { RoomSummary } from "../models/room-summary";
import { ISyncResponse } from "../sync-accumulator";
import { IStateEventWithRoomId } from "../@types/search";
import { IndexedToDeviceBatch, ToDeviceBatch } from "../models/ToDeviceMessage";
import { IStoredClientOpts } from "../client";
/**
* Construct a stub store. This does no-ops on most store methods.
*/
@@ -66,10 +66,6 @@ export declare class StubStore implements IStore {
* No-op.
*/
scrollback(room: Room, limit: number): MatrixEvent[];
/**
* No-op.
*/
setUserCreator(creator: UserCreator): void;
/**
* Store events for a room.
* @param room - The room to store events for.
@@ -156,10 +152,6 @@ export declare class StubStore implements IStore {
saveToDeviceBatches(batch: ToDeviceBatch[]): Promise<void>;
getOldestToDeviceBatch(): Promise<IndexedToDeviceBatch | null>;
removeToDeviceBatch(id: number): Promise<void>;
getUserProfile(): Promise<undefined>;
storeUserProfiles(): Promise<void>;
removeUserProfiles(): Promise<void>;
destroy(): Promise<void>;
removeEventsFromRoom(roomId: string, eventIds: string[]): Promise<void>;
}
//# sourceMappingURL=stub.d.ts.map