feat: complete Ancestor quote bot with production-ready Docker support
This commit is contained in:
29
node_modules/matrix-js-sdk/lib/store/memory.d.ts
generated
vendored
29
node_modules/matrix-js-sdk/lib/store/memory.d.ts
generated
vendored
@@ -1,17 +1,17 @@
|
||||
/**
|
||||
* This is an internal module. See {@link MemoryStore} for the public class.
|
||||
*/
|
||||
import { type EventType } from "../@types/event.ts";
|
||||
import { type Room } from "../models/room.ts";
|
||||
import { type SyncUserProfile, 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 ToDeviceBatchWithTxnId } 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, ToDeviceBatchWithTxnId } from "../models/ToDeviceMessage";
|
||||
import { IStoredClientOpts } from "../client";
|
||||
export interface IOpts {
|
||||
/** The local storage instance to persist some forms of data such as tokens. Rooms will NOT be stored. */
|
||||
localStorage?: Storage;
|
||||
@@ -28,8 +28,6 @@ export declare class MemoryStore implements IStore {
|
||||
private clientOptions?;
|
||||
private pendingToDeviceBatches;
|
||||
private nextToDeviceBatchId;
|
||||
protected createUser?: UserCreator;
|
||||
readonly userProfiles: Map<string, SyncUserProfile>;
|
||||
/**
|
||||
* Construct a new in-memory data store for the Matrix Client.
|
||||
* @param opts - Config options
|
||||
@@ -52,7 +50,6 @@ export declare class MemoryStore implements IStore {
|
||||
* @param room - The room to be stored. All properties must be stored.
|
||||
*/
|
||||
storeRoom(room: Room): void;
|
||||
setUserCreator(creator: UserCreator): void;
|
||||
/**
|
||||
* Called when a room member in a room being tracked by this store has been
|
||||
* updated.
|
||||
@@ -205,10 +202,6 @@ export declare class MemoryStore implements IStore {
|
||||
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>;
|
||||
destroy(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=memory.d.ts.map
|
||||
Reference in New Issue
Block a user