Fix DelayedEventInfo type (#4446)
* Fix DelayedEventInfo type for MSC4140's GET /delayed_events * Satisfy linter while avoiding unaligned indents * Remove transaction_id from DelayedEventInfo See matrix-org/matrix-spec-proposals@883e6b5d
This commit is contained in:
committed by
GitHub
parent
aabd558bce
commit
5f599ee978
@@ -111,18 +111,16 @@ type DelayedPartialTimelineEvent = {
|
||||
|
||||
type DelayedPartialStateEvent = DelayedPartialTimelineEvent & {
|
||||
state_key: string;
|
||||
transaction_id: string;
|
||||
};
|
||||
|
||||
type DelayedPartialEvent = DelayedPartialTimelineEvent | DelayedPartialStateEvent;
|
||||
|
||||
export type DelayedEventInfo = {
|
||||
delayed_events: DelayedPartialEvent &
|
||||
delayed_events: (DelayedPartialEvent &
|
||||
SendDelayedEventResponse &
|
||||
SendDelayedEventRequestOpts &
|
||||
{
|
||||
SendDelayedEventRequestOpts & {
|
||||
running_since: number;
|
||||
}[];
|
||||
})[];
|
||||
next_batch?: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user