Apply prettier formatting

This commit is contained in:
Michael Weimann 2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
No known key found for this signature in database
GPG key ID: 53F535A266BB9584
1576 changed files with 65385 additions and 62478 deletions

View file

@ -78,7 +78,7 @@ export enum Action {
/**
* Clear the to the send message composer. Should be used with a FocusComposerPayload.
*/
ClearAndFocusSendMessageComposer = "clear_focus_send_message_composer",
ClearAndFocusSendMessageComposer = "clear_focus_send_message_composer",
/**
* Focuses the user's cursor to the edit message composer. Should be used with a FocusComposerPayload.

View file

@ -20,4 +20,3 @@ import { RightPanelPhases } from "../../stores/right-panel/RightPanelStorePhases
export const showThreadPanel = () => {
RightPanelStore.instance.setCard({ phase: RightPanelPhases.ThreadPanel });
};

View file

@ -44,7 +44,6 @@ interface IComposerInsertPlaintextPayload extends IBaseComposerInsertPayload {
}
export type ComposerInsertPayload =
IComposerInsertMentionPayload |
IComposerInsertQuotePayload |
IComposerInsertPlaintextPayload;
| IComposerInsertMentionPayload
| IComposerInsertQuotePayload
| IComposerInsertPlaintextPayload;

View file

@ -19,7 +19,8 @@ import { Action } from "../actions";
import { TimelineRenderingType } from "../../contexts/RoomContext";
export interface FocusComposerPayload extends ActionPayload {
action: Action.FocusAComposer
action:
| Action.FocusAComposer
| Action.FocusEditMessageComposer
| Action.FocusSendMessageComposer
| "reply_to_event";

View file

@ -19,9 +19,7 @@ import { MatrixCall } from "matrix-js-sdk/src/webrtc/call";
import { ActionPayload } from "../payloads";
import { Action } from "../actions";
import {
AnyInviteKind,
} from "../../components/views/dialogs/InviteDialogTypes";
import { AnyInviteKind } from "../../components/views/dialogs/InviteDialogTypes";
export interface OpenInviteDialogPayload extends ActionPayload {
action: Action.OpenInviteDialog;