chat-ui / src /lib /types /MessageEvent.ts
nsarrazin's picture
nsarrazin HF staff
very basic rate limiter (#320)
922b1b2 unverified
raw
history blame
No virus
199 Bytes
import type { Timestamps } from "./Timestamps";
import type { User } from "./User";
export interface MessageEvent extends Pick<Timestamps, "createdAt"> {
userId: User["_id"] | User["sessionId"];
}