From b49d66f0042e0164eea52165f862dbf323d7e949 Mon Sep 17 00:00:00 2001 From: Youssef Lourayad Date: Mon, 2 Sep 2024 22:25:22 +0100 Subject: [PATCH] Disable rule in the end of the file --- src/types/onyx/OriginalMessage.ts | 67 +------------------------------ 1 file changed, 1 insertion(+), 66 deletions(-) diff --git a/src/types/onyx/OriginalMessage.ts b/src/types/onyx/OriginalMessage.ts index a2ae59147fd9..763f221f56fe 100644 --- a/src/types/onyx/OriginalMessage.ts +++ b/src/types/onyx/OriginalMessage.ts @@ -519,136 +519,72 @@ type OriginalMessageExpensifyCard = { }; /** The map type of original message */ +/* eslint-disable jsdoc/require-jsdoc */ type OriginalMessageMap = { - /** */ [CONST.REPORT.ACTIONS.TYPE.ACTIONABLE_ADD_PAYMENT_CARD]: OriginalMessageAddPaymentCard; - /** */ [CONST.REPORT.ACTIONS.TYPE.ACTIONABLE_JOIN_REQUEST]: OriginalMessageJoinPolicyChangeLog; - /** */ [CONST.REPORT.ACTIONS.TYPE.ACTIONABLE_MENTION_WHISPER]: OriginalMessageActionableMentionWhisper; - /** */ [CONST.REPORT.ACTIONS.TYPE.ACTIONABLE_REPORT_MENTION_WHISPER]: OriginalMessageActionableReportMentionWhisper; - /** */ [CONST.REPORT.ACTIONS.TYPE.ACTIONABLE_TRACK_EXPENSE_WHISPER]: OriginalMessageActionableTrackedExpenseWhisper; - /** */ [CONST.REPORT.ACTIONS.TYPE.ADD_COMMENT]: OriginalMessageAddComment; - /** */ [CONST.REPORT.ACTIONS.TYPE.APPROVED]: OriginalMessageApproved; - /** */ [CONST.REPORT.ACTIONS.TYPE.CHANGE_FIELD]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.CHANGE_POLICY]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.CHANGE_TYPE]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.CHRONOS_OOO_LIST]: OriginalMessageChronosOOOList; - /** */ [CONST.REPORT.ACTIONS.TYPE.CLOSED]: OriginalMessageClosed; - /** */ [CONST.REPORT.ACTIONS.TYPE.CREATED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.DELEGATE_SUBMIT]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.DISMISSED_VIOLATION]: OriginalMessageDismissedViolation; - /** */ [CONST.REPORT.ACTIONS.TYPE.EXPORTED_TO_CSV]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.EXPORTED_TO_INTEGRATION]: OriginalMessageExportIntegration; - /** */ [CONST.REPORT.ACTIONS.TYPE.FORWARDED]: OriginalMessageForwarded; - /** */ [CONST.REPORT.ACTIONS.TYPE.HOLD]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.HOLD_COMMENT]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.INTEGRATIONS_MESSAGE]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.IOU]: OriginalMessageIOU; - /** */ [CONST.REPORT.ACTIONS.TYPE.MANAGER_ATTACH_RECEIPT]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.MANAGER_DETACH_RECEIPT]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.MARK_REIMBURSED_FROM_INTEGRATION]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.MARKED_REIMBURSED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.MERGED_WITH_CASH_TRANSACTION]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.MODIFIED_EXPENSE]: OriginalMessageModifiedExpense; - /** */ [CONST.REPORT.ACTIONS.TYPE.MOVED]: OriginalMessageMoved; - /** */ [CONST.REPORT.ACTIONS.TYPE.OUTDATED_BANK_ACCOUNT]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_ACH_BOUNCE]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_ACH_CANCELLED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_ACCOUNT_CHANGED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_DEQUEUED]: OriginalMessageReimbursementDequeued; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_DELAYED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_QUEUED]: OriginalMessageReimbursementQueued; - /** */ [CONST.REPORT.ACTIONS.TYPE.RENAMED]: OriginalMessageRenamed; - /** */ [CONST.REPORT.ACTIONS.TYPE.REJECTED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REPORT_PREVIEW]: OriginalMessageReportPreview; - /** */ [CONST.REPORT.ACTIONS.TYPE.SELECTED_FOR_RANDOM_AUDIT]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.SHARE]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.STRIPE_PAID]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.SUBMITTED]: OriginalMessageSubmitted; - /** */ [CONST.REPORT.ACTIONS.TYPE.TASK_CANCELLED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.TASK_COMPLETED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.TASK_EDITED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.TASK_REOPENED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.TAKE_CONTROL]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.UNAPPROVED]: OriginalMessageUnapproved; - /** */ [CONST.REPORT.ACTIONS.TYPE.UNHOLD]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.UNSHARE]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.UPDATE_GROUP_CHAT_MEMBER_ROLE]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.TRIPPREVIEW]: OriginalMessageTripRoomPreview; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_REQUESTED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_SETUP]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.EXPORTED_TO_QUICK_BOOKS]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.DONATION]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.DELETED_ACCOUNT]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_REQUESTED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_SETUP]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_SETUP_REQUESTED]: never; - /** */ [CONST.REPORT.ACTIONS.TYPE.CARD_ISSUED]: OriginalMessageExpensifyCard; - /** */ [CONST.REPORT.ACTIONS.TYPE.CARD_MISSING_ADDRESS]: OriginalMessageExpensifyCard; - /** */ [CONST.REPORT.ACTIONS.TYPE.CARD_ISSUED_VIRTUAL]: OriginalMessageExpensifyCard; - /** */ [CONST.REPORT.ACTIONS.TYPE.INTEGRATION_SYNC_FAILED]: OriginalMessageIntegrationSyncFailed; } & OldDotOriginalMessageMap & { [T in ValueOf]: OriginalMessageChangeLog; @@ -656,7 +592,6 @@ type OriginalMessageMap = { [T in ValueOf]: OriginalMessageChangeLog; }; -/** */ type OriginalMessage = OriginalMessageMap[T]; export default OriginalMessage;