Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -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.
|
||||
|
|
|
@ -20,4 +20,3 @@ import { RightPanelPhases } from "../../stores/right-panel/RightPanelStorePhases
|
|||
export const showThreadPanel = () => {
|
||||
RightPanelStore.instance.setCard({ phase: RightPanelPhases.ThreadPanel });
|
||||
};
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ interface IComposerInsertPlaintextPayload extends IBaseComposerInsertPayload {
|
|||
}
|
||||
|
||||
export type ComposerInsertPayload =
|
||||
IComposerInsertMentionPayload |
|
||||
IComposerInsertQuotePayload |
|
||||
IComposerInsertPlaintextPayload;
|
||||
|
||||
| IComposerInsertMentionPayload
|
||||
| IComposerInsertQuotePayload
|
||||
| IComposerInsertPlaintextPayload;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue