feat: complete Ancestor quote bot with production-ready Docker support
This commit is contained in:
19
node_modules/matrix-js-sdk/lib/models/user.d.ts
generated
vendored
19
node_modules/matrix-js-sdk/lib/models/user.d.ts
generated
vendored
@@ -1,7 +1,5 @@
|
||||
import { type Json, type JsonValue } from "../@types/json.ts";
|
||||
import { type MatrixClient } from "../matrix.ts";
|
||||
import { type MatrixEvent } from "./event.ts";
|
||||
import { TypedEventEmitter } from "./typed-event-emitter.ts";
|
||||
import { MatrixEvent } from "./event";
|
||||
import { TypedEventEmitter } from "./typed-event-emitter";
|
||||
export declare enum UserEvent {
|
||||
DisplayName = "User.displayName",
|
||||
AvatarUrl = "User.avatarUrl",
|
||||
@@ -9,10 +7,6 @@ export declare enum UserEvent {
|
||||
CurrentlyActive = "User.currentlyActive",
|
||||
LastPresenceTs = "User.lastPresenceTs"
|
||||
}
|
||||
/**
|
||||
* An object of extended profile attributes for a user as it arrives down the sync stream.
|
||||
*/
|
||||
export type SyncUserProfile = Record<string, Json | JsonValue>;
|
||||
export type UserEventHandlerMap = {
|
||||
/**
|
||||
* Fires whenever any user's display name changes.
|
||||
@@ -138,17 +132,8 @@ export declare class User extends TypedEventEmitter<UserEvent, UserEventHandlerM
|
||||
/**
|
||||
* Construct a new User. A User must have an ID and can optionally have extra information associated with it.
|
||||
* @param userId - Required. The ID of this user.
|
||||
* @deprecated use `User.createUser`
|
||||
*/
|
||||
constructor(userId: string);
|
||||
/**
|
||||
* Construct a new User whose events will also emit on MatrixClient.
|
||||
* A User must have an ID and can optionally have extra information associated with it.
|
||||
* @param userId - Required. The ID of this user.
|
||||
* @param client - An instance of MatrixClient object
|
||||
* @returns User object with reEmitter setup on client
|
||||
*/
|
||||
static createUser(userId: string, client: MatrixClient): User;
|
||||
/**
|
||||
* Update this User with the given presence event. May fire "User.presence",
|
||||
* "User.avatarUrl" and/or "User.displayName" if this event updates this user's
|
||||
|
||||
Reference in New Issue
Block a user